Sun Cluster Data Service for Apache Tomcat Guide for Solaris OS

ProcedureExample: Configuring Cluster Resources for Apache Tomcat

  1. Register the HAStoragePlus resource type.

    phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the Apache Tomcat resource group.

    phys-schost-1# clresourcegroup create -n phys-host-1:clu1,phys-host-2:clu1 RG-TOM
  3. Create the HAStoragePlus resource in the RG-TOM resource group.

    phys-schost-1# clresource create -g RG-TOM -t SUNW.HAStoragePlus -p AffinityOn=TRUE \
    -p FilesystemMountPoints=/global/mnt3,/global/mnt4 RS-TOM-HAS
  4. Enable the resource group.

    phys-schost-1# clresourcegroup online -M RG-TOM