硬件环境描述:
DS8100 *2,分别命名为DS8100A,DS8100B
在两台DS8100 上分别建立了两个FBVOL(2000,2100),大小为2g.
主要的测试步骤分为10个步骤
[@more@]
DS8100_A:
1.freezepprc on ds8100 a
dscli> freezepprc 20:20
Date/Time: 2010年12月21日 上午08时20分17秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 20:20 successfully created.
dscli> lspprc 20
Date/Time: 2010年12月21日 上午08时20分21秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00234I lspprc: No Remote Mirror and Copy found.
dscli> lspprc 2000
Date/Time: 2010年12月21日 上午08时20分26秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2000:2000 Suspended Freeze Metro Mirror 20 60 Disabled Invalid
dscli> freezepprc 21:21
Date/Time: 2010年12月21日 上午08时21分13秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 21:21 successfully created.
dscli> lspprc 2100
Date/Time: 2010年12月21日 上午08时21分26秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2100:2100 Suspended Freeze Metro Mirror 21 60 Disabled Invalid
scli> lspprcpath 20
Date/Time: 2010年12月21日 上午08时28分49秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
20 20 Failed FF20 - - 500507630AFFC009
dscli> lspprcpath 21
Date/Time: 2010年12月21日 上午08时28分55秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
21 21 Failed FF21 - - 500507630AFFC009
2.unfreezepprc on ds8100a
dscli> unfreezepprc 20:20
Date/Time: 2010年12月21日 上午08时31分28秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 20:20 successfully thawed.
dscli> lspprcpath 20
Date/Time: 2010年12月21日 上午08时31分37秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
20 20 Failed FF20 - - 500507630AFFC009
dscli> unfreezepprc 21:21
Date/Time: 2010年12月21日 上午08时31分51秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 21:21 successfully thawed.
dscli> lspprcpath 21
Date/Time: 2010年12月21日 上午08时32分00秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
21 21 Failed FF21 - - 500507630AFFC009
3. failoverpprc on ds8100b
dscli> failoverpprc -remotedev IBM.2107-75TC601 -type mmir 2000:2000 2100:2100
Date/Time: 2010年12月21日 下午04时37分24秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00196I failoverpprc: Remote Mirror and Copy pair 2000:2000 successfully reversed.
CMUC00196I failoverpprc: Remote Mirror and Copy pair 2100:2100 successfully reversed.
dscli> lspprc 2100
Date/Time: 2010年12月21日 下午04时38分05秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
2100:2100 Suspended Host Source Metro Mirror 21 60 Disabled Invalid
dscli> lspprc 2000
Date/Time: 2010年12月21日 下午04时38分09秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
2000:2000 Suspended Host Source Metro Mirror 20 60 Disabled Invalid
4. mkpprcpath on ds8100 b
dscli> lspprcpath 20
Date/Time: 2010年12月21日 下午04时39分17秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
20 20 Failed FFFF - - 5005076309FFC585
dscli> mkpprcpath -remotewwnn 5005076309ffc585 -consistgrp -srclss 20 -tgtlss 20 I0032:I0233
Date/Time: 2010年12月21日 下午04时42分49秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00149I mkpprcpath: Remote Mirror and Copy path 20:20 successfully established.
dscli> lspprcpath 20
Date/Time: 2010年12月21日 下午04时42分56秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
Src Tgt State SS Port Attached Port Tgt WWNN
=========================================================
20 20 Success FF20 I0032 I0233 5005076309FFC585
dscli> mkpprcpath -remotewwnn 5005076309ffc585 -consistgrp -srclss 21 -tgtlss 21 I0032:I0233
Date/Time: 2010年12月21日 下午04时43分11秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00149I mkpprcpath: Remote Mirror and Copy path 21:21 successfully established.
dscli> lspprcpath 21
Date/Time: 2010年12月21日 下午04时43分19秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
Src Tgt State SS Port Attached Port Tgt WWNN
=========================================================
21 21 Success FF21 I0032 I0233 5005076309FFC585
5.failbackpprc on ds8100b
DS8100_B:
dscli> failbackpprc -remotedev IBM.2107-75TC601 -type mmir 2000:2000 2100:2100
Date/Time: 2010年12月21日 下午04时46分00秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00197I failbackpprc: Remote Mirror and Copy pair 2000:2000 successfully failed back.
CMUC00197I failbackpprc: Remote Mirror and Copy pair 2100:2100 successfully failed back.
dscli> lspprc 2000
Date/Time: 2010年12月21日 下午04时46分09秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
2000:2000 Full Duplex - Metro Mirror 20 60 Disabled Invalid
DS8100_A:
dscli> lspprc 2000
Date/Time: 2010年12月21日 上午08时48分46秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=========================================================================================================
2000:2000 Target Full Duplex - Metro Mirror 20 unknown Disabled Invalid
dscli> lspprc 2100
Date/Time: 2010年12月21日 上午08时48分53秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=========================================================================================================
2100:2100 Target Full Duplex - Metro Mirror 21 unknown Disabled Invalid
6.freezepprc/unfreezepprc on ds8100b
dscli> freezepprc -remotedev IBM.2107-75TC601 20:20
Date/Time: 2010年12月21日 下午04时48分32秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 20:20 successfully created.
dscli> freezepprc -remotedev IBM.2107-75TC601 21:21
Date/Time: 2010年12月21日 下午04时48分36秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00161I freezepprc: Remote Mirror and Copy consistency group 21:21 successfully created.
dscli> lspprc 2000
Date/Time: 2010年12月21日 下午04时48分52秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2000:2000 Suspended Freeze Metro Mirror 20 60 Disabled Invalid
dscli> lspprc 2100
Date/Time: 2010年12月21日 下午04时48分52秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2100:2100 Suspended Freeze Metro Mirror 20 60 Disabled Invalid
dscli> unfreezepprc -remotedev IBM.2107-75TC601 21:21
Date/Time: 2010年12月21日 下午04时50分55秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 21:21 successfully thawed.
dscli> unfreezepprc -remotedev IBM.2107-75TC601 20:20
Date/Time: 2010年12月21日 下午04时50分59秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00198I unfreezepprc: Remote Mirror and Copy pair 20:20 successfully thawed.
dscli> lspprc 2000
Date/Time: 2010年12月21日 下午04时51分03秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2000:2000 Suspended Freeze Metro Mirror 20 60 Disabled Invalid
dscli> lspprc 2100
Date/Time: 2010年12月21日 下午04时51分09秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
================================================================================================
2100:2100 Suspended Freeze Metro Mirror 21 60 Disabled Invalid
###此时查询lspprcpath 应该为空,因为实验中unfreezepprc 后于A.FAILOVERPPRC ,所以存在下面的状态:
dscli> lspprcpath 20
Date/Time: 2010年12月21日 下午04时59分37秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
Src Tgt State SS Port Attached Port Tgt WWNN
=======================================================
20 20 Failed FF20 - - 5005076309FFC585
7. failoverpprc on ds8100a
dscli> failoverpprc -remotedev IBM.2107-75TT181 -type mmir 2000:2000
Date/Time: 2010年12月21日 上午08时49分37秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00196I failoverpprc: Remote Mirror and Copy pair 2000:2000 successfully reversed.
dscli> failoverpprc -remotedev IBM.2107-75TT181 -type mmir 2100:2100
Date/Time: 2010年12月21日 上午08时49分44秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00196I failoverpprc: Remote Mirror and Copy pair 2100:2100 successfully reversed.
dscli> lspprc 2000
Date/Time: 2010年12月21日 上午08时49分48秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
2000:2000 Suspended Host Source Metro Mirror 20 60 Disabled Invalid
dscli> lspprc 2100
Date/Time: 2010年12月21日 上午08时49分54秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
=====================================================================================================
2100:2100 Suspended Host Source Metro Mirror 21 60 Disabled Invalid
8. check pprcpath ,remakepprcpath on ds8100 a
dscli> mkpprcpath -remotewwnn 500507630AFFC009 -consistgrp -srclss 20 -tgtlss 20 I0233:I0032
Date/Time: 2010年12月21日 上午08时56分58秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00149I mkpprcpath: Remote Mirror and Copy path 20:20 successfully established.
dscli> mkpprcpath -remotewwnn 500507630AFFC009 -consistgrp -srclss 21 -tgtlss 21 I0233:I0032
Date/Time: 2010年12月21日 上午08时57分10秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00149I mkpprcpath: Remote Mirror and Copy path 21:21 successfully established.
dscli> lspprcpath 20
Date/Time: 2010年12月21日 上午08时57分15秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=========================================================
20 20 Success FF20 I0233 I0032 500507630AFFC009
20 20 Failed FFFF I0233 I0032 5005076309FFC585
9. failbackpprc on ds8100 a
dscli> failbackpprc -remotedev IBM.2107-75TT181 -type mmir 2000:2000
Date/Time: 2010年12月21日 上午09时02分51秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00197I failbackpprc: Remote Mirror and Copy pair 2000:2000 successfully failed back.
dscli> lspprcpath 2000
Date/Time: 2010年12月21日 上午09时02分59秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00079E lspprcpath: Incorrect LSS IBM.2107-75TC601/2000.
dscli> lspprcpath 20
Date/Time: 2010年12月21日 上午09时03分04秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
Src Tgt State SS Port Attached Port Tgt WWNN
=========================================================
20 20 Success FF20 I0233 I0032 500507630AFFC009
20 20 Failed FFFF I0233 I0032 5005076309FFC585
dscli> failbackpprc -remotedev IBM.2107-75TT181 -type mmir 2100:2100
Date/Time: 2010年12月21日 上午09时03分17秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
CMUC00197I failbackpprc: Remote Mirror and Copy pair 2100:2100 successfully failed back.
dscli> lspprc 2100
Date/Time: 2010年12月21日 上午09时03分22秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
2100:2100 Full Duplex - Metro Mirror 21 60 Disabled Invalid
dscli> lspprc 2000
Date/Time: 2010年12月21日 上午09时03分27秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TC601
ID State Reason Type SourceLSS Timeout (secs) Critical Mode First Pass Status
==================================================================================================
2000:2000 Full Duplex - Metro Mirror 20 60 Disabled Invalid
10. rmpprcpath on ds8100 b
dscli> rmpprcpath -remotedev IBM.2107-75TC601 21:21
Date/Time: 2010年12月21日 下午05时04分29秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00152W rmpprcpath: Are you sure you want to remove the Remote Mirror and Copy path 21:21:? [y/n]:y
CMUC00150I rmpprcpath: Remote Mirror and Copy path 21:21 successfully removed.
dscli> rmpprcpath -remotedev IBM.2107-75TC601 20:20
Date/Time: 2010年12月21日 下午05时04分36秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00152W rmpprcpath: Are you sure you want to remove the Remote Mirror and Copy path 20:20:? [y/n]:y
CMUC00150I rmpprcpath: Remote Mirror and Copy path 20:20 successfully removed.
dscli> lspprcpath 20
Date/Time: 2010年12月21日 下午05时04分42秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00234I lspprcpath: No Remote Mirror and Copy Path found.
dscli> lspprcpath 21
Date/Time: 2010年12月21日 下午05时04分46秒 IBM DSCLI Version: 5.3.1.172 DS: IBM.2107-75TT181
CMUC00234I lspprcpath: No Remote Mirror and Copy Path found.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/32980/viewspace-1043420/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/32980/viewspace-1043420/