[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager/src/resources service.sh



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]