Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.3. JBoss AS 7 and EAP 6 - Standalone Server

Overview

Table 3.245. Overview

Description:Standalone AS7 server
Singleton: no
Plugin:JBossAS7

Note

The server can be started, restarted, or stopped via the Start, Restart, and Shutdown operations. The Start and Restart operations start the server by executing the server start script, typically standalone.sh on UNIX or standalone.bat on Windows. The following connection settings can be used to configure the start script execution: * Start Script - the absolute path of the start script (e.g. "/opt/jboss-as-7.1.1.Final/bin/standalone.sh") * Start Script Prefix - a prefix command line to be prepended to the start script command line (e.g. "nohup sudo -u jboss -g jboss") * Start Script Arguments - arguments to be passed to the start script (e.g. "--server-config=standalone-full-ha.xml") * Start Script Environment - environment variables to be set in the start script's environment (e.g. "JAVA_HOME=/usr/java/jdk1.6.0_30") These settings are automatically initialized by the JBossAS7 plugin discovery code to match the currently running server process' command line and environment. The settings are not used by the Stop operation, since it stops the server via the management interface, not via a script. For more detailed descriptions of the settings, see the Connection Settings section below.

Child Resource Types

Autodiscovery Process Scans

Table 3.246. Metrics

NameQuery
StandaloneASprocess|basename|match=^java.*,arg|org.jboss.as.standalone|match=.*

Connection Properties

Table 3.247. 

NameDescriptionRequiredInternal Name
Start Script PathThe path to the script that the Start and Restart operations should use to start the server. If the path is not absolute, it is resolved relative to the server home directory (e.g. "bin/standalone.sh", "bin/domain.sh"). no startScript
Start Script PrefixA prefix command line that should be prepended to the start script command line by the Start and Restart operations; the prefix command must be an absolute path (e.g. "/usr/bin/sudo"). This property is most commonly used to run the AS7 process as a different user than the RHQ Agent (e.g. "sudo -u jboss -g jboss" could be used to run AS7 as user "jboss" and group "jboss". It is also possible to chain prefix commands (e.g. "nohup sudo -u jboss" could be used to make AS7 ignore HUP signals and to run as user "jboss"). no startScriptPrefix
Start Script Environment VariablesThe variables that the Start and Restart operations will add to the environment of the server start script. Each name=value pair should be on a new line. Variable values should *not* be enclosed in quotes (e.g. JAVA_OPTS=-Xms512M -Xmx1024M). On UNIX systems, the typical minimum set of environment variables is: PATH=/usr/bin:/bin . And on Windows the typical minimum set is: PATH=C:\Windows\System32;C:\Windows , OS=Windows_NT , SYSTEMROOT=C:\Windows . In addition, it is good practice to set JAVA_HOME to the absolute path of the install directory of the JRE or JDK you wish to use to run the AS7 instance. However, if JAVA_HOME is not specified, the start script will attempt to find java in the PATH. There is currently a 2000 character limit for this value. no startScriptEnv
Start Script ArgumentsThe arguments that the Start and Restart operations will pass to the server start script. Each argument should be on a new line - for example: --server-config=standalone-ha-full.xml. As an exception, the value of a space-delimited option can optionally be on the same line as the option - for example: -c standalone-ha-full.xml. There is currently a 2000 character limit for this value. no startScriptArgs
Log Event Sources  yes logEventSources
Availability Check PeriodThe amount of time, in seconds, that must elapse between availability checks to see if the server is up. If set, the availability checks will be performed asynchronously thus allowing slow-responding servers to avoid being falsely reported as down. Minimum value is 60 seconds. no availabilityCheckPeriod
Hostname  yes hostname
Port  yes port
UserManagement user for a secured AS no user
PasswordPassword for the management user no password
Management Connection TimeoutMaximum time in milliseconds to keep alive an idle management connection. Zero and negative values will disable connection persistence. Defaults to 5000 ms. no managementConnectionTimeout
Home DirectoryRoot directory of the server installation no homeDir
Base DirectoryBase directory for server content no baseDir
Configuration DirectoryBase configuration directory no configDir
Log Directorythe directory where log files will be written for this server no logDir
Product TypeServer product type (e.g. AS or EAP) no productType

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

Table 3.248. Metrics

NameTypeDescriptionInternal Name
Number of management requestsmeasurementNumber of requests sent to the controller_internal:mgmtRequests
Number of management requests per MinutemeasurementNumber of requests sent to the controller_internal:mgmtRequests
Time used for management requestsmeasurementTotal time for requests_internal:requestTime
Time used for management requests per MinutemeasurementTotal time for requests_internal:requestTime
Maximum request timemeasurementMax time for a request since last metric get_internal:maxTime
Server StatetraitDetailed server stateserver-state
Server Code NametraitServer Code Name_skm:release-codename
Server VersiontraitServer Version_skm:release-version
Product NametraitProduct Name_skm:product-name
Product VersiontraitProduct Version_skm:product-version
Server Start TimetraitServer Start TimestartTime
JGroups Multicast Addresstraitthe host and port used by JGroups for multicastmulticastAddress
Server Config FiletraitThe name of the server configuration file this server is usingconfig-file
Deploy DirectorytraitThe deployment directory for bundles (usually 'standalone/deployments'deployDir

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

Table 3.249. 

NameDescriptionRequiredInternal Name
Properties  no *2
PathThe standard paths provided by the system include: jboss.home - the root directory of the JBoss AS distribution; user.home - user's home directory; user.dir - user's current working directory; java.home - java installation directory; jboss.server.base.dir - root directory for an individual server instance; jboss.server.data.dir - directory the server will use for persistent data file storage; jboss.server.log.dir - directory the server will use for log file storage; jboss.server.tmp.dir - directory the server will use for temporary file storage; jboss.domain.servers.dir - directory under which a host controller will create the working area for individual server instances no *3
Installed extensions  no *1
Base DirThe base directory for JBoss Application Server. yes base-dir
Config DirThe directory where the configurations are stored. yes config-dir
Config FileThe configuration file used to launch JBoss Application Server. yes config-file
Content DirThe directory where user content (e.g. deployments) that is managed by the server is stored. yes content-dir
Data DirThe data directory. yes data-dir
Deploy DirDeprecated variant of 'content-dir'. yes deploy-dir
Ext DirsA list of ext directories. yes ext-dirs
Home DirThe home directory for JBoss Application Server. yes home-dir
Host NameThe host name. yes host-name
Initial Running ModeThe current running mode of the server. Either LIVE (normal operations) or ADMIN_ONLY. An ADMIN_ONLY server will start any configured management interfaces and accept management requests, but will not start services used for handling end user requests. yes initial-running-mode
Launch TypeThe type of the running server. yes launch-type
Log DirThe directory where log files are sent. yes log-dir
Modules DirThe directory where modules are found. yes modules-dir
Node NameThe name of the server node. yes node-name
Qualified Host NameThe qualified host name. yes qualified-host-name
Server NameThe name of the server. yes server-name
Temp DirThe temporary directory. yes temp-dir

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Operations

Table 3.250. Metrics

NameDescription
ReloadMake the server re-load the (changed) configuration. To load a different startup config use 'restart'
StartStart the server by invoking its start script
RestartRestart the server by shutting it down and invoking its start script
ShutdownShut down the server.
Install RHQ userInstalls a user in the server for management

Package Types

none

3.3.1. JBoss AS 7 and EAP 6 - ModCluster Standalone Service

Overview

Table 3.251. Overview

Description:Mod_cluster support
Singleton: yes
Plugin:JBossAS7

Child Resource Types

Connection Properties

Table 3.252. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

none

Configuration Properties

none

Operations

Table 3.253. Metrics

NameDescription
Add ProxyAdd the proxy to the list of httpd connected to the node.
List ProxiesRead the list of httpd connected to the node.
Read Proxies ConfigurationSend a DUMP to httpd and display the result.
Read Proxies InfoSend a INFO to httpd and display the result.
RefreshRefresh the node sending a new CONFIG message to Apache httpd.
Remove ProxyRemove the proxy to the list of httpd connected to the node.
ResetReset the node connection to Apache httpd.

Package Types

none

3.3.1.1. JBoss AS 7 and EAP 6 - Service Configuration Service

Overview

Table 3.254. Overview

Description: 
Singleton: no
Plugin:JBossAS7
Child Resource Types
Connection Properties

Table 3.255. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties

Table 3.256. 

NameDescriptionRequiredInternal Name
Proxy ListList of proxies, Format (hostname:port) separated with commas. no proxy-list
Proxy UrlBase URL for MCMP requests. no proxy-url
Advertise SocketName of Socket binding to use for the Advertise socket. no advertise-socket
AdvertiseUse Advertise logic or not. no advertise
Advertise Security KeyString containing the security key for the Advertise logic. no advertise-security-key
BalancerThe balancer name. no balancer
ConnectorName of the web connector used to communicate with the load balancer. yes connector
Load Balancing GrouploadBalancingGroup name. no load-balancing-group
Excluded ContextsList of contexts mod_cluster should ignore, Format String separated with commas. no excluded-contexts
Auto Enable ContextsEnable contexts even if disabled in mod_cluster_manger (httpd). no auto-enable-contexts
Sticky SessionUse sticky sessions for requests. no sticky-session
Sticky Session RemoveRemove session information on failover. no sticky-session-remove
Sticky Session ForceDon't failover a request with session information. no sticky-session-force
Worker TimeoutTimeout to wait in httpd for an available worker to process the requests. no worker-timeout
Max AttemptsMax attempts to process an idempotent request. no max-attempts
Flush PacketsEnables/disables packet flushing in httpd. no flush-packets
Flush WaitTime to wait before flushing packets in httpd. no flush-wait
PingTime (in seconds) in which to wait for a pong answer to a ping. no ping
SmaxSoft maximum idle connection count in httpd no smax
TtlTime to live (in seconds) for idle connections above smax no ttl
Node TimeoutTimeout (in seconds) for proxy connections to a node. no node-timeout
Stop Context TimeoutMax time to wait for context to process pending requests. no stop-context-timeout
Socket TimeoutTimeout to wait for httpd to answer a MCMP message. no socket-timeout

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations

Table 3.257. Metrics

NameDescription
Add Custom MetricAdd new custom metric to the load balancer provider.
Add MetricAdd new metric to the load balancer provider.
Remove Custom MetricRemove a custom metric from the load balancer provider.
Remove MetricAdd new metric to the load balancer provider.
Package Types
none
3.3.1.1.1. JBoss AS 7 and EAP 6 - Dynamic Load Provider Service
Overview

Table 3.258. Overview

Description: 
Singleton: no
Plugin:JBossAS7
Child Resource Types
Connection Properties

Table 3.259. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties

Table 3.260. 

NameDescriptionRequiredInternal Name
DecayDecay. The default value is 2. no decay
HistoryHistory. The default value is 9. no history

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none
3.3.1.1.1.1. JBoss AS 7 and EAP 6 - Custom Load Metric Service
Overview

Table 3.261. Overview

Description: 
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.262. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties

Table 3.263. 

NameDescriptionRequiredInternal Name
CapacityCapacity of the metric. The default value is 1 no capacity
ClassClass name of the custom metric. yes class
WeightWeight of the metric. The default value is 1. no weight

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none
3.3.1.1.1.2. JBoss AS 7 and EAP 6 - Load Metric Service
Overview

Table 3.264. Overview

Description: 
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.265. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties

Table 3.266. 

NameDescriptionRequiredInternal Name
CapacityCapacity of the metric. The default value is 1. no capacity
TypeType of the metric yes type
WeightWeight of the metric. The default value is 1. no weight

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none
3.3.1.1.2. JBoss AS 7 and EAP 6 - Ssl Service
Overview

Table 3.267. Overview

Description: 
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.268. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics
none
Configuration Properties

Table 3.269. 

NameDescriptionRequiredInternal Name
Ca Certificate FileCertificate authority. no ca-certificate-file
Ca Revocation UrCertificate authority revocation list. no ca-revocation-ur
Certificate Key FileKey file for the certificate. no certificate-key-file
Cipher SuiteThe allowed cipher suite. no cipher-suite
Key AliasThe key alias. no key-alias
PasswordPassword. no password
ProtocolThe SSL protocols that are enabled. no protocol

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none