2.5. Preparing for Installation on Windows
2.5.1. Setting up the JDK
- Download and install the appropriate version of Java, if necessary.
- Set the
JAVA_HOMEenvironment variable to the installation directory.
C:\>set JAVA_HOME=C:\Program Files (x86)\JavaThe 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 JDK. The JBoss ON server must use a 32-bit JVM even on 64-bit systems.
- Set the system to use the
bindirectory of the correct version of the JDK.
C:>set path C:\Program Files\Java\jdk1.6.0_29\bin
- Set the classpath to the
libdirectory 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 the JVM to Run as a Service
2.5.3. Configuring NTP
2.5.4. Configuring DNS
/etc/hostsfile for each system which is managed by JBoss ON or hosts a server or storage node..
2.5.5. Configuring Ports
Table 2.3. Default JBoss ON Ports
|7080||Standard HTTP port for server-client communication|
|7443||HTTPS port for secure server-client communication|
|16163||For agent communication from the server|
|9142||For storage cluster communication|
|7299||For storage node JMX communication|
|7100||For the storage node gossip (node-to-node) communication|
2.5.6. Selecting Path Names
C:\Documents and Settings\myusername\jon-server.
C:\example\jon-server-3.2.0.GA\jon-server-3.2.0.GA. Using other tools may install it to a downloads directory such as
C:\jon, which creates an installation directory of
2.5.7. Utilities to Use with JBoss ON
2.5.8. Configuring Internet Explorer
- In Internet Explorer, click the gear icon in the upper right corner and select.
- Open the Security tab, and select the Local intranet icon.
- Click thebutton.
- Click thebutton at the bottom of the pop-up window.
- Enter the JBoss ON server hostname or IP address in the Add this webiste to the zone: field, and click the .
- Close out the options windows.
2.5.9. Planning the Storage Nodes
rhqctlscript (the same as the server). The metrics storage database works as a cluster, so it is possible to have multiple nodes and to add and remove nodes as necessary.
- The storage node and server do not have to be located on the same machine.
- Installing a storage node does not require installing a server.
- At least one storage node must be installed before the server. (If the
rhqctlscript is run with just the
installcommand, then it automatically installs a storage node first, then the server, then the agent.)
- Multiple storage nodes can be installed before installing the server. There are several benefits to installing multiple nodes:
- For upgraded environments, it speeds data migration.
- It can minimize the administrative and resource requirements that are incurred by deploying nodes after the server is running.