This discussion is archived
2 Replies Latest reply: Dec 3, 2012 2:26 AM by 970402 RSS

Are these steps are fine for grid installation on 2 HP-UX hosts ?

970402 Newbie
Currently Being Moderated
Hi All,

I am trying to install Oracle RAC 11GR2 on two HP-UX 11.31 IA64 hosts and followed below steps, but at the time of running "root.sh" on first host it's throwing below error and fails;

<snap>

.
.
.

CRS-2676: Start of 'ora.cssdmonitor' on 'lclc148' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lclc148'
CRS-2672: Attempting to start 'ora.diskmon' on 'lclc148'
CRS-2676: Start of 'ora.diskmon' on 'lclc148' succeeded
CRS-2674: Start of 'ora.cssd' on 'lclc148' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'lclc148'
CRS-2681: Clean of 'ora.cssd' on 'lclc148' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'lclc148'
CRS-2677: Stop of 'ora.diskmon' on 'lclc148' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'lclc148'
CRS-2677: Stop of 'ora.gpnpd' on 'lclc148' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'lclc148'
CRS-2677: Stop of 'ora.mdnsd' on 'lclc148' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'lclc148'
CRS-2677: Stop of 'ora.gipcd' on 'lclc148' succeeded
CRS-4000: Command Start failed, or completed with errors.
CRS-2672: Attempting to start 'ora.gipcd' on 'lclc148'
.
.
.
</snap>

===============================================
Configuration steps followed on HP-UX:
===============================================

1. Disabled ipfilter.

2. umask is 0022, edited /etc/profile file with "umask 022".

3. users, folders & permission

#groupadd -g 1000 oinstall
#groupadd -g 1020 asmadmin
#groupadd -g 1021 asmdba
#groupadd -g 1031 dba
#groupadd -g 1000 oinstall

#mkdir /home/oracle
#mkdir /home/grid

#useradd -u 1100 -g oinstall -G dba,asmdba,asmadmin -d /home/grid grid
#useradd -u 1101 -g oinstall -G dba,asmdba,asmadmin -d /home/oracle oracle
#chown oracle:oinstall /home/oracle
#chown grid:oinstall /home/grid

#passwd oracle
#passwd grid

#mkdir -p /var/RAC/11.2.0/grid --> ### Grid Base ###
#mkdir -p /var/RAC/grid --> ### Grid Home ###
#mkdir -p /var/RAC/oracle/ODB     --> ### Oracle DB Installation (Oracle Base) ###
#mkdir -p /var/RAC/oraInventory

#chmod -R 775 /var/RAC/
#chown -R grid:oinstall /var/RAC
#chown grid:oinstall /var/RAC/11.2.0/grid
#chown grid:oinstall /var/RAC/grid
#chown -R oracle:oinstall /var/RAC/oracle/ODB     

4. Create file "/etc/privgroup" and add below lines;

     dba MLOCK RTSCHED RTPRIO
     oinstall MLOCK RTSCHED RTPRIO

5. Set Privileges to group;

     # setprivgrp -f /etc/privgroup
     # getprivgrp

6. Create Softlink;

     # cd /usr/lib/
     # ln -s /usr/lib/libX11.3 libX11.sl
     # ln -s /usr/lib/libXIE.2 libXIE.sl
     # ln -s /usr/lib/libXext.3 libXext.sl
     # ln -s /usr/lib/libXhp11.3 libXhp11.sl
     # ln -s /usr/lib/libXi.3 libXi.sl
     # ln -s /usr/lib/libXm.3 libXm.sl
     # ln -s /usr/lib/libXp.2 libXp.sl
     # ln -s /usr/lib/libXt.3 libXt.sl
     # ln -s /usr/lib/libXtst.2 libXtst.sl

7. Check for async I/O file;

     # ll /dev/async
     # chown oracle:dba /dev/async
     # chmod 660 /dev/async

8. Using hosts file as defualt

     # cp /etc/nsswitch.files /etc/nsswitch.conf

9. Set kernel parameters,

     # kctune maxfiles_lim=63488
     # kctune maxssiz=134217728
     # kctune maxssiz_64bit=1073741824
     # kctune maxuprc=3686
     # kctune msgmap=4096     - ERROR: There is no tunable named 'msgmap'.
     # kctune msgmni=4096
     # kctune msgtql=4096
     # kctune ncsize=35840
     # kctune nflocks=4096
     # kctune msgseg=32767     - ERROR: There is no tunable named 'msgseg'.
     # kctune ninode=34816
     # kctune semmni=4096
     # kctune semmns=8192
     # kctune semmnu=4096
     # kctune nfile=126976

* vi /etc/rc.config.d/nddconf

TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_largest_anon_port
NDD_VALUE[0]=65500

TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_smallest_anon_port
NDD_VALUE[1]=9000

TRANSPORT_NAME[2]=udp
NDD_NAME[2]=udp_largest_anon_port
NDD_VALUE[2]=65500

TRANSPORT_NAME[3]=udp
NDD_NAME[3]=udp_smallest_anon_port
NDD_VALUE[3]=9000


10. Configured Password less SSH for "grid" and "oracle" user.

11. Stopped NTP service;

#/sbin/init.d/xntpd stop
#mv /etc/ntp.conf /etc/ntp.conf.bak

12. vi /opt/ssh/etc/sshd_config

LoginGraceTime 0

13. Shared LUN's on both the hosts;

Selected all "disk114, disk115, disk116, disk118, disk119, disk120" disks as ASM, at the time of installation.

#dd if=/dev/zero of=/dev/rdisk/disk114 bs=1024 count=100
#dd if=/dev/zero of=/dev/rdisk/disk115 bs=1024 count=100
#dd if=/dev/zero of=/dev/rdisk/disk116 bs=1024 count=100
#dd if=/dev/zero of=/dev/rdisk/disk117 bs=1024 count=100
#dd if=/dev/zero of=/dev/rdisk/disk118 bs=1024 count=100
#dd if=/dev/zero of=/dev/rdisk/disk119 bs=1024 count=100

#chown grid:asmadmin /dev/rdisk/disk114
#chown grid:asmadmin /dev/rdisk/disk115
#chown grid:asmadmin /dev/rdisk/disk116
#chown grid:asmadmin /dev/rdisk/disk117
#chown grid:asmadmin /dev/rdisk/disk118
#chown grid:asmadmin /dev/rdisk/disk119

#chmod 660 /dev/rdisk/disk114
#chmod 660 /dev/rdisk/disk115
#chmod 660 /dev/rdisk/disk116
#chmod 660 /dev/rdisk/disk117
#chmod 660 /dev/rdisk/disk118
#chmod 660 /dev/rdisk/disk119

Is there anything else we need to do ? Or this much configuration is enough to get RAC up and running ?
Appreciate any responce, it's urgent please help guy's.

-Ashish

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points