<p dir="ltr">You mean say orainstance.sh script from /usr/share/cluster.<br>
</p>
<div class="gmail_quote">On 16 Jul 2014 17:36, "emmanuel segura" <<a href="mailto:emi2fast@gmail.com">emi2fast@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
can you try to use orainstance agent ?<br>
<br>
2014-07-16 14:31 GMT+02:00 abdul mujeeb Siddiqui <<a href="mailto:amujeebs@gmail.com">amujeebs@gmail.com</a>>:<br>
> Dear segura ,<br>
><br>
> Thanks for response<br>
> 1: show your config<br>
> <?xml version="1.0"?><br>
> <cluster config_version="10" name="oracleha"><br>
>         <cman expected_votes="1" two_node="1"/><br>
>         <fencedevices><br>
>            <fencedevice agent= "fence_ipmilan" ipaddr="10.10.63.93"<br>
> login="ADMIN" name="inspuripmi"  passwd="xxx"/><br>
>            <fencedevice agent = "fence_ilo2" ipaddr="10.10.63.92"<br>
> login="test" name="hpipmi"  passwd="xxxx"/><br>
>           </fencedevices><br>
>       <fence_daemon post_fail_delay="0" post_join_delay="60"/><br>
>         <clusternodes><br>
>            <clusternode name= "192.168.10.10"  nodeid="1" ><br>
>            <fence><br>
>                <method name  = "1"><br>
>                  <device lanplus = "" name="inspuripmi"  action ="reboot"/><br>
>                  </method><br>
>             </fence><br>
>            </clusternode><br>
>             <clusternode name = "192.168.10.11" nodeid="2"><br>
>                  <fence><br>
>                  <method name = "1"><br>
>                   <device lanplus = "" name="hpipmi" action ="reboot"/><br>
>                   </method><br>
>                </fence><br>
>             </clusternode><br>
>          </clusternodes><br>
><br>
>         <rm><br>
>           <failoverdomains/><br>
>         <resources/><br>
>         <service autostart="1" exclusive="0" name="IP" recovery="relocate"><br>
>                 <ip address="10.10.5.23" monitor_link="on" sleeptime="10"/><br>
>                 <fs device="/dev/mapper/datavg-lv_orau02" force_unmount="1"<br>
> fstype="ext4" mountpoint="/u02" name="/u02"/><br>
>                 <fs device="/dev/mapper/datavg-lv_orau03" force_unmount="1"<br>
> fstype="ext4" mountpoint="/u03" name="/u03"/><br>
>                 <fs device="/dev/mapper/datavg-lv_orau04" force_unmount="1"<br>
> fstype="ext4" mountpoint="/u04" name="/u04"/><br>
>                 <fs device="/dev/mapper/datavg-lv_orau05" force_unmount="1"<br>
> fstype="ext4" mountpoint="/u05" name="/u05"/><br>
>         <oracledb home="/u01/app/oracle/product/<a href="http://11.2.0.4/dbhome_1" target="_blank">11.2.0.4/dbhome_1</a>"<br>
> name="testvip" type="base" user="oracle" vhost="10.10.5.23"/><br>
>         </service><br>
> </rm><br>
> </cluster><br>
><br>
>  2: show what kind of problem you find, doing what you want to archive<br>
> [root@xxxx]# rg_test test /etc/cluster/cluster.conf stop service IP<br>
> Running in test mode.<br>
> <debug>  Validating configuration for testvip<br>
> [oracledb] Validating configuration for testvip<br>
> basename: missing operand<br>
> Try `basename --help' for more information.<br>
> Failed to start IP<br>
><br>
><br>
> [root@/usr/share/cluster]# vi oracledb.sh<br>
> # Customize these to match your Oracle installation. #<br>
> ######################################################<br>
> #<br>
> # 1. Oracle user.  Must be the same across all cluster members.  In the<br>
> event<br>
> #    that this script is run by the super-user, it will automatically switch<br>
> #    to the Oracle user and restart.  Oracle needs to run as the Oracle<br>
> #    user, not as root.<br>
> #[ -n "$ORACLE_USER" ] || ORACLE_USER=oracle<br>
> [ -n "$ORACLE_USER" ] || ORACLE_USER=oracle<br>
> #<br>
> # 2. Oracle home.  This is set up during the installation phase of Oracle.<br>
> #    From the perspective of the cluster, this is generally the mount point<br>
> #    you intend to use as the mount point for your Oracle Infrastructure<br>
> #    service.<br>
> #<br>
> #[ -n "$ORACLE_HOME" ] || ORACLE_HOME=/mnt/oracle/home<br>
> [ -n "$ORACLE_HOME" ] ||<br>
> ORACLE_HOME=/u01/app/oracle/product/<a href="http://11.2.0.4/dbhome_1" target="_blank">11.2.0.4/dbhome_1</a><br>
> #<br>
> # 3. This is your SID.  This is set up during oracle installation as well.<br>
> #<br>
> #[ -n "$ORACLE_SID" ] || ORACLE_SID=orcl<br>
> [ -n "$ORACLE_SID" ] || ORACLE_SID=testvip<br>
> #<br>
> # 4. The oracle user probably doesn't have the permission to write to<br>
> # /var/lock/subsys, so use the user's home directory.<br>
> #<br>
> #[ -n "$LOCKFILE" ] || LOCKFILE="/home/$ORACLE_USER/.oracle-ias.lock"<br>
> [ -n "$LOCKFILE" ] || LOCKFILE="$ORACLE_HOME/.oracle-ias.lock"<br>
> #[ -n "$LOCKFILE" ] || LOCKFILE="/var/lock/subsys/oracle-ias" # Watch<br>
> privileges<br>
> #<br>
> # 5. Type of Oracle Database.  Currently supported: 10g 10g-iAS(untested!)<br>
> #[ -n "$ORACLE_TYPE" ] || ORACLE_TYPE="base-em"<br>
> [ -n "$ORACLE_TYPE" ] || ORACLE_TYPE="base"<br>
> #<br>
> # 6. Oracle virtual hostname.  This is the hostname you gave Oracle during<br>
> #    installation.<br>
> #<br>
> #[ -n "$ORACLE_HOSTNAME" ] || ORACLE_HOSTNAME=<a href="http://svc0.foo.test.com" target="_blank">svc0.foo.test.com</a><br>
><br>
><br>
>  3: show your cluster<br>
> root@xxxx]# clustat<br>
> Cluster Status for oracleha @ Tue Apr  8 11:10:30 2014<br>
> Member Status: Quorate<br>
>  Member Name                             ID   Status<br>
>  ------ ----                             ---- ------<br>
>  192.168.10.10                               1 Online, Local, rgmanager<br>
>  192.168.10.11                               2 Online, rgmanager<br>
>  Service Name                   Owner (Last)                   State<br>
>  ------- ----                   ----- ------                   -----<br>
>  service:IP                     192.168.10.10                  started<br>
><br>
> [root@xxx]# clustat<br>
> Cluster Status for oracleha @ Tue Apr  8 11:10:30 2014<br>
> Member Status: Quorate<br>
>  Member Name                             ID   Status<br>
>  ------ ----                             ---- ------<br>
>  192.168.10.10                               1 Online,rgmanager<br>
>  192.168.10.11                               2 Online,Local,rgmanager<br>
>  Service Name                   Owner (Last)                   State<br>
>  ------- ----                   ----- ------                   -----<br>
>  service:IP                     192.168.10.11                  started<br>
><br>
><br>
>  4: without any error and some more information, is realy hard to help you<br>
><br>
> I am using Oracle 11.2.0.4 Database on Red Hat Cluster Suite 6.5  .<br>
> In normal working fine .<br>
> When I am using Oracle Service in Cluster.conf as above I am getting ERROR<br>
> Try `basename --help' for more information.<br>
> Failed to start IP<br>
> Database Service unable to start.<br>
><br>
> I have try all the options given in oracledb.sh  but same ERROR<br>
> Please help me .<br>
><br>
> Thanks in advance.<br>
><br>
><br>
> On Tue, Jul 15, 2014 at 6:50 PM, emmanuel segura <<a href="mailto:emi2fast@gmail.com">emi2fast@gmail.com</a>> wrote:<br>
>><br>
>> 1: show your config<br>
>> 2: show what kind of problem you find, doing what you want to archive<br>
>> 3: show your cluster<br>
>> 4: without any error and some more information, is realy hard to help you<br>
>><br>
>> 2014-07-15 16:18 GMT+02:00 abdul mujeeb Siddiqui <<a href="mailto:amujeebs@gmail.com">amujeebs@gmail.com</a>>:<br>
>> > Hello, I have to implemented  red hat linux 6.4 cluster suite and trying<br>
>> > to<br>
>> > use Oracle11gr2 on it.But oracle service is unable to start.<br>
>> > Listener isnot starting.<br>
>> > Anyone have implemented oracle11gr2 so please<br>
>> > Send me cluster.conf and oracledb.sh and also listener.ora and<br>
>> > tnsnames.ora<br>
>> > files pls.<br>
>> > Thanks in advanced<br>
>> ><br>
>> ><br>
>> > --<br>
>> > Linux-cluster mailing list<br>
>> > <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
>> > <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> esta es mi vida e me la vivo hasta que dios quiera<br>
>><br>
>> --<br>
>> Linux-cluster mailing list<br>
>> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
><br>
><br>
><br>
> --<br>
> Linux-cluster mailing list<br>
> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
<br>
<br>
<br>
--<br>
esta es mi vida e me la vivo hasta que dios quiera<br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div>