On Thu, Apr 15, 2010 at 2:38 PM, Edi BELIC <e...@office.velenje.add.si> wrote: > Hi - We have two nodes - sles5 and sles6 . My oracle LSB resource is > running on node "sles5". There are constraint configured INFINITY on > node sles5 for group_ora1. > > When I reboot, or restart heartbeat service on node sles6 also the > oracle is restarted (down/up) on sles5. Please let me know what the > problem could be. Thank you.
presumably the machine is configured to start oracle when it boots. > > sles6:~ # cibadmin -o resources -Q > > <resources> > > <group ordered="true" collocated="true" id="group_ora1"> > > <primitive class="ocf" type="Filesystem" provider="heartbeat" > id="resource_data1"> > > <instance_attributes id="resource_data1_instance_attrs"> > > <attributes> > > <nvpair name="target_role" id="resource_data1_target_role" > value="started"/> > > <nvpair id="e636c1ae-0404-4b8f-8cb5-8bc764df4e53" > name="device" value="/dev/disk/by-label/data1"/> > > <nvpair id="3ec23815-d73d-40aa-84f2-d334924cacb9" > name="fstype" value="reiserfs"/> > > <nvpair id="d5a6d4f3-0ad2-4d21-96a6-1c5d2f4f75f0" > name="directory" value="/ora/data1"/> > > </attributes> > > </instance_attributes> > > <instance_attributes id="resource_data1"> > > <attributes> > > <nvpair name="is_managed" id="resource_data1-is_managed" > value="on"/> > > </attributes> > > </instance_attributes> > > <operations/> > > </primitive> > > <instance_attributes id="group_ora1_instance_attrs"> > > <attributes> > > <nvpair id="group_ora1_target_role" name="target_role" > value="started"/> > > </attributes> > > </instance_attributes> > > <primitive class="ocf" type="Filesystem" provider="heartbeat" > id="resource_redo1"> > > <instance_attributes id="resource_redo1_instance_attrs"> > > <attributes> > > <nvpair name="target_role" id="resource_redo1_target_role" > value="started"/> > > <nvpair id="397dfc56-4c1a-4075-a931-87138a4525ef" > name="fstype" value="reiserfs"/> > > <nvpair id="5d9b6492-948c-4603-9695-f453521727e6" > name="device" value="/dev/disk/by-label/redo1"/> > > <nvpair id="2389ba65-1734-4b1e-976b-5998af05c1ca" > name="directory" value="/ora/redo1"/> > > </attributes> > > </instance_attributes> > > </primitive> > > <primitive id="resource_arch1" class="ocf" type="Filesystem" > provider="heartbeat"> > > <instance_attributes id="resource_arch1_instance_attrs"> > > <attributes> > > <nvpair id="resource_arch1_target_role" name="target_role" > value="started"/> > > <nvpair id="04698640-031a-452b-bf13-3e357fb1cbaa" > name="fstype" value="reiserfs"/> > > <nvpair id="aa0f46f9-d8fc-4efa-be1b-16ba4dbbed56" > name="device" value="/dev/disk/by-label/arch1"/> > > <nvpair id="3d1749b4-14e7-4bc4-9957-f703c9ce5d5e" > name="directory" value="/ora/arch1"/> > > </attributes> > > </instance_attributes> > > </primitive> > > <primitive id="resource_rman1" class="ocf" type="Filesystem" > provider="heartbeat"> > > <instance_attributes id="resource_rman1_instance_attrs"> > > <attributes> > > <nvpair id="resource_rman1_target_role" name="target_role" > value="started"/> > > <nvpair id="0605986b-0882-4b91-8b77-2b0e265a8ab2" > name="fstype" value="reiserfs"/> > > <nvpair id="bfe37954-8d65-470d-ae7b-70a50aad3687" > name="device" value="/dev/disk/by-label/rman1"/> > > <nvpair id="f9998b52-9fad-48c1-b9a5-ad119a08257b" > name="directory" value="/ora/rman1"/> > > </attributes> > > </instance_attributes> > > </primitive> > > <primitive id="resource_ora" class="lsb" type="oracle" > provider="heartbeat"> > > <instance_attributes id="resource_ora_instance_attrs"> > > <attributes> > > <nvpair id="resource_ora_target_role" name="target_role" > value="started"/> > > </attributes> > > </instance_attributes> > > </primitive> > > </group> > > </resources> > > > > sles6:~ # cibadmin -o constraints -Q > > <constraints> > > <rsc_location id="place_ora" rsc="group_ora1"> > > <rule id="prefered_place_ora" score="INFINITY"> > > <expression attribute="#uname" > id="f5e67e89-477c-48f4-a986-401f93153c79" operation="eq" value="sles5"/> > > </rule> > > </rsc_location> > > </constraints> > > > > sles6:~ # crm_resource -L > > Resource Group: group_ora1 > > resource_data1 (heartbeat::ocf:Filesystem) > > resource_redo1 (heartbeat::ocf:Filesystem) > > resource_arch1 (heartbeat::ocf:Filesystem) > > resource_rman1 (heartbeat::ocf:Filesystem) > > resource_ora (lsb:oracle) > > sles6:~ # > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems