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. Jsp四个作用域page、request、session和application的区别

    1.简单说 page指当前页面.在一个jsp页面里有效  2.request 指从http请求到服务器处理结束,返回响应的整个过程.在这个过程中使用forward方式跳转多个jsp.在这些页面里你都可 ...

  2. Android 性能优化(24)*性能工具之「Traceview,dmtracedump」Profiling with Traceview and dmtracedump :记录并查看函数调用栈*

    Profiling with Traceview and dmtracedump In this document Traceview Layout         Traceview工具界面介绍 T ...

  3. 232 Implement Queue using Stacks 用栈来实现队列

    使用栈来实现队列的如下操作: push(x) -- 将一个元素放入队列的尾部.pop() -- 从队列首部移除元素.peek() -- 返回队列首部的元素.empty() -- 返回队列是否为空.注意 ...

  4. NodeJs学习记录(二)win7下 配置node连接oracle的环境

    2017/01/23 星期一 前言:还没看几眼教程,就开始分配任务,涉及到连oracle数据库,所以顺便把整个环境的配置放上来 安装文件清单(1).node-v6.9.1-x64.msi(2).pyt ...

  5. malloc()函数的使用

    malloc是向系统申请分配指定size个字节的内存空间.返回值类型为void *类型.void *表示未确定的类型指针.C语言中,void *类型可以强制转换为任何其他类型的指针. 语法:void ...

  6. EditPlus里面自带有更改文件编码的功能

  7. 【alert(1) to win】不完全攻略

    alert(1) to win 一个练习XSS的平台,地址:https://alf.nu/alert1 Warmup 给出了一段JavaScript代码 function escape(s) { re ...

  8. Vue指令6:v-show

    根据表达式的真假值来渲染元素 用法大致一样: <h1 v-show="ok">Hello!</h1> 不同的是带有 v-show 的元素始终会被渲染并保留在 ...

  9. CAD得到ImageMark数据(com接口VB语言)

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 ...

  10. ThinkPHP---插件highcharts

    [一]概论 (1)介绍 基于jquery开发的国外图标插件,统计图,折线图,饼状图等常常用到. 国内也有一款类似插件echarts,由百度开发. (2)官网:www.highcharts.com    ...