Using SUNW.HAStoragePlus

If you are running Sun Cluster 3.0 with Update2 or later, you can use the SUNW.HAStoragePlus resource in the Adaptive Server resource group. You can use SUNW.HAStoragePlus resource instead of SUNW.HAStorage resource, or you can have both SUNW.HAStorage and SUNW.HAStoragePlus resources in your resource group.

To add a SUNW.HAStoragePlus resource to the Adaptive Server resource group, set the SUNW.HAStoragePlus resource properties GlobalDevicePaths and FilesystemMountPoints as required. If you are using syscadm, you can specify values for corresponding entries in the sysc_input_file. To enable connection, the SUNW.HAStoragePlus resource property AffinityOn must be set to TRUE.

To manually add a SUNW.HAStoragePlus resource:

  1. Register the resource type SUNW.HAStoragePlus:

    scrgadm -a -t SUNW.HAStoragePlus
    
  2. Add the SUNW.HAStoragePlus resource to the Adaptive Server resource group.

    scrgadm -a -j hasp_resource_name 
    -t SUNW.HAStoragePlus
    -g resource_type 
    -x FilesystemMountPoints=shared_disk_filesystem 
    -x AffinityOn=TRUE
    

    For example:

    scrgadm -a -j hasp_MONEY
    -t SUNW.HAStoragePlus
    -g rg_MONEY
    -x fileSystemMountPoints=\global\node1_share
    -x Affinityon=TRUE
    

    When you are using SUNW.HAStoragePlus resources, you can create Adaptive Server database devices either on the global file system or on the Failover File System (FFS) managed by the SUNW.HAStoragePlus resource. In either case, data must reside on shared disk. Specify all corresponding file system and device paths when creating the SUNW.HAStoragePlus resource.

    • Enable the SUNW.HAStoragePlus resource:

      scswitch -e -j hastorageplus_name
      

      For example:

      scswitch -e -j hasp_MONEY
      
    • Establish a resource dependency between SY.ase resource and the SUNW.HAStoragePlus resource:

      scrgadm -c -j ase_resource_name
      -y Resource_dependencies=hastorageplus_name
      

      For example:

      scrgadm -c -j ase_MONEY
      -y Resource_dependencies=hasp_MONEY
      

      If you are using both SUNW.HAStorage and SUNW.HAStoragePlus resources, you must specify all the storage resource names as a comma-separated list.

      scrgadm -c -j ase_resource_name 
      -y Resource_dependencies=hastorageplus-name, hastorage-name
      

      For example:

      scrgadm -c -j MONEY
      -y Resource_dependencies=has_MONEY,hasp_MONEY
      

    Refer to your Sun Cluster documentation for more information about SUNW.HAStoragePlus resource type.