In this procedure, a two-node cluster is used, where the nodes are identified as Node1 and Node2. The following actions were performed in How to Configure and Activate Network Resources.
The failover Node Agent resource group NA-resource-group was created.
The failover logical host logical-hostname was added as a network resource to the resource group.
The resource group was brought online, and the resources were enabled.
On Node1, start the Node Agent manually using the asadmin command.
This step starts the Node Agent and all the server instances that are configured for this Node Agent.
The Node Agent and the server instances are configured to listen on the failover logical host that is configured in the failover resource group NA-resource-group.
Connect to the server instances from a browser.
http://logical-hostname:instance1-port |
http://logical-hostname:instance2-port |
Ensure that you can connect to any application deployed on the server instance.
If you are not able to connect to an application deployed on the server instance, perform the following steps.
Ensure that the server instances and the Node Agent are configured correctly to listen on the logical host logical-hostname.
Ensure that your installation satisfies the restrictions and requirements described in Configuration Restrictions and Requirements.
Ensure that you correctly followed the instructions in How to Install and Configure the Sun Java System Application Server.
On Node1, stop the Node Agent by using the asadmin command.
This step stops all the server instances that are configured for this Node Agent.
Switch the Node Agent resource group from Node1 to Node2.
# clresourcegroup online -n Node2 NA-resource-group |
This step takes the resource group offline from Node1 and brings the same resource group online on Node2. The resource group includes the logical host logical-hostname.
On Node2, start the Node Agent manually by using the asadmin command.
This step starts the Node Agent and all the server instances that are configured for this Node Agent.
Connect to the server instances from a browser.
http://logical-hostname:instance1-port |
http://logical-hostname:instance2-port |
If you are not able to connect to the server instance from the browser, perform the following steps.
Ensure that the server instances and the Node Agent are configured correctly to listen on the logical host logical-hostname.
Ensure that your installation satisfies the restrictions and requirements described in Configuration Restrictions and Requirements.
Ensure that you correctly followed the instructions in How to Install and Configure the Sun Java System Application Server.
After successfully verifying the configuration, stop the Node Agent and all the server instances on Node2 by using the asadmin command.