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 in place 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, you must set the SUNW.HAStoragePlus resource properties GlobalDevicePaths and FilesystemMountPoints as required. If using syscadm script, this can be done by specifying values for corresponding entries in the sysc_input_file. To enable collocation, the SUNW.HAStoragePlus resource property AffinityOn must be set to TRUE, which is done by the syscadm script.

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 using SUNW.HAStoragePlus resources Adaptive Server database devices can be created either on global file system or on 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.

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