PPRC关系对描述:
|
LUN名称 |
归属存储 |
pprc角色 |
容量(G) |
extpool |
|
5000-5002 |
DS8100_A |
source |
20 |
P0 |
|
5100-5102 |
DS8100_A |
source |
20 |
P1 |
|
5000-5002 |
DS8100_B |
target |
20 |
P0 |
|
5100-5102 |
DS8100_B |
target |
20 |
P1 |
pprc源端lun,作为flashcopy的源端
|
LUN名称 |
归属存储 |
flashcopy角色 |
容量(G) |
extpool |
|
5000-5002 |
DS8100_A |
source |
20 |
P0 |
|
5100-5102 |
DS8100_A |
source |
20 |
P0 |
|
8000-8002 |
DS8100_A |
target |
20 |
P1 |
|
8100-8102 |
DS8100_A |
target |
20 |
P1 |
1.2.2 案例环境描述
DS8100_A的6个lun(5000-5002,5100-5102) 在本例中担任了两个角色:PPRC的Source端和Flashcopy的源端。
DS8100_A的6个lun((5000-5002,5100-5102)建立PPRC关系对,复制到DS8100_B对应的6个lun((5000-5002,5100-5102)
DS8100_A的6个lun((5000-5002,5100-5102)建立Flashcopy关系对,复制到DS8100_A对应的6个lun((8000-8002,8100-8102)
Dscli>mkvolgrp –type scsimask –volume 5000-5002,5100-5102 test_vg
Dscli>lsvolgrp
Dscli>mkhostconnect –wwname 10000000c45def –volgrp V4 test_fcs0
Dscli>mkhostconnect –wwname 10000000c45ded –volgrp V4 test_fcs1
#cfgmgr –v
#smitty vgàadd a volume group with data path devices-->testvg ..
#mklv -T O -w n -r n -u 6 -S 256K -t raw -y
ora_data_01 testvg 30
。。。。。。
# mklv -T O -w n -r n -u 6 -S 256K -t raw -y ora_system datavg 30
$dbca ##创建实例名为test1的数据库
SQL>create user aidu profile default identified by aidutest default tablespace users temporary tablespace temp account unlock;
SQL>grant resource,connect to aidu;
SQL>conn aidu/aidutest
SQL>create table test01(id number(10,2),name varchar2(200),primary key(id));
有很多种手段来达到持续插入数据到测试表的目的,笔者是通过编写excel vba程序,每秒插入3-5条记录到表中。
部分代码如下:
Set tmpRs1 = goCn.OpenResultset("select
max(id) as id from test01", 3, 1)
If Not tmpRs1.EOF Then
MaxId = tmpRs1!id
Else
MaxId = 1
End If
tmpRs1.Close
Set tmpRs1 =
goCn.OpenResultset("select * from test01 where 1=2", 1, 3)
With tmpRs1
For iCount = 1 To 100000
.AddNew
!id = MaxId + iCount
!Name = "test"
.Update
Call delaytime(1) ####时间延迟程序1秒左右。
DoEvents
Next iCount
End With
tmpRs1.Close
Dscli>mkvolgrp –type scsimask –volume 8000-8002,8100-8102 test_vg
Dscli>lsvolgrp
Dscli>mkhostconnect –wwname 10000000c45d00 –volgrp V5 test_b_fcs0
Dscli>mkhostconnect –wwname 10000000c45d01 –volgrp V5 test_b_fcs1
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/32980/viewspace-1050706/ ,如需转载,请注明出处,否则将追究法律责任。