Move core group members
When moving members to a different core group, remember that: each process can only be a member of one core group, and that all members of a given cluster must belong to the same core group.
- Review the topic, Core groups (high availability domains).
- Determine which core group members we want to move, and to which core group we want to move them
- If we move one cluster member, all of the other members of the cluster are automatically relocated to the new core group.
We might need to move one or more core group members:
- To populate a newly created core group.
- To rebalance existing core groups.
The steps we perform to move either an application server, a deployment manager, or a node agent are slightly different. Depending on whether we are moving an application server, a deployment manager, or a node agent, complete one of the following steps.
In general, we should not move a deployment manager.
Tasks
- Move one or more application servers to another core group.
- Stop the application servers to move.
- In the administrative console, click...
Servers > Core Groups > Core group settings to display a list of the core groups in the topology.
- Click the name of the core group containing the application servers to move.
- On the configuration panel for this core group, under Additional Properties, click Core group servers to display the list of members of this core group. This list includes all of the application servers, node agents, and deployment managers that are members of this core group.
- In the Select column, select the application servers to move to a new core group.
We can only designate one target core group to which to move the selected application servers. If we need to move some of the application servers on this list to two or more other core groups, we have to repeat this step and the following step for each core group.
- Click Move. The Core Groups > Core group settings > core_group_name > Core group servers > Move administrative console panel is displayed. This panel lists the application servers that we selected to move and the core group to which they currently belong.
- Select the core group to which we want these application servers moved. The pull-down, under To core group, lists the core groups available on the system.
- Click Apply> Save.
- Click System Administration > Node agents, select all running nodes> Synchronize to synchronize the configuration changes to all of the running nodes.
- Restart the application servers that you moved.
- Move one or more node agents to another core group.
- Stop the node agents to move.
- In the administrative console, click...
Servers > Core Groups to display a list of the core groups in the topology.
- Click the name of the core group containing the node agents to move.
- On the configuration panel for this core group, under Additional Properties, click Core group servers to display the list of members of this core group. This list includes all of the application servers, node agents, and deployment managers that are members of this core group.
- In the Select column, select the node agents to move to a new core group.
We can only designate one target core group to which to move the selected node agents. If we need to move some of the node agents on this list to two or more other core groups, we have to repeat this step and the following step for each core group.
- Click Move. The Core Groups > core_group_name > Core group servers > Move panel displays. This panel lists the node agents that we selected to move and the core group to which they currently belong.
- Select the core group to which we want these node agents moved. The pull-down, under To core group, lists the core groups available on the system.
- Click Apply> Save.
- Issue the syncNode command from the profile_root/node_agent_profile/bin directory to manually synchronize the updated configuration to the node.
We must perform this synchronization before you restart the moved node agent.
- Restart the node agent that you moved.
- Move the deployment manager to another core group.
- Stop the deployment manager.
- Start a local mode scripting session under the deployment manager profile. Use the following command from the profile_root/deployment_manager_profile/bin directory:
wsadmin -conntype NONE -lang jython- In the local mode scripting session, move the deployment manager. Use the following command:
AdminTask.moveServerToCoreGroup("-source <source_Core_Group> -target <target_Core_Group> -nodeName node -serverName <server>")- Save the configuration changes. Use the following command:
AdminConfig.save()- Restart the deployment manager.
- Click System Administration > Node agents, select all running nodes> Synchronize to synchronize the configuration changes to all of the running nodes.
After all of the restarts complete, all moved application servers, node agents, and deployment managers should belong to their new core group.
What to do next
- We can verify that the servers are in the correct core groups. For each core group, in the administrative console, click...
Servers > Core Groups > core_group_name > Core group servers, and look at the list of core group members that displays.
- We can set up core group bridges if any of the core groups need to communicate with each other. See the Core group communications using the core group bridge service topic for more information.
Subtopics
- Core group server move options
Move one or more core group servers to a different core group. We must stop a core group server before you move it.
Related:
Core groups (high availability domains) Core group communications using the core group bridge service