Before you install the Sun Cluster HA for Sun Java System Application Server package, verify that the Sun Java System Application Server software is correctly installed and configured to run in a cluster. These procedures do not verify that the Sun Java System Application Server application is highly available because you have not yet installed your data service and the application is not yet under cluster control.
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 DAS resource group DAS-resource-group was created.
The failover IP address IP-address was added as a network resource to the resource group.
The resource group was brought online, and the resources were enabled.
On Node1, start DAS manually, using the asadmin command.
The DAS must have been configured to listen on the failover IP address IP-address.
Connect to the administrative console from a browser.
https://IP-address:port |
Verify that you are connected to the administrative console.
On Node1, stop DAS manually, using the asadmin command.
Switch the DAS resource group from Node1 to Node2.
# clresourcegroup online -n Node2 DAS-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 IP address IP-address.
On Node2, start DAS manually, using the asadmin command.
Connect to the administrative console from a browser.
https://IP-address:port |
If you are not able to connect to the administrative console from the browser, perform the following actions.
Ensure that your installation satisfies the restrictions and requirements 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 Node2, stop DAS manually, using the asadmin command.
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.