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 |
注册
个人空间
