All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/rgmanager/src/resources service.sh
@ 2007-02-14 16:20 lhh
  0 siblings, 0 replies; 5+ messages in thread
From: lhh @ 2007-02-14 16:20 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2007-02-14 16:20:27

Modified files:
	rgmanager/src/resources: service.sh 

Log message:
	Fix bad commit - replace copyright / depend tag

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/service.sh.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.7.2.1&r2=1.7.2.2

--- cluster/rgmanager/src/resources/service.sh	2007/02/14 16:17:15	1.7.2.1
+++ cluster/rgmanager/src/resources/service.sh	2007/02/14 16:20:26	1.7.2.2
@@ -1,8 +1,26 @@
 #!/bin/bash
 
 #
-# Dummy OCF script for resource group; the OCF spec doesn't support abstract
-# resources. ;(
+#  Copyright Red Hat, Inc. 2004-2006
+#
+#  This program is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by the
+#  Free Software Foundation; either version 2, or (at your option) any
+#  later version.
+#
+#  This program is distributed in the hope that it will be useful, but
+#  WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; see the file COPYING.  If not, write to the
+#  Free Software Foundation, Inc.,  675 Mass Ave, Cambridge, 
+#  MA 02139, USA.
+#
+
+#
+# Dummy OCF script for resource group
 #
 
 # Grab nfs lock tricks if available
@@ -125,6 +143,17 @@
             </shortdesc>
             <content type="string"/>
         </parameter>
+
+        <parameter name="depend">
+            <longdesc lang="en">
+		Top-level service this depends on, in "service:name" format.
+            </longdesc>
+            <shortdesc lang="en">
+		Service dependency; will not start without the specified
+		service running.
+            </shortdesc>
+            <content type="string"/>
+        </parameter>
     </parameters>
 
     <actions>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Cluster-devel] cluster/rgmanager/src/resources service.sh
@ 2007-11-13 17:38 lhh
  0 siblings, 0 replies; 5+ messages in thread
From: lhh @ 2007-11-13 17:38 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2007-11-13 17:38:44

Modified files:
	rgmanager/src/resources: service.sh 

Log message:
	Ensure service.sh has explicit default values

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/service.sh.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.7.2.5&r2=1.7.2.6

--- cluster/rgmanager/src/resources/service.sh	2007/07/31 17:54:55	1.7.2.5
+++ cluster/rgmanager/src/resources/service.sh	2007/11/13 17:38:43	1.7.2.6
@@ -77,7 +77,7 @@
             <shortdesc lang="en">
 	    	Automatic start after quorum formation
             </shortdesc>
-            <content type="boolean"/>
+            <content type="boolean" default="1"/>
         </parameter>
 
         <parameter name="hardrecovery" reconfig="1">
@@ -92,7 +92,7 @@
             <shortdesc lang="en">
 	    	Reboot if stop phase fails
             </shortdesc>
-            <content type="boolean"/>
+            <content type="boolean" default="0"/>
         </parameter>
 
         <parameter name="exclusive">
@@ -109,7 +109,7 @@
             <shortdesc lang="en">
 	        Exclusive resource group
             </shortdesc>
-            <content type="boolean"/>
+            <content type="boolean" default="0"/>
         </parameter>
 
 	<parameter name="nfslock">
@@ -125,7 +125,7 @@
 	    <shortdesc lang="en">
 	        Enable NFS lock workarounds
 	    </shortdesc>
-	    <content type="boolean"/>
+	    <content type="boolean" default="0"/>
 	</parameter>
                 
         <parameter name="recovery" reconfig="1">
@@ -141,7 +141,7 @@
             <shortdesc lang="en">
 	    	Failure recovery policy
             </shortdesc>
-            <content type="string"/>
+            <content type="string" default="restart"/>
         </parameter>
 
         <parameter name="depend">



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Cluster-devel] cluster/rgmanager/src/resources service.sh
@ 2007-02-14 16:22 lhh
  0 siblings, 0 replies; 5+ messages in thread
From: lhh @ 2007-02-14 16:22 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	lhh at sourceware.org	2007-02-14 16:22:39

Modified files:
	rgmanager/src/resources: service.sh 

Log message:
	Make service.sh understand lvm RA type

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/service.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.4&r2=1.1.2.5

--- cluster/rgmanager/src/resources/service.sh	2006/05/16 20:03:04	1.1.2.4
+++ cluster/rgmanager/src/resources/service.sh	2007/02/14 16:22:39	1.1.2.5
@@ -143,16 +143,17 @@
     
     <special tag="rgmanager">
         <attributes root="1" maxinstances="1"/>
-        <child type="fs" start="1" stop="8"/>
-        <child type="clusterfs" start="2" stop="7"/>
-        <child type="netfs" start="3" stop="6"/>
-	<child type="nfsexport" start="4" stop="5"/>
+        <child type="lvm" start="1" stop="9"/>
+        <child type="fs" start="2" stop="8"/>
+        <child type="clusterfs" start="3" stop="7"/>
+        <child type="netfs" start="4" stop="6"/>
+	<child type="nfsexport" start="5" stop="5"/>
 
-	<child type="nfsclient" start="5" stop=""/>
+	<child type="nfsclient" start="6" stop=""/>
 
-        <child type="ip" start="6" stop="2"/>
-        <child type="smb" start="7" stop="3"/>
-        <child type="script" start="7" stop="1"/>
+        <child type="ip" start="7" stop="2"/>
+        <child type="smb" start="8" stop="3"/>
+        <child type="script" start="9" stop="1"/>
     </special>
 </resource-agent>
 EOT



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Cluster-devel] cluster/rgmanager/src/resources service.sh
@ 2007-02-14 16:21 lhh
  0 siblings, 0 replies; 5+ messages in thread
From: lhh @ 2007-02-14 16:21 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh at sourceware.org	2007-02-14 16:21:41

Modified files:
	rgmanager/src/resources: service.sh 

Log message:
	Make service.sh understand lvm RA type

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/service.sh.diff?cvsroot=cluster&r1=1.7&r2=1.8

--- cluster/rgmanager/src/resources/service.sh	2006/07/12 16:53:09	1.7
+++ cluster/rgmanager/src/resources/service.sh	2007/02/14 16:21:41	1.8
@@ -172,16 +172,17 @@
     
     <special tag="rgmanager">
         <attributes root="1" maxinstances="1"/>
-        <child type="fs" start="1" stop="8"/>
-        <child type="clusterfs" start="2" stop="7"/>
-        <child type="netfs" start="3" stop="6"/>
-	<child type="nfsexport" start="4" stop="5"/>
+        <child type="lvm" start="1" stop="9"/>
+        <child type="fs" start="2" stop="8"/>
+        <child type="clusterfs" start="3" stop="7"/>
+        <child type="netfs" start="4" stop="6"/>
+	<child type="nfsexport" start="5" stop="5"/>
 
-	<child type="nfsclient" start="5" stop=""/>
+	<child type="nfsclient" start="6" stop="4"/>
 
-        <child type="ip" start="6" stop="2"/>
-        <child type="smb" start="7" stop="3"/>
-        <child type="script" start="7" stop="1"/>
+        <child type="ip" start="7" stop="2"/>
+        <child type="smb" start="8" stop="3"/>
+        <child type="script" start="9" stop="1"/>
     </special>
 </resource-agent>
 EOT



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Cluster-devel] cluster/rgmanager/src/resources service.sh
@ 2007-02-14 16:17 lhh
  0 siblings, 0 replies; 5+ messages in thread
From: lhh @ 2007-02-14 16:17 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2007-02-14 16:17:15

Modified files:
	rgmanager/src/resources: service.sh 

Log message:
	Make service.sh understand lvm RA type

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/service.sh.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.7&r2=1.7.2.1

--- cluster/rgmanager/src/resources/service.sh	2006/07/12 16:53:09	1.7
+++ cluster/rgmanager/src/resources/service.sh	2007/02/14 16:17:15	1.7.2.1
@@ -1,26 +1,8 @@
 #!/bin/bash
 
 #
-#  Copyright Red Hat, Inc. 2004-2006
-#
-#  This program is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by the
-#  Free Software Foundation; either version 2, or (at your option) any
-#  later version.
-#
-#  This program is distributed in the hope that it will be useful, but
-#  WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-#  General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; see the file COPYING.  If not, write to the
-#  Free Software Foundation, Inc.,  675 Mass Ave, Cambridge, 
-#  MA 02139, USA.
-#
-
-#
-# Dummy OCF script for resource group
+# Dummy OCF script for resource group; the OCF spec doesn't support abstract
+# resources. ;(
 #
 
 # Grab nfs lock tricks if available
@@ -143,17 +125,6 @@
             </shortdesc>
             <content type="string"/>
         </parameter>
-
-        <parameter name="depend">
-            <longdesc lang="en">
-		Top-level service this depends on, in "service:name" format.
-            </longdesc>
-            <shortdesc lang="en">
-		Service dependency; will not start without the specified
-		service running.
-            </shortdesc>
-            <content type="string"/>
-        </parameter>
     </parameters>
 
     <actions>
@@ -172,16 +143,17 @@
     
     <special tag="rgmanager">
         <attributes root="1" maxinstances="1"/>
-        <child type="fs" start="1" stop="8"/>
-        <child type="clusterfs" start="2" stop="7"/>
-        <child type="netfs" start="3" stop="6"/>
-	<child type="nfsexport" start="4" stop="5"/>
-
-	<child type="nfsclient" start="5" stop=""/>
-
-        <child type="ip" start="6" stop="2"/>
-        <child type="smb" start="7" stop="3"/>
-        <child type="script" start="7" stop="1"/>
+        <child type="lvm" start="1" stop="9"/>
+        <child type="fs" start="2" stop="8"/>
+        <child type="clusterfs" start="3" stop="7"/>
+        <child type="netfs" start="4" stop="6"/>
+	<child type="nfsexport" start="5" stop="5"/>
+
+	<child type="nfsclient" start="6" stop="4"/>
+
+        <child type="ip" start="7" stop="2"/>
+        <child type="smb" start="8" stop="3"/>
+        <child type="script" start="9" stop="1"/>
     </special>
 </resource-agent>
 EOT



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-13 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 16:20 [Cluster-devel] cluster/rgmanager/src/resources service.sh lhh
  -- strict thread matches above, loose matches on Subject: below --
2007-11-13 17:38 lhh
2007-02-14 16:22 lhh
2007-02-14 16:21 lhh
2007-02-14 16:17 lhh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.