* [Cluster-devel] cluster/rgmanager/src/utils clusvcadm.c
@ 2007-03-08 7:22 rmccabe
0 siblings, 0 replies; 3+ messages in thread
From: rmccabe @ 2007-03-08 7:22 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rmccabe at sourceware.org 2007-03-08 07:22:00
Modified files:
rgmanager/src/utils: clusvcadm.c
Log message:
Add 'M' to the getopt string to keep clusvcadm from complaining that M is an invalid option.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/clusvcadm.c.diff?cvsroot=cluster&r1=1.14&r2=1.15
--- cluster/rgmanager/src/utils/clusvcadm.c 2006/12/14 22:18:07 1.14
+++ cluster/rgmanager/src/utils/clusvcadm.c 2007/03/08 07:21:59 1.15
@@ -240,7 +240,7 @@
return 1;
}
- while ((opt = getopt(argc, argv, "lSue:d:r:n:m:vR:s:qh?")) != EOF) {
+ while ((opt = getopt(argc, argv, "lSue:M:d:r:n:m:vR:s:qh?")) != EOF) {
switch (opt) {
case 'l':
return do_lock();
^ permalink raw reply [flat|nested] 3+ messages in thread* [Cluster-devel] cluster/rgmanager/src/utils clusvcadm.c
@ 2007-03-10 0:19 lhh
0 siblings, 0 replies; 3+ messages in thread
From: lhh @ 2007-03-10 0:19 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2007-03-10 00:19:01
Modified files:
rgmanager/src/utils: clusvcadm.c
Log message:
Fix help message
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/clusvcadm.c.diff?cvsroot=cluster&r1=1.15&r2=1.16
--- cluster/rgmanager/src/utils/clusvcadm.c 2007/03/08 07:21:59 1.15
+++ cluster/rgmanager/src/utils/clusvcadm.c 2007/03/10 00:19:01 1.16
@@ -161,7 +161,7 @@
name);
printf(" %s -M <group> -m <member> Migrate <group> [to <member>]\n",
name);
-printf(" (e.g. for live migration of Xen VMs)\n");
+printf(" (e.g. for live migration of VMs)\n");
printf(" %s -q Quiet operation\n", name);
printf(" %s -R <group> Restart a group in place.\n",
name);
^ permalink raw reply [flat|nested] 3+ messages in thread* [Cluster-devel] cluster/rgmanager/src/utils clusvcadm.c
@ 2008-01-18 19:36 lhh
0 siblings, 0 replies; 3+ messages in thread
From: lhh @ 2008-01-18 19:36 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at 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]\n\n", name);
+
printf("Resource Group Control Commands:\n");
-printf(" %s -v Display version and exit\n",name);
-printf(" %s -d <group> Disable <group>\n", name);
-printf(" %s -e <group> Enable <group>\n",
- name);
-printf(" %s -e <group> -F Enable <group> according to failover\n"
- " domain rules\n", name);
-printf(" %s -e <group> -m <member> Enable <group>"
- " on <member>\n", name);
-printf(" %s -r <group> -m <member> Relocate <group> [to <member>]\n",
- name);
-printf(" %s -M <group> -m <member> Migrate <group> to <member>\n",
- name);
-printf(" (e.g. for live migration of VMs)\n");
-printf(" %s -q Quiet operation\n", name);
-printf(" %s -R <group> Restart a group in place.\n",
- name);
-printf(" %s -s <group> Stop <group>\n", name);
-printf("\n");
+printf(" -v Display version and exit\n");
+printf(" -d <group> Disable <group>. This stops a group\n"
+ " until an administrator enables it again,\n"
+ " the cluster loses and regains quorum, or\n"
+ " an administrator-defined event script\n"
+ " explicitly enables it again.\n");
+printf(" -e <group> Enable <group>\n");
+printf(" -e <group> -F Enable <group> according to failover\n"
+ " domain rules (deprecated; always the\n"
+ " case when using central processing)\n");
+printf(" -e <group> -m <member> Enable <group> on <member>\n");
+printf(" -r <group> -m <member> Relocate <group> [to <member>]\n"
+ " Stops a group and starts it on another"
+ " cluster member.\n");
+printf(" -M <group> -m <member> Migrate <group> to <member>\n");
+printf(" (e.g. for live migration of VMs)\n");
+printf(" -q Quiet operation\n");
+printf(" -R <group> Restart a group in place.\n");
+printf(" -s <group> Stop <group>. This temporarily stops\n"
+ " a group. After the next group or\n"
+ " or cluster member transition, the group\n"
+ " will be restarted (if possible).\n");
printf("Resource Group Locking (for cluster Shutdown / Debugging):\n");
-printf(" %s -l Lock local resource group manager.\n"
- " This prevents resource groups from\n"
- " starting on the local node.\n",
- name);
-printf(" %s -S Show lock state\n", name);
-printf(" %s -u Unlock local resource group manager.\n"
- " This allows resource groups to start\n"
- " on the local node.\n", name);
+printf(" -l Lock local resource group managers.\n"
+ " This prevents resource groups from\n"
+ " starting.\n");
+printf(" -S Show lock state\n");
+printf(" -u Unlock resource group managers.\n"
+ " This allows resource groups to start.\n");
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-18 19:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 7:22 [Cluster-devel] cluster/rgmanager/src/utils clusvcadm.c rmccabe
-- strict thread matches above, loose matches on Subject: below --
2007-03-10 0:19 lhh
2008-01-18 19:36 lhh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).