<p dir="ltr">Hi,</p>
<p dir="ltr">Using one instance per service leads to a memory issues espacially when we have many instance per node.</p>
<p dir="ltr">Regarding the 2nd point, I think it's better to read the flag on Y/N in the oratab.</p>
<p dir="ltr">I see some issue/missbehavior, when, some db has N in oratab (the instance shouldn't run), the cluster try to bring it UP. Any thoughts ?</p>
<p dir="ltr">Cheers,</p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 23, 2017, 5:01 PM emmanuel segura <<a href="mailto:emi2fast@gmail.com">emi2fast@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think no, in /usr/lib/ocf/resource.d/heartbeat/oralsnr<br class="gmail_msg">
<br class="gmail_msg">
start function, oralsnr_start = "output=`echo lsnrctl start $listener<br class="gmail_msg">
| runasdba`"<br class="gmail_msg">
stop function, oralsnr_stop = "output=`echo lsnrctl stop $listener | runasdba`"<br class="gmail_msg">
<br class="gmail_msg">
Where listener variable is the resource agent parameter given by<br class="gmail_msg">
pacemaker : # OCF_RESKEY_listener (optional; defaults to LISTENER)<br class="gmail_msg">
<br class="gmail_msg">
Why don't use one listener per instance?<br class="gmail_msg">
<br class="gmail_msg">
2017-02-23 16:37 GMT+01:00 Jihed M'selmi <<a href="mailto:jihed.mselmi@gmail.com" class="gmail_msg" target="_blank">jihed.mselmi@gmail.com</a>>:<br class="gmail_msg">
> I was reading the oralsnr script, I found that to stop a listener the agent<br class="gmail_msg">
> uses the lsnrctl to stop the instances.<br class="gmail_msg">
><br class="gmail_msg">
> My questions, how to configure this agent for an oracle listener attached<br class="gmail_msg">
> the multiple instance ?<br class="gmail_msg">
><br class="gmail_msg">
> My 2nd quest, is it possible to enhance the ora-common.sh and<br class="gmail_msg">
> resource.d/oracle to take in account the flag y/n in the oratab in order to<br class="gmail_msg">
> start the database or no ?<br class="gmail_msg">
><br class="gmail_msg">
> Cheers,<br class="gmail_msg">
><br class="gmail_msg">
> --<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Jihed MSELMI<br class="gmail_msg">
> RHCE, RHCSA, VCP4<br class="gmail_msg">
> 10 Villa Stendhal, 75020 Paris France<br class="gmail_msg">
> Mobile: +33 (0) 753768653<br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> Users mailing list: <a href="mailto:Users@clusterlabs.org" class="gmail_msg" target="_blank">Users@clusterlabs.org</a><br class="gmail_msg">
> <a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.clusterlabs.org/mailman/listinfo/users</a><br class="gmail_msg">
><br class="gmail_msg">
> Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.clusterlabs.org</a><br class="gmail_msg">
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" class="gmail_msg" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br class="gmail_msg">
> Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" class="gmail_msg" target="_blank">http://bugs.clusterlabs.org</a><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
.~.<br class="gmail_msg">
/V\<br class="gmail_msg">
// \\<br class="gmail_msg">
/( )\<br class="gmail_msg">
^`~'^<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Users mailing list: <a href="mailto:Users@clusterlabs.org" class="gmail_msg" target="_blank">Users@clusterlabs.org</a><br class="gmail_msg">
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.clusterlabs.org/mailman/listinfo/users</a><br class="gmail_msg">
<br class="gmail_msg">
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.clusterlabs.org</a><br class="gmail_msg">
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" class="gmail_msg" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br class="gmail_msg">
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" class="gmail_msg" target="_blank">http://bugs.clusterlabs.org</a><br class="gmail_msg">
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div><br><br></div><div>Jihed MSELMI<br></div><div><span>RHCE, </span>RHCSA, VCP4 <br></div>10 Villa Stendhal, 75020 Paris France<br></div>Mobile: +33 (0) 753768653</div></div>