|
Problem(Abstract) |
The synchronization status of a node can be determined
using administrative tools other than the administrative console. |
|
Resolving the
problem |
You can use wsadmin to obtain the synchronization status
of a node.
The required Mbean: NodeSync
The operation to be invoked on the Mbean: isNodeSynchronized()
Here is the set of commands to get the node synchronization status.
- set node NODE
Where NODE is the name of the Node for which status is to be
obtained.
- set nodeSync [$AdminControl completeObjectName
type=NodeSync,node=$node,*]
This commands sets variable nodesync to refer to the NodeSync mbean.
- $AdminControl invoke $nodeSync isNodeSynchronized
This command invokes the operation isNodeSynchronized() on the mbean.
Here is a sample output
C:\WebSphere\DeploymentManager\bin>wsadmin
WASX7209I: Connected to process "dmgr" on node amitsManager using
SOAP
connector ; The type of process is: DeploymentManager WASX7029I: For
help, enter: "$Help help"
wsadmin>set node jeku
jeku
wsadmin>set nodeSync [$AdminControl completeObjectName
type=NodeSync,node=$node,*]
WebSphere:platform=common,cell=jekuNetwork,version=5.0,name=nodeSync,mbeanId
entifier=nodeSync,type=NodeSync,node=jeku,process=nodeagent
wsadmin>$AdminControl invoke $nodeSync isNodeSynchronized
true |
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|
|