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.

Encrypt Agent Property ValueStarting in <strong>vFabric</strong> <strong>Hyperic</strong> 4.6.6, the agent.properties file supports encrypted propertyvalues.If, prior to first agent startup, you uncomment and assign a plain text value toagent.setup.camPword or agent.keystore.password, the agent will automaticallyencrypt the property value, as described in <strong>vFabric</strong> <strong>Hyperic</strong> Security Features andRecommendations.If you prefer, you can encrypt these (and other, if desired) property values yourself.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 hqadmin79

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

Saved successfully!

Ooh no, something went wrong!