Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1980351
  • 博文数量: 593
  • 博客积分: 20034
  • 博客等级: 上将
  • 技术积分: 6779
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-06 14:07
文章分类

全部博文(593)

文章存档

2016年(1)

2011年(101)

2010年(80)

2009年(10)

2008年(102)

2007年(16)

2006年(283)

我的朋友

分类: 服务器与存储

2008-12-03 13:07:12

Changing copy mode from Global Copy to Metro Mirror

You can change the copy mode from Global Copy to Metro Mirror with the mkpprc command;

This operation is called Go-to-sync. Depending on the amount of data to be sent to the target, it takes time until the pairs become full duplex

Change copy mode from Global Copy to Metro Mirror:

dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:16:40 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Copy Pending - Global Copy 10 unknown Disabled True
1001:2001 Copy Pending - Global Copy 10 unknown Disabled True
1100:2100 Copy Pending - Global Copy 11 unknown Disabled True
1101:2101 Copy Pending - Global Copy 11 unknown Disabled True
dscli>
dscli> mkpprc -remotedev IBM.2107-75ABTV1 -type mmir 1000-1001:2000-2001 1100-1101:2100-2101
Date/Time: November 3, 2005 12:30:10 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1000:2000 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1001:2001 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1100:2100 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1101:2101 successfully created.
dscli>
dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:30:14 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Full Duplex - Metro Mirror 10 unknown Disabled Invalid
1001:2001 Full Duplex - Metro Mirror 10 unknown Disabled Invalid
1100:2100 Full Duplex - Metro Mirror 11 unknown Disabled Invalid
1101:2101 Full Duplex - Metro Mirror 11 unknown Disabled Invalid

You can use the -suspend parameter with the mkpprc -type mmir command. If you use this
parameter, the state of the pairs becomes suspended when the data synchronization is
completed;

mkpprc -type mmir with -suspend:

dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:35:33 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Copy Pending - Global Copy 10 unknown Disabled True
1001:2001 Copy Pending - Global Copy 10 unknown Disabled True
1100:2100 Copy Pending - Global Copy 11 unknown Disabled True
1101:2101 Copy Pending - Global Copy 11 unknown Disabled True
dscli>
dscli> mkpprc -remotedev IBM.2107-75ABTV1 -type mmir -suspend 1000-1001:2000-2001 1100-1101:2100-2101
Date/Time: November 3, 2005 12:43:09 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1000:2000 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1001:2001 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1100:2100 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1101:2101 successfully created.
dscli>
dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:43:13 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
1000:2000 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1001:2001 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1100:2100 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid
1101:2101 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid

You can add the -wait parameter with the mkpprc command. With the -wait parameter, the
mkpprc -type mmir -suspend command does not return to the command prompt until the
pairs complete data synchronization and reach the suspended state;

Note: If you do not specify the -wait parameter with the mkpprc -type mmir -suspend command,
the mkpprc command does not wait for the data synchronization. If you do not use
the -wait parameter, you must check the completion of the synchronization with the lspprc
command.

mkpprc -type mmir -suspend with -wait:

dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:47:50 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Copy Pending - Global Copy 10 unknown Disabled True
1001:2001 Copy Pending - Global Copy 10 unknown Disabled True
1100:2100 Copy Pending - Global Copy 11 unknown Disabled True
1101:2101 Copy Pending - Global Copy 11 unknown Disabled True
dscli>
dscli> mkpprc -remotedev IBM.2107-75ABTV1 -type mmir -suspend -wait 1000-1001:2000-2001
1100-1101:2100-2101
Date/Time: November 3, 2005 12:48:23 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1000:2000 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1001:2001 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1100:2100 successfully created.
CMUC00153I mkpprc: Remote Mirror and Copy volume pair relationship 1101:2101 successfully created.
1/4 pair 1001:2001 state: Suspended
2/4 pair 1000:2000 state: Suspended
3/4 pair 1101:2101 state: Suspended
4/4 pair 1100:2100 state: Suspended
dscli>
dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:48:56 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
1000:2000 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1001:2001 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1100:2100 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid
1101:2101 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid

 

 

 

Changing the copy mode from Metro Mirror to Global Copy

You cannot change the copy mode from the Metro Mirror to Global Copy directly. In order to
do this, you must use the pausepprc command to suspend the Metro Mirror pair first, and then
resume the pair in Global Copy mode with the resumepprc -type gcp command;

Change copy mode from Metro Mirror to Global Copy:

dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:30:14 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Full Duplex - Metro Mirror 10 unknown Disabled Invalid
1001:2001 Full Duplex - Metro Mirror 10 unknown Disabled Invalid
1100:2100 Full Duplex - Metro Mirror 11 unknown Disabled Invalid
1101:2101 Full Duplex - Metro Mirror 11 unknown Disabled Invalid
dscli>
dscli> mkpprc -remotedev IBM.2107-75ABTV1 -type gcp 1000-1001:2000-2001 1100-1101:2100-2101
Date/Time: November 3, 2005 12:33:55 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUN03053E mkpprc: 1000:2000: Copy Services operation failure: invalid transition
CMUN03053E mkpprc: 1001:2001: Copy Services operation failure: invalid transition
CMUN03053E mkpprc: 1100:2100: Copy Services operation failure: invalid transition
CMUN03053E mkpprc: 1101:2101: Copy Services operation failure: invalid transition
dscli>
dscli> pausepprc -remotedev IBM.2107-75ABTV1 1000-1001:2000-2001 1100-1101:2100-2101
Date/Time: November 3, 2005 12:34:35 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 1000:2000 relationship successfully paused.
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 1001:2001 relationship successfully paused.
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 1100:2100 relationship successfully paused.
CMUC00157I pausepprc: Remote Mirror and Copy volume pair 1101:2101 relationship successfully paused.
dscli>
dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:35:02 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
1000:2000 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1001:2001 Suspended Host Source Metro Mirror 10 unknown Disabled Invalid
1100:2100 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid
1101:2101 Suspended Host Source Metro Mirror 11 unknown Disabled Invalid
dscli>
dscli> resumepprc -remotedev IBM.2107-75ABTV1 -type gcp 1000-1001:2000-2001 1100-1101:2100-2101
Date/Time: November 3, 2005 12:35:26 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 1000:2000 relationship successfully resumed.
This message is being returned before the copy completes.
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 1001:2001 relationship successfully resumed.
This message is being returned before the copy completes.
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 1100:2100 relationship successfully resumed.
This message is being returned before the copy completes.
CMUC00158I resumepprc: Remote Mirror and Copy volume pair 1101:2101 relationship successfully resumed.
This message is being returned before the copy completes.

 

dscli>
dscli> lspprc 1000-1001 1100-1101
Date/Time: November 3, 2005 12:35:33 AM JST IBM DSCLI Version: 5.1.0.204 DS: IBM.2107-7520781
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
1000:2000 Copy Pending - Global Copy 10 unknown Disabled True
1001:2001 Copy Pending - Global Copy 10 unknown Disabled True
1100:2100 Copy Pending - Global Copy 11 unknown Disabled True
1101:2101 Copy Pending - Global Copy 11 unknown Disabled True

 

 

lsavailpprcport -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 -remotewwnn 5005076303FF1111 80:80
mkpprcpath -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 -remotewwnn 5005076303FF1111 -srclss 30 -tgtlss 30 I0442:I0643 I0632:I0706
mkpprc -type gcp -mode full -tgtread -dev IBM.2107-75BXHK1 -remotedev IBM.2107-75ACCA1 8000:8000

resumepprc -type mmir -tgtread -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 8000:8000
 

freezepprc -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 30:30 31:31
unfreezepprc -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 30:30 31:31

 

rmpprc -quiet -at src -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 000:3000 '

pausepprc -at src -dev IBM.2107-75XDGK1 -remotedev IBM.2107-75ACCA1 8000:8000

阅读(1137) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~