When moving members to a different core group, remember
that: each process can be a member of only one core group, all members
of a given cluster must belong to the same core group, each core group
must contain at least one deployment manager or node agent process,
and the high availability manager must be enabled on the deployment
manager or at least one node agent in every core group. The high availability
manager can be enabled on the deployment manager, and
on multiple node agents in the same core group.
Before you begin
- Review core group concepts.
- Determine which core group members you want to move, and to which
core group you want to move them
The steps you perform to move either
an application server, a deployment manager, or a node agent are slightly
different.
Important: In general, you should not move
a deployment manager.
- Stop the processes you are moving, using the following guidelines:
- Case 1: You are not moving the deployment manager. Stop all of
the processes you are moving.
- Case 2: You are moving the deployment manager. Because the deployment
manager has to be moved separately, stop all of the other processes
you are moving, but leave the deployment manager running until after
you have moved all of these other processes.
About this task
You might need to move one or more core group members:
- To populate a newly created core group.
- To rebalance existing core groups.
Depending on the whether you are moving an application server,
a deployment manager, or a node agent, perform one of the following
steps.
Procedure
- Move one or more application servers to another core group.
- Stop the application servers that you want 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 that contains the application
servers that you want to move.
- On the configuration page 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
that you want to move to a new core group.
You can only
designate one target core group to which to move the selected application
servers. If you need to move some of the application servers on this
list to two or more other core groups, you 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 administrative console page is displayed.
This page lists the application servers that you selected to move
and the core group to which they currently belong.
- Select the core group to which you want these application
servers moved. The pull-down, under To core group, lists
the core groups that are available on your system.
- Click Apply, and then click Save.
- Click System administration > Nodes, select all
running nodes, and then click Synchronize to synchronize your
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 that you want 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 that contains the node
agents that you want to move.
- On the configuration page 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 that you
want to move to a new core group.
You can only designate
one target core group to which to move the selected node agents. If
you need to move some of the node agents on this list to two or more
other core groups, you 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 administrative console page is displayed.
This page lists the node agents that you selected to move and the
core group to which they currently belong.
- Select the core group to which you want these node agents
moved. The pull-down, under To core group, lists the core
groups that are available on your system.
- Click Apply, and then click Save.
- Issue the syncNode command from the
profile_root/node_agent_profile/bin directory
to manually synchronize the updated configuration to the node.
Important: This synchronization must be performed
before you restart the moved node agent.
- Restart the node agent that you moved.
- Move a deployment manager to another core group.
- Stop all members of the core group that contains the
deployment manager, including the deployment manager.
- Issue the wsadmin –conntype NONE –lang jython command
from the profile_root/deployment_manager_profile/bin directory
to start a local mode scripting session under the deployment manager
profile.
- In the local mode scripting session, move the deployment
manager using the following command.
AdminTask.moveServerToCoreGroup("-source <source_Core_Group> - target <target_Core_Group> -nodeName <node_name> -serverName <server_name>")
- Issue the AdminConfig.save() command
to save the configuration changes.
- Restart the deployment managers that you moved.
- Restart the other core group members that you had to
stop before moving the deployment manager.
- Click System administration > Nodes, select all
running nodes, and then click Synchronize to synchronize your
configuration changes to all of the running nodes.
Results
After all of the restarts complete, all moved application
servers, node agents, and deployment managers belong to their new
core groups.
What to do next
- You 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 settings > core_group_name >
Core group servers and look at the list of core group members
that displays.
- You can set up core group bridges if any of the core groups need
to communicate with each other. See Core group communications using the core group bridge service for more
information.