Thursday 2 May 2013

Step by step install and configure hyperic-hq-installer-4.6.6 server and agent on linux


SERVER IP : X.X.X.X
First need to create user  then start the process:
#useradd hyperic
# tar xvzf hyperic-hq-installer-4.6.6-x86-64-linux.tar.gz
#chown -R hyperic:hyperic hyperic-hq-installer-4.6.6
# su – hyperic
[hyperic@localhost ~]$ ls
hyperic-hq-installer-4.6.6 hyperic-hq-installer-4.6.6-x86-64-linux.tar.gz
[hyperic@localhost ~]$ cd hyperic-hq-installer-4.6.6
[hyperic@localhost hyperic-hq-installer-4.6.6]$ ls -ltr
total 239792
-rwxrwxr-x. 1 hyperic hyperic 85586155 Jun 10 2012 hyperic-hq-agent-4.6.6-x86-64-linux.tar.gz
-rwxrwxr-x. 1 hyperic hyperic 159117228 Jun 10 2012 server-4.6.6.tar.gz
drwxr-xr-x. 7 hyperic hyperic 4096 Jun 10 2012 installer
-rw-r–r–. 1 hyperic hyperic 803306 Jun 10 2012 open_source_licenses.txt
-rwxr-xr-x. 1 hyperic hyperic 147 Jun 10 2012 setup.sh
-rw-r–r–. 1 hyperic hyperic 108 Jun 10 2012 setup.bat
-rw-r–r–. 1 hyperic hyperic 17987 Jun 10 2012 COPYING
[hyperic@localhost hyperic-hq-installer-4.6.6]$ ./setup.sh -full
Unpacking JRE to temporary directory /tmp/jre
Please ignore references to missing tools.jar
Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar
Loading taskdefs…
Taskdefs loaded
Initializing Hyperic HQ 4.6.6 Installation…
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']:
What port should the HQ server’s web-based GUI listen on for http communication? [default '7080']:
What port should the HQ server’s web-based GUI listen on for secure https communication? [default '7443']:
Choices:
1: Yes
2: No
Would you like to use your own java keystore? [default '2']:
Enter the base URL for the HQ server’s web-based GUI [default 'http://X.X.X.X:7080/']:
Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'X.X.X.X']:
Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@X.X.X.X']:
Choices:
1: HQ Built-in Database
2: Oracle 10g/11g
3: PostgreSQL
4: MySQL Enterprise / Community Server 5.x
The HQ built-in database is provided for EVALUATION PURPOSES ONLY. For production use, MySQL or Oracle is recommended. What backend database should the HQ server use? [default '1']:
What port should HQ’s built-in database use? [default '9432']:
Choices:
1: Yes
2: No
Would you like to use an auto generated encryption key to encrypt the database password? [default '1']:
What should the username be for the initial admin user? [default 'hqadmin']:
What should the password be for the initial admin user?:
(again):
What should the email address be for the initial admin user? [default 'hqadmin@X.X.X.X']:
HQ agent installation path [default '/home/hyperic']:
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…
Verifying admin user properties
Validating server DB configuration…
Installing the agent…
Looking for previous installation
Unpacking /opt/hyperic/hyperic-hq-installer-4.6.6/hyperic-hq-agent-4.6.6-x86-64-linux.tar.gz to: /home/hyperic/agent-4.6.6…
Setting permissions on /home/hyperic/agent-4.6.6…
Setting permissions on agent binaries…
Fixing line endings on text files…
——————————————————————————–
Installation Complete:
Agent successfully installed to: /home/hyperic
——————————————————————————–
You can now start your HQ agent by running this command:
/home/hyperic/agent-4.6.6/bin/hq-agent.sh start
Installing the server…
Unpacking server to: /home/hyperic…
Creating server configuration files…
Using “small” installing profile…
Copying binaries and libraries to server installation…
Copying server configuration file…
Copying server db-upgrade files…
Copying server libs…
Setting up server database…
Now login to another terminal as root and execute this script:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh
This script sets up the proper shared memory settings to run the
built-in database.
Important:
[root@localhost data]# /opt/hyperic/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh
/etc/sysctl.conf defined an adequate kernel.shmmax, not changing anything
Tuning completed successfully!
[root@localhost data]#
then press enter
Press Enter after you run the script to continue this installation.
Setting up JDBC driver…
Copying database files…
Configuring database…
Loading taskdefs…
Taskdefs loaded
Starting repopulation of configuration table…
Waiting for built-in database to start (on port 9432)…
Starting built-in database…
Preparing database…
Loading taskdefs…
Taskdefs loaded
Loading taskdefs…
Taskdefs loaded
Loading taskdefs…
Taskdefs loaded
Waiting for server to stop…
Stopping built-in database…
Built-in database stopped.
Installing the server JRE …
Unpacking JRE amd64-linux-1.6_30.tar.gz to: /home/hyperic/server-4.6.6…
Setting permissions on /home/hyperic/server-4.6.6…
Setting permissions on server binaries…
Fixing line endings on text files…
——————————————————————————–
Installation Complete:
Server successfully installed to: /home/hyperic/server-4.6.6
——————————————————————————–
You can now start your HQ server by running this command:
/home/hyperic/server-4.6.6/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://X.X.X.X:7080/
username: hqadmin
password: asdsdsdff
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:
/opt/hyperic/hyperic-hq-installer-4.6.6/installer/logs/hq-install.log
Deleting temporary JRE
[hyperic@localhost hyperic-hq-installer-4.6.6]$
 How to Install and Configure Hyperic Agent :
Step by step install and configure hyperic agent on linux:
 [hyperic@localhost hyperic]$cd /home/hyperic
[hyperic@localhost hyperic]$tar xvzf hyperic-hq-agent-4.6.6-x86-64-linux.tar
[hyperic@localhost hyperic]$cd hyperic-hq-agent-4.6.6
[hyperic@localhost hyperic]$ hyperic-hq-agent-4.6.6/bin/hq-agent.sh start
Starting HQ Agent…… running (15321).
[ Running agent setup ]
What is the HQ server IP address: X.X.X.X
Should Agent communications to HQ always be secure [default=yes]: no
What is the HQ server port [default=7080]:
- Testing insecure connection … Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=X.X.X.X]:
What port should HQ use to contact the agent [default=2144]:
- Received temporary auth token from agent
- Registering agent with HQ
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
- HQ gave us the following agent token
1360144691845-4091702170031910652-5637611738788352140
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[hyperic@localhost hyperic]$
if you have facing any problem on installation time, please update us…….

No comments:

Post a Comment

Install XRDP in Centos 7

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum update yum groupinstall "GNOME Desktop" ...