Sun Logo


Sun StorageTek Availability Suite 4.0 Remote Mirror Software Administration Guide

819-6148-10



Contents

Preface

1. Introduction to Remote Mirror Software

Overview of Remote Mirror Software

Features of the Remote Mirror Software

Remote Mirror Software Enhanced Features

Disk-Based Asynchronous Queues

Multiple Asynchronous Flusher Threads

Protocol Changes

Write Coalescing

Remote Mirror Software Architecture

File System Replication

Volume Sets

What Kind of Volumes Can Be Used?

Raw Partitions and Volumes

How Many Volumes Can Be Configured?

I/O Groups

Groups in a Clustered Environment

Memory Requirements

Network Protocols and TCP/IP Connection

Use of TCP/IP Ports

Default Listening Port

Nameservice Interaction

Firewalls and Remote Mirror Software

One-to-Many, Many-to-One, and Multihop Volume Sets

Order-Dependent Writes and Volume Set Grouping

Mutual Backup

VTOC Information

2. Replication and Synchronization Modes

Replication Modes

Synchronous Replication Mode

Asynchronous Replication Mode

Synchronization Modes

Full Synchronization

Update Resynchronization

Reverse Full Synchronization

Reverse Update Synchronization

Logging

Choosing Update or Full Resynchronization

Choosing Automatic or Manual Resynchronization

Using the Remote Mirror Software With the Point-in-Time Copy Software

Volume Sizing

Autosynchronization

Replication Scenarios

One-to-Many Replication

Many-to-One Replication

Multihop Replication

3. Preparing to Use the Software

Increasing the Default Number of Volumes Allowed

Using More Than 64 Volume Sets

Increasing the Storage Volume Device Limit

procedure iconsmall spaceTo Increase the Storage Volume Limit

Setting Up Bitmap Volumes

Setting the Bitmap Operation Mode

Customizing Volume Sets

Restricted Access To Volume Sets

Setting Up a Volume Set File

Commands and I/O Group Operations

Failed Operations in an I/O Group

Commands and Sun Cluster Operations

Mounting and Unmounting Replicated Volumes

dsbitmap Bitmap Sizing Utility

dsbitmap

Syntax

Usage for dsbitmap

Examples for dsbitmap

4. Using the Remote Mirror Software

Getting Started

Enabling the Volume Sets

procedure iconsmall spaceTo Enable the Volume Sets

Establishing Volume Copies for the First Time

procedure iconsmall spaceTo Synchronize the Volumes During Update

Updating the Secondary Volume

procedure iconsmall spaceTo Resynchronize Primary and Secondary Volumes

If a Network Link Fails

When Not To Resynchronize Volumes

Autosynchronization

Resynchronizing Volumes Manually

Rehearsing Disaster Recovery

procedure iconsmall spaceTo Rehearse a Primary Volume or Site Failure

procedure iconsmall spaceTo Rehearse a Secondary Volume or Site Failure

Handling Primary Volume Failures

Recovering From a Primary Site Disaster

Restoring a Primary Site From the Secondary Site

Disabling Remote Replication

Swapping the Remote Mirror Hosts

The rdc.cf Volume Set File

procedure iconsmall spaceTo Disable the Software at Site-A

procedure iconsmall spaceTo Change the Site-B Secondary Host to the Primary Host

5. The sndradm Command

Log File

Syntax Summary

Syntax

Command Switches

Command Options

From Which Host Are Commands Issued?

Enabling and Disabling Volume Sets

Enabling Volume Sets

sndradm -e

Syntax

sndradm -E

Syntax

Disabling Volume Sets

sndradm -d

Syntax

Adding and Deleting Point-in-Time Copy Software Volumes

sndradm -I a

Syntax

sndradm -I d

Syntax

Stopping Replication and Starting Logging

sndradm -l

Syntax

Synchronizing and Updating Volume Sets

Restarting an Initial Synchronization

Performing a Reverse Copy or Update After a Primary Volume or Network Link Failure

Starting a Full Synchronization

sndradm -m

Syntax

sndradm -m -r

Syntax

Starting an Update Resynchronization

sndradm -u

Syntax

sndradm -u -r

Syntax

Waiting for Synchronization to Finish Executing

sndradm -w

Syntax

Reconfiguring or Modifying a Volume Set

Changing the Bitmap Volume in a Volume Set

sndradm -R b

Syntax

Moving a Volume Set to a Different I/O Group

sndradm -R g

Syntax

procedure iconsmall spaceTo Remove Volume Sets From an I/O Group

procedure iconsmall spaceTo Move Volume Sets to Another I/O Group

Changing the Replication Mode of a Volume Set

sndradm -R m

Syntax

Considerations

procedure iconsmall spaceTo Remove Volume Sets From an I/O Group and Change the Replication Mode

Updating the Volume Set Information

sndradm -R -f

Syntax

Updating the Disk Cluster Tag Name

sndradm -R C

Syntax

Displaying Volume Set Information

Displaying Volume Set and I/O Group Status

sndradm -p

Syntax

sndradm -P

Syntax

Listing of Volume Sets and I/O Group Names

sndradm -i

Syntax

Displaying Link Status

sndradm -H

Syntax

Enabling or Disabling Autosynchronization

sndradm -a

Syntax

Using Autosynchronization with Sun Cluster

Setting the Asynchronous Queue

sndradm -W

Syntax

sndradm -F

Syntax

Tuning the Asynchronous Queue

Asynchronous Mode and the Queue

procedure iconsmall spaceTo Display the Current Queue Size

Sample Output For a Correctly-Sized Queue

Sample Output for an Incorrectly-Sized Queue

Managing Disk Queues

sndradm -q

Syntax

sndradm -D

Setting the Number of Asynchronous Threads

sndradm -A

A. dsstat and Storage Cache Statistics

Syntax

Examples

Report cache statistics

Report Master and Shadow Volume Point-in-Time Copy Software Statistics

Report Network Statistics for the Remote Mirror Software

Glossary

Index