Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

Verifying the Sun Cluster HA for Apache Tomcat Installation and Configuration

This section contains the procedure you need to verify that you installed and configured your data service correctly.

ProcedureHow to Verify the Sun Cluster HA for Apache Tomcat Installation and Configuration

  1. Become superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorizations.

  2. Ensure all the Apache Tomcat resources are online with scstat.


    # cluster status 
    

    For each Apache Tomcat resource which is not online, use the clresource command as follows.


    # clresource enable Apache Tomcat- resource
    
  3. If you deployed a failover data service run the clresourcegroup command to switch the Apache Tomcat resource group to another cluster node, such as node2 or node2:zone1 with the command alternatives described below.


    # clresourcegroup switch -n node2 Apache-Tomcat-failover-resource-group 
    

    # clresourcegroup switch -n node2:zone1 Apache-Tomcat-failover-resource-group