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.
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:
wsadmin -profile NodegGroupProcs.jacl -c "addNodeGroupMember 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 wsadmin command to wsadmin.sh or wsadmin.bat, depending on your type of operating environment.
wsadmin> source NodeGroupProcs.jacl wsadmin> addNodeGroupMember 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.
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.
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.