JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Using Sun QFS and Sun Storage Archive Manager With Oracle Solaris Cluster     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  Using SAM-QFS With Oracle Solaris Cluster

2.  Requirements for Using SAM-QFS With Oracle Solaris Cluster

3.  Configuring Sun QFS Local Failover File Systems With Oracle Solaris Cluster

4.  Configuring Sun QFS Shared File Systems With Oracle Solaris Cluster

5.  Configuring SAM-QFS Archiving in an Oracle Solaris Cluster Environment (HA-SAM)

About HA-SAM

Before You Begin

How to Confirm the Catalog and Stager Symbolic Links

How to Configure SAM-QFS Archiving in an Oracle Solaris Cluster Environment

Using the samd hastop Command

Using StorageTek Libraries with HA-SAM

6.  Configuring Clients Outside of the Cluster

Before You Begin

Be aware of the following requirements and restrictions before configuring this feature:

How to Confirm the Catalog and Stager Symbolic Links

In order to configure for high availability, the SAM-QFS catalog and stager queues must be in an HAStoragePlus file system. During the software installation process symbolic links should have been created from /var/opt/SUNWsamfs to the shared HAStoragePlus file system. This must be confirmed before continuing with the configuration process.

  1. Verify that the /var/opt/SUNWsamfs/catalog and /var/opt/SUNWsamfs/stager contain a symbolic link to the HAStoragePlus mount point.
  2. View the catalog and stager files.
    # ls -l /var/opt/SUNWsamfs/catalog /var/opt/SUNWsamfs/stager
  3. Verify that the output shows symbolic links similar to the following example.
    lrwxrwxrwx 1 root other 19 Sep 30 11:05
    /var/opt/SUNWsamfs/catalog -> /sam_shared/catalog
    lrwxrwxrwx 1 root other 18 Sep 30 11:05
    /var/opt/SUNWsamfs/stager -> /sam_shared/stager
  4. Copy any existing SAM-QFS catalog information to a temporary location.
  5. Delete the existing catalog and stager files from their current location.
    # rm -rf /var/opt/SUNWsamfs/catalog /var/opt/SUNWsamfs/stager
  6. Create the /var/opt/SUNWsamfs/catalog and /var/opt/SUNWsamfs/stager symbolic links to the HAStoragePlus mount point.

    The following example is for an HAStoragePlus file system mounted at /sam_shared.

    # ln -s /sam_shared/catalog /var/opt/SUNWsamfs/catalog
    # ln -s /sam_shared/stager /var/opt/SUNWsamfs/stager
  7. Copy the catalog information saved in Step 3 to the new shared catalog.
    # cp -rp /var/tmp/catalog/* /var/opt/SUNWsamfs/catalog

How to Configure SAM-QFS Archiving in an Oracle Solaris Cluster Environment

In this example procedure, two file systems are configured: qfs1 and qfs2.

  1. Create an HA-SAM resource group.
    # clresourcegroup create -n scnode-A,scnode-B SAM-HA
  2. Create and configure the SUNW.qfs resource.
    # clresource create -g SAM-HA -t SUNW.qfs 
    -x QFSFileSystem=/global/qfs1,/global/qfs2 qfs-res
  3. Create and configure a SAM-QFS shared resource.
    # clresource create -g SAM-HA -t SUNW.HAStoragePlus 
    -x FilesystemMountPoints=/sam_shared -x AffinityOn=TRUE sam-hastp
  4. Create the HA-SAM resource type.
    # clresourcetype register SUNW.hasam
  5. Create and configure the SUNW.hasam resource.
    # clresource create -g SAM-HA -t SUNW.hasam -x QFSName=qfs1,qfs2 
    -x CatalogFileSystem=/sam_shared sam-ha
  6. Create dependencies between resources within the resource group.
    # clresource set -p Resource_dependencies=sam-hastp qfs-ha
    # clresource set -p Resource_dependencies=qfs-ha sam-ha
  7. Bring the resource group online.
    # clresourcegroup manage SAM-HA
    # clresourcegroup online -eM SAM-HA

    Note - The Sun QFS file systems must be mounted before bringing the resource group online.


  8. Ensure that the resource group is functional on all configured nodes.
    # clresourcegroup switch -n scnode-B SAM-HA
    # clresourcegroup switch -n scnode-A SAM-HA