- 论坛徽章:
- 0
|
Veritas CLuster Server Summary of basic cluster operations:
- Cluster Start/Stop:
+ stop VCS on all systems:
# hastop -all
+ stop VCS on hosta and move all groups out:
# hastop -sys hosta -evacuate
+ start VCS on local system:
# hastart
- Users:
+ add gui root user:
# haconf -makerw
# hauser -add root
# haconf -dump -makero
- Group:
+ group start, stop:
# hagrp -offline groupx -sys hostb
# hagrp -online groupx -sys hostb
+ switch a group to other system:
# hagrp -switch groupx -to hosta
+ freeze a group:
# hagrp -freeze groupx
+ unfreeze a group:
# hagrp -unfreeze groupx
+ enable a group:
# hagrp -enable groupx
+ disable a group:
# hagrp -disable groupx
+ enable resources a group:
# hagrp -enableresources groupx
+ disable resources a group:
# hagrp -disableresources groupx
+ flush a group:
# hagrp -flush groupx -sys hosta
- Node:
+ feeze node:
# hasys -freeze hosta
+ thaw node:
# hasys -unfreeze hosta
- Resources:
+ online a resouce:
# hares -online resource_name -sys hosta
+ offline a resouce:
# hares -offline resource_name-sys hosta
+ offline a resouce and propagte to children:
# hares -offprop resource_name -sys hosta
+ probe a resouce:
# hares -probe resource_name -sys hosta
+ clear faulted resource:
# hares -clear resource_name -sys hosta
- Agents:
+ list agent:
# haagent -list
+ list status of an agent:
# haagent -display IP
+ start agent:
# haagent -start IP -sys hosta
+ stop agent:
# haagent -stop IP -sys hosta
- Reboot a node with evacuation of all service groups:
(groupy is running on hosta)
# hastop -sys hosta -evacuate
# init 6
# hagrp -switch groupy -to hosta
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/5370/showart_138392.html |
|