Sun Cluster 3.1 Release Notes

How to Upgrade from HAStorage to HAStoragePlus When Using Device Groups or Cluster File Systems

HAStorage might not be supported in a future release of Sun Cluster software. Equivalent functionality is supported by HAStoragePlus. To upgrade from HAStorage to HAStoragePlus when you use cluster file systems or device groups, complete the following steps.

The following example uses a simple HA-NFS resource active with HAStorage. The ServicePaths are the disk group nfsdg and the AffinityOn property is TRUE. Furthermore, the HA-NFS Service has Resource_Dependencies set to the HAStorage resource.

  1. Remove the dependencies the application resources has on HAStorage resource.


    # scrgadm -c -j nfsserver-rs -y Resource_Dependencies=""
    
  2. Disable the HAStorage resource.


    # scswitch -n -j nfs1storage-rs
    
  3. Remove the HAStorage resource from the application resource group.


    # scrgadm -r -j nfs1storage-rs
    
  4. Unregister the HAStorage resource type.


    # scrgadm -r -t SUNW.HAStorage
    
  5. Register the HAStoragePlus resource type.


    # scrgadm -a -t SUNW.HAStoragePlus
    
  6. Create the HAStoragePlus resource.

    To specify a file-system mount point, input the following text.


    # scrgadm -a -j nfs1-hastp-rs -g nfs1-rg -t \
    SUNW.HAStoragePlus -x FilesystemMountPoints=/global/nfsdata -x \
    AffinityOn=True
    

    To specify global device paths, input the following text.


    # scrgadm -a -j nfs1-hastp-rs -g nfs1-rg -t \
    SUNW.HAStoragePlus -x GlobalDevicePaths=nfsdg -x AffinityOn=True
    

    Note –

    Instead of using the ServicePaths property for HAStorage, you must use the GlobalDevicePaths or FilesystemMountPoints property for HAStoragePlus. The FilesystemMountPoints extension property must match the sequence specified in the /etc/vfstab file.


  7. Enable the HAStoragePlus resource.


    # scswitch -e -j nfs1-hastp-rs
    
  8. Set up the dependencies between the application server and HAStoragePlus.


    # scrgadm -c -j nfsserver-rs -y \
    Resource_Depencencies=nfs1=hastp-rs