[root@localhost Desktop]# vi /etc/init.d/hyperic-hqee-agent
[root@localhost Desktop]# vi /etc/init.d/hyperic-hqee-agent
http:/192.168.0.102:7080/
username: hqadmin
password: hqadmin
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.41.x86_64/jre
[root@localhost Desktop]# service hyperic-hqee-agent start
Starting the hyperic agent...
Starting HQ Agent...... running (8196).
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: 192.168.181.128
Should Agent communications to HQ always be secure [default=yes]:
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]: hqadmin
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.181.128]:
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
1569681914426-3603281484156224955-2478012481328544815
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[root@localhost Desktop]#
[root@localhost Desktop]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]
[root@localhost Desktop]# ifconfig
network change to bridge
[root@localhost Desktop]# vi /etc/init.d/hyperic-hqee-agent
http:/192.168.0.102:7080/
username: hqadmin
password: hqadmin
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.41.x86_64/jre
[root@localhost Desktop]# service hyperic-hqee-agent start
Starting the hyperic agent...
Starting HQ Agent...... running (8196).
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: 192.168.181.128
Should Agent communications to HQ always be secure [default=yes]:
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]: hqadmin
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.181.128]:
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
1569681914426-3603281484156224955-2478012481328544815
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[root@localhost Desktop]#
[root@localhost Desktop]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]
[root@localhost Desktop]# ifconfig
network change to bridge
[root@localhost Desktop]# /etc/init.d/hyperic-hqee-agent start
Starting the hyperic agent...
Starting HQ Agent...... running (19808).
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: 192.168.0.102
Should Agent communications to HQ always be secure [default=yes]:
What is the HQ server SSL port [default=7443]:
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.0.102]:
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
1569683538281-2827962568049651300-3950428857411787040
- Informing agent of new HQ server
- Validating
- Successfully setup agent
[root@localhost Desktop]#
https://docs.google.com/document/d/e/2PACX-1vQ0j_B0VXILJZQlt0vIaAibjvShx65knUVriYATux-q9dxqCMIaa8WXeduct41yI-JgioTGxt9B1RUP/pub
connect to vcenter via shell
localhost:/etc/init.d # wget https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/RCG/common/x86_64/jdk-7u3-linux-x64.rpm
--2019-09-28 10:54:30-- https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/RCG/common/x86_64/jdk-7u3-linux-x64.rpm
Resolving mirror.its.sfu.ca... 142.58.101.156
Connecting to mirror.its.sfu.ca|142.58.101.156|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67667318 (65M) [application/x-rpm]
Saving to: `jdk-7u3-linux-x64.rpm'
100%[======================================>] 67,667,318 189K/s in 5m 13s
2019-09-28 10:59:45 (211 KB/s) - `jdk-7u3-linux-x64.rpm' saved [67667318/67667318]
localhost:/etc/init.d # rpm -ivh jdk-7u3-linux-x64.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
localhost:/etc/init.d #
connect to vcenter via shell
localhost:/etc/init.d # wget https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/RCG/common/x86_64/jdk-7u3-linux-x64.rpm
--2019-09-28 10:54:30-- https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/RCG/common/x86_64/jdk-7u3-linux-x64.rpm
Resolving mirror.its.sfu.ca... 142.58.101.156
Connecting to mirror.its.sfu.ca|142.58.101.156|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67667318 (65M) [application/x-rpm]
Saving to: `jdk-7u3-linux-x64.rpm'
100%[======================================>] 67,667,318 189K/s in 5m 13s
2019-09-28 10:59:45 (211 KB/s) - `jdk-7u3-linux-x64.rpm' saved [67667318/67667318]
localhost:/etc/init.d # rpm -ivh jdk-7u3-linux-x64.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
localhost:/etc/init.d #
localhost:/etc/init.d # export JAVA_HOME=/usr/java/jdk1.7.0_03/jre
localhost:/etc/init.d # cd /opt/hyperic/hyperic-hqee-agent/bin/
localhost:/opt/hyperic/hyperic-hqee-agent/bin # ./hq-agent.sh setup
Picked up JAVA_TOOL_OPTIONS: -Xms16M -Xmx128M
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: 192.168.0.102
Should Agent communications to HQ always be secure [default=yes]:
What is the HQ server SSL port [default=7443]:
- Testing secure connection ...
Success
What is your HQ login [default=hqadmin]: What is your HQ password:
What IP should HQ use to contact the agent [default=192.168.0.106]:
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
1569688428976-8193434421013735500-2626579796520487254
- Informing agent of new HQ server
- Validating
- Successfully setup agent
localhost:/opt/hyperic/hyperic-hqee-agent/bin #
localhost:/opt/hyperic/hyperic-hqee-agent/bin # rpm -qa | grep hyperic
vcenter-hyperic-agent-5.8.2.EE-1
localhost:/etc/init.d # ./hyperic-hqee-agent start
Starting the hyperic agent...
Starting HQ Agent...HQ Agent is already running.
localhost:/etc/init.d #
https://docs.google.com/document/d/e/2PACX-1vReVXfEmPmVbr5jdOFq2M1TpuIavfrG5n7u-1bsqSeXVL4qmDvrwvMzzUF5We2Grkxkk9ai8Ao0Sr2x/pub
| vCenter URL | |||
| vCenter user | |||
| vCenter pasword hqadmin https://docs.google.com/document/d/e/2PACX-1vTOYmngqNzryVjwEhiqF3Wspggo-QsjdichzlZnJATGW5-xDHT4D9VMTT6KPKkfY0GW8PLfxo28kEDw/pub | |||
Comments
Post a Comment