为 HACMP/XD-PPRC 自动生成配置数据
2008-11-12 10:54:57 来源:WEB开发网在建立 PPRC 关系时,请使用 mode=FULL ,这样远程磁盘将被完整镜像(包括 VGDA)。如果关系已经建立,并且您不希望立即启动镜像,请使用 copymode=nocopy 。在本文中,我们处理的是 Metro 镜像,因此请选择 type=mmir 。
命令示例
下列代码清单是 DSCLI 命令的示例。
清单 1. DSCLI 命令示例
#/opt/ibm/dscli/dscli -user xxxxx -passwd xxxxx -hmc1 aaa.bbb.ccc.ddd
Date/Time: December 17, 2007 1:39:11 AM CST IBM DSCLI Version: 5.2.400.426
DS:IBM.2107-xxxxxxx
(To list available PPRC Ports between two storage systems)
dscli> lsavailpprcport -l -remotewwnn 500507630EFFFDE4
IBM.2107-7516231/06:IBM.2105-22012/10
Date/Time: March 30, 2007 5:36:35 AM CDT IBM DSCLI Version: 5.2.400.426
Local Port Attached Port Type Switch ID Switch Port
===================================================
I0000 I0001 FCP NA NA
I0000 I0002 FCP NA NA
I0000 I0100 FCP NA NA
(To Establish PPRC path between LSS 06 and LSS 10 )
dscli> mkpprcpath -dev IBM.2107-7516231 -remotedev IBM.2105-22012 -remotewwnn
500507630EFFFDE4 -srclss 06 -tgtlss 10 i0000:i0100
Date/Time: April 20, 2007 6:27:42 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00149I mkpprcpath: Remote Mirror and Copy path 06:06 successfully established.
(To establish PPRC metro mirror relationship between disks 0620 and 100F )
dscli>mkpprc -dev IBM.2107-7516231 -remotedev IBM.2107-13AAY4A -type mmir
-mode full 0620:100F
Date/Time: April 20, 2007 6:31:45 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 0620:100F
successfully created.
更多精彩
赞助商链接