Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Upgrade From HAStorage With CFS to HAStoragePlus With Failover File System

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

  1. Remove the dependencies the application resource 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. Modify /etc/vfstab to remove the global flag and change “mount at boot” to “no”.

  6. Create the HAStoragePlus resource.

    Note –

    Instead of using the ServicePaths property of HAStorage, you must use the FilesystemMountPoints property or GlobalDevicePaths property of HAStoragePlus.

    • To specify the mount point of a file system, type the following command.

      The FilesystemMountPoints extension property must match the sequence that is specified in /etc/vfstab.

      # scrgadm -a -j nfs1-hastp-rs -g nfs1-rg -t \
      SUNW.HAStoragePlus -x FilesystemMountPoints=/global/nfsdata -x \
    • To specify global device paths, type the following command.

      # scrgadm -a -j nfs1-hastp-rs -g nfs1-rg -t \
      SUNW.HAStoragePlus -x GlobalDevicePaths=nfsdg -x AffinityOn=True
  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 \