免费注册 查看新帖 |

Chinaunix

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

Upgrading Volume Manager 3.2 to 3.5 in Sun cluster [复制链接]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-22 00:26 |只看该作者 |倒序浏览
google上的好东东真是巨多啊,先保存下来,说不定以后能用的上,呵呵!
1 Preparation
1.1 Backup all users data
1.2 Backup volume manager configuration
# vxdg list > vxdg_list
# vxdisk -s list > vxdisk_s_list
# vxprint -ht > vxprint _ht
# vxprint -g dg_name -hmvps > dg_name_dump
1.3 Login to a node as super user
1.4 Check cluster status
# scstat
1.5 Disable each resource in cluster
# scrgadm -pv | grep "Res enabled"
# scswitch -n -j resource
1.6 Switch each resource group offline
# scswitch -F -g resource_group
1.7 Move each resource group into the unmanaged state
# scswitch -u -g resource_group
1.8 Check the results of step 1.5, 1.6 and 1.7
# scstat -g
1.9 Shutdown cluster
# scshutdown
2 Upgrading Volume Manager on an encapsulated boot disk
2.1 Boot node to single non-cluster user mode
# reboot -- -xs
2.2 Mount Volume Manager 3.5 CDROM
2.3 Check if it can be upgraded without problems
# /cdrom/volume_manager/scripts/upgrade_start -check
2.4 Begin upgrade
# /cdrom/volume_manager/scripts/upgrade_start
2.5 Reboot node
# reboot -- -xs
2.6 Mount /opt manually if its on own position
2.7 Remove Vxvm 3.2 patches and packages
# patchrm vxvm_patch_id
# pkgrm VRTSvmsa VRTSvmdoc VRTSvmdev VRTSvmman VRTSvxvm VRTSlic
2.8 Reboot node
# reboot -- -xs
2.9 Add Vxvm 3.5 license package
# cd /cdrom/volume_manager/pkgs
# pkgadd -d . VRTSvlic
2.10 Add Vxvm 3.5 package
# pkgadd -d . VRTSvxvm
Note: If warnings are displayed that include the string /etc/vx, ignore them and continue.
2.11 Complete upgrading
# /cdrom/volume_manager/scripts/upgrade_finish
2.12 Reboot and reconfigure node
# reboot -- -xr
2.13 Install additional packages
# cd /cdrom/volume_manager/pkgs
# pkgadd -d . VRTSvmdoc VRTSvmman
# pkgadd -a ../scripts/VRTSobadm -d . VRTSob VRTSobgui
# pkgadd -d . VRTSfspro VRTSvmpro
3 Recover cluster resource and resource group
3.1 Check all diskgroups are OK
# vxdg list
# vxprint  ht
3.2 Check resource group state
# scstat
# scrgadm -pv
3.3 Move each resource group into the managed state
# scswitch -o -g resource_group
3.4 Switch each resource group online
# scswitch -Z -g resource_group
3.5 Enable each resource in cluster
# scswitch -e -j resourc
3.6 Check resource group state again
# scstat
# scrgadm -pv


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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP