このコンテンツは選択した言語では利用できません。
2.6. Starting the Storage Node
The JBoss ON storage node process is started by running the
rhqctl
script in the serverRoot/bin/
directory for the JBoss ON server.
The simplest way to start the storage node is simply to run the script with the
start
command. This starts the node process and then exits from the script.
[root@server bin]# ./rhqctl start storage 22:03:01,362 INFO [org.jboss.modules] JBoss Modules version 1.2.2.Final-redhat-1 INFO 22:03:03,138 Logging initialized INFO 22:03:03,177 JVM vendor/version: OpenJDK 64-Bit Server VM/1.6.0_24 ... INFO 22:03:51,215 Node /10.16.46.34 state jump to normal INFO 22:03:51,223 Startup completed! Now serving reads.
The
rhqctl
script looks for specific environment variables during its execution, especially related to the JVM for the storage node. A complete list of Java settings is given in the /opt/jon/jon-server-3.2.GA/rhq-storage/conf/cassandra-jvm.properties
file.
Note
The
RHQ_SERVER_JAVA_HOME
environment variable must be set on Red Hat Enterprise Linux systems for the server to start. This can be set to a general value like /usr/
.
The storage node can also be started in console mode, which prints detailed information about the storage node process to the terminal and leaves the script open as long as the node is running.
[root@server ~]# ./rhqctl console --server 20:28:44,120 INFO [org.jboss.modules] JBoss Modules version 1.2.2.Final-redhat-1 Starting RHQ Storage in console... JAVA_OPTS already set in environment; overriding default settings with values: - ....