Hyperic Installation and Startup Process
About this page...
This page lists required and optional steps for a new installation of the Hyperic Server and Hyperic Agent. Steps that are not required for all installations are marked "Optional" or "As Necessary".
For upgrade options and instruction see Hyperic Upgrade Processes.
Note: If you obtain vFabric Hyperic as part of vFabric Suite (previously known as "vFabric Platform"), first complete the license activation and installation procedures in Getting Started with vFabric Suite. Then follow procedures in this document to set up your environment for vFabric Hyperic and complete any remaining Hyperic-specific installation and configuration tasks.
Step 1 – Obtain Hyperic Installer
See Select and Download an Installer for instructions.
Step 2 – Set Up Hyperic Database
Skip this step if you are:
-
deploying the Hyperic virtual appliance (vApp), or
-
planning to use the embedded PostgreSQL database.
If you will use an external PostgreSQL database, rather than use the embedded database, create the Hyperic database before installing Hyperic Server. In large environments, set up the Hyperic database on a dedicated platform.
Follow the instructions on Set Up Hyperic Database.
For information about Hyperic database requirements and recommendations, see
Step 3 - Set Up Hyperic Server
-
Before installing the server:
-
Configure user-managed keystore for server (Optional).
-
If you want the Hyperic server to use a keystore that you manage yourself for SSL communication, rather than Hyperic-generated keystores, set up a JKS format keystore for the Hyperic Server on its host and import the SSL certificate for it. Make a note of the full path to the keystore, and its password — you will supply this information when you run the Hyperic installer (in -full mode).
Password Requirement for Hyperic KeystoresThe Hyperic Server's keystore password and private key password must be the same — otherwise, the Hyperic Server's internal Tomcat-based server will be unable to start. For information about why, see http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html.
For more information, see About SSL in Hyperic
-
-
Define Server HQ_JAVA_HOME (As necessary).
-
Hyperic platform-specific server installers include a JRE; platform-independent installers do not. Depending on your environment and the installer you use, you may need to define the location of the JRE to ensure that the server can find the JRE you want it to use.
-
For more information, and instructions, see Configure JREs for Hyperic Components.
-
-
Make sure the Hyperic database is available.
-
during the installation process, the Hyperic Server will test the database connection.
-
-
-
Install Hyperic Server.
-
Follow the instructions for installer you are using:
-
-
Install License (vFabric Hyperic only).
-
Evaluation versions of vFabric Hyperic have a built-in, time-limited evaluation license — you should not need to install a license.
-
If you are installing a licensed version of vFabric Hyperic, follow the the instructions on Install or Configure Hyperic License.
-
-
Start the Hyperic Server.
-
Follow the instructions that apply to your environment:
-
If you installed the Hyperic Server from the VMware yum repository to an RHEL VM, the Hyperic Server is configured to start automatically each time the VM starts up. If you installed the Hyperic Server for a downloaded RPM, following these steps to start the Hyperic Server as a daemon:
-
Log in to the Hyperic Server host as root.
-
Open a terminal window and run the /etc/init.d/hyperic-hq-server script with the start parameter:
/etc/init.d/hyperic-hq-server start
-
-
On Unix-Like platforms, to start the Hyperic Server as a daemon:
-
Open a command shell.
-
Change directory to ServerHome/bin, and enter:
hq-server.sh start
-
-
On Windows platforms, to install the Hyperic Server Windows service and start the service:
-
Open a terminal window.
-
Change directory to ServerHome\bin and enter:
hq-server.bat install hq-server.bat start
-
-
The script will display startup information on stdout, then detach and run in the background.
-
-
-
Verify that the Hyperic Server started successfully.
-
Verify that the Hyperic Server started successfully by pointing your web browser to the Hyperic user interface.
-
After the Hyperic Server starts up, which may take a moment or so, display the Hyperic user interface at the following URL, replacing "ServerHostName" with the server's hostname (or "localhost" from the server host). Replace "7080" with the appropriate port number if you configured the server to listen on a different port.
http:\\ServerHostName:7080 -
The Hyperic Dashboard should appear. Note that there will not be any resources in inventory until you start a Hyperic Agent.
-
If the Hyperic Dashboard does not appear, check server.log and boostrap.log in ServerHome/logs/ for information about server startup status.
-
In this version of Hyperic, the Hyperic installer writes some sensitive data to installation log files. After successfully installing Hyperic Server, delete InstallerHome/logs/hq-install.log and hq-install.log.verbose, or the whole the exploded installer.
Step 4 - Set Up the Hyperic Agent
-
Before installing the agent, or if you have already installed the agent, before starting it for the first time:
-
Configure user-managed keystore for Hyperic Agent (Optional).
-
If you want the Hyperic Agent to use a keystore that you manage yourself for SSL communication, rather than a Hyperic-generated keystore, set up a JKS format keystore for the Hyperic Agent on its host and import the SSL certificate for it. Make a note of the full path to the keystore, and its password — you will configure this data in the agent's agent.properties file.
Password Recommendation for Agent KeystoreThe agent keystore password and the private key password must be the same.
-
-
Import certificates for selected managed products to agent keystore (Optional).
-
In Hyperic 4.6 and later, Hyperic plugins that connect to managed products over SSL are updated to support certificate verification. To enable management of such products by a 4.6.x agent, it may be necessary to manually import the target server's certificate into the agent keystore if the server's certificate is not trusted. Affected plugins include vSphere and Rabbit MQ. For more information, see About SSL in Hyperic.
-
-
Define Agent HQ_JAVA_HOME (As necessary).
-
Hyperic platform-specific agent installers include a JRE; platform-independent installers do not. Depending on your environment and the installer you use, you may need to define the location of the JRE to ensure that the agent can find the JRE you want it to use. For more information, and instructions, see Configure JREs for Hyperic Components.
-
-
Open firewall port if necessary.
-
If there is a firewall blocking incoming traffic to a platform where you will install Hyperic Agents, you must open the agent listen port (by default, 2144 for plaintext or 2443 for SSL) so that the agent will accept connections from the Hyperic Server. Note that the firewall built into Windows blocks remote connections by default; in Windows environments you must open the agent listen port.
-
-
-
Install the agent, following the instructions for the desired installation method:
-
Install database drivers for Hyperic HQ .
-
In Hyperic HQ, the plugins packaged with the Hyperic Agent for MSSQL, Oracle, Informix, DB2, and Sybase do not include the database vendor's JDBC plugin. (The database plugins in vFabric Hyperic include the JDBC drivers.) After installing Hyperic HQ you must download and install the vendor-provided JDBC drivers for these plugins to work. Install drivers in:
AgentHome/bundles/AgentBundle/pdk/lib/jdbc
-
-
Configure Hyperic Agent in properties file (As necessary).
-
You can define the properties that enable the Hyperic Agent and Hyperic Server to communicate with each other and other agent behaviors in an agent's agent.properties file prior to first startup. If you do not, you can supply the values interactively the first time you start the agent (as described in the following step.)
-
Note however, that some agent properties cannot be supplied interactively. You must edit agent.properties before first agent startup, as described in Set Up Agent in Properties File if:
-
You want the agent to use an SSL keystore that you manage, rather than a Hyperic-generated keystore.
-
The agent will manage vSphere components.
-
The agent will connect to the Hyperic Server via a proxy server. (Supported in vFabric Hyperic only.)
-
-
Configuring an agent in its properties file, rather than interactively, is also useful particularly when you deploy a lot of agents.
-
-
Start the Hyperic Agent for the first time.
-
Make sure that the Hyperic Server is running.
-
Follow the instructions that apply to your environment:
-
On Unix-Like platforms, to start the Hyperic Agent as a daemon:
-
Open a command shell.
-
Change directory to AgentHome/bin, and enter:
hq-agent.sh start
-
-
On Windows platforms, to set up the Hyperic Agent to run as a service and start the service:
-
Open a terminal window.
-
Change directory to ServerHome\bin and enter:
hq-agent.bat install hq-agent.bat start
-
If you configured all required agent properties in agent.properties, the agent will start up and discover the resources on the platform. Otherwise, the agent will prompt for required properties that have not been defined. For instructions on the configuration prompts, see Set Up Agent Interactively.
SSL Warnings?By default, if the agent does not trust the certificate presented by the server, the agent issues this warning:
The authenticity of host 'ServerHost' can't be established. Are you sure you want to continue connecting? [default=no]:If this warning is issued, for strongest security, press Return to terminate the agent configuration process. Before restarting the agent configuration process, obtain an SSL certificate for the agent, and one for the server, both signed by the same trusted CA. Then follow the instructions in Configure SSL Options. If you enter "yes" to continue the agent configuration process, the agent displays the following warning, prompting you to confirm your choice before it imports the certificate that the server presented presented:
The server to agent communication channel is using a self-signed certificate and could not be verified Are you sure you want to continue connecting? [default=no]: yes
-
-
-
-
Import discovered resources.
-
After the Hyperic Agent starts up and runs the auto-discovery process, the resources discovered on the platform appear in the Auto-Discovery portlet on the Hyperic Dashboard.
-
Open the Hyperic user interface as described above in View the Hyperic Dashboard.
-
For information about aut-discovery and related instructions, see Discover and Import Resources to Inventory.
-
If no resources appear in the Auto-Discovery portlet, check the log files (agent.log, agent.log.startup, and wrapper.log) in AgentHome/logs to make sure the agent started up successfully.
-
Step 5 - Next Steps for New Installations
If you are implementing a large deployment, see:
For information about establishing your monitoring environment see vFabric Hyperic Administration for instructions on setting up:
-
Resource groups and applications
-
Users and roles in (vFabric Hyperic only)
-
Alerts for resources and resource types
-
Configurable alert notification types
-
Resource auto-discover options