VCS教程

http://hobgoblinconsulting.com/hints/vxvm/vcs/

系统重启后,VCS状态为ADMIN_WAIT or STALE_ADMIN_WAIT

After a reboot, a node in a VERITAS Cluster Server (VCS) environment is in an ADMIN_WAIT state or in a STALE_ADMIN_WAIT state

Details:
Below are descriptions of the states that a Cluster Server node could end up in after a reboot as seen from the following command:

# hastatus
attempting to connect....connected

group           resource             system          message
--------------- -------------------- --------------- --------------------
                                    sptsunvcs3      STALE ADMIN WAIT: all system stale
                                    sptsunvcs4      STALE ADMIN WAIT: all system stale

ADMIN_WAIT state:

If VCS is started on a system with a valid configuration file, and if other systems are in the ADMIN_WAIT state, the new system transitions to the ADMIN_WAIT state.

  • INITING===>CURRENT_DISCOVER_WAIT===>ADMIN_WAIT

If VCS is started on a system with a stale configuration file, and if other systems are in the ADMIN_WAIT state, the new system transitions to the ADMIN_WAIT state.

  • INITING===>STALE_DISCOVER_WAIT===>ADMIN_WAIT

STALE_ADMIN_WAIT state:

If VERITAS Cluster Server is started on a system with a stale configuration file, and if all other systems are in STALE_ADMIN_WAIT state, the system transitions to the STALE_ADMIN_WAIT state as shown below. A system stays in this state until another system with a valid configuration file is started, or when the command hasys -force is issued.

  • INITING===>STALE_DISCOVER_WAIT===>STALE_ADMIN_WAIT

Resolution:

If all systems are in STALE_ADMIN_WAIT or ADMIN_WAIT, first validate the configuration file (/etc/VRTSvcs/conf/config/main.cf) on all systems in the cluster by running the  ' hacf -verify .' command for syntax error check (ensure that this command is run in the directory containing the main.cf file), and reviewing its contents for proper resource and service group definitions.  
Then enter  the following command on the system with the correct configuration file to force start VCS.

  • #

hasys -force

  • system_name
  • This will have the effect of starting Cluster Server on that node and starting Cluster Server running on all other nodes in the ADMIN_WAIT or STALE_ADMIN_WAIT state.
  • One of the most common causes of a node being in one of these states is the existence of /etc/VRTSvcs/conf/config/.stale. This file is typically left behind if Cluster Server is stopped while the configuration is still open, i.e. someone has forgotten to save changes made to a running main.cf configuration. The .stale file is deleted automatically if changes are correctly saved and will therefore not force the relevant node into an ADMIN state when it next has to restart Cluster Server. As indicated earlier, the file can be safely removed if the main.cf file is known to be ok.

系统重启后,VCS状态ADMIN_WAIT or STALE_ADMIN_WAIT相关推荐

  1. 重启计算机设的桌面背景就没了,桌面壁纸无法保存怎么办?Win7系统重启后不保存桌面背景解决方法...

    今天一网友咨询小编称自己设置了电脑桌面背景图片,但是电脑重启后不保存桌面背景,又还原至之前的桌面背景,遇到桌面壁纸无法保存怎么办?针对这个问题,装机之家小编分享一下Win7系统重启后不保存桌面背景解决 ...

  2. Hyper-V 激活Windows系统重启后黑屏的解决方法 + 激活方法

    Hyper-V 激活Windows系统重启后黑屏的解决方法 + 激活方法 参考文章: (1)Hyper-V 激活Windows系统重启后黑屏的解决方法 + 激活方法 (2)https://www.cn ...

  3. ubuntu系统重启后桌面分辨率减小的原因及解决方法

    我的情况是:使用命令 nvidia-smi 进行验证,如果出现链接不成功,说明是驱动除了问题: 根据以下教程重新安装后,问题解决了. ubuntu16.04装机1:安装NVIDIA显卡驱动(下载.ru ...

  4. Wincc系统重启后保持内部变量的值不变的设置

    软件版本:Wincc 7.4SP1 操作系统:Windows7 问题描述 需要在wincc中动态修改某些参数,希望设置一些内部变量作为中间变量,但运行中修改过的参数在系统重启后会丢失,该如何在输入后保 ...

  5. 解决win7系统重启后ip丢失问题,即每次电脑重启都要重新设置ip地址,重启后ip地址没了

    解决win7系统重启后ip丢失问题,即每次电脑重启都要重新设置ip地址,重启后ip地址没了 参考文章: (1)解决win7系统重启后ip丢失问题,即每次电脑重启都要重新设置ip地址,重启后ip地址没了 ...

  6. 关于win10系统重启后图标自动排序问题的解决方案

    关于win10系统重启后图标自动排序问题的解决方案 文章目录 关于win10系统重启后图标自动排序问题的解决方案 前言 解决方案 总结 前言 本人学的是电子信息专业,下载的软件和文档很多,若采用win ...

  7. 海康服务器系统装完重启转圈蓝屏,win10 1903系统重启后一直在转圈无法正常启动的解决方法...

    有不少用户升级到win10 1903系统之后,发现关机重启之后,一直在转圈无法正常启动,遇到这样的问题该怎么办呢,接下来给大家讲解一下win10 1903系统重启后一直在转圈无法正常启动的解决方法吧. ...

  8. 计算机重启恢复到推荐分辨率,win10系统重启后分辨率总是出现变化的还原方法...

    有关win10系统重启后分辨率总是出现变化的操作方法想必大家有所耳闻.但是能够对win10系统重启后分辨率总是出现变化进行实际操作的人却不多.其实解决win10系统重启后分辨率总是出现变化的问题也不是 ...

  9. 重启计算机后ip丢失,win7系统重启后ip丢失的解决方法

    win7系统使用久了,好多网友反馈说win7系统重启后ip丢失的问题,非常不方便.有什么办法可以永久解决win7系统重启后ip丢失的问题,面对win7系统重启后ip丢失故障问题,我们只需要1.在win ...

最新文章

  1. 如何设计高可用的微服务架构
  2. 项目: 用数组实现反弹球消砖块
  3. ASP.NET MVC视图引擎SPARK文档中文版
  4. JZ2440学习总结1
  5. PyTorch基础(十)----- torch.max()方法
  6. python之操作系统介绍,进程的创建
  7. 我最近在学微信小程序开发,一起吗?
  8. 小程序--计算正负数个数
  9. 华邦电子2022年1月营收为新台币86.90亿元
  10. matlab中normfit在正态分布中的使用技巧如下:
  11. python棋盘放麦粒_从零开始学习PYTHON3讲义(五)while循环和棋盘麦粒问题
  12. oracle 启动报错03113,Oracle 入门之Oracle启动报错“ORA-03113”
  13. win10系统 双击bat文件无法运行,只是以普通txt文件打开该文件,简单解决
  14. 1 三角函数的正交性
  15. 大理古城“悟空、八戒”与人互殴 警方:四人被行拘
  16. Java多线程--概述-转自林炳文Evankaka
  17. echarts地图api series_使用echarts结合百度地图API做迁徙图
  18. 机器人改变生活利弊英语作文_机器人的利弊作文
  19. 减法公式运算法则_数学加减法运算和运算法则
  20. 1055: 兔子繁殖问题 这是一个有趣的古典数学问题,著名意大利数学家Fibonacci曾提出一个问题:有一对小兔子,从出生后第3个月起每个月都生一对兔子。小兔子长到第3个月后每个月又生一对兔子。

热门文章

  1. 【SQL进阶教程】第一章 case表达式
  2. 007.西门子M440变频器模拟量给定(变频器频率随着温度的变化而变化)
  3. 十九.Linux开发之根文件系统移植——根文件系统的原理
  4. fork()||fork(),循环fork()与\n
  5. 高等代数_第2章:行列式_笔记
  6. 有没有那么一瞬间,你也曾有过“失业焦虑”?
  7. Android平台下的StreamingAsset路径
  8. Binder死磕到底(四):Treble化架构
  9. [FFmpeg]ffmpeg命令实现wma转mp3文件的音频转换
  10. iOS播放与编辑HDR视频