Operating System - HP-UX
1751979 Members
4522 Online
108784 Solutions
New Discussion юеВ

Re: MC ServiceGuard and oracle10g CRS

 
SOLVED
Go to solution
tom quach_1
Super Advisor

MC ServiceGuard and oracle10g CRS

Hi All,
Please advice.
i have 2 nodes cluster HPUX 11.11 running on 9iRAC and service Guard 11.15.
in few weeks, i will upgrade this cluster to database 10g v2 using oracle CRS and ASM.
My question: if i disable service Guard and install oracle CRS. would it gives me any error or i have to uninstall Service Guard in order to install oracle CRS.

Thanks,
Tom
10 REPLIES 10
Steven E. Protter
Exalted Contributor
Solution

Re: MC ServiceGuard and oracle10g CRS

Shalom Tom,

You don't need to uninstall SG to accomplish this, though that would do the trick.

The later versions of Oracle do not require SG, but you may incur substantial downtime while you are reconfiguring RAC to work without it.

If you wish to leave SG in place in case you need to continue on with the old database software, you can shut SG down and set it not to auto start.

The configuration file is in /etc/rc.config.d and is pretty easy to understand if you edit it.

cmhaltcl -f will bring SG down if you wish to take a more gradual approach to the move.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tom quach_1
Super Advisor

Re: MC ServiceGuard and oracle10g CRS

Thanks-Steven,

I've done that disabled M/C serviceGuard cluster in /etc/rc.config.d/cmcluster, halted the cluster and rebooted the nodes.
After that installed oracle cluster but ran into some errors.
i would like someone to confirm that with MC service Guard installed and disabled. It would not conflict with the installation of oracle CRS 10g.
Just want to make sure that i don't have to remove the serviceGuard in order to install
10g CRS.


Regards,
Tom
Steven E. Protter
Exalted Contributor

Re: MC ServiceGuard and oracle10g CRS

Shalom again Tom,

ps -ef | grep cm | grep -v grep

Not entirely accurate but almost every SG process starts with cm

If you post the actual errors, some of the Oracle experts can chime in as to the actual cause.

As a general rule, I'd check that every Oracle pre-requisite and patch be done in advance and the OS patch level be as current as possible.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tom quach_1
Super Advisor

Re: MC ServiceGuard and oracle10g CRS

Thanks-Steven for your advise!.

I did check and there were no service Guard processes running.

below was the error from running root.sh.
hope that someone would give me advise on this error.

Regards,
Tom

#./root.sh
WARNING: directory '/u10' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up

Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u10' is not owned by root
clscfg -install -nn nodeA,nodeAnum,nodeB,nodeBnum... -o crshome
-l languageid -c clustername -q votedisk
[-t p1,p2,p3,p4] [-pn privA,privAnum,privB,privBnum...]
Text continued in next action...


05-AUG-06 01:19:03 GMT

Text continued from previous action...

[-hn hostA,hostAnum,hostB,hostBnum...]

-o crshome - directory CRS is installed in
-q votedisk - path to the CSS voting disk
-c clustername - name of the cluster. 1-14 character string
-l languageid - Oracle localization language id.
e.g. AMERICAN_AMERICA.WE8ASCII37C
-nn name,num - nodename list in pairs of nodename,nodenumber
If OS clusterware is installed see vendor docs.
e.g. node1,1,node2,2,node4,4
-pn name,num - Defines private interconnect names for nodes already
specified with the -nn flag.
Defaults to the nodename if not specified.
-hn name,num - Defines hostnames for nodes specified with the -nn
flag in the same format as above.
Defaults to the nodename if not specified.
-t p1,p2,p3,p4 - Specifies TCP ports to be used by the CRS daemons
on the private interconnect.
default ports: 49895,49896,49897,49898
-force Forces overwrite of any previous configuration.
WARNING: Using this tool may corrupt your cluster configuration. Do not
use unless you positively know what you are doing.

Failed to initialize Oracle Cluster Registry for
cluster
0
sundb2:[root]:/u10/crs/oracle/product/crs

### ORA-600/ORA-7445 ###
ERROR ON NODE2:
sunuxdp:[root]:/u10/crs/oracle/product/crs
# ./root.sh
WARNING: directory '/u10' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/usr/lib/pa20_64/dld.sl: Unable to find library 'libnmapi2.sl'.
/u10/crs/oracle/product/crs/install/rootconfig[584]: 16284 Killed
9i GSD is running on node ''. Stop the GSD and rerun root.sh

Steven E. Protter
Exalted Contributor

Re: MC ServiceGuard and oracle10g CRS

Shalom Tom,

Two possible issues.

Ownership of the files mentioned in the script.

SHLIB_PATH variable not set correctly according to the installation guide for Oracle RAC.

It is best to start the isntall over, paying special attention to all environment variables regarding this install.

I've got vast experience pounding my head against the wall on Oracle install issues. Most of them come down to environment.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tom quach_1
Super Advisor

Re: MC ServiceGuard and oracle10g CRS

Thanks-Steven
for your help.

it seems to me that even i've disabled cluster, shutdown MC ServiceGuard, renamed all Oracle folders. Install Oracle CRS in a new ORACLE_HOME. Somehow, it still detects the cluster and want to upgrade the 9i cluster.
Anyone Please confirm that i have to uninstall MC Service Guard before install oracle CRS.

I have no problem installing oracle using
CRS, ASM and database on 2 nodes that have no serviceGuard installed.
Regards,
Tom
Steven E. Protter
Exalted Contributor

Re: MC ServiceGuard and oracle10g CRS

You should not have to uninstall MC Serviceguard. If you don't need it go right ahead.

It is however perfectly acceptable to run SG on the same hardware as a RAC cluster.

I suggest you isntall into a new ORACLE_HOME and see if that helps.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
tom quach_1
Super Advisor

Re: MC ServiceGuard and oracle10g CRS

Thanks-Steven,

Yes i've installed Oracle CRS into a new ORACLE_HOME and still received error.

Regards,
Tom
Yogeeraj_1
Honored Contributor

Re: MC ServiceGuard and oracle10g CRS

hi Tom,

make sure that you have both these environment variables set!

$LD_LIBRARY_PATH - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib32
$SHLIB_PATH - includes $ORACLE_HOME/lib32, but not $ORACLE_HOME/lib


hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)