You can perform remote installations to simultaneously deploy agents that use a single agent.properties file.

Prerequisites

Verify that the prerequisites in Install Multiple vRealize Hyperic Agents Simultaneously have been satisfied.

You must have configured a standard agent properties file and copied it to the agent installation, or to a location available to the agent installation

Procedure

  1. Create a hosts.txt file on your install server that maps the hostname to the IP address of each platform on which you are installing an agent.
  2. Open a command line shell on the install server.
  3. Type the following command in the sell, supplying the correct name for the agent package in the export command.
    $ export AGENT=hyperic-hq-agent-4.6.0-x86-linux.tgz 
    $ for host in `cat hosts.txt`; do scp $AGENT $host:</path/to/agent/install>
    && ssh $host "tar zxf $AGENT && ./hyperic-hq-agent-4.6.0/hq-agent.sh start"; done
  4. (Optional) : If the target hosts have sequential names, for example host001, host002, host003, and so on, you can skip the hosts.txt file and use the seq command, as follows.
    $ export AGENT=hyperic-hq-agent-4.6.0-x86-linux.tgz
    $ for i in `seq 1 9`; do scp $AGENT host$i: && ssh host$i "tar zxf $AGENT &&
    ./hyperic-hq-agent-4.6.0/hq-agent.sh start"; done

Results

The vRealize Hyperic agents registers themselves with the vRealize Hyperic server and the agents run an autodiscovery scan to discover their host platform and supported managed products that are running on the platform.

What to do next

Check the Auto-Discovery portlet in the vRealize Hyperic dashboard to verify that the platforms were discovered.