One database was down today. So I login the server try to check and fix it. I found the Oracle home do not exist. So I check the /etc/fstab and found below.

[root@aaaa~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults
LABEL=/boot /boot ext3 defaults
none /dev/pts devpts gid=,mode=
none /dev/shm tmpfs defaults
none /proc proc defaults
none /sys sysfs defaults
LABEL=SW-cciss/c0d0p3 swap swap defaults
/dev/vx/dsk/orabin1adg/orabin /opt/oracle/product/10.2 vxfs defaults

The file system /dev/vx/dsk/orabin1adg/orabin is the directory should be mounted but not. It is controlled by VCS so I try to mount it with VCS.

First I use hastatus to check.  Hit below

[root@aaaa~]# hastatus
attempting to connect....
VCS ERROR V--- Cannot connect to VCS engine
attempting to connect....not available; will retry
attempting to connect....retrying
VCS ERROR V--- Cannot connect to VCS engine
attempting to connect....not available; will retry
attempting to connect....retrying
VCS ERROR V--- Cannot connect to VCS engine
attempting to connect....not available; will retry

Then I start the  VCS

[root@pss1sitdb1a ~]# /etc/init.d/vcs start
Starting vcs: [ OK ]

Then I use hastatus to check

[root@pss1sitdb1a ~]# hastatus
attempting to connect....
attempting to connect....connected group resource system message
--------------- -------------------- -------------------- --------------------
aaaa RUNNING
MultiNIC_sg aaaa ONLINE
cvm aaaa STARTING OFFLINE
nfs_sg aaaa OFFLINE
-------------------------------------------------------------------------

Try to online the nfs_sg hit below

[root@aaaaa~]# hagrp -online nfs_sg -sys aaaa
VCS WARNING V--- Group nfs_sg is frozen

Then

[root@aaaaa~]# hagrp -unfreeze nfs_sg -persistent
VCS WARNING V--- Configuration must be ReadWrite

Here is a quota which can explain the frozen.

Freezing a Service Group
凝固一个服务组是为了防止它离线;上线;或者failover.
当你凝固一个服务组时,VCS继续监视这个资源,但是不允许服务组(或者它的资源)背离线或者上线,failover也被禁止,即使资源故障。
注意:当凝固的时,VCS不能在服务组上面采取行动即使你通过带起服务上线在另一个系统上导致并行扰乱。
命令:
hagrp -freeze service_group
hagrp -unfreeze service_group
为了永久凝固一个服务组,你必须先要打开配置
haconf -makerw
hagrp -freeze service_group -persistent
hagrp -unfreeze service_group -persistent
为了确定是否一个服务组被凝固显示Frozen(永久性)和TFrozen(零时性)服务组属性对于一个服务组
hagrp -display service_group -attribute Frozen

Ok Then I

[root@aaaa~]# haconf -makerw
[root@aaaa ~]# hagrp -unfreeze nfs_sg -persistent
[root@aaaa~]# hagrp -online nfs_sg -sys aaaa
VCS WARNING V--- Group nfs_sg is auto-disabled in cluster. This can happen if group is not probed on all alive nodes in group's SystemList or VCS engine is not running on all alive nodes in group's SystemList

Then I found. FUCK. I was checking the wrong enviroment. Be fucking careful next time please

Good thing is that I got some understanding about the VCS.

VCS 一次使用。的更多相关文章

  1. Android Studio的SVN Performing VCS Refresh/Commit 长时间不结束

    给Android Studio项目里面的一个文件改名以后,再提交SVN时总是提示冲突,没办法解决.再后来不知道怎么弄的,每次提交时停留在SVN Performing VCS Refresh始终都不会完 ...

  2. android studio如何开启与禁用版本控制vcs

    1.开启

  3. VCS仿真查看coverage

    VCS仿真查看coverage Design compiler & simulate #!/bin/csh -f setenv NOVAS_HOME /EDASynopsys/verdi3-I ...

  4. VCS仿真 Dump Memory

    VCS仿真 Dump Memory 两种方法 vcs联合verdi生成fsdb文件 vcs生成vpd文件 VCS联合verdi生成fsdb文件 1.testbench中加入如下语句: initial ...

  5. VCS仿真生成fsdb文件(Verilog)

    VCS仿真生成fsdb文件(Verilog) 一.环境 Linux 平台 csh环境 VCS 64bit Verdi3 二.开始仿真 1. 联合仿真环境配置 a.在testbench中加入如下语句: ...

  6. VCS仿真生成vpd文件(verilog)

    VCS仿真生成vpd文件(verilog) 一.环境与文件 Linux平台  csh环境 VCS 64bit 代码文件请参考<一个简单的Verilog计数器模型> 二.开始仿真 1.com ...

  7. VCS引起的oracle数据库异常重新启动一例

    1. 环境描写叙述 操作系统版本号:SUSE Linux Enterprise Server 10 sp2 (x86_64) 数据库版本号:Oracle 11.1.0.7.16 VCS版本号:5.1 ...

  8. vcs 下使用system verilog调用c函数

    c中要加入<svdpi.h> sv的tb中加入 import "DPI-C" function int funcname(); 仿真时,vcs命令行中加入 +vc fu ...

  9. 在VCS仿真器中使用FSDB[转载]

    来源:https://www.cnblogs.com/catannie/p/8099331.html FSDB(Fast Signal Database)是Verdi支持的文件格式,用于保存仿真产生的 ...

  10. 在VCS仿真器中使用FSDB

    FSDB(Fast Signal Database)是Verdi支持的文件格式,用于保存仿真产生的信号波形.据Verdi文档说明,FSDB比标准的VCD格式节省磁盘空间,处理速度更快.要用VCS仿真器 ...

随机推荐

  1. 297 Serialize and Deserialize Binary Tree 二叉树的序列化与反序列化

    序列化是将一个数据结构或者对象转换为连续的比特位的操作,进而可以将转换后的数据存储在一个文件或者内存中,同时也可以通过网络传输到另一个计算机环境,采取相反方式重构得到原数据.请设计一个算法来实现二叉树 ...

  2. Java 8 (2) 使用Lambda表达式

    什么是Lambda? 可以把Lambda表达式理解为 简洁的表示可传递的匿名函数的一种方式:它没有名称,但它有参数列表.函数主体.返回类型,可能还有一个可以抛出的异常列表. 使用Lambda可以让你更 ...

  3. Code Kata:大整数四则运算—除法 javascript实现

    除法不可用手工算法来计算,其基本思想是反复做减法,看从被除数里面最多能减去多少个除数,商就是多少. 除法函数: 如果前者绝对值小于后者直接返回零 做减法时,不需要一个一个减,可以以除数*10^n为基数 ...

  4. Android Programming 3D Graphics with OpenGL ES (Including Nehe's Port)

    https://www3.ntu.edu.sg/home/ehchua/programming/android/Android_3D.html

  5. Windows 2008 防火墙开放端口

    当我们使用新服务器架设新主机时,经常会遇到网站无法访问的情况,当问及客服时,经常会告知,操作系统默认不打开80端口,请先确定80是否打开并确定没有被占用.那么,我们该如何打开80端口呢? 方法/步骤 ...

  6. 在Resource中使用x:Bind

    Build2015上,MS热情高涨的演示了x:Bind,一种新的Binding方式,新的方式有如下优点: 1更好的性能(内存占用,CPU占用) 2BuildTime的Binding 具体在Channe ...

  7. Java Servlet JSP编程(一)

    最近想学学java编程,java现在的应用还是挺广泛的,有必要学习一下. # index.jsp <%@ page language="java" contentType=& ...

  8. RabbitMQ系列(三)--Java API

    基于java使用RabbitMQ 框架:SpringBoot1.5.14.RELEASE maven依赖: <dependency> <groupId>com.rabbitmq ...

  9. orb slam2

  10. gym101343 2017 JUST Programming Contest 2.0

    A.On The Way to Lucky Plaza  (数论)题意:m个店 每个店可以买一个小球的概率为p       求恰好在第m个店买到k个小球的概率 题解:求在前m-1个店买k-1个球再*p ...