免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1071 | 回复: 0
打印 上一主题 下一主题

Setting up one simple VVR [复制链接]

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-08 11:21 |只看该作者 |倒序浏览

Example
Setting Up Replication When Data Volumes are Empty
Since the Primary data volumes are empty, there is no need to initialize the data on the
Secondary node.
On the Secondary: v240
1. Make the data volumes. Use different disks for the data volumes and SRL.
# vxassist -g hrdg make hr_dv01 100M \
layout=mirror logtype=dcm mirror=2
# vxassist -g hrdg make hr_dv02 100M \
layout=mirror logtype=dcm mirror=2
2. Make the SRL on disks other than the ones used for the data volumes.
# vxassist -g hrdg make hr_srl 50M mirror=2
3. Make the RLINK.
# vxmake -g hrdg rlink hr_v241_rlk remote_host=v241 \
remote_dg=hrdg comment=”secondary for HR at v241” \
remote_rlink=hr_v240_rlk local_host=v240 \
synchronous=off srlprot=dcm
4. Make an RVG, and associate the RLINK, data volumes, and SRL with the RVG.
# vxmake -g hrdg rvg hr_rvg rlink=hr_v241_rlk \
datavol=hr_dv01,hr_dv02 srl=hr_srl primary=false \
comment=”secondary for HR at v241”
5. Attach the RLINK to the RVG.
# vxrlink -g hrdg att hr_v241_rlk
6. Start the RVG to enable reads on the underlying data volumes (Secondary data
volumes are read-only).
# vxrvg -g hrdg start hr_rvg
On the Primary: v241
1. Make the data volumes. Use different disks for the data volumes and SRL.
# vxassist -g hrdg make hr_dv01 100M \
layout=mirror logtype=dcm mirror=2
# vxassist -g hrdg make hr_dv02 100M \
layout=mirror logtype=dcm mirror=2
2. Make the SRL on disks other than the ones used for the data volumes.
# vxassist -g hrdg make hr_srl 50m mirror=2
3. Make the RLINK.
# vxmake -g hrdg rlink hr_v240_rlk \
comment=”primary for HR at v240” remote_host=v240 \
remote_dg=hrdg remote_rlink=hr_v241_rlk \
local_host=v241 synchronous=off srlprot=dcm
4. Make the RVG, and associate the RLINK, data volumes, and SRL with it.
# vxmake -g hrdg rvg hr_rvg rlink=hr_v240_rlk \
datavol=hr_dv01,hr_dv02 srl=hr_srl primary=true
5. Attach the RLINK to the RVG.
# vxrlink -g hrdg att hr_v240_rlk
6. Start the RVG to enable I/O on the underlying data volumes.
# vxrvg -g hrdg start hr_rvg
Feb 25 13:21:10 v241 vxio: [ID 259459 kern.notice] NOTICE: Connected from node

10.110.157.182 to node 10.110.157.181
Feb 25 13:21:12 v241 vxio: [ID 170546 kern.notice] NOTICE: vxvm:vxio: Rlink

hr_v240_rlk connected to remote

Feb 24 21:21:11 v240 vxio: [ID 259459 kern.notice] NOTICE: Connected from node

10.110.157.181 to node 10.110.157.182
Feb 24 21:21:11 v240 vxio: [ID 170546 kern.notice] NOTICE: vxvm:vxio: Rlink

hr_v241_rlk connected to remote


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/43/showart_96833.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP