Installing and Running Hyperic HQ Open Source Server and Agent on Cent OS 5.3

Overview of Hyperic HQ:

Looking at the context of a problemImage by cote via Flickr

Hyperic's web infrastructure monitoring and management software automates and streamlines data center operations. HQ helps you reduce operations workload, increase your company's IT management maturity level, and drive improvements in availability and infrastructure health.

Hyperic offers two versions of its flagship HQ product:

  • HQ Enterprise - Hyperic's industrial strength enterprise offering has all the capabilities of the open source version, plus advanced automation and control features for managing web applications at scale. HQ Enterprise is available as a free trial for download from Hyperic under a Commercial License. The enterprise trial does not expire, but is limited to three managed devices.
for more detail: Overview of HQ


-bash-3.2$ ./setup.sh -full

Unpacking JRE to temporary directory /tmp/jre

WARNING: file was not writeable: /home/hyperic/hyperic-hq-installer/installer-4.1.2/hq-install.log

Logs will be written to /tmp instead.

Initializing Hyperic HQ 4.1.2 Installation...

Loading taskdefs...

Taskdefs loaded

WARNING: Setup properties file can't be written to /home/hyperic/hyperic-hq-installer/installer-4.1.2/data/setup.properties

Setup properties will be written to /tmp/setup.properties instead.

Choose which software to install:

1: Hyperic HQ Server

2: Hyperic HQ Agent

You may enter multiple choices, separated by commas.

1,2

HQ server installation path [default '/home/hyperic']:

Choices:

1: Yes

2: No

Should we overwrite the existing HQ server installation? [default '2']:

1

What port should the HQ server's web-based GUI listen on for http communication? [default '7080']: (Press ENTER to set Default)

What port should the HQ server's web-based GUI listen on for secure https communication? [default '7443']:(Press ENTER to set Default)

What port should the HQ server use for the jnp service? [default '2099']:(Press ENTER to set Default)

What port should the HQ server use for the mbean server? [default '9093']:(Press ENTER to set Default)

Enter the base URL for the HQ server's web-based GUI [default 'http://hyperic.yourdomain.com:7080/']:(Press ENTER to set Default)

Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'hyperic.yourdomain.com']:(Press ENTER to set Default)

Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@yourdomain.com']:(Press ENTER to set Default)

Choices:

1: HQ Built-in Database

2: Oracle 10g/11g

3: PostgreSQL

4: MySQL 5.x

What backend database should the HQ server use? [default '1']:

1

What port should HQ's built-in database use? [default '9432']:(Press ENTER to set Default)

What should the username be for the initial admin user? [default 'hqadmin']:(Press ENTER to set Default)

What should the password be for the initial admin user?:(Press ENTER to set Default 'hqadmin')

(again):

What should the email address be for the initial admin user? [default 'hqadmin@yourdomain.com']:(Press ENTER to set Default)

HQ agent installation path [default '/home/hyperic']:(Press ENTER to set Default)

Loading install configuration...

Install configuration loaded.

Preparing to install...

Validating agent install configuration...

Validating server install configuration...

Checking server webapp port...

Checking server secure webapp port...

Checking server JRMP port...

Checking server JNP port...

Verifying admin user properties

Validating server DB configuration...

Installing the agent...

Looking for previous installation

Unpacking agent to: /home/hyperic/agent-4.1.2...

Installing the agent JRE ...

Unpacking JRE amd64-linux-jre-1_5.tar.gz to: /home/hyperic/agent-4.1.2...

Setting permissions on agent binaries...

Fixing line endings on text files...

--------------------------------------------------------------------------------

Installation Complete:

Agent successfully installed to: /home/hyperic/agent-4.1.2

--------------------------------------------------------------------------------

You can now start your HQ agent by running this command:

/home/hyperic/agent-4.1.2/bin/hq-agent.sh start

Installing the server...

Unpacking server to: /home/hyperic/server-4.1.2...

Creating server configuration files...

Copying binaries and libraries to server installation...

Copying server configuration file...

Copying server control file...

Copying server binaries...

Copying server libs...

Setting up server database...

Setting up JDBC driver...

Copying database files...

Configuring database...

Starting repopulation of configuration table...

Waiting for built-in database to start (on port 9432)...

Starting built-in database...

Preparing database...

Waiting for server to stop...

Stopping built-in database...

Built-in database stopped.

Installing the server JRE ...

Unpacking JRE amd64-linux-jre-1_5.tar.gz to: /home/hyperic/server-4.1.2...

Setting permissions on server binaries...

Fixing line endings on text files...

--------------------------------------------------------------------------------

Installation Complete:

Server successfully installed to: /home/hyperic/server-4.1.2

--------------------------------------------------------------------------------

You can now start your HQ server by running this command:

/home/hyperic/server-4.1.2/bin/hq-server.sh start

Note that the first time the HQ server starts up it may take several minutes

to initialize. Subsequent startups will be much faster.

Once the HQ server reports that it has successfully started, you can log in

to your HQ server at:

http://hyperic.yourdomain.com:7080/

username: hqadmin

password: yourpassword

To change your password, log in to the HQ server, click the "Administration"

link, choose "List Users", then click on the "hqadmin" user.

Setup completed.

A copy of the output shown above has been saved to:

/tmp/hq-install.log

Deleting temporary JRE

-bash-3.2$

-----------------------------Start Service---------------------------------------

Now Start hqserver by executing the command below

-bash-3.2$ /home/hyperic/server-4.1.2/bin/hq-server.sh start

Starting HQ server...

Removing stale pid file /home/hyperic/server-4.1.2/logs/hq-server.pid

Initializing HQ server configuration...

Checking jboss jndi port...

Checking jboss mbean port...

Starting HQ built-in database...

HQ built-in database started.

Booting the HQ server (Using JAVA_OPTS=-XX:MaxPermSize=192m -Xmx512m -Xms512m)...

HQ server booted.

Login to HQ at: http://127.0.0.1:7080/

-bash-3.2$

Reblog this post [with Zemanta]