Bootstrap FreeKB - IBM WebSphere - List Synchronization Services using wsadmin
IBM WebSphere - List Synchronization Services using wsadmin

Updated:   |  IBM WebSphere articles

If you are not familiar with wsadmin.sh (Linux) / wsadmin.bat (Windows), check out our Getting Started article.

The following wsadmin AdminConfig command can be used to list the node agents. This example uses the jython language.

AdminTask.listServers('[-serverType NODE_AGENT]')

 

Which should return something like this.

nodeagent(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml)

 

Then the following wsadmin command can be used to list the node agents Synchronization Service, using the nodeagent returned by the prior command.

AdminConfig.list('ConfigSynchronizationService', 'nodeagent(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml)')

 

Which should return something like this.

(cells/myCell01/nodes/myNode01/servers/nodeagent|server.xml#ConfigSynchronizationService_1482438539006)

 




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 776468 in the box below so that we can be sure you are a human.