13.07.2015 Views

Getting Started with vFabric Hyperic v.5.7 - VMware

Getting Started with vFabric Hyperic v.5.7 - VMware

Getting Started with vFabric Hyperic v.5.7 - VMware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Create a Custom Agent Upgrade BundleThis section describes how to create a custom agent bundle. Pre-configuring the agent easesthe process of upgrading multiple agents. For additional information, see Install <strong>vFabric</strong> <strong>Hyperic</strong>Agents in Volume.1. Back up an existing agent located in:ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundlesFor example:cp ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agentbundles/agent-4.5.0-EE-nnn.tgzServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundles/agent-4.5.0-EE-nnn.tgz.bak2. Extract the bundle. For example:This results in a new directory corresponding to the agent bundle, like this:tar xzf ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agentbundles/agent-4.5.0-EE-nnn.tgzServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundles/agent-4.5.0-EE-nnn3. Update the contents of expanded directory. For instance, you could add custom pluginsto the plugins directory:ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundles/agent-4.5.0-EE-nnn/pdk/plugins4. Rename expanded directory to the name of custom agent bundle. For example:mv ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agentbundles/agent-4.5.0-EE-nnnServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundles/mybundle5. Pack up agent bundle, using the directory name from from the previous step as thetarball file name. For example:tar cvf ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agentbundles/my-bundle.tarServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agent-bundles/mybundle;gzip ServerHome/hq-engine/hq-server/webapps/ROOT/WEB-INF/hq-agentbundles/my-bundle94

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!