|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to Check cluster member exist in the specific node |
« View previous topic :: View next topic » |
Author |
Message
|
rampriya |
Posted: Mon Apr 20, 2015 12:36 pm Post subject: how to Check cluster member exist in the specific node |
|
|
Newbie
Joined: 27 Jul 2009 Posts: 9
|
Hi Experts,
I am looking for jython script or code to check cluster member exist in the specific node. Also how to find the last created cluster member for the specific node using jython script.
Thanks,
Ramanujan |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Apr 20, 2015 1:08 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
this will list the members in the cluster
clusterName=sys.argv[0]
cell=AdminConfig.list("Cell")
cellName=AdminConfig.showAttribute(cell,'name')
cluster_config_id = AdminConfig.getid("/ServerCluster:"+clusterName )
AdminConfig.list('ClusterMember', cluster_config_id)
you can change this as per your logic. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
rampriya |
Posted: Tue Apr 21, 2015 7:32 am Post subject: |
|
|
Newbie
Joined: 27 Jul 2009 Posts: 9
|
I have this code, but I would like to know how to get the list of cluster members for each specific node.
I created few cluster members manually in the admin console. But now I would like to add some more cluster member for each node using the automated scripts. So I would like to find the last created clustermember name for each node, so that I will create few more cluster members under each node based on the last created clustermember name.
Please help me to find the last created cluster member for the specific node name.
Thanks and Regards,
Ramanujan |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|