免费注册 查看新帖 |

Chinaunix

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

hp 9000双机+磁阵升级操作请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-16 16:48 |只看该作者 |倒序浏览
hp 9000双机 加上 hp的磁阵,现在准备升级,添加4块硬盘

原来磁阵上划分了两个vg,分别都做的是RAID1+0,新增4块硬盘分别加到两个vg中,

求一个操作方案,最好能提示命令和具体操作,多谢!!

论坛徽章:
0
2 [报告]
发表于 2008-10-16 16:48 |只看该作者
加的4块再建个R1+0的LUN

将新建的LUN再加到原来的VG里,然后
以下是参考,
For example: you want to extend the lvol1 of vg01.

1.        Halt the cluster
# cmhaltcl   -f   -v
2.        Unshared and activate the shared volume group
# vgchange  -c  n   /dev/vg01
# vgchange  -a  y   /dev/vg01
3.        Extend the logical volume
# lvextend   -L  <logical volume size in megabyte>  /dev/vg01/lvol1
4.        Unmount file system
# umount   /dev/vg01/lvol1
5.        Extend the file system
# extendfs  -F [vxfs | hfs] -v  /dev/vg01/rlvol1
6.        Mount file system
# mount   /dev/vg01/lvol1  /mount_point
7.        Export the shared volume group on Node1, and copy the mapfile to Node2.
# vgexport  –p  –s   -v  –m   /tmp/vg01.map   /dev/vg01
If the HP-UX version is below 10.20, then no –s option.
# rcp  /tmp/vg01.map  Node2:/tmp
8.        Export the shared volume group on Node2. That is to remove the shared volume    group on Node2
# vgexport  –v  /dev/vg01
9.        Make volume group device file
# rm   –r  /dev/vg01
# mkdir   /dev/vg01
# cd   /dev/vg01
# mknod   group   c   64 0x010000
10.        Import the shared volume group on Node2
# vgimport   –v  –s  –m   /tmp/vg01.mapfile   /dev/vg01
11.        Start cluster
# cmruncl  –v
NOTE: This may fail to start the package because the volume group is not marked as cluster volume group. We only start cmcld and to do vgchange –c y
12.        Mark the volume group shared.
# vgchange   –c   y   /dev/vg01

论坛徽章:
0
3 [报告]
发表于 2008-10-16 17:22 |只看该作者
4块硬盘,2块加到vg1,2块加到vg2,是否需要新建两个LUN,

顺便问一下,如何新建LUN?

以前都是搞的AIX,第一次接触HPUX,对LUN的概念不是很理解,麻烦再指点一下,多谢

论坛徽章:
0
4 [报告]
发表于 2008-10-16 19:22 |只看该作者

回复 #3 tudouni521 的帖子

你用的是什么型号的存储呢?如是EVA,就是划Vdisk了,

论坛徽章:
0
5 [报告]
发表于 2008-10-16 19:44 |只看该作者
我还没到现场,具体型号暂时不知道,

估计明天还是要叫HP的人现场服务了,连基本的工具都没有,不过还是多谢!!

论坛徽章:
0
6 [报告]
发表于 2008-10-16 20:17 |只看该作者
4块盘。做个raid1+0.然后划两个lun.在系统里面能看到两块逻辑盘。分别加到两个vg中。
和aix也一样。原理类似。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP