Installing and Starting HQ Components
In our previous article, we presented information about planning your deployment. This article is a roadmap for installing the HQ Server and the HQ Agent, starting them up, and seeing them in action. This quick reference tells you what you need to know to install and start HQ, and has links to related documentation.
Depending on how much you know about HQ, you may find the Hyperic HQ Product Tour useful. This introduction to HQ contains a functional summary, some architectural information, and walks you through key HQ features. If you've previously used Nagios the product tour has information about how HQ compares to it.
After you have installed and started HQ, you're ready for step three in our guide to monitoring success: HQ Monitoring and Alerting Options.
Good luck with your deployment!
The SpringSource Hyperic Team
| Step | Tips |
|---|---|
| Do you have the right package? | There are a variety of different platform-specific HQ installation packages. You should have one for the the platform where you'll install the components. For your evaluation installation, we recommend you use a "full" installer, which installs both the HQ Server and the HQ Agent. Later, when your roll out the agent to multiple platforms, an agent-only installer is convenient. Documentation: Install Package Options |
| Choose database option | For an evaluation, you can simply use HQ's built-in database. The default installation mode will install it automatically. Most production deployments require an external database server for the HQ database. If you're going to use an external database, you need to setup the database before you install the HQ Server. Documentation: Set Up MySQL, Set Up Oracle, Set Up PostgreSQL |
| Install HQ Server and HQ Agent | If you are using a full installer, you can install the HQ Server and HQ Agent at the same time. For an evaluation, you can accept the defaults for most installation options. Unpack and start the installer with the appropriate command:
Documentation: Install HQ |
| Start HQ Server | Start the HQ Server:
To log on to the server point your browser on the HQ machine to localhost:7080. Logon as the default admin user "hqadmin". Documentation: Configure and Run the HQ Server |
| Start HQ Agent | Once you know the HQ Server is up, start the HQ Agent. Upon startup, the agent needs to connect to the server.
Upon startup, the agent prompts for agent-server connection settings. For a single system evaluation, defaults are usually fine. When prompted, tell the agent to connect to the server on localhost. For mass deployment, you can configure the agent-server connection settings in the agent properties file, so that you don't have to supply them interactively. Agent documentation includes instructions for deploying large numbers of agents. When you install agents on other machines, take into account your network configuration—if there is a firewall between the agent and server, that will affect your agent-server connection settings. Documentation: Configure Agent Interactively, Configuring Agent in Properties File, Deploying Multiple HQ Agents |
| Import resources | Within a few moments of agent startup, the "servers" running on the machine should appear in the "Auto-Discovery" portlet on the HQ Dashboard. ("Server" is a type in HQ's inventory model, a hierarchical classification of managed hosts and software in your environment. In the HQ model, software like web servers, app servers, database servers are all considered "servers".) Click "Add to Inventory" to import the resources and start monitoring. Your platform will now be listed in the "Recently Added" portlet. Click on it to go to its "Indicators" page. Documentation: About HQ's inventory model |
| Confirm metric collection | Soon after you add your software to inventory, metrics should start to appear in the indicator charts for the platform. Documentation: About a resource's indicator page |
| Problems? | Potential problems fall into these categories:
Documentation: QuickStart Installation Guide, Solving Service Startup Problems After MSI Install |
Additional Resources:

