Download JBoss Operations Network 3.2 Installation Guide

Transcript
⁠Chapt er 2 . Inst alling t he JBoss O N Server
Po rt
Pu rp o se
7080
Standard HTTP port for server-client
communication
HTTPS port for secure server-client
communication
For agent communication from the server
For storage cluster communication
For storage node JMX communication
For the storage node gossip (node-to-node)
communication
7443
16163
9142
7299
7100
2.5. Preparing for Inst allat ion on Windows
2.5.1. Set t ing up t he JDK
The JBoss ON server requires Java 6 or Java 7 JD K.
If necessary, configure Windows to use the appropriate Java version.
1. D ownload and install the appropriate version of Java, if necessary.
2. Set the JAVA_HOME environment variable to the installation directory.
C:\>set JAVA_HOME=C:\Program Files (x86)\Java
The default Java service wrapper included with JBoss ON requires a 32-bit JVM, so the Java
preference set for the server must be a 32-bit JD K. T h e JB o ss O N server mu st u se a 32b it JVM even o n 6 4 - b it syst ems.
3. Set the system to use the bin directory of the correct version of the JD K.
C:>set path C:\Program Files\Java\jdk1.6.0_29\bin
4. Set the classpath to the lib directory of the correct version of the JRE distribution.
C:>set classpath C:\Program Files (x86)\Java\jre1.6.0_03\lib
2.5.2. Configuring t he JVM t o Run as a Service
JBoss ON includes Tanuki Software's Java service wrapper so that the JBoss ON server can be
configured to run as a Windows service. That default Java service wrapper included with JBoss ON
requires a 32-bit JVM, so the Java preference set for the server must be a 32-bit JD K.
RHQ_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_29
T h e JB o ss O N server mu st u se a 32- b it JVM even o n 6 4 - b it syst ems.
Running the server or agent with a 32-bit JVM does not in any way affect how JBoss ON manages
other resources which may run with a 64-bit JVM. JBoss ON can still manage those resources and
those resources can still use the 64-bit Java libraries for their own processes.
To run the server in a 64-bit JVM, an alternative Java wrapper service must be obtained
independently from Tanuki Software or from another Java service vendor.
15