Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: doc by alan from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 1 May 2006 11:10:51 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: doc by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : doc
Dir : linux-ha/doc
Modified Files:
cibadmin.8.in
Log Message:
Put in more examples, and added a missing id string.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/doc/cibadmin.8.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- cibadmin.8.in 1 May 2006 05:08:23 -0000 1.2
+++ cibadmin.8.in 1 May 2006 17:10:50 -0000 1.3
@@ -1,4 +1,4 @@
-.TH CIBADMIN 8 "$Date: 2006/05/01 05:08:23 $" "Linux-HA/OpenHA Project"
"Heartbeat @VERSION@ Adminstration Guide"
+.TH CIBADMIN 8 "$Date: 2006/05/01 17:10:50 $" "Linux-HA/OpenHA Project"
"Heartbeat @VERSION@ Adminstration Guide"
.SH NAME
\fIcibadmin\fP \- read, modify, or administer heartbeat Cluster Information
Base
.SH SYNOPSIS
@@ -144,7 +144,7 @@
.nf
\f(CW<primitive id="R_10.10.10.101" class="ocf" type="IPaddr2"
provider="heartbeat">
- <instance_attributes>
+ <instance_attributes id="RA_R_10.10.10.10">
<attributes>
<nvpair id="R_ip_P_ip" name="ip" value="10.10.10.101"/>
<nvpair id="R_ip_P_nic" name="nic" value="eth0"/>
@@ -166,7 +166,32 @@
\fBNote:\fP This does \fInot\fP change the resource name to match the new IP
address.
To do that you have to delete and re-add the resource with a new id tag.
.PP
-To remove the IP address added previously, issue the command below:
+To stop (disable) the IP address resource added previously without removing
it, create a file
+called ''bar'' with the following content in it:
+.RS
+.nf
+\f(CW<primitive id="R_10.10.10.101">
+ <instance_attributes id="RA_R_10.10.10.101">
+ <attributes>
+ <nvpair id="stop_R_10.10.10.101" name="target_role" value="Stopped"/>
+ </attributes>
+ </instance_attributes>
+</primitive>\fP
+.fi
+.RE
+Then issue the following command:
+.RS
+\f(CWcibadmin \-\-obj_type resources \-U \-x bar\fP
+.RE
+.PP
+To restart the IP address resource stopped by the previous step, issue
+the command below:
+.RS
+\f(CWcibadmin \-D \-X '<nvpair id="stop_R_10.10.10.101">'\fP
+.RE
+.PP
+To completely remove the IP address resource from the CIB which was added
earlier,
+issue the command below:
.RS
\f(CWcibadmin \-D \-X '<primitive id="R_10.10.10.101"/>'\fP
.RE
@@ -188,7 +213,7 @@
.SH AUTHOR
\fBcibadmin\fP was written by Andrew Beekhof.
.PP
-This manual page was written by Alan Robertson.
+This manual page was originally written by Alan Robertson.
.SH CAVEATS
\fBcibadmin\fP is perfectly willing to completely mangle your CIB
if you ask it reasonably nicely.
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 30, Issue 2
*******************************************