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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

About Where the Agent Finds Server Connection DataNote that upon first successful connection to the <strong>vFabric</strong> <strong>Hyperic</strong> Server, a <strong>vFabric</strong> <strong>Hyperic</strong>Agent saves the credentials it used in its /data directory. Upon each restart, the agentlooks first in that directory for server connection details. Hence, edits to the username andpassword (agent.setup.cam.Login and agent.setup.camPword) configured inagent.properties have no effect, if the agent has valid connection data its /datadirectory.To add an encrypted entry to agent.properties, run the agent start script(AgentHome/bin/hq-agent.sh or AgentHome/bin/hq-agent.bat <strong>with</strong> the new setpropertyoption, and supply the name of the property and the value you wish to encrypt.Do not use set-property option on an agent upgraded to v4.6.6The set-property option is only supported for newly installed agents. You cannotmanually encrypt properties for an agent that you upgraded to 4.6.6 by pushing the 4.6.6bundle from the <strong>vFabric</strong> <strong>Hyperic</strong> Server. Note however that if an upgraded agent'sagent.properties file contains uncommented password properties <strong>with</strong> plaintextvalues, they will be automatically encrypted.The command syntax is:./hq-agent.sh set-property PropertyKey PropertyValueFor example, to set the agent.setup.camPword to "hqadmin":./bin/ hq-agent.sh set-property agent.setup.camPword hqadminIf the properties file does not already define the property, the property definition is added at theend of the agent.properties file; the encrypted value (not plain text) is shown. For example:agent.setup.camPword=ENC(gaSh3I8gg1olL1EDHHJo/g==)The key that was used to encrypt the value is saved in AgentHome/conf/agent.scu.If you encrypt another property value, the key in AgentHome/conf/agent.scu will be used.70

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

Saved successfully!

Ooh no, something went wrong!