How to check if Node is in sync with Dmgr

Option1: Login to the Admin console >> System Administration >> Nodes >>
Within the Nodes there would be a column for the Sync Status
If it is broken it means that the Sync is not synced

Refer the Snapshot below

syncnode1

The node01 and node02 are not synced

===================================================================

Option2:

===================================================================
First of all localize wsadmin tool on your host. It is located in <install_root>/AppServer/bin

cd <install_root>/AppServer/bin

Start wsadmin tool to connect to deployment manager

wsadmin.sh -host <dmgr_server> -port <dmgr_SOAP_port> -conntype SOAP -username <admin_username> -password <admin_password>

Assign node name to some variable I have used node_name in this example and mynode is the name of the node you would like to synchronize

set node_name [$AdminControl completeObjectName type=NodeSync,node=mynode,*]

For Eg
wsadmin>set node_name [$AdminControl completeObjectName type=NodeSync,node=mynode,*]
WebSphere:mbeanIdentifier=nodeSync,cell=my_cell,process=nodeagent,name=nodeSyn
c,platform=common,node=mynode,version=6.0.2.23,type=NodeSync

Now, when we know the exact name of the node we can check if it is in sync with deployment manager

$AdminControl invoke $node_name isNodeSynchronized

If node is in sync with deployment manager you will see following output

wsadmin>$AdminControl invoke $node_name isNodeSynchronized
true
wsadmin>

The “True” Represents that the Node is Synced

 

Leave a Reply

Your email address will not be published. Required fields are marked *