BigAdmin System Administration Portal
Community-Submitted Tech Tips
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

Using Sun QFS File System in a Disaster Recovery Setup

Ansar T.A.; July 2009

This community tech tip uses a sample scenario to describe mounting Sun QFS at a disaster recovery (DR) site from a replicated or cloned disk. The procedure was tested on the Solaris 10 8/07 Operating System (known informally as Update 4), and it is expected to work on Solaris 8, 9, and 10 releases. This scenario used Solaris Cluster 3.2 software (formerly known as Sun Cluster) with SAM-QFS software version 4.5.

For further information, refer to Sun QFS File System Configuration and Administration Guide, specifically the section About the Master Configuration File.

Setup of Main Site

On the main site, the Sun Cluster nodes are named prod1 and prod2. The shared QFS name is ccbsu01.

The /etc/opt/SUNWsamfs/mcf file specifies the following:

ccbsu01             40      ms   ccbsu01      on   shared
/dev/did/dsk/d10s0  41      md   ccbsu01      -

The /etc/opt/SUNWsamfs/hosts.ccbsu01 file specifies the following:

prod1 clusternode1-priv 1 - server
prod2 clusternode2-priv 2 -

Setup of DR Site

On the DR site, the Sun Cluster nodes are named dr1 and dr2. The shared QFS name is clone_ccbsu01.

Create the /etc/opt/SUNWsamfs/mcf and hosts.clone_ccbsu1 files after completing the disk cloning or replication.

The /etc/opt/SUNWsamfs/mcf file specifies the following, where:

clone_ccbsu01       50  ms  clone_ccbsu01  on  shared
/dev/did/dsk/d30s0  51  md  clone_ccbsu01  -

In this scenario, /dev/did/dsk/d10 describes the source disk and /dev/did/dsk/d30 describes the destination (cloned or replicated) disk.

The /etc/opt/SUNWsamfs/hosts.clone_ccbsu01 file specifies the following:

dr1 clusternode1-priv 1 - server
dr2 clusternode2-priv 2 -

Run the following commands (the first is to check mcf file syntax):

sam-fsd 
samd config
 
samsharefs -uR clone_ccbsu01
samsharefs -F -R clone_ccbsu01

Populate the /etc/vfstab file.

Mount clone_ccbsu1.

The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.
 
 

Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin