免费注册 查看新帖 |

Chinaunix

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

HP-UX 在线添加VG到Service Guard [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-04 14:09 |只看该作者 |倒序浏览

在线添加新VG的步骤:
1 新建vg:(db01[Active NODE]上)
pvcreate /dev/rdsk/c15t1d6
mkdir /dev/vg_ora8
mknod /dev/vg_ora8/group c 64 0x080000
vgcreate -s 16 /dev/vg_ora8 /dev/dsk/c15t1d6
vgdisplay
建lv:
lvcreate -L 2048 -n 2g_data_01 -r N /dev/vg_ora8
lvcreate -L 2048 -n 2g_data_01 -r N /dev/vg_ora8
.......
lvcreate -L 2048 -n 2g_data_99 -r N /dev/vg_ora8
chown oracle:dba /dev/vg_ora8/r*
2 VG同步;
vgexport -p -v -m /tmp/vg_ora08.map /dev/vg_ora8
rcp /tmp/vg_ora8.map sd-db02:/tmp
在db02上:
mkdir /dev/vg_ora8
mknod /dev/vg_ora8/group c 64 0x080000
vgimport -v -m /tmp/vg_ora08.map /dev/vg_ora8
chown oracle:dba /dev/vg_ora8/r*
3 在active Node上:
vgchange -a n /dev/vg_ora8
vgchange -c y /dev/vg_ora8
vgchange -a e /dev/vg_ora8
4 修改cmcluster.ascii pkgconf.ascii 文件:
将vg_ora8加上去:
5 check:
[db01]/etc/cmcluster#cmcheckconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/pkg/pkgconf.ascii
Begin cluster verification...
Note : a NODE_TIMEOUT value of 2000000 was found in line 129. For a
significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ascii file or Serviceguard
manual for more information on this parameter.
Warning: No additional packages can be added to this cluster.
Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration.
[db01]/etc/cmcluster#cmapplyconf -C /etc/cmcluster/cmclconf.ascii -P /etc/cmcluster/pkg/pkgconf.ascii
Begin cluster verification...
Note : a NODE_TIMEOUT value of 2000000 was found in line 129. For a
significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ascii file or Serviceguard
manual for more information on this parameter.
Warning: No additional packages can be added to this cluster.
Modifying configuration on node db01
Modifying configuration on node db02
Modify the cluster configuration ([y]/n)? y
Completed the cluster creation.
5 检查配置:
cmgetconf -v
cmviewconf


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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP