WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Creating and deleting node group members with scripts

WebSphere Extended Deployment provides the NodeGroupProcs.jacl Jacl script so that you can use scripting options to add or remove node members from a node group. During installation the NodeGroupProcs.jacl script is copied onto the installation target machines in the install_root\bin directory.

Create a new node group member

Depending on your administrative role, you are allowed specific privileges when managing nodes. The following list shows the administrative roles and privileges for managing nodes:

Monitor
Can view the information.
Operator
Can set and unset maintenance nodes.
Can synchronize nodes.
Can stop nodes.
Configurator
Can view the configuration.
Can add and remove nodes.
Administrator
Has all privileges.
To create a node group member with the NodeGroupProcs.jacl script, take one of the following actions:

Delete a node group member

To delete a node group member with the NodeGroupProcs.jacl script, take one of the following actions:
  • If you are using the wsadmin utility on the command line, issue the following command:
    wsadmin -profile NodeGroupProcs.jacl -c "removeNodeGroupMember node_group_name node_name"

    where node_group_name and node_name, are the names of the node group and the node that you want to add. You might have to modify the wasdmin command to wsadmin.sh or wsadmin.bat, depending on your type of operating environment.

  • If you are using a scripting client, launch the scripting client. Refer to Getting started with scripting for more information. In the wsadmin utility issue the following command:
    wsadmin> source NodeGroupProcs.jacl
    wsadmin> removeNodeGroupMember node_group_name node_name

    where node_group_name and node_name are the names of the node group and the node that you want to add.




Related tasks
Creating or editing a node group
Related reference
Administrative roles and privileges
Reference topic    

Terms of Use | Feedback

Last updated: Nov 30, 2007 4:05:14 PM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/reference/todnodegroupscript.html