Sun Storage Availability Suite: How To Replicate a ZFS Zpool to a Secondary Server (Doc ID 1570242.1)

Last updated on DECEMBER 28, 2016

Applies to:

Sun Storage Availability Suite - Version 4.0 and later
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (64-bit)

Goal

This document provides an example of replicating a ZFS mirrored zpool using Sun Storage Availability Suite.

Although the preferred method of replication is to use the zpool send/receive functions within ZFS, it is possible to use Availability Suite to achieve the same goal. This document does not discuss the benefits of one method versus the other.

The example given is the replication of a mirrored ZFS zpool consisting of two disks. Replication is between a primary server and a secondary server, using asynchronous mode in a write consistancy group.

The volume bitmaps being used in the example are on Solaris Volume Manager (SVM) soft partitions, but simple disk partitions could be used instead.

     Primary Server - zpool (disks c4t4d0 & c4t5d0) ---> replicating to --> Secondary Server (disks c4t4d0 & c4t5d0)

The servers were running Solaris 10. Sun Storage Availability Suite was already installed and patched, with the primary & secondary hostnames added to the /etc/hosts file.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms