免费注册 查看新帖 |

Chinaunix

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

VERITAS CLUSTER SERVER (VCS) UPGRADE MAINTENANCE PROCEDURE [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-29 15:36 |只看该作者 |倒序浏览
Here\'s a procedure to upgrade VCS or shutdown VCS during\r\nhardware maintenance.\r\n\r\n1. Open, freeze each Service Group, and close the VCS config.\r\n\r\n   haconf -makerw\r\n   hagrp -freeze <Service Group> -persistent\r\n   haconf -dump makero\r\n\r\n2. Shutdown VCS but keep services up.\r\n\r\n   hastop -all -force\r\n\r\n3. Confirm VCS has shut down on each system.\r\n\r\n   gabconfig -a\r\n\r\n4. Confirm GAB is not running on any disks.\r\n\r\n   gabdisk -l  (use this if upgrading from VCS 1.1.x)\r\n\r\n   gabdiskhb -l\r\n   gabdiskx -l\r\n\r\n   If it is, remove it from the disks on each system.\r\n\r\n   gabdisk -d  (use this if upgrading from VCS 1.1.x)\r\n\r\n   gabdiskhb -d\r\n   gabdiskx -d\r\n\r\n5. Shutdown GAB and confirm it\'s down on each system.\r\n\r\n   gabconfig -U\r\n   gabconfig -a\r\n\r\n6. Identify the GAB kernel module number and unload it\r\n   from each system.\r\n\r\n   modinfo | grep gab\r\n   modunload -i <GAB module number>\r\n\r\n7. Shutdown LLT. On each system, type:\r\n\r\n   lltconfig -U\r\n\r\n   Enter \"y\" if any questions are asked.\r\n\r\n8. Identify the LLT kernel module number and unload it from\r\n   each system.\r\n\r\n   modinfo | grep llt\r\n   modunload -i <LLT module number>\r\n\r\n9. Rename VCS startup and stop scripts on each system.\r\n\r\n   cd /etc/rc2.d\r\n   mv S70llt s70llt\r\n   mv S92gab s92gab\r\n   cd /etc/rc3.d\r\n   mv S99vcs s99vcs\r\n   cd /etc/rc0.d\r\n   mv K10vcs k10vcs\r\n\r\n10. Make a backup copy of /etc/VRTSvcs/conf/config/main.cf.\r\n    Make a backup copy of /etc/VRTSvcs/conf/config/types.cf.\r\n\r\n    Starting with VCS 1.3.0, preonline and other trigger scripts must\r\n    be in /opt/VRTSvcs/bin/triggers. Also, all preonline scripts in\r\n    previous versions (such as VCS 1.1.2) must now be combined in one\r\n    preonline script.\r\n\r\n11. Remove old VCS packages.\r\n\r\n    pkgrm VRTScsga VRTSvcs VRTSgab VRTSllt VRTSperl VRTSvcswz\r\n\r\n    If you are upgrading from 1.0.1 or 1.0.2, you must also remove the package\r\n    VRTSsnmp, and any packages containing a .2 extension, such as VRTScsga.2,\r\n    VRTSvcs.2, etc.\r\n\r\n    Also remove any agent packages such as VRTSvcsix (Informix),\r\n    VRTSvcsnb (NetBackup), VRTSvcssor (Oracle), and VRTSvcssy (Sybase).\r\n\r\n    Install new VCS packages.\r\n\r\n    Restore your main.cf and types.cf files.\r\n\r\n12. Start LLT, GAB and VCS.\r\n\r\n    cd /etc/rc2.d\r\n    mv s70llt S70llt\r\n    mv s92gab S92gab\r\n    cd /etc/rc3.d\r\n    mv s99vcs S99vcs\r\n    cd /etc/rc0.d\r\n    mv k10vcs K10vcs\r\n\r\n    /etc/rc2.d/S70llt start\r\n    /etc/rc2.d/S92gab\r\n    /etc/rc3.d/S99vcs start\r\n\r\n13. Check on status of VCS.\r\n\r\n    hastatus\r\n    hastatus -sum\r\n\r\n14. Unfreeze all Service Groups.\r\n\r\n    haconf -makerw\r\n    hagrp -unfreeze <Service Group> -persistent\r\n    haconf -dump -makero\n\n[ 本帖最后由 hjp1973 于 2006-4-29 16:17 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-04-29 15:38 |只看该作者
老大,又出大作了.呵呵.先做个沙发.

论坛徽章:
0
3 [报告]
发表于 2006-04-30 10:17 |只看该作者
save as.....好东西啊......哈哈....辛苦了....

论坛徽章:
0
4 [报告]
发表于 2006-04-30 10:20 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2006-05-04 21:44 |只看该作者
虽然派不上用场,也支持一下!

论坛徽章:
0
6 [报告]
发表于 2006-05-08 04:15 |只看该作者

Could you email me Vertas Cluster Admin Student guide

Good Article.\r\nCould you email me Veritas Cluster Admin Student guide?\r\nMy email addessduan@sympatico.ca.\r\nThanks.

论坛徽章:
0
7 [报告]
发表于 2006-05-08 04:19 |只看该作者

Could you email me Veritas Cluster Admin Student guide?

Good Article.\r\nDo you have Veritas Education  class text book? Could you email me Veritas Cluster Admin Student guide?\r\nMy email addess is    xduan@sympatico.ca.\r\nThanks you very much.

论坛徽章:
0
8 [报告]
发表于 2006-05-08 11:29 |只看该作者
好文章啊,正好用得上,谢谢楼主了!!

论坛徽章:
0
9 [报告]
发表于 2006-05-10 22:41 |只看该作者
谢谢你的文章. 不知你有没有VCS培训的教材, 若有,烦你能否email我一份,不胜感激.\r\njingp66@hotmail.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP