1 在主存储划分磁盘
C:\Program Files\EMC\SYMCLI\bin>symconfigure -sid 111 -cmd "create dev count=1,size=218456,emulation=FBA,meta_member_size=54614,meta_conf
striped,config=TDEV,binding to pool VP_FC600_R53, preallocate size=ALL;" prepare
Execute a symconfigure operation for symmetrix ‘000298701526‘ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000298701526
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Validating configuration changes..........................Validated.
New symdevs: 05F4:05F7 [Thin Striped meta, head 05F4, member_size 54614 cyl]
Closing configuration change request......................Closed.
Terminating the configuration change session..............Done.
The configuration change session has completed successfully.
C:\Program Files\EMC\SYMCLI\bin>symconfigure -sid 111 -cmd "create dev count=1,size=218456,emulation=FBA,meta_member_size=54614,meta_conf=
striped,config=TDEV,binding to pool VP_FC600_R53, preallocate size=ALL;" commit
Execute a symconfigure operation for symmetrix ‘000298701526‘ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000298701526
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Initiating COMMIT of configuration changes................Started.
Committing configuration changes..........................Queued.
COMMIT requesting required resources......................Obtained.
Step 008 of 071 steps.....................................Executing.
Step 040 of 071 steps.....................................Executing.
Step 053 of 110 steps.....................................Executing.
Step 065 of 110 steps.....................................Executing.
Step 070 of 111 steps.....................................Executing.
Step 072 of 111 steps.....................................Executing.
Step 097 of 111 steps.....................................Executing.
Step 097 of 111 steps.....................................Executing.
Local: COMMIT............................................Done.
Binding devices...........................................Done.
Allocating devices........................................Started.
New symdevs: 05F4:05F7 [Thin Striped meta, head 05F4, member_size 54614 cyl]
Terminating the configuration change session..............Done.
The configuration change session has successfully completed.
2 在备存储划分与主存储同样大小的磁盘
symconfigure -sid 222 -cmd "create dev count=1,size=218456,emulation=FBA,meta_member_size=54614,meta_conf=
striped,config=TDEV,binding to pool VP_FC600_R53, preallocate size=ALL;" prepare
Execute a symconfigure operation for symmetrix ‘000298701605‘ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000298701605
Checking for reserved devices failed:
The operation failed because another process has the device reservation exclusive lock on the Symmetrix
Skipping reservation check
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Validating configuration changes..........................Validated.
New symdevs: 0248:024B [Thin Striped meta, head 0248, member_size 54614 cyl]
Closing configuration change request......................Closed.
Terminating the configuration change session..............Done.
The configuration change session has completed successfully.
symconfigure -sid 222 -cmd "create dev count=1,size=218456,emulation=FBA,meta_member_size=54614,meta_conf=
striped,config=TDEV,binding to pool VP_FC600_R53, preallocate size=ALL;" commit
Execute a symconfigure operation for symmetrix ‘000298701526‘ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000298701526
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Initiating COMMIT of configuration changes................Started.
Committing configuration changes..........................Queued.
COMMIT requesting required resources......................Obtained.
Step 008 of 071 steps.....................................Executing.
Step 040 of 071 steps.....................................Executing.
Step 053 of 110 steps.....................................Executing.
Step 065 of 110 steps.....................................Executing.
Step 070 of 111 steps.....................................Executing.
Step 072 of 111 steps.....................................Executing.
Step 097 of 111 steps.....................................Executing.
Step 097 of 111 steps.....................................Executing.
Local: COMMIT............................................Done.
Binding devices...........................................Done.
Allocating devices........................................Started.
New symdevs: 0248:024B [Thin Striped meta, head 0248, member_size 54614 cyl]
Terminating the configuration change session..............Done.
The configuration change session has successfully completed.
3 将划好的磁盘加入磁盘组
symaccess -sid 111 add -name node1_SG -type storage -devs 05f4
symaccess -sid 111 add -name node2_SG -type storage -devs 05f4
symsg -sid 111 show node1_SG
symsg -sid 111 show node1_SG
4 主备存储之间做SRDF
symrdf -g nodedg disable
symrdf set mode acp_disk -g nodedg
symrdf -g nodedg query
symrdf -sid 111 createpair -file c:\emcsrdf\addpair2_fwskjhcx.txt -type rdf1 -rdfg 8 -invalidate R2 -rdf_mod acp_disk -nowd -nop
### c:\emcsrdf\addpair2_fwskjhcx.txt内容为 05F4 0248
symld -sid 111 -g fwskjhcxdg add dev 05F4
symrdf -sid 111 -file c:\emcsrdf\addpair2_fwskjhcx.txt establish -full -rdfg 8
symrdf set mode async -g fwskjhcxdg
完事
本文出自 “不是学院派” 博客,谢绝转载!
原文地址:http://theverve22.blog.51cto.com/1368914/1896631