1.1

Table Of Contents
Chapter 48
Using Java Management Extensions (JMX)
You can use the Java Management Extensions (JMX) with vFabric SQLFire for additional administrative and monitoring
capability
Basic JMX monitoring can be tightly integrated into SQLFire member processes. You can congure either locators
and/or servers to automatically start a JMX manager process if necessary when the member starts.
As an alternative, if you need to provide HTTP access for monitoring SQLFire MBeans, you can run a standalone JMX
agent with MX4J.
Using a JMX Manager Node
SQLFire's management and monitoring system consists of one JMX Manager node (there should only be one)
and one or more managed nodes within a distributed system. All members in the distributed system use MBeans
for certain management and monitoring functions.
Managed Node
Each member of a distributed system is a managed node. Any node that is not currently also acting as a JMX
Manager node is referred to simply as a managed node. A managed node has the following resources so that it
can answer JMX queries both locally and remotely:
An RMI connector that allows a remote JMX client to connect directly to the node and access all local MBeans.
Local MBeans that represent the locally monitored components on the node.
Built-in platform MBeans
JMX Manager Node
A JMX Manager node is a member that can manage other SQLFire members --that is, other managed nodes --
as well as itself. A JMX Manager node can manage all other members in the distributed system.
To convert a managed node to a JMX Manager node, you congure the SQLFire property jmx-manager=true,
either in the sqlfire.properties le or on the command line when you start the member.
The JMX Manager node has the following extra resources allocated so that it can answer JMX queries:
RMI connector that allows JMX clients to connect to and access all MBeans in the distributed system.
Local MBeans that represent the locally monitored components on this node, same as any other managed node.
Aggregate MBeans:
DistributedSystemMBean.
DistributedRegionMBean.
MemberGroupMBean.
DistributedLockServiceMBean
291