JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster System Administration Guide     Oracle Solaris Cluster
search filter icon
search icon

Document Information

Preface

1.  Introduction to Administering Oracle Solaris Cluster

2.  Oracle Solaris Cluster and RBAC

3.  Shutting Down and Booting a Cluster

4.  Data Replication Approaches

5.  Administering Global Devices, Disk-Path Monitoring, and Cluster File Systems

6.  Administering Quorum

7.  Administering Cluster Interconnects and Public Networks

8.  Adding and Removing a Node

9.  Administering the Cluster

10.  Configuring Control of CPU Usage

11.  Patching Oracle Solaris Cluster Software and Firmware

12.  Backing Up and Restoring a Cluster

13.  Administering Oracle Solaris Cluster With the Graphical User Interfaces

A.  Example

Configuring Host-Based Data Replication With Sun StorageTek Availability Suite Software

Understanding Sun StorageTek Availability Suite Software in a Cluster

Data Replication Methods Used by Sun StorageTek Availability Suite Software

Remote Mirror Replication

Point-in-Time Snapshot

Replication in the Example Configuration

Guidelines for Configuring Host-Based Data Replication Between Clusters

Configuring Replication Resource Groups

Configuring Application Resource Groups

Configuring Resource Groups for a Failover Application

Configuring Resource Groups for a Scalable Application

Guidelines for Managing a Failover

Task Map: Example of a Data Replication Configuration

Connecting and Installing the Clusters

Example of How to Configure Device Groups and Resource Groups

How to Configure a Device Group on the Primary Cluster

How to Configure a Device Group on the Secondary Cluster

How to Configure the File System on the Primary Cluster for the NFS Application

How to Configure the File System on the Secondary Cluster for the NFS Application

How to Create a Replication Resource Group on the Primary Cluster

How to Create a Replication Resource Group on the Secondary Cluster

How to Create an NFS Application Resource Group on the Primary Cluster

How to Create an NFS Application Resource Group on the Secondary Cluster

Example of How to Enable Data Replication

How to Enable Replication on the Primary Cluster

How to Enable Replication on the Secondary Cluster

Example of How to Perform Data Replication

How to Perform a Remote Mirror Replication

How to Perform a Point-in-Time Snapshot

How to Verify That Replication Is Configured Correctly

Example of How to Manage a Failover

How to Provoke a Switchover

How to Update the DNS Entry

Index

How to Perform a Point-in-Time Snapshot

In this procedure, point-in-time snapshot is used to synchronize the shadow volume of the primary cluster to the master volume of the primary cluster. The master volume is vol01, the bitmap volume is vol04, and the shadow volume is vol02.

Before You Begin

Complete the procedure How to Perform a Remote Mirror Replication.

  1. Access nodeA as superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorization.
  2. Disable the resource that is running on nodeA.
    nodeA# clresource disable -n nodeA nfs-rs
  3. Change the primary cluster to logging mode.

    Run the following command for Sun StorageTek Availability Suite software:

    nodeA# /usr/sbin/sndradm -n -l lhost-reprg-prim \
    /dev/vx/rdsk/devgrp/vol01 \
    /dev/vx/rdsk/devgrp/vol04 lhost-reprg-sec \
    /dev/vx/rdsk/devgrp/vol01 \
    /dev/vx/rdsk/devgrp/vol04 ip sync

    When the data volume on the disk is written to, the bitmap file on the same disk is updated. No replication occurs.

  4. Synchronize the shadow volume of the primary cluster to the master volume of the primary cluster.

    Run the following command for Sun StorageTek Availability Suite software:

    nodeA# /usr/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
    nodeA# /usr/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
  5. Synchronize the shadow volume of the secondary cluster to the master volume of the secondary cluster.

    Run the following command for Sun StorageTek Availability Suite software:

    nodeC# /usr/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
    nodeC# /usr/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
  6. Restart the application on nodeA.
    nodeA# clresource enable -n nodeA nfs-rs
  7. Resynchronize the secondary volume with the primary volume.

    Run the following command for Sun StorageTek Availability Suite software:

    nodeA# /usr/sbin/sndradm -n -u lhost-reprg-prim \
    /dev/vx/rdsk/devgrp/vol01 \
    /dev/vx/rdsk/devgrp/vol04 lhost-reprg-sec \
    /dev/vx/rdsk/devgrp/vol01 \
    /dev/vx/rdsk/devgrp/vol04 ip sync

Next Steps

Go to How to Verify That Replication Is Configured Correctly.