阅 读 文 章

VCS 学习笔记

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(风之幻想) | 时间:2007-05-27 | 浏览:人次 ]


Use hacf to verify(check syntax of) the main.cf and the type definition file,types,cf.
Hacf –verify config_directory
To install a new license
Cd /opt/VRTS/bin
#./vxlicinst –k xxxxxxxxxxxxxxxxx
To update licensing information in a running cluster
1、 updae system-level licensing information on all nodes in the cluster:
#hasy – updatelic -all
2、 update cluster-level licensing information:
#aclus – updatelic
To start VCS
# hastart [-stale|-force]
The option –stale instructs the engine to treat the local configuration as stale even if it is valid. The option – force instructs the engine to treat a stale but otherwise valid local configuration as valid.
To start VCS when all systems are in ADMIN_WAIT
Run the following command from any system in the cluster to force VCS to use the configuration file from the system specified by the variable system:
#hasys – force system
To start VCS on a single node
#hastart –onenode
To start VCS as a time-sharing process
#hastart –ts
Stopping VCS
The hastop command stops HAD and related processes. This command includes the following options:
 Hastop –all [-force]
 Hastop [-help]
 Hastop –local [-force |-evacuate|-noautodisable]
The option –all stops HAD on all systems in the cluster and take all service groups offline.
The option –local stops HAD on the system on which you typed the command.
The option –force allows HAD to be stopped without taking service groups offline on the system
The option –evacuate when combined with –local or –sys migrates the system’s active service groups to another system in the cluster, before the system is stopped.
The option –noautodisable ensures that service groups that can run on the node where the hastop command was issued are not autodisabled.This option can be used with –evacuate but not with –force.
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 笔记 学习 回复 #hauser #haconf Theoption Operator

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.