Get cell, node, or cluster ID using wsadmin in WebSphere

Home > Search
  by

A number of wsadmin commands require you to provide an appropriate cell, node, or cluster. The AdminConfig.getid command can be use to determine the correct cell, node, or cluster to use.

Cell

# Jython
AdminConfig.getid('/Cell:your_cell/')
'your_cell(cells/your_cell/|cell.xml#Cell_1)'

# Jacl
$AdminConfig getid ('/Cell:your_cell/')
'your_cell(cells/your_cell/|cell.xml#Cell_1)'

 

Node

# Jython
AdminConfig.getid('/Node:your_node/')
'your_node(cells/your_cell/nodes/your_node|node.xml#Node_1)'

# Jacl
$AdminConfig getid ('/Node:your_node/')
'your_node(cells/your_cell/nodes/your_node|node.xml#Node_1)'

 

Cluster

# Jython
AdminConfig.getid('/ServerCluster:your_cluster/')
'your_cluster(cells/your_cell/clusters/your_cluster|cluster.xml#ServerCluster_123456789)'

# Jacl
$AdminConfig getid ('/ServerCluster:your_cluster/')
'your_cluster(cells/your_cell/clusters/your_cluster|cluster.xml#ServerCluster_123456789)'

 

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments