Sun Cluster 3.1 8/05 With Sun Java Enterprise System 5 Special Instructions

ProcedureHow to Remove a Sun Cluster HA for Apache Tomcat Resource From a Failover Zone

  1. Become superuser in the global zone.

  2. Disable and remove the resource that is used by the Sun Cluster HA for Apache Tomcat data service.


    # scswitch -n resource
    # scrgadm -r -j resource
    
  3. Log in as superuser to the failover zone's console.

  4. Unregister Sun Cluster HA for Apache Tomcat from the Solaris Service Management Facility (SMF) service.


    # /opt/SUNWsctomcat/sctomcat_smf_remove -f filename
    
    -f

    Specifies the configuration file name.

    filename

    The name of the configuration file that you used to register Sun Cluster HA for Apache Tomcat with the SMF service.


    Note –

    If you no longer have the configuration file that you used to register Sun Cluster HA for Apache Tomcat with the SMF service, create a replacement configuration file:

    1. Make a copy of the default file, /opt/SUNWsctomcat/util/sctomcat_config.

    2. Set the ZONE and RS parameters with the values that are used by the data service.

    3. Run the sctomcat_smf_remove command and use the -f option to specify this configuration file.


  5. Disconnect from the failover zone's console.