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