Installation manual

Shadowing a Volume
Configuring a Shadow-Copy Rule (Source Switch)
CLI Storage-Management Guide 15-21
bstnA6k(gbl-ns-vol-shdwcp[wwmed~/acct~DRrule])# ...
Copying All Directories
Some applications require the presence of empty directories at specific paths; for
those cases, you can use the
directory-copy full command. This reverts to the default
behavior:
directory-copy full
This copies the full directory tree from the source volume, even if the source fileset
resides in a small number of directories. The directories without any matching files
are copied to the shadow volume as empty directories.
For example, the following command sequence copies all directories for the
“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])# directory-copy full
bstnA6k(gbl-ns-vol-shdwcp[wwmed~/acct~DRrule])# ...
Publishing All Files as a Group (optional)
By default, the shadow-copy rule publishes all of its successfully-transferred files
even if some of the file transfers fail. Some applications (such as a CAD application)
require all files to be synchronized; a single missing file can cause these applications
to fail. You can configure a shadow-copy rule so that no files are published in the
shadow volume if any file fails to transfer properly.
To publish (or not publish) all files as a group, use the
publish group command in
gbl-ns-vol-shdwcp mode:
publish group
For example:
bstnA6k(gbl)# namespace ns3
bstnA6k(gbl-ns[ns3])# volume /cad1
bstnA6k(gbl-ns-vol[ns3~/cad1])# shadow-copy-rule cpRemote
bstnA6k(gbl-ns-vol-shdwcp[ns3~/cad1~cpRemote])# publish group