[Linux-cluster] Oracle 10G resource agent - status polling

Finnur Örn Guðmundsson - TM Software fog at t.is
Tue Jun 24 20:21:43 UTC 2008


Thanks a lot, this of course worked like a charm :)


-----Original Message-----
From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Lon Hohberger
Sent: 24. júní 2008 20:05
To: linux clustering
Subject: RE: [Linux-cluster] Oracle 10G resource agent - status polling

On Tue, 2008-06-24 at 17:35 +0000, Finnur Örn Guðmundsson - TM Software
> Hi,
> (Sorry for the top posting, i blame my email client!)
> The service is started yes.
> I was going for the cluster.conf way, IE, setting the status check to 1 minute.
> I can see it should not be a problem with a script resource but since i use the Oracle Resource Agent it kinda runs around in my head.
> Here is what i tried:
>                 <service autostart="1" exclusive="0" name="oracle1" recovery="relocate">
>                         <ip __independent_subtree="1" ref="10.x.x.x">
>                                 <fs ref="ora1-data"/>
>                                 <fs ref="ora1-archlogs"/>
>                                 <oracledb home="/u01/app/oracle" name="oracle1" type="10g" user="oracle"/>
>                                 <action name="status" depth="*" interval="1m"/>
>                         </ip>
>                 </service>

I would do it this way (the __independent_subtree option in this context
doesn't do anything useful):

<service autostart="1" exclusive="0" name="oracle1" recovery="relocate">
  <ip ref="10.x.x.x" />
  <fs ref="ora1-data" />
  <fs ref="ora1-archlogs" />
  <oracledb home="/u01/app/oracle" name="oracle1" type="10g" user="oracle">
    <action name="status" depth="*" interval="1m"/>

(action looks like a resource here, but is handled "special-case" like
by rgmanager)

-- Lon

Linux-cluster mailing list
Linux-cluster at redhat.com

More information about the Linux-cluster mailing list