Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

ProcedureHow to Register Sun Cluster HA for Apache Tomcat in a Zone

This procedure uses the configuration file to register Sun Cluster HA for Apache Tomcat in a zone.

Before You Begin

Before you register Sun Cluster HA for Apache Tomcat in a zone, perform the following tasks. .

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

  2. Make a copy of the /opt/SUNWsctomcat/util/sctomcat_config file to use as your configuration file.

  3. Open your configuration file for editing, but do not set the variables for non-global zones.

    These variables are used only when the data service is installed in a non-global zone managed by the Container Agent.


    Note –

    Keep this modified configuration file for possible future use.


  4. Register Sun Cluster HA for Apache Tomcat with SMF.


    # ksh /opt/SUNWsctomcat/util/sctomcat_register -f filename
    
    -f

    Specifies the configuration file name.

    filename

    The configuration file name.