Skip to contentSkip to conversation

cluster/rgmanager/src/resources apache.metadat ...

Cluster-devel [email protected] 1 participant 1 message Oct 10, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: mgrac at sourceware.org 2006-10-10 13:57:52

Added files:
rgmanager/src/resources: apache.metadata apache.sh
mysql.metadata mysql.sh openldap.metadata openldap.sh postgres-8.metadata postgres-8.sh samba.metadata samba.sh tomcat-5.metadata tomcat-5.sh

Log message:
Bug #204403. Resource agents for Apache, MySQL, OpenLDAP, Postgres 8, Samba and Tomcat 5.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/apache.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.3.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/apache.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.9.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/mysql.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.3.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/mysql.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.8.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/openldap.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/openldap.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.7.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/postgres-8.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/postgres-8.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/samba.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/samba.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/tomcat-5.metadata.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/tomcat-5.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.1.2.1

/cvs/cluster/cluster/rgmanager/src/resources/apache.metadata,v --> standard output revision 1.3.2.1

- renamed from rgmanager/src/resources/apache.metadata +95 -0
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+<resource-agent version="rgmanager 2.0" name="apache">
+    <version>1.0</version>
+
+    <longdesc lang="en">
+        This defines an instance of Apache web server
+    </longdesc>
+    <shortdesc lang="en">
+        Defines an Apache web server
+    </shortdesc>
+
+    <parameters>
+        <parameter name="name" primary="1">
+	    <longdesc lang="en">
+	        Define a name for use in &lt;IfDefine name&gt; directive.
+	    </longdesc>
+            <shortdesc lang="en">
+                Name
+            </shortdesc>
+	    <content type="string"/>
+        </parameter>
+
+        <parameter name="server_root">
+            <longdesc lang="en">
+                Define an alternate initial ServerRoot
+            </longdesc>
+            <shortdesc lang="en">
+                Initial ServerRoot
+            </shortdesc>
+	    <content type="string" default="/etc/httpd"/>
+        </parameter>
+
+        <parameter name="config_file">
+            <longdesc lang="en">
+                Define an alternate ServerConfigFile
+            </longdesc>
+            <shortdesc lang="en">
+                Initial ServerConfigFile
+            </shortdesc>
+            <content type="string" default="conf/httpd.conf"/>
+        </parameter>
+
+	<parameter name="httpd_options">
+		<longdesc lang="en">
+			Other command-line options for httpd
+		</longdesc>
+		<shortdesc lang="en">
+			Other command-line options for httpd
+		</shortdesc>
+		<content type="string" />
+	</parameter>
+
+	<parameter name="shutdown_wait">
+		<longdesc lang="en">
+			Wait X seconds for correct end of service shutdown
+		</longdesc>
+		<shortdesc lang="en">
+			Wait X seconds for correct end of service shutdown
+		</shortdesc>
+		<content type="number" />
+	</parameter>
+
+        <parameter name="service_name" inherit="service%name">
+            <longdesc lang="en">
+	    	Inherit the service name.  We need to know
+		the service name in order to determine file
+		systems and IPs for this service.
+            </longdesc>
+            <shortdesc lang="en">
+	    	Inherit the service name.
+            </shortdesc>
+	    <content type="string"/>
+        </parameter>
+
+    </parameters>
+
+    <actions>
+        <action name="start" timeout="0"/>
+	<action name="stop" timeout="0"/>
+
+	<!-- Checks to see if it''s mounted in the right place -->
+	<action name="status" interval="1m" timeout="10"/>
+	<action name="monitor" interval="1m" timeout="10"/>
+
+	<!-- Checks to see if we can read from the mountpoint -->
+	<action name="status" depth="10" timeout="30" interval="5m"/>
+	<action name="monitor" depth="10" timeout="30" interval="5m"/>
+
+	<action name="meta-data" timeout="0"/>
+	<action name="verify-all" timeout="0"/>
+    </actions>
+
+    <special tag="rgmanager">
+    </special>
+</resource-agent>

/cvs/cluster/cluster/rgmanager/src/resources/apache.sh,v --> standard output revision 1.9.2.1

- renamed from rgmanager/src/resources/apache.sh +277 -0

277 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/mysql.metadata,v --> standard output revision 1.3.2.1

- renamed from rgmanager/src/resources/mysql.metadata +96 -0

96 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/mysql.sh,v --> standard output revision 1.8.2.1

- renamed from rgmanager/src/resources/mysql.sh +205 -0

205 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/openldap.metadata,v --> standard output revision 1.2.2.1

- renamed from rgmanager/src/resources/openldap.metadata +98 -0

98 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/openldap.sh,v --> standard output revision 1.7.2.1

- renamed from rgmanager/src/resources/openldap.sh +240 -0

240 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/postgres-8.metadata,v --> standard output revision 1.2.2.1

- renamed from rgmanager/src/resources/postgres-8.metadata +95 -0

95 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/postgres-8.sh,v --> standard output revision 1.5.2.1

- renamed from rgmanager/src/resources/postgres-8.sh +225 -0

225 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/samba.metadata,v --> standard output revision 1.2.2.1

- renamed from rgmanager/src/resources/samba.metadata +89 -0

89 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/samba.sh,v --> standard output revision 1.5.2.1

- renamed from rgmanager/src/resources/samba.sh +254 -0

254 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/tomcat-5.metadata,v --> standard output revision 1.1.2.1

- renamed from rgmanager/src/resources/tomcat-5.metadata +104 -0

104 lines not on this page · raw message

/cvs/cluster/cluster/rgmanager/src/resources/tomcat-5.sh,v --> standard output revision 1.1.2.1

- renamed from rgmanager/src/resources/tomcat-5.sh +287 -0

287 lines not on this page · raw message