
# is used. If this and RHQ_AGENT_JAVA_HOME are not set, the
# agent's embedded JRE will be used.
#
#RHQ_AGENT_JAVA_EXE_FILE_PATH="/usr/local/bin/java"
# RHQ_AGENT_JAVA_OPTS - Java VM command line options to be
# passed into the agent's VM. If this is not defined this script will pass in a default set of options.
# If this is set, it completely overrides the agent's defaults. If you only want to add options to the
# agent's defaults, then you will want to use RHQ_AGENT_ADDITIONAL_JAVA_OPTS
# instead.
#
#RHQ_AGENT_JAVA_OPTS="-Xms64m -Xmx128m -Djava.net.preferIPv4Stack=true"
# RHQ_AGENT_JAVA_ENDORSED_DIRS - Java VM command line option to set the
# endorsed dirs for the agent's VM. If this is not defined this script will pass in a
# default value. If this is set, it completely overrides the agent's default.
# However, if this is set to "none", the agent will not be passed the VM argument
# to set the endorsed dirs.
#
#RHQ_AGENT_JAVA_ENDORSED_DIRS="${RHQ_AGENT_HOME}/lib/endorsed"
# RHQ_AGENT_JAVA_LIBRARY_PATH - The RHQ Agent has a JNI library that
# it needs to find in order to do things like execute PIQL queries and access
# low-level operating system data. This is the native system layer (SIGAR).
# If you deploy a custom plugin that also requires JNI libraries, you must add to
# the library path here, but you must ensure not to remove the RHQ Agent library path.
# If this variable is set, it completely overrides the agent's default.
# However, if this is set to "none", the agent will not be passed the VM argument
# to set the library paths.
#
#RHQ_AGENT_JAVA_LIBRARY_PATH="${RHQ_AGENT_HOME}/lib"
# RHQ_AGENT_ADDITIONAL_JAVA_OPTS - additional Java VM command line options
# to be passed into the agent's VM. This is added to RHQ_AGENT_JAVA_OPTS; it
# is mainly used to augment the agent's default set of options. This can be
# left unset if it is not needed.
#
#RHQ_AGENT_ADDITIONAL_JAVA_OPTS="-
agentlib:jdwp=transport=dt_socket,address=9797,server=y,suspend=n"
# RHQ_AGENT_CMDLINE_OPTS - If this is defined, these are the command line
# arguments that will be passed to the RHQ Agent. Any arguments specified on the command
# line will be ignored. If this is not defined, the command line arguments given to the script are
# passed through to the RHQ Agent. If you want to have command line arguments
# added to the arguments specified here, append '$*' to the end of this option. For example,
# "--daemon $*". In this case, both the command line options and the ones specified here will
# be passed to the agent.
#
#RHQ_AGENT_CMDLINE_OPTS="--daemon --nonative --cleanconfig"
RHQ_AGENT_CMDLINE_OPTS="--daemon --cleanconfig"
177 www.redhat.com
Komentarze do niniejszej Instrukcji