maintenance commands hagrp(1m)
【程序编程相关:模板和异常的问题】name 【推荐阅读:SQL Server连接失败错误及解决[】
synopsis 【扩展信息:模板类的练习——栈 】
hagrp - perform vcs service group operations hagrp -add grouphagrp -autoenable group -sys system
hagrp -clear group [-sys system]
hagrp -delete group
hagrp -dep [group(s)]
hagrp -disable group [-sys system]
hagrp -disableresources group
hagrp -display [group] [-attribute attribute(s)] [-
sys system(s)]hagrp -enable group [-sys system]
hagrp -enableresources group
hagrp -flush group -sys system
hagrp -freeze group [-persistent]
hagrp -help [-modify | -link | -list]
hagrp -link parent_group child_group dependency
hagrp -list [conditional(s)]
hagrp -modify modify_options
hagrp -offline group -sys system
hagrp [-nopre] -online group -sys system
hagrp -resources group
hagrp -state group -sys system
hagrp -switch group -to system
hagrp -unfreeze group [-persistent]
hagrp -unlink parent_group child_group
vcs 2.0 last change: january 2002 1
maintenance commands hagrp(1m)
hagrp -value group attr [system]
availability
vrtsvcsdescription
a service group is an instance of a computer service that is made highly available with vcs. a group comprises one or more resources of various resource types, such as disks, volumes, or databases. use the hagrp command to view infor- mation about and manage each group.options
-add group add a service group to the cluster.-autoenable group -sys system
when vcs does not know the status of a given ser- vice group on a given system, it marks that ser- vice group as auto-disabled by setting the autodisabled attribute to 1 for that system. this can happen if vcs is not running on that system, or if all the resources in the service group on that system are not probed yet. a service group ... 下一页