<?xml version='1.0' encoding='UTF-8'?>
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- 61haes_r714 src/43haes/usr/sbin/cluster/utilities/udrt_sample.xml 1.1  -->
<!--                                                                        -->
<!-- Licensed Materials - Property of IBM                                   -->
<!--                                                                        -->
<!-- COPYRIGHT International Business Machines Corp. 2010                   -->
<!-- All Rights Reserved                                                    -->
<!--                                                                        -->
<!-- US Government Users Restricted Rights - Use, duplication or            -->
<!-- disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->
<!-- @(#)54	1.1  src/43haes/usr/sbin/cluster/utilities/udrt_sample.xml, hacmp, 61haes_r714 11/28/11 15:11:38 -->
<udrestypes_and_resources version="1.0">

   <udrestypes>
      <!-- Userdefined Resource Type Definition. One userdefined resource type is allowed -->
      <!-- udrtname attribute is a unique identifies for the userdefined resource type -->
      <udrestype	udrtname="VALUE" >

         <!-- In which level the resources of this resource type need to be processed -->
         <!-- the allowed values can be seen using the command "/usr/es/sbin/cluster/utilities/cludrestype -l" -->
         <PROCESS_AT_AFTER>VALUE</PROCESS_AT_AFTER>

	 <!-- The full path to the script or executable associated with starting the resource --> 
         <START_METHOD>VALUE</START_METHOD>

	 <!-- The full path to the script or executable associated with Stopping the resource --> 
         <STOP_METHOD>VALUE</STOP_METHOD>

	 <!-- The full path to the script or library, which will have custom verification checks --> 
         <!-- for the resource type and resources -->
         <VERIFY_METHOD>VALUE</VERIFY_METHOD>

         <!-- Type of VERIFY_METHOD. Allowed values are  -->
         <!-- 0-for Script -->
         <!-- 1- for Library -->
         <VERIFY_TYPE>VALUE</VERIFY_TYPE>

	 <!-- The full pathname of a method to check the application status. -->
         <MONITOR_METHOD>VALUE</MONITOR_METHOD>

         <!-- Name of the script which starts the resource. Default is the start method. -->
         <RESTART_METHOD>VALUE</RESTART_METHOD>

         <!-- Name of the script to run to stop the resource. Default is the stop method. -->
         <CLEANUP_METHOD>VALUE</CLEANUP_METHOD>

	 <!-- The full pathname of a user defined method to perform notification when a monitored resource fails. -->
         <!-- This method will execute each time a resource is restarted, fails completely, or falls over to the -->
         <!-- next node in the cluster. Configuring this method is strongly recommended. -->
         <FAILURE_NOTIFY_METHOD>VALUE</FAILURE_NOTIFY_METHOD>

         <!-- Comma seperated list of required attribute, which should be -->
         <!-- filled during creating resource of this type -->
         <REQUIRED_ATTRIBUTES>ATTRLIST</REQUIRED_ATTRIBUTES>

         <!-- Comma seperated list of Optional attributes. while creating resource -->
         <!-- for this resource type, assigning values to these attributes is optional -->
         <OPTIONAL_ATTRIBUTES>ATTRLIST</OPTIONAL_ATTRIBUTES>

         <!-- Description for this resource type -->
         <DESCRIPTION>This is a udresource </DESCRIPTION>
      </udrestype>
   </udrestypes>

   <udresources>
      
      <!-- Userdefined Resources list. Multiple resources are allowed -->
      <udresource
      		udrname="udrinst1" >

         <!-- Name of the Userdefined resource type it belongs to -->
         <!-- Usually it should be the same as that of the resource type defined above -->
	 <type>VALUE</type>

         <!-- List of attributes and their values. -->
         <attributes>

                <!-- Define value for each attribute. -->
                <!-- All attributes in REQUIRED_ATTRIBUTES list must be defined to -->
                <!-- configure a  userdefined resource -->
         	<attribute>
				<!-- Name can take one value from REQUIRED_ATTRIBUTES or OPTIONAL_ATTRIBUTES -->
				<name>attr_name</name>
			
				<!-- assine value for the above attribute -->
				<value>value</value>
         	</attribute>

         	<attribute>
				<!-- Name can take one value from REQUIRED_ATTRIBUTES or OPTIONAL_ATTRIBUTES -->
				<name>attr_name</name>
			
				<!-- assine value for the above attribute -->
				<value>value</value>
         	</attribute>

         	<attribute>
				<!-- Name can take one value from REQUIRED_ATTRIBUTES or OPTIONAL_ATTRIBUTES -->
				<name>attr_name</name>
			
				<!-- assine value for the above attribute -->
				<value>value</value>
         	</attribute>

         </attributes>
      </udresource>
   </udresources>
</udrestypes_and_resources>
