《crm系统cluster启停》由会员分享,可在线阅读,更多相关《crm系统cluster启停(8页珍藏版)》请在金锄头文库上搜索。
1、crm系统vcs启停操作1、状态检查CRM系统共4个节点sfrac集群,平时只有crmdb1、crmdb2两台机器vcs集群处于启动状态,crmdb3、crmdb4集群关闭。用hastatus sum命令检查crmdb1/var/adm/streams#hastatus -sum- SYSTEM STATE- System State Frozen A crmdb1 RUNNING 0 A crmdb2 RUNNING 0 A crmdb3 EXITED 0 A crmdb4 EXITED 0 - GROUP STATE- Group System Probed AutoDisabled St
2、ate B cfs_Mount crmdb1 Y N ONLINE B cfs_Mount crmdb2 Y N ONLINE B cfs_Mount crmdb3 Y N OFFLINE B cfs_Mount crmdb4 Y N OFFLINE B crmdb1vip crmdb1 Y N ONLINE B crmdb1vip crmdb2 Y N OFFLINE B crmdb2vip crmdb1 Y N OFFLINE B crmdb2vip crmdb2 Y N ONLINE B crmdb3vip crmdb3 Y N OFFLINE B crmdb3vip crmdb4 Y
3、N OFFLINE B crmdb4vip crmdb3 Y N OFFLINE B crmdb4vip crmdb4 Y N OFFLINE B cvm crmdb1 Y N ONLINE B cvm crmdb2 Y N ONLINE B cvm crmdb3 Y N OFFLINE B cvm crmdb4 Y N OFFLINE vcs集群配置了三种资源组,分别是cfs_mount,vip,cvm。其中,cvm、cfs_mount是共享资源资源组,只要启动cluster,就应该处于online状态,可以多台机器同时online。Vip是 ha资源组,一次只能在一个节点上online。V
4、ip资源组共有crmdb1vip、crmdb2vip、crmdb3vip、crmdb4vip四个,crmdb1vip和crmdb2vip互备,crmdb3vip和crmdb4互备。1可以切换到2,2可以切换到1,1、2不能切换到db3、db4主机上。同理crmdb3vip和crmdb4vip一样。手动切换资源组的命令是:hagrp switch -to 例如切换crmdb1vip到crmdb2主机上:hagrp switch crmdb1vip to crmdb2手动online资源组命令hagrp online -sys crm主机上dg资源组,共两个crmdb1/#vxdg listNAM
5、E STATE IDcrmdg enabled,shared,cds 1246257969.332.crmdb1orasrvdg enabled,shared,cds 1246249548.328.crmdb1crm系统镜像检查,注意KSTATE、STATE两列,ENABLED、ACTIVE状态是正常的。crmdb1/#vxprint -p Disk group: crmdgTY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0pl crmssd01-01 crmssd01 ENABLED 1126400000 - ACTIVE - -pl
6、 crmssd01-02 crmssd01 ENABLED 1126400000 - ACTIVE - -pl crmssd01_dcl-01 crmssd01_dcl ENABLED 77840 - ACTIVE - -pl crmssd01_dcl-02 crmssd01_dcl ENABLED 77840 - ACTIVE - -pl crm01-01 crm01 ENABLED 2469609472 - ACTIVE - -pl crm01-02 crm01 ENABLED 2469609472 - ACTIVE - -pl crm01_dcl-01 crm01_dcl ENABLED
7、 170128 - ACTIVE - -pl crm01_dcl-02 crm01_dcl ENABLED 170128 - ACTIVE - -pl crm02-01 crm02 ENABLED 2469609472 - ACTIVE - -pl crm02-02 crm02 ENABLED 2469609472 - ACTIVE - -pl crm02_dcl-01 crm02_dcl ENABLED 170128 - ACTIVE - -pl crm02_dcl-02 crm02_dcl ENABLED 170128 - ACTIVE - -pl crm03-01 crm03 ENABL
8、ED 2469609472 - ACTIVE - -pl crm03-02 crm03 ENABLED 2469609472 - ACTIVE - -pl crm03_dcl-01 crm03_dcl ENABLED 170128 - ACTIVE - -pl crm03_dcl-02 crm03_dcl ENABLED 170128 - ACTIVE - -pl crm04-01 crm04 ENABLED 2469609472 - ACTIVE - -pl crm04-02 crm04 ENABLED 2469609472 - ACTIVE - -pl crm04_dcl-01 crm04
9、_dcl ENABLED 170128 - ACTIVE - -pl crm04_dcl-02 crm04_dcl ENABLED 170128 - ACTIVE - -pl crm05-01 crm05 ENABLED 2469609472 - ACTIVE - -pl crm05-02 crm05 ENABLED 2469609472 - ACTIVE - -pl crm05_dcl-01 crm05_dcl ENABLED 170128 - ACTIVE - -pl crm05_dcl-02 crm05_dcl ENABLED 170128 - ACTIVE - -pl crm06-01 crm06 ENABLED 2469609472 - ACTIVE - -pl crm06-02 crm06 ENABLED 2469609472 - ACTIVE - -pl crm06_dcl-01 crm06_dcl ENABLED 170128 - ACTIVE - -pl crm06_dcl-02 crm06_dcl ENABLED 170128 - ACTIVE - -pl crm07-01 crm07 ENABLED 2469609472 - ACTIVE - -pl crm07-02