Someone have sample configuration for DB2 resource agent ?

I test it but when I check log in /var/log/message I see DB2 start successfull and some second DB2 stop successfull.

Before DB2 stop, It say Error: DB2 is not working in /var/log/message

anybody have sample db2 with HAE configuration please tell me