From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Grac Date: Wed, 29 Apr 2009 10:35:13 +0200 Subject: [Cluster-devel] creating new resource agent. In-Reply-To: <0FC43F50AD06BE45A64E85AC60253EBD2E116D2C37@GVW1159EXB.americas.hpqcorp.net> References: <0FC43F50AD06BE45A64E85AC60253EBD2E116D2C37@GVW1159EXB.americas.hpqcorp.net> Message-ID: <49F81141.8070703@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, K, Bheemesh wrote: > > > > I need to integrate an application with RHCS for which there is no > resource agent. > > How to create a new resource agent? Or is adding it as a script > resource the only way out? > If you don't need multiple instances of this application on cluster then script resource is easiest solution as you can usually use init script for yours application without modifications. If you want to write a resource agent then have a look at tomcat.sh / tomcat.metadata which is quite long but very easy to understand. m,