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 you are 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_group 
    -x FilesystemMountPoints=shared_disk_filesystem 
    -x AffinityOn=TRUE
    

    For example:

    scrgadm -a -j hasp_MONEY1
    -t SUNW.HAStoragePlus
    -g rg_MONEY1
    -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 a 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.

  3. Enable the SUNW.HAStoragePlus resource:

    scswitch -e -j hasp_resource_name
    

    For example:

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

    scrgadm -c -j ase_resource_name
    -y Resource_dependencies=hasp_resource_name
    

    For example:

    scrgadm -c -j ase_MONEY1 
    -y Resource_dependencies=hasp_MONEY1
    

    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=hasp_resource_name,hastorage_name
    

    For example:

    scrgadm -c -j ase_MONEY1
    -y Resource_dependencies=hasp_MONEY1,has_MONEY1
    

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