Sun Java System Calendar Server 6.3 Administration Guide

ProcedureTo Configure Sun Cluster for the Second Instance

Using the Sun Cluster command-line interface, configure the second instance of Calendar Server as described in the following steps:

  1. Create a fail over resource group.

    In the following example, the resource group is CAL-CS2-RG, and the two nodes are named Node2 as the primary node and Node1 as the fail over node.

    ./scrgadm -a -g CAL-CS2-RG -h Node2,Node1
  2. Create a logical hostname resource.

    The calendar client listens on this logical hostname. The example that follows uses LOG-HOST-CS2-RS in the place where you will substitute in the actual hostname.

    ./scrgadm -a -L -g CAL-CS2-RG -l LOG-HOST-CS2-RS
    ./scrgadm -c -j LOG-HOST-CS2-RS -y R_description="LogicalHostname 
         resource for LOG-HOST-CS2-RS"
  3. Bring the resource group online.

    scswitch -Z -g CAL-CS2-RG
  4. Create an HAStoragePlus resource and add it to the fail over resource group.

    In this example, the resource is called CAL-SVR-CS2-RS. You will substitute you own resource name.

    ./scrgadm -a -j CAL-SVR-CS2-RS -g CAL-CS2-RG -t 
         SUNW.HAStoragePlus:4 -x FilesystemMountPoints=/install-rootCS2,
    ./scrgadm -c -j CAL-HASP-CS2-RS -y R_description="Failover data 
         service resource for SUNW.HAStoragePlus:4"
  5. Enable the HAStoragePlus resource.

    ./scswitch -e -j CAL-HASP-CS2-RS