Bootstrap FreeKB - IBM WebSphere - Synchronize a node - Partial sync
IBM WebSphere - Synchronize a node - Partial sync

Updated:   |  IBM WebSphere articles

If you are not familiar with synchronization, check out our Getting Started article.

With a partial synchronization, only files that the deployment manager thinks have changed will be synchronized. A partial synchronization takes less time than a full synchronization.

  1. In the WebSphere admin console, expand System administration.
  2. Select Nodes.
  3. Check the node that you would like to sync, and select Synchronize.

After selecting Synchronize, message "successfully initiated synchronization" should be displayed.

 

The managed node can also be synchronized using the syncNode.sh (Linux) or syncNode.bat (Windows) command. You will run this command from the server that contains the node that you want to sync with the deployment manager.

In this example, "dmgr.example.com" is the hostname of the deployment manager, and 8879 is the SOAP port of the deployment manager. 8879 is the default SOAP port.

~]# was_home/AppServer/profiles/your_profile/bin/syncNode.sh dmgr.example.com 8879
ADMU0116I: Tool information is being logged in file
           /opt/WebSphere/AppServer/profiles/your_profile/logs/syncNode.log
ADMU0128I: Starting tool with the your_profile profile
ADMU0401I: Begin syncNode operation for node your_node with Deployment
           Manager dmgr.example.com: 8879
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0402I: The configuration for node your_node has been synchronized
           with Deployment Manager dmgr.example.com: 8879

 

The node can also be synchronized using the wsadmin command. In this example, a variable named myNode which is associated with Node01, and then the node is synchronized.

# Jacl
set myNode [$AdminControl completeObjectName type=NodeSync,process=nodeagent,node=Node01,*]
$AdminControl invoke $myNode sync

# Jython
myNode = AdminControl.completeObjectName('type=NodeSync,process=nodeagent,node=Node01,*')
AdminControl.invoke(myNode, 'sync')

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ea1e58 in the box below so that we can be sure you are a human.