Installation manual

Shadowing a Volume
Configuring a Shadow-Copy Rule (Source Switch)
CLI Storage-Management Guide 15-9
You can only use one source fileset. If you want to use additional filesets as sources,
create a union fileset (see “Joining Filesets” on page 13-20). You can re-issue the
from
command to change from one source fileset to another.
For example, the following command set selects the “worthSaving” fileset as a source
for the shadow copy:
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# shadow-copy-rule DRrule
bstnA6k(gbl-ns-vol-shdwcp[wwmed~/acct~DRrule])# from fileset worthSaving
bstnA6k(gbl-ns-vol-shdwcp[wwmed~/acct~DRrule])# ...
Choosing a Shadow-Volume Target
The next step in configuring a shadow-copy rule is to choose a target volume for the
shadow copy. A target must be a shadow volume in the same RON. From
gbl-ns-vol-shdwcp mode, use the
target command to identify a shadow volume:
target [[hostname host] namespace name] volume shadow
where
hostname host (optional, 1-128 characters) identifies the target switch that
hosts the shadow volume. If you omit this, the source switch is assumed. The
switch must be on the same RON as the source switch; use the
show ron
command for a list of all switches on the RON (see “Showing the RON
Configuration” on page 5-5 of the CLI Network-Management Guide).
namespace name (optional, 1-30 characters) identifies the namespace
containing the shadow volume. If you omit this, it defaults to the current
namespace.
shadow (1-256 characters) identifies the shadow volume.
For example, the following command sequence selects “/acctShdw” as a shadow
volume for “DRrule:”
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# shadow-copy-rule DRrule
bstnA6k(gbl-ns-vol-shdwcp[wwmed~/acct~DRrule])# show ron