FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-18-2008, 06:36 PM
 
Default cluster/rgmanager/src/utils clusvcadm.c

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh@sourceware.org 2008-01-18 19:36:47

Modified files:
rgmanager/src/utils: clusvcadm.c

Log message:
fix 429248

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/clusvcadm.c.diff?cvsroot=cluster&r1=1.23&r2=1.24

--- cluster/rgmanager/src/utils/clusvcadm.c 2007/11/30 20:06:55 1.23
+++ cluster/rgmanager/src/utils/clusvcadm.c 2008/01/18 19:36:47 1.24
@@ -153,34 +153,38 @@
void
usage(char *name)
{
+printf("usage: %s [command]

", name);
+
printf("Resource Group Control Commands:
");
-printf(" %s -v Display version and exit
",name);
-printf(" %s -d <group> Disable <group>
", name);
-printf(" %s -e <group> Enable <group>
",
- name);
-printf(" %s -e <group> -F Enable <group> according to failover
"
- " domain rules
", name);
-printf(" %s -e <group> -m <member> Enable <group>"
- " on <member>
", name);
-printf(" %s -r <group> -m <member> Relocate <group> [to <member>]
",
- name);
-printf(" %s -M <group> -m <member> Migrate <group> to <member>
",
- name);
-printf(" (e.g. for live migration of VMs)
");
-printf(" %s -q Quiet operation
", name);
-printf(" %s -R <group> Restart a group in place.
",
- name);
-printf(" %s -s <group> Stop <group>
", name);
-printf("
");
+printf(" -v Display version and exit
");
+printf(" -d <group> Disable <group>. This stops a group
"
+ " until an administrator enables it again,
"
+ " the cluster loses and regains quorum, or
"
+ " an administrator-defined event script
"
+ " explicitly enables it again.
");
+printf(" -e <group> Enable <group>
");
+printf(" -e <group> -F Enable <group> according to failover
"
+ " domain rules (deprecated; always the
"
+ " case when using central processing)
");
+printf(" -e <group> -m <member> Enable <group> on <member>
");
+printf(" -r <group> -m <member> Relocate <group> [to <member>]
"
+ " Stops a group and starts it on another"
+ " cluster member.
");
+printf(" -M <group> -m <member> Migrate <group> to <member>
");
+printf(" (e.g. for live migration of VMs)
");
+printf(" -q Quiet operation
");
+printf(" -R <group> Restart a group in place.
");
+printf(" -s <group> Stop <group>. This temporarily stops
"
+ " a group. After the next group or
"
+ " or cluster member transition, the group
"
+ " will be restarted (if possible).
");
printf("Resource Group Locking (for cluster Shutdown / Debugging):
");
-printf(" %s -l Lock local resource group manager.
"
- " This prevents resource groups from
"
- " starting on the local node.
",
- name);
-printf(" %s -S Show lock state
", name);
-printf(" %s -u Unlock local resource group manager.
"
- " This allows resource groups to start
"
- " on the local node.
", name);
+printf(" -l Lock local resource group managers.
"
+ " This prevents resource groups from
"
+ " starting.
");
+printf(" -S Show lock state
");
+printf(" -u Unlock resource group managers.
"
+ " This allows resource groups to start.
");
}
 

Thread Tools




All times are GMT. The time now is 09:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org