欢迎来到天天文库
浏览记录
ID:55720534
大小:45.00 KB
页数:8页
时间:2020-05-28
《VCS双机检验方法.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、1双机检验关于本章必须保证双机系统的启动、切换和停止都正常。8.1检查双机启动8.2检查双机切换8.3检查双机停止1.1检查双机启动检查双机状态1.在两个节点上执行如下命令,启动双机。#hastart2.执行如下命令,检查双机资源、资源组状态。#hastatus如果smcsrv1和smcsrv2的状态都为running,smccluster资源组的所有资源在其中一台主机为online,在另外一台主机为offline,表示双机正常。显示信息如下所示。查看资源的状态可以使用hares-state。attemptingtoconnect....connectedgroupresourcesyst
2、emmessage---------------------------------------------------------------------------smcsrv1RUNNINGsmcsrv2RUNNINGsmcclustersmcsrv1ONLINEsmcclustersmcsrv2OFFLINE-------------------------------------------------------------------------RawRessmcsrv1ONLINERawRessmcsrv2OFFLINESmcAppsmcsrv1ONLINESmcAppsm
3、csrv2OFFLINESmcVGsmcsrv1ONLINE-------------------------------------------------------------------------SmcVGsmcsrv2OFFLINEserviceipsmcsrv1ONLINEserviceipsmcsrv2OFFLINEmountlv_billsmcsrv1ONLINEmountlv_billsmcsrv2OFFLINE-------------------------------------------------------------------------SmcNics
4、mcsrv1ONLINESmcNicsmcsrv2ONLINELSNR_ora11_lsnrsmcsrv1ONLINELSNR_ora11_lsnrsmcsrv2OFFLINEORA_SRVsmcsrv1ONLINE-------------------------------------------------------------------------ORA_SRVsmcsrv2OFFLINE如果有资源的状态为STALE_ADMIN_WAIT,请执行如下命令,手工拉起资源。#hasys–forcesmcsrv11.执行如下命令查看双机状态:#hastatus-sum--SYSTEM
5、STATE--SystemStateFrozenAsmcsrv1RUNNING0Asmcsrv2RUNNING0--GROUPSTATE--GroupSystemProbedAutoDisabledStateBsmcclustersmcsrv1YNONLINEBsmcclustersmcsrv2YNOFFLINE显示信息中状态为“ONLINE”的为主用。检查浮动IP地址在主备机上分别执行ifconfig-a。在当前的主机上有bond0:0,IP地址为浮动IP地址,如下所示。bond0:0Linkencap:EthernetHWaddr00:18:82:55:93:4Ainetaddr:10
6、.71.101.60Bcast:10.71.101.255Mask:255.255.255.0UPBROADCASTRUNNINGMASTERMULTICASTMTU:1500Metric:1检查SMC进程2.以smc用户登录主备机,执行p命令,分别检查SMC的进程。如果SMC启动成功,则显示信息如下所示。ProcessListOfShortMessageCenter----------------------------------------------------USERPIDPPIDCOMMANDsmc80651clustermngsmc80828065smcappsmc80888
7、065dbdaemonsmc80768065billcreatersmc80708065backupdaemonsmc81068065filemirrorsmc81008065mapserversmc80948065mtiserversmc80958065l2cachedaemonsmc80968065fccCount101.在主备机上执行smcdbg命令,检查SMC各进程的状态。正常情况下,在当前主机上,cluster
此文档下载收益归作者所有