+4linux Instalação Do RHQ Server + Banco + Agent
+4linux Instalação Do RHQ Server + Banco + Agent
+4linux Instalação Do RHQ Server + Banco + Agent
www.4linux.com.br
ence
Business Intelig lx8
F
u/
.m
va
http://
BPM
http://va.mu/EuiT
Servidor Java EE
http://va.mu/FlyB
PostgreSQL
http://va.mu/EuhV
Monitoramento
http://va.mu/EukN
Virtualizao
http://va.mu/Flxl
Groupware Yj
u/FN
http://va.m
Backup
http://va.mu/Flxr
Auditoria e Anlise
http://va.mu/Flxu
Segurana
http://va.mu/Flxy
Ensino Distncia
http://va.mu/Flxc
Integrao Continua
http://va.mu/FlyD
GED - ECM
http://va.mu/Flx3
Alta Disponibilidade
http://va.mu/FNbL
Infraestrutura Web
http://va.mu/Flxi
Implantao garantida
http://va.mu/GcFv
Contedo
Contedo Complementar: Instalao do RHQ Server + Banco + Agent
. . . . . . . . . . . . . . . . . . . . .
....
3
4
deb http :// apt . postgresql . org / pub / repos / apt precise - pgdg main
4Linux www.4linux.com.br
psql (9.3.3)
8
9
10
11
12
postgres = # \ q
13
Pgina 2
4Linux www.4linux.com.br
2
3
# ## Final do arquivo
....
5
6
host
rhq
rhqadmin
192.168.100.100/32
md5
7 - Outro ponto importante que merece ateno o IP no qual o PostgreSQL est fazendo binding ports. Defina o caracter * para aceitar conexes em todas as interfaces
da mquina DB DevOps 2.
2
3
# ## Linha 59
4
5
....
6
7
listen_addresses = *
psql (9.3.3)
rhq = >\ q
Pgina 3
psql (9.3.3)
4Linux www.4linux.com.br
5
6
rhq =# \q
Pgina 4
4Linux www.4linux.com.br
2
3
....
4
5
export JAVA_HOME = " / usr / lib / jvm / java -7 - openjdk - i386 "
2
3
Pgina 5
4Linux www.4linux.com.br
Final - redhat -2
3
2
3
....
4
5
7
8
9
10
11
12
13
14
Pgina 6
4Linux www.4linux.com.br
15
16
....
17
18
19
20
21
22
23
24
25
....
5 - Em seguida crie o diretrio para armazenar o RHQ Storage (DICA: Use um ponto
de montagem com RAID + LVM)
6 - E execute o script rhqctl para instalar o RHQ Server, utilizando o diretrio /rhqstorage como Storage Data.
root@monitoramento :~ # / opt / rhq / bin / rhqctl install -- storage - data root - dir =/ rhq - storage
Final - redhat -2
3
Final - redhat -2
6
Pgina 7
4Linux www.4linux.com.br
21
RHQ Server
( pid 1633
) is starting
22
23
....
....
2
3
======================================
Pgina 8
4Linux www.4linux.com.br
======================================
10
Version : 4.12.0
11
12
Jar File : / opt / rhq / modules / org / rhq / server - startup / main / deployments /
rhq . ear / rhq - downloads / rhq - agent / rhq - enterprise - agent -4.12.0. jar
13
[ install ] [ echo ] Extract the agent distro zip from the agent update
binary
14
[ install ] [ unjar ] Expanding : / opt / rhq / modules / org / rhq / server - startup
/ main / deployments / rhq . ear / rhq - downloads / rhq - agent / rhq - enterprise agent -4.12.0. jar into / opt / rhq
15
[ install ] [ echo ] Unzip the agent distro into the new installation
directory
16
17
18
19
20
[ install ] [ echo ] DONE ! Agent version 4.12.0 ( build number =4905 f6e )
has been installed to / opt
21
25
26
27
28
Pgina 9
29
4Linux www.4linux.com.br
Final - redhat -2
3
RHQ Server
( pid 2985
) is starting
tcp
0
OU A
tcp
0 192.168.100.200:7080
0.0.0.0:*
3093/ java
0
TIME_WAIT
0 192.168.100.200:43310
192.168.100.200:7080
10 - Para terminar alterne para a mquina Help Desk Support e no navegador digite
o seguinte endereo:
http://192.168.100.200:7080
Pgina 10
4Linux www.4linux.com.br
2
3
root@jboss03 :~ # su - juser
======================================
======================================
Installing Agent To : .
10
Version : 4.12.0
11
12
Jar File : / opt / jboss - as -7.1.1. Final / rhq - enterprise - agent -4.12.0. jar
13
[ install ] [ echo ] Extract the agent distro zip from the agent update
binary
14
[ install ] [ unjar ] Expanding : / opt / jboss - as -7.1.1. Final / rhq enterprise - agent -4.12.0. jar into / opt / jboss - as -7.1.1. Final
15
[ install ] [ echo ] Unzip the agent distro into the new installation
directory
Pgina 11
16
4Linux www.4linux.com.br
[ install ] [ unzip ] Expanding : / opt / jboss - as -7.1.1. Final / rhq enterprise - agent -4.12.0. zip into / opt / jboss - as -7.1.1. Final
17
18
19
[ install ] [ delete ] Deleting : / opt / jboss - as -7.1.1. Final / rhq enterprise - agent -4.12.0. zip
20
[ install ] [ echo ] DONE ! Agent version 4.12.0 ( build number =4905 f6e )
has been installed to .
** Advanced Setup **
thus allowing you to fine tune the agent via these advanced settings
.
Please refer to the help text and documentation if you are not sure
10
11
12
13
14
15
16
17
18
19
20
21
22
Pgina 12
4Linux www.4linux.com.br
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
The setup has been completed for the preferences at node [/ rhq - agent
/ default ].
4 - Para testar a instalao do Agent RHQ, inicie o servio atravs do script rhqagent-wrapper.sh com a opo start.
Pgina 13