VCS 一次使用。
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 一次使用。的更多相关文章
- Android Studio的SVN Performing VCS Refresh/Commit 长时间不结束
给Android Studio项目里面的一个文件改名以后,再提交SVN时总是提示冲突,没办法解决.再后来不知道怎么弄的,每次提交时停留在SVN Performing VCS Refresh始终都不会完 ...
- android studio如何开启与禁用版本控制vcs
1.开启
- VCS仿真查看coverage
VCS仿真查看coverage Design compiler & simulate #!/bin/csh -f setenv NOVAS_HOME /EDASynopsys/verdi3-I ...
- VCS仿真 Dump Memory
VCS仿真 Dump Memory 两种方法 vcs联合verdi生成fsdb文件 vcs生成vpd文件 VCS联合verdi生成fsdb文件 1.testbench中加入如下语句: initial ...
- VCS仿真生成fsdb文件(Verilog)
VCS仿真生成fsdb文件(Verilog) 一.环境 Linux 平台 csh环境 VCS 64bit Verdi3 二.开始仿真 1. 联合仿真环境配置 a.在testbench中加入如下语句: ...
- VCS仿真生成vpd文件(verilog)
VCS仿真生成vpd文件(verilog) 一.环境与文件 Linux平台 csh环境 VCS 64bit 代码文件请参考<一个简单的Verilog计数器模型> 二.开始仿真 1.com ...
- VCS引起的oracle数据库异常重新启动一例
1. 环境描写叙述 操作系统版本号:SUSE Linux Enterprise Server 10 sp2 (x86_64) 数据库版本号:Oracle 11.1.0.7.16 VCS版本号:5.1 ...
- vcs 下使用system verilog调用c函数
c中要加入<svdpi.h> sv的tb中加入 import "DPI-C" function int funcname(); 仿真时,vcs命令行中加入 +vc fu ...
- 在VCS仿真器中使用FSDB[转载]
来源:https://www.cnblogs.com/catannie/p/8099331.html FSDB(Fast Signal Database)是Verdi支持的文件格式,用于保存仿真产生的 ...
- 在VCS仿真器中使用FSDB
FSDB(Fast Signal Database)是Verdi支持的文件格式,用于保存仿真产生的信号波形.据Verdi文档说明,FSDB比标准的VCD格式节省磁盘空间,处理速度更快.要用VCS仿真器 ...
随机推荐
- Focusky的下载、安装、注册和使用(动画演示大师)
一.下载 二.安装 三.使用 四.注册 五.附录 非常感谢Focusky官方团队开发并提供实用的这么一款软件!!! 一.下载 http://www.focusky.com.cn/ 二.安装 三.使用 ...
- log4j2异步日志解读(一)AsyncAppender
log4j.logback.log4j2 历史和关系,我们就在这里不展开讲了.直接上干货,log4j2突出于其他日志的优势,异步日志实现. 看一个东西,首先看官网文档 ,因为前面文章已经讲解了disr ...
- 如何向expect脚本里面传递参数
如何向expect脚本里面传递参数 比如下面脚本用来做ssh无密码登陆,自动输入确认yes和密码信息,用户名,密码,hostname通过参数来传递 ssh.exp Python代码 # ...
- Chromium浏览器编译成功庆祝
1.什么是Chromium Chromium 是Google公司的开源项目 Google浏览器 最新版360浏览器 都是在Chromium的基础上重新编译的. 2.什么是双核浏览器 ...
- Angular——内置过滤器
基本介绍 在AngularJS中使用过滤器格式化展示数据,在“{{}}”中使用“|”来调用过滤器,使用“:”传递参数. 基本使用 过滤器可以串起来使用,只要用 | 来衔接就行了,可以将上次返回的 ...
- rem布局进入页面样式错乱解决
开发项目时候第一次遇到rem布局进入页面瞬间样式错乱问题: //该段js为rem布局应用 如10px = 0.1rem; (function(doc, win) { var docEl = doc.d ...
- springMVC接收get请求传递多个参数
@RequestMapping(value = "/sendSignal/{state}/{limberId}/{account}", method = RequestMethod ...
- swing jTable排序问题(点击表头排序)
1.JDK6自带排序实现: tableName.setAutoCreateRowSorter(true); 2.其实界面设计中勾选一个属性就搞定了: .
- iOS布局分类
1.线性布局: 2.集合布局: 3.单元布局: 需要考虑因素: 空间充足.空间不足时内容.尺寸的取舍.
- day21-1 类的继承
目录 类的继承 什么是继承 为什么用继承 对象的继承 继承与抽象 继承的应用 对象属性查找顺序 类的继承 什么是继承 继承是一种创建新类的方式,新建的类可以继承一个或多个父类(python支持多继承) ...