Monday, 16 December 2013

RAC



Install 11gR2 RAC on RHEL -- PART1
1. Install VMWARE WORK STATION and setup linux RHEL 5.

If you need help on how to install vmware please clickhttp://www.blogger.com/img/blank.gif here



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN2uxodA_XhBk2JIikSh6pBU9lYKkaf6U0nHxvt8o7KvNcT36w7tb_ZDNIo0mw3JjdaH3eh6-qLAf-_B43oAF2eIR5jPOuNOKO3AxLH6ZIU9OYN-j6ZCWtT_8BdZXCAKSrkP8PI9maCYk/s400/rac01.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitlhrztvL3Xa9mSmnE_Bjd0jBVU-yqLCH3ICHR4zk5bIsS_YDRpfhV5_cr-vU0prUqYXgrmhH67gy1olLHmB420vRMwe57zkYd0iwgJjbdIycrSS409TGWNPsP7ehVZXp2J44jbiWM9Cw/s400/rac02.JPG

Manually partition disk drives

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsZZnb_y6CTLS5XklDrUJ6U1ajdYttMe9D5t4PYeE-aJdKTXqQ2ESJYmiz5iHVAIO0FHRNc91IIfbAIMXRSQNNHnje4IZxE6P4PxiTuHu8tdFekV7BHhdn0KSC17bLN68_OAwyO_TgFpE/s400/rac03.JPG

Set the size as shown below(Depends on what you want)

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhv7su_za24tLm_gJA9gfM5MvntsmP2jxMM07utnPXUvVkcvA-nSryO_HU2H5qVIDwJfd6uQtPNrMQ7a2LZaWrlbEi9rIilftJySSHM8PxECG4XTsdErdRnAXO5LiOgUprKIw2cnbSSNY/s400/rac04.JPG

Assign IP


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnC4_sHcFH5Jv1ayOWkFmspC10E-OinNUrvfgvojvDqONZ67vRCo2grqEY4veikMYTmgURvYVqUnlvAwlNl4YUNqcMxpEnLWvi4Mc3MYpQJawA0G3UlTodrjN2XPGKf4eQUG6iGXZ0hp0/s400/rac05.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuooBeKkzwKcZFjfyDZRA3A7AOXxf2AbYfRmD5DkWjW0tC9Tw4XJAe_ElU7BAiUoXRWfUAs4fNhcLi8lQRoZkVnQlAnzqKJR7fKW2pBhaS5bRnSxT_75m5fZ3z2JaimjKkATq8QMtdq0/s400/rac06.JPG


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiswx86SNhAAFTr9uo1F2FJHEHaXXzAzaU8Q8TcDR6ID7lU4aaXUnxXkzrdoff2jqwm7tRFxFRdtmWkkixDk0ek08WhH875207ocUsrFwWd6CWrOoNKS2pLJphml4n6aNqCJCMsU8G8aSs/s400/rac07.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTUOG2E9S0DCjNvOpd-wCXE4CiAGrS5v6OxXpje2rl6r7x6CeIK9nh7dcJ24c7clKKSCp75f1Ct6jwEwwilcncM0rqAHpkN1tN62ppi3hKcl8SeW6VjD2GhK5hTZlK22mFTKzjZgkVa44/s400/rac08.JPG


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6cYz_6mfAUoVJEmolVN_vF1kGyl1zVB1YMYc9e3mSygl9SP8Qd7k1v9KVBa0mIZNhCOoKxlPjhH-ueJkji4m_3y6zv6nWTGzuUraWQYhoOmS8a3Yb04SEjoPohN_ymBoQnbJqpzx4C6k/s400/rac09.JPG


Install VMWARE TOOLS:


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOnMVOkOej5-Z8mnbWlIoAUwbbc0VoiGDS5mV4Kw_ebTVKvD8MeIoaKehL3-92G5Vk0j20sF4SfortqIAN4JHM48mNrBkxX76YZbR_KGR6aeQ7gweaaqzOkmUi8dghPw3xYs2N4-s0pK8/s400/rac010.JPG

Continuation in Part2

Install 11gR2 RAC on RHEL -- PART2
Once vmware script completes, you will get the message below:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh36BfAqbw1TfSjtSGkOLkpv8CXi_msgqIJMZlFcZGHb3qavGiXE9rG5tS2cX96iOlY99mV2Q5xFSswysz3CnbGUFp8kLsgyu8pTGT3OqjVABxtvhrtWVnLxNLMclMmUlQF_FB0d0gT_eI/s400/rac011.JPG


Once done, configure vmware tools to start on boot time.

Follow the link below:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPEAHpN_DnGF0As-mO16Z6vJx9uL8pUSQ3WeR4nAGXpA3CR8Q1GEjML-qOvhageWDKOql-jtxavjb6KPTGyRQjAfwtUHPIRB_y9cJvafbdSCMIFovKyP4ueFwv1-V2wOv3dvTSdNNaE6Y/s400/rac012.JPG


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgycrP1f94mSOhljUFPEQzPZ_24AeZp6x7Sq4kmOSTnXweGE2U2-qMANwf3qQec1iZ9KU-OK0QjISo2AiXKMQKgqgycHJ90oVoeHzC5xVxfyuNp623h49DMWnl4JDnK4rb1PVZrHN2ZBf0/s400/rac013.JPG

Logout and Login Back as Root

Maintain Time synchronization between Host and vmware OS.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ_rGxL6wGsPB5_uwjv_bhyywcU6NG1YaNq5ipZyUHfIIujBNfhyyn9nmVh52gQIOCBOe2PNnhlJVXEo9EmthtNleM-W6rUalX2OXRJutK42eFAZyyj-3q3V5Wdf7xK3fnWcTWQVcTm_0/s400/rac014.JPG

Add the line to the vmware config file.
tools.syncTime = “TRUE”


Edit /boot/grub/grub.conf and add the following options to the kernel /boot/ line of your default (SMP) kernel:
clock=pit nosmp noapic nolapic

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFKEv3PuvrBQ9zS697dnNFTWJWDKblHGn3a_P_a2S1LciuF95akW0R2E_Obvh4HTgNne0NlIy92sl5VlDzL0yE_lD9dDUT0otCgrvtAb2qrWtC9gKDBxvX6feKfDSmmsmDmSGvgn6DK3k/s400/rac015.JPG

Create Virtual Disk and add the below storage disks.

Click Ctrl+D on the vmware workstation screen

Launch the New Hardware Wizard again to add the following SCSI disks:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-NeK3mVyc_4JARuT6snPSKqqhSjqGhs_aamVDayxFCqUPvrkOdvNFEQ_AJaiDpynWSkJJo3VmDFpHztRODj5pVsvoazPd4OjdICzb8dMVi0zqY8OS5HRfYQwNASjGYmj3KN0INgzDFvM/s400/rac016.JPG


Launch the New Hardware Wizard again to add the following SCSI disks:

TABLE:

Purpose Size Virtual device node
Database files 3Gb SCSI 0:1
Database files 3Gb SCSI 0:2
Database files 3Gb SCSI 0:3
OCR 300Mb SCSI 0:4
Voting Disk 300Mb SCSI 0:5



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu84yA0j6krLHgpb_DJwfnRmUVERCV4GB9SXhDehkZGNfY8AN4KE3xRz7UZFTHwoye9twrqJsVpTXWiTmvbAnpcB9zF_6WrTcfpO940eJSnVtP5SqhxtwZS5QJj7dbWN1g4mMXW_ndbDM/s400/rac017.JPG

Click Next.


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijFTlXB9LUS-QxmoIIlvAwLWGz7R0nNT5WLrXV1wHMWAcPx3RdZllletY5NtxNQ_42VGvIhB6LZsn8A8UOIW5m3lKiuZK-1bVAF9p8BJldpoCJJtILJ-XqB-qmIGvSRfOr2H-6in7wS1k/s400/rac018.JPG

Select SCSi

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeCDnAr3gt3evE7lboflzkmYgDufa5cSHJkW1PcHepc8-yZ84o2tTpZ79gmGzaccUL5SKMSXy6SukH1YZ68iUm-nvd8i8AJdcxo2gIbhYSDwD5-ZHmgfsSuwXNgYhNoa6jZ_0URuZFzqk/s400/rac019.JPG


Click Next and save it as shared01.vmdk


Click on advanced button and make sure Independent and persistent device

Repeat the above steps until you have completed all the storage disks shown in the above table.


We need Shared disk for storing Oracle clusterware software and RAC softwarhttp://www.blogger.com/img/blank.gife.
Save the “disks” in the directory where the Node1 resides and click finish.
You should see the recently added shared disks with node 1 as shown below.



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZxSSSCiwNf_mqX9gE1tUET3YegbY10A-f9nZ5M8vvetVsOE0D10I6HL8hVjrJabiYIQJSwT_qpMYEKwp4VCJZYzuK8K5YVBEApMSgbN-iZovggXEN25xPjbJmvdETDAExYuFY9ziNvDg/s400/rac020.JPG

Continuation in Part3

Install 11gR2 RAC on RHEL -- PART3
Add extra network card

Press Ctrl + D on your main screen and click Add button as shown below:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwQCcfKQDg2ylaBBthMjPqGdLjPASB7Q77rAkkqn-mskLSpKM7qMjdft5S3SHxylwfC3boCt0xSomW_O-0oDpJxCd3dry0UCIAShElkQQfrGD7_0ws_nFuu0jRxXThil96UN6Ax73AIKU/s400/rac021.JPG


Click Next and Finish

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI4dEXqaa47omaXEjkaS7NwMImJ6AMvgS_jEzaSsRVd-60swVn1IuznI-YRyydkITmfMiQLw-5x3WNTTh-RhDwiFa_sE5tONn_pIDq1ZICajwMCdRUXfK6ht2nc7QwFlRKgkNAvPjwGzI/s400/rac022.JPG


We need to make sure these disks are accessed from all the nodes in the cluster(which we will add). To achieve this: After all the disks are added, edit the virtual m/c config(.VMX) file (In my case D:\RACSETUP11g\Node1\ VijuRac1.vmdk) and add the settings in BOLD by editing with Notepad.


config.version = "8"
virtualHW.version = "6"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1004"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Red Hat Enterprise Linux 5.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "H:\RHEL5\dvd.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
svga.autodetect = "TRUE"
pciBridge0.present = "TRUE"
mks.keyboardFilter = "allow"
displayName = "Red Hat Enterprise Linux 5"
guestOS = "rhel5"
nvram = "Red Hat Enterprise Linux 5.nvram"
deploymentPlatform = "windows"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "useGlobal"

ide1:0.autodetect = "FALSE"
floppy0.fileName = "A:"

isolation.tools.hgfs.disable = "TRUE"

ethernet0.addressType = "generated"
uuid.location = "56 4d 99 94 d7 86 4d ef-38 c5 9f db 38 20 52 4d"
uuid.bios = "56 4d 99 94 d7 86 4d ef-38 c5 9f db 38 20 52 4d"
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
scsi0.pciSlotNumber = "16"
ethernet0.pciSlotNumber = "32"
sound.pciSlotNumber = "33"
ehci.pciSlotNumber = "34"
ethernet0.generatedAddress = "00:0c:29:20:52:4d"
ethernet0.generatedAddressOffset = "0"
floppy0.startConnected = "FALSE"

ide1:0.startConnected = "TRUE"
tools.syncTime = "FALSE"
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "0"
scsi0.sharedBus = "virtual"


extendedConfigFile = "VijuRac1.vmxf"

scsi0:1.present = "TRUE"
scsi0:1.fileName = "shared01.vmdk"

ethernet1.present = "TRUE"
ethernet1.connectionType = "hostonly"
ethernet1.wakeOnPcktRcv = "FALSE"

scsi0:1.mode = "independent-persistent"
scsi0:1.deviceType = "disk"

scsi0:2.present = "TRUE"
scsi0:2.fileName = "shared02.vmdk"
scsi0:2.mode = "independent-persistent"
scsi0:2.deviceType = "disk"

scsi0:3.present = "TRUE"
scsi0:3.fileName = "shared03.vmdk"
scsi0:3.mode = "independent-persistent"
scsi0:3.deviceType = "disk"

scsi0:4.present = "TRUE"
scsi0:4.fileName = "ocr.vmdk"
scsi0:4.mode = "independent-persistent"
scsi0:4.deviceType = "disk"

scsi0:5.present = "TRUE"
scsi0:5.fileName = "vdisk.vmdk"
scsi0:5.mode = "independent-persistent"
scsi0:5.deviceType = "disk"



Login to the OS as root user

Create Disk partitions for the shared disks:

Perform the below activity on all the partitions.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRNJTnDbWyarZKeKDB59IsIqui2fA2WUDLMiV3JN6Eq1FLutvruZU4s35FesZTVBCIJNA76bEX0hbmiIMGvzkdgeapxkeF223bDVzwSPVTsmKFQM_MG2NjjTkZoCARPCqr5dNzFNYLJCs/s400/rac023.JPG

[root@rac1 ~]# fdisk /dev/sde

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-307, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-307, default 307):
Using default value 307

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.




Change the network parameters:

Add the following in /etc/sysctl.conf

kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
Run the following for the kernel parameters to take effect.

/sbin/sysctl -p



Change the Hosts file to add the ip address:

127.0.0.1 localhost.localdomain localhost
# Public
192.168.1.150 rac1.asteroid.com rac1
192.168.1.200 rac2.asteroid.com rac2
#Private
192.168.2.150 rac1-priv.asteroid.com rac1-priv
192.168.2.200 rac2-priv.asteroid.com rac2-priv
#Virtual
192.168.1.100 rac1-vip.asteroid.com rac1-vip
192.168.1.100 rac2-vip.asteroid.com rac2-vip

Create Groups and Users:
# groupadd -g 501 oinstall
# groupadd -g 502 dba
# useradd -g oinstall -G dba oracle
# passwd oracle

Create oracle directories:
[root@rac1 ~]# mkdir -p /u01/app/oracle/product/11.2.0/crs
[root@rac1 ~]# mkdir /u01/app/oracle/product/11.2.0/db_1
[root@rac1 ~]# mkdir /u01/Stage11g
[root@rac1 ~]# chown -R oracle:oinstall /u01/app
[root@rac1 ~]# chown oracle:oinstall /u01/Stage11g
[root@rac1 ~]#

Set the shell limits for oracle user
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

Add the following as the second last lines in the /etc/pam.d/login file if it does not exist:
session required pam_limits.so

Append the following to the /etc/profile file:
if [ $USER = “oracle” ]; then
if [ $SHELL = “/bin/ksh” ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi


Download ASM libraries:

http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html

Install ASM libraries:

[root@rac1 asm]# rpm -Uvh oracleasm-2.6.18-53.el5-2.0.4-1.el5.i686.rpm \
> oracleasmlib-2.0.4-1.el5.i386.rpm \
> oracleasm-support-2.1.4-1.el5.i386.rpm
warning: oracleasmlib-2.0.4-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: oracleasm-support-2.1.4-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.18-53.el5########################################### [ 67%]
3:oracleasmlib ########################################### [100%]



Configure ASM:

[root@rac1 asm]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]


Create ASM DISKS:

[root@rac1 asm]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "VOL1" as an ASM disk: [ OK ]
[root@rac1 asm]# /etc/init.d/oracleasm createdisk VOL2 /dev/sdd1
Marking disk "VOL2" as an ASM disk: [ OK ]
[root@rac1 asm]# /etc/init.d/oracleasm createdisk VOL3 /dev/sde1
Marking disk "VOL3" as an ASM disk: [ OK ]
[root@rac1 asm]# /etc/init.d/oracleasm createdisk VOL4 /dev/sdf1
Marking disk "VOL4" as an ASM disk: [ OK ]


[root@rac1 asm]# /etc/init.d/oracleasm listdisks
VOL1http://www.blogger.com/img/blank.gif
VOL2
VOL3
VOL4
[root@rac1 asm]#




Clone the node RAC1 to RAC2
i.e copy the folder RAC1 in the windows to RAC2...

Continuation in Part4

Install 11gR2 RAC on RHEL -- PART4
Clone RAC1 to RAC2
Change the display name to rac2 in VMX file.

Make sure IP address is changed in RAC2 and both the nodes can communicate with each other.

[root@rac2 ~]# ping rac1
PING rac1.asteroid.com (192.168.1.150) 56(84) bytes of data.
64 bytes from rac1.asteroid.com (192.168.1.150): icmp_seq=1 ttl=64 time=15.0 ms
64 bytes from rac1.asteroid.com (192.168.1.150): icmp_seq=2 ttl=64 time=0.573 ms
64 bytes from rac1.asteroid.com (192.168.1.150): icmp_seq=3 ttl=64 time=1.80 ms

--- rac1.asteroid.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.573/5.798/15.018/6.538 ms
[root@rac2 ~]# ping rac1-priv
PING rac1-priv.asteroid.com (192.168.2.150) 56(84) bytes of data.
64 bytes from rac1-priv.asteroid.com (192.168.2.150): icmp_seq=1 ttl=64 time=0.383 ms
64 bytes from rac1-priv.asteroid.com (192.168.2.150): icmp_seq=2 ttl=64 time=1.55 ms
64 bytes from rac1-priv.asteroid.com (192.168.2.150): icmp_seq=3 ttl=64 time=0.860 ms

--- rac1-priv.asteroid.com ping statistics ---



Setup User Equivalency
Perform this on both the nodes:

[oracle@rac1 .ssh]$ /usr/bin/ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/oracle/.ssh/id_rsa.
Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.
The key fingerprint is:
23:88:ba:0c:37:42:82:21:d6:57:24:ab:41:d4:c4:ce oracle@rac1
[oracle@rac1 .ssh]$ /usr/bin/ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/oracle/.ssh/id_dsa.
Your public key has been saved in /home/oracle/.ssh/id_dsa.pub.
The key fingerprint is:
2c:85:7b:ea:f3:29:d8:54:28:d2:b2:88:b5:35:67:b1 oracle@rac1
[oracle@rac1 .ssh]$

Move node1.pub to rac2

Peform below on rac2

[oracle@rac2 .ssh]$ ls
id_dsa id_dsa.pub id_rsa id_rsa.pub node1.pub node2.pub
[oracle@rac2 .ssh]$ cat node1.pub node2.pub > authorized_keys
[oracle@rac2 .ssh]$ chmod 644 authorized_keys
[oracle@rac2 .ssh]$ scp authorized_keys rac1:/home/oracle/.ssh
The authenticity of host 'rac1 (192.168.1.150)' can't be established.
RSA key fingerprint is f0:d1:e2:09:0b:b4:45:d3:94:10:2d:85:42:0d:82:b1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,192.168.1.150' (RSA) to the list of known hosts.
oracle@rac1's password:
authorized_keys 100% 1988 1.9KB/ss 00:00
[oracle@rac2 .ssh]$ ssh rac1 date
Wed Jun 8 23:27:23 IST 2011
[oracle@rac2 .ssh]$ ssh rac1-priv date
The authenticity of host 'rac1-priv (192.168.2.150)' can't be established.
RSA key fingerprint is f0:d1:e2:09:0b:b4:45:d3:94:10:2d:85:42:0d:82:b1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1-priv,192.168.2.150' (RSA) to the list of known hosts.
Wed Jun 8 23:28:00 IST 2011
[oracle@rac2 .ssh]$


Download and Install Clusterware:

Install cvuqdisks package located in clusterware’s rpm dir.
This is needed for Cluster Verification Utility to detect shared disks.


[root@rac1 rpm]# rpm -i cvuqdisk-1.0.7-1.rpm
Using default group oinstall to install package
Run the Pre CVU:
[oracle@rac1 cluster]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2


Performing pre-checks for cluster services setup

Checking node reachability...
Node reachability check passed from node "rac1"


Checking user equivalence...
User equivalence check passed for user "oracle"

Checking node connectivity...

Checking hosts config file...

Verification of the hosts config file successful

Node connectivity passed for subnet "192.168.1.0" with node(s) rac2,rac1
TCP connectivity check passed for subnet "192.168.1.0"

Node connectivity passed for subnet "192.168.2.0" with node(s) rac2,rac1
TCP connectivity check passed for subnet "192.168.2.0"


Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:
rac2 eth0:192.168.1.200
rac1 eth0:192.168.1.150

Interfaces found on subnet "192.168.2.0" that are likely candidates for a private interconnect are:
rac2 eth1:192.168.2.200
rac1 eth1:192.168.2.150

Node connectivity check passed

Total memory check failed
Check failed on nodes:
rac2,rac1
Available memory check passed
Swap space check failed
Free disk space check failed for "rac2:/tmp"
Check failed on nodes:
rac2
Free disk space check failed for "rac1:/tmp"
Check failed on nodes:
rac1
User existence check passed for "oracle"
Group existence check passed for "oinstall"
Group existence check passed for "dba"
Membership check for user "oracle" in group "oinstall" [as Primary] passed
Membership check for user "oracle" in group "dba" passed
Run level check passed
Hard limits check passed for "maximum open file descriptors"
Soft limits check passed for "maximum open file descriptors"
Hard limits check passed for "maximum user processes"
Soft limits check passed for "maximum user processes"
System architecture check passed
Kernel version check passed
Kernel parameter check passed for "semmsl"
Kernel parameter check passed for "semmns"
Kernel parameter check passed for "semopm"
Kernel parameter check passed for "semmni"
Kernel parameter check passed for "shmmax"
Kernel parameter check passed for "shmmni"
Kernel parameter check passed for "shmall"
Kernel parameter check passed for "file-max"
Kernel parameter check passed for "ip_local_port_range"
Kernel parameter check passed for "rmem_default"
Kernel parameter check passed for "rmem_max"
Kernel parameter check passed for "wmem_default"
Kernel parameter check passed for "wmem_max"
Kernel parameter check passed for "aio-max-nr"
Package existence check passed for "make-3.81"
Package existence check passed for "binutils-2.17.50.0.6"
Package existence check passed for "gcc-4.1.2"
Package existence check passed for "gcc-c++-4.1.2"
Package existence check passed for "libgomp-4.1.2"
Package existence check passed for "libaio-0.3.106"
Package existence check failed for "glibc-2.5-24"
Check failed on nodes:
rac2,rac1
Package existence check passed for "compat-libstdc++-33-3.2.3"
Package existence check passed for "elfutils-libelf-0.125"
Package existence check passed for "elfutils-libelf-devel-0.125"
Package existence check passed for "glibc-common-2.5"
Package existence check passed for "glibc-devel-2.5"
Package existence check passed for "glibc-headers-2.5"
Package existence check passed for "libaio-devel-0.3.106"
Package existence check passed for "libgcc-4.1.2"
Package existence check passed for "libstdc++-4.1.2"
Package existence check passed for "libstdc++-devel-4.1.2"
Package existence check failed for "sysstat-7.0.2"
Check failed on nodes:
rac2,rac1
Package existence check passed for "unixODBC-2.2.11"
Package existence check passed for "unixODBC-devel-2.2.11"
Package existence check passed for "ksh-20060214"
Check for multiple users with UID value 0 passed
Current group ID check passed
Core file name pattern consistency check passed.

User "oracle" is not part of "root" group. Check passed
Default user file creation mask check passed


Start the installation, mount CD or get to the /mnt/hgfs/crs
[oracle@rac1 cluster]$ ./runInstaller

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-uvbr21cbwCExSMm39TaW6owizXtN-Xl8ckHTQMhvCH1e3wuTl14XQbZP7tnDcwPubUDVBRHiF5O1J_3XJcGVLWO61uJw7RjNmwb15U7VmXGlG6S0DYx-eNZgM0k-Rzntu7e_poXNCq4/s400/rac024.JPG

Click Next
Select english and click next


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhryLiyHL5mHrUqILuIltYoOgKFILRCfR7_eN_og7IU-gQUuYNsygnQ9Jlvv6NWqDM8AYrnJaCV2JNLLq7MiJzeeSWa9KbLArq1MzDBLLdDZLR2jresRbOG0CKONVNmjaeI3ds81LL2MvM/s400/rac025.JPG


Enter scan name in the /etc/hosts as shown below
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# Public
192.168.1.150 rac1.asteroid.com rac1
192.168.1.200 rac2.asteroid.com rac2

#Virtual
192.168.1.100 rac1-vip.asteroid.com rac1-vip
192.168.1.300 rac2-vip.asteroid.com rac2-vip

#Private
192.168.2.150 rac1-priv.asteroid.com rac1-priv
192.168.2.200 rac2-priv.asteroid.com rac2-priv

#SCAN
192.168.1.111 rac1-scan.asteroid.com rac1-scan
::1 localhost6.localdomain6 localhost6


What is a SCAN name ?

Oracle introduced this new concept on 11gR2 version: it stands for Single Client Access Name (SCAN). Its purpose is to eliminate the need to change tns name entry when nodes are added to or removed from the Cluster. What does it happen when you have several client and you decide to add/remove a node? So you have to configure your SCAN name


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik4p5bBq2vF2wxjaPlktrKhfyQ6Q19zqdLY3Y0QgH4Tcnhy-LgtU2zY_bU6y_X10Zc1BNRx3qnWecwunXl-5i2hzRn2bdWljX9uvuX6G9kaPXbmto7DkJDTM_qpFZKHSE2lGS3nyD_jxU/s400/rac026.JPG

enter scan name as either rac1 or rac2(basically it should be one of the nodes of the cluster and click on Configure GNS

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpTci5uMZWKothPhHgsLrwQ1zAR8i7E8iFxyrr3gFQtYtgIbhHOAHIAcsvzV-rjzF_BfNlBQhTr5eH2N87jRP9z9CYCsWKgxxK1-DzLm-KSjK_Sry_qNUbqUdt7zDaTmb6l4naP3bvuyA/s400/rac027.JPG

Click next

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr9tos-GzXICnZmwyd4GP5AChjCyxdduQgl_z3CXwqYpNITmWjbKPHTJkJJyaXTqkz5pZUJB6Nx9evZsA3UTXZAY4QKz8c_p9KoHSdPLq71WGQvq8GOaE5hZmVhDtif-lChv3FbLQzUwI/s400/rac028.JPG


Click add button and add the second node

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqE-FuzCzkBswroVBrHC3fB0QgLEN9orRj-oXM_CMbfOERkPSfuXUEzpADy7PjbKDzTV_LmbQSLgSPMgIoz0Jgja_w_ebsolY7pgsijEnijiYY30mL6kz-pQzpBUNVo8LgfHGFu6U1roY/s400/rac029.JPG


click next
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3rV-vm_KsFqEZ4mHXieO6JdWfZX6Bt11UwjJZAXxRue0AZltET58ZTT4jP1G7RpycXGLIKSIcZ7rAyw3HXyJrSTIAoLxBjlj3-m-uIJYX1UJEHd9RWJQuhJVempA_KqpVtrHQP2ZWuIs/s400/rac030.JPG

Click Next

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigR6ajY_O9sURjR5zT1BC6_TQRj9gdslQ6r95YLw8r5WB2PtlUsC_yv99EUn21yttvfkiuzC8Ndjka6AlCpCpm2cLMSjHZIfLbFiMTbPySznw0E82G1zTjM0UzZep9XvXdxPUpprFLAgA/s400/rac031.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgrpo6s-d4uclkGGc3AnGPZfiANXhwfxp_BgybB8TDaS8IXFvfk318dEPwUOTBdAQdgLijeQO0gXcCwvinl9eP8Is6LfuBwblOyy1QpFsid7dinbGmEXn2tleuInibOvI6MRbQL05tNX4/s400/rac032.JPG


Click Next


select ASM
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCkoNdr5jvWyY4RYfbglisc9U9zqL3Bw-nBv7mow1HvAoIXeREsrx5O0uYGmjagtA-0X7u-KDLozz8wQWyvbNAeAgqEhMi-Zm5uTj5QYiV03gmglkibvqQxVhGGwsXGEAEzc4CDV9ec2M/s400/rac033.JPG


Enter the Disk group name and the candidate disks needed for discovery path


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0TMsjDQZHC085fMLLiViC5L5_w6XeTWrvYrsASHFceofstvB-Vb2xdOxDTmwDmoZumjQMmPL8XLSooO3PLrbrL09yFZj-rUkdeIaL4t6ZXTpfZAB24VPkYf-UsnWkC3LR3Jt2nSoOOw/s400/rac034.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT3_46f7m9XahPwj1BIgZ7Hvox3IboQ2HzPW5QFtwUECIjH3BGYQxlXu5KXafWDg1dv4IQOs5_bS9oD2dgLKGiMqu8bXDe-a32mK8QDGT6hZur7tS0gRQAI11WPKytGldPTINruLddWXw/s400/rac035.JPG
Click next


select the appropriate passwords for SYSASM user.


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRXuOFrceURYJIHdNNh7g5nhu5uTXsVuNwm_dkI1sSk69D7WEjHawO01_NVVEQZh_zBMFHpdeEy4W4YbIjBbA7STzeOIlLpe0MXzX3RVlW6eXyJ-bY0tjdlnM0jNVvml_hXJjhs2crWFs/s400/rac036.JPG


click next, DO NOT CHOOSE THE FAILURE ISOLATION OPTION FOR THIS INSTALL PURPOSE

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fMFznYpTWxRs6KAou5AhvTIgDBvA37LSMLSYLZCQZeH6d673eF21dOXY6Eh_iBIMymJhrIXrxpWLUQZTDY5-axPvZ_SeISJmL82b6pZUSnRF6ME_zoYZdd0FvmLCJhqXo9xcFdfmS3A/s400/rac037.JPG


Click next

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Dv4ZYaSS0VJMeTXPAZyanfuvgsO4vUsy1HSoFAcjGlXNj4vmyEoXabCyYYNlTgWIACrBVAIR7TafDIyuKB6T8RRYgjXTOTNvZ72kUjB5bq6nni7BLq12zvNTLK4o1HYqt-vign4KO0Y/s400/rac038.JPG


Click next, you may get warning message depending the complexity of the password chosen.
http://www.blogger.com/img/blank.gif
Continue with warning message



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUP3thuY9tNatWoDDN-7sK9dhWHeQXEcYbLG_tlPYEZUAbHL_edZPM2gtJNtRVoimf6XFICqV2ZXJi2yTkAOVzts2R10deLjAi4CvBLjWfJlW3-HT1LRvMXR9TEZ7LF94-pZkLYtnojOc/s400/rac039.JPG


continuation in Part5

Install 11gR2 RAC on RHEL -- PART5
Click next, chose Oracle directories for the GRID INFRA HOME

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMOsA02P9KvlqJEuHNlKs0amQIREb-JZVQHj8f9ab_qjPmusRN2jfCVvk8EhQgQ4q5PkJalXKtpzunzx-oZounRELfErgQnGWrZPdxHdKwksrLoyph2IDfsVd6DYixSCH6vg7INUcydk0/s400/rac040.JPG


click next to navigate to the pre req screen.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgRSevlEMP2b0rixELeXkKlt4GU0Ki7VELNo4oU8flb_Wa0pF9A6NtXbwgvX0AZQDc3PesEyjuiArStK5itihf9HdI2qcNt9kOA5BlNCrNVBjaFzWeZ13IdZ6tmF_t58xTAKpaXFwiSMI/s400/rac041.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXKgIoJcDATFceFiLhciSytUqbLpuW0Xn5e_EDp6OiAdLNbP6fDgj-a8Ue9vXR7VnglRmwkQtok59JtAXwizt_02TV7AqQO_sNIXLAp_xQgfFGEIGCU4XLIXwfV1-876cUlLmLBBPW0Qg/s400/rac042.JPG

After the installation run the scripts as root user

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJahX4IroUbjiyaqh9iTmFrgowS9QFq3Y7dQSzrLoeHaPw7e2VCZtOB0gmayX9DMDSInuBTCU7pMioUw7Wvn99XkP51unJCdN_3DuMN-Q-Ioazdcgox2vv3edJJezyNWF7tuXnHvKt5KY/s400/rac043.JPG

Run the root.sh as root on rac1 and rac2

[root@rac1 ~]# cd /u01/app/oraInventory/
[root@rac1 oraInventory]# ls
ContentsXML logs oraInst.loc oui
install.platform oraInstaller.properties orainstRoot.sh
[root@rac1 oraInventory]# ./orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.


[root@rac1 grid]# ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-06-09 14:58:18: Parsing the host name
2011-06-09 14:58:18: Checking for super user privileges
2011-06-09 14:58:18: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
root wallet
root wallet cert
root cert export
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded

ASM created and started successfully.

DiskGroup ALLDGRP created successfully.


clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 68655560f1f54f0abf42dba1b8e878a3.
Successful addition of voting disk 55b9f92f4a6e4f13bf3cc89ba6e63bc6.
Successful addition of voting disk 8b9af8862b4b4f08bf2399a6ddef7186.
Successfully replaced voting disk group with +ALLDGRP.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 68655560f1f54f0abf42dba1b8e878a3 (ORCL:VOL1) [ALLDGRP]
2. ONLINE 55b9f92f4a6e4f13bf3cc89ba6e63bc6 (ORCL:VOL2) [ALLDGRP]
3. ONLINE 8b9af8862b4b4f08bf2399a6ddef7186 (ORCL:VOL3) [ALLDGRP]
Located 3 voting disk(s).


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAWzXOYmnK6C1QcCxYAVjJONbJmyPAgRODHAXI-Iww47sQl8YxvxEmSHlYYNYdcVB8Ys-kS1nrQBVXM94csnCBVXt3Mdj-5yTQMo1iV7IniblUGxcrUFpv17ebufOV65IMjIzND7TI9AM/s400/rac044.JPG


Run the same on RAC2

[root@rac2 grid]# ./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2011-06-09 15:21:01: Parsing the host name
2011-06-09 15:21:01: Checking for super user privileges
2011-06-09 15:21:01: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting




CRS Daemons running confirmation of Rac1 and Rac2

[root@rac1 bin]# ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is onlinehttp://www.blogger.com/img/blank.gif
[root@rac1 bin]#


[root@rac2 ~]# cd /u01/app/11.2.0/grid/bin
[root@rac2 bin]# ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online


Continuation in Part6

Install 11gR2 RAC on RHEL -- PART6
Install Oracle Database

[oracle@rac1 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB. Actual 595 MB Passed
Checking swap space: must be greater than 150 MB. Actual 1026 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-06-13_10-49-27AM. Please wait ...


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVMmirOI6I4-TMXVh-Rdv6L-oLM4OA3wn49MBpFQJCgdf8vDJ4Sv6L13JncnfulR_dYvg-gS7d6b7xQHHm6JN0TGnUCeVUe_MS9i-qurE6aNKlLkQP4nSEBoefmS0Y0PeKH3zZSoOiwsQ/s400/rac045.JPG

Click Next

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs6N_ARGjQOw8LpkkNXAOLlLOmV0kdJLyz76CkBG1XJiNp13U6dQ62aPX6jQe7R3Vu8pT_h6a7qoDJd426wwnvjz8oi0BH4WXPOAkHdx4h_3fEVQfw3qAo2-j2gA5JFktlaSzc1id354k/s400/rac046.JPG


Click Next

If you choose Desktop class then we can install only single instance for demonstration purposes.
Hence choose Server class

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdfmwgm2-16xXYzZksLpQjNT8-edCZYj4jHwLkXdeF1N-Q7cpkV1MstgbJBNqx0gFxYG3RZR0J0UjLNCnC_x_lm2YZdpGb-8I5-AhXx_N79kqBQpM7-KPwy203oqf6NWvd_djR_aua_CI/s400/rac047.JPG


Choose RAC option and select the RAC nodes that are part of our cluster.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmDjHlJlMkghvS7ukYiusjL4NB6r29GNV3RuJ9Ejko9j5ICU6BatlUOgTE2JXUWltLE3qfW6GTYZiWQWDFAcs6PvsxFE5w_pF_pjLzPsM_1NmPVY7zMiIdJyKESfihCfymNvD8SXzOMY/s400/rac048.JPG

Click next

I have chosen typical install option

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx5RDErt08YKyG8D8wLIO2fw1UuZNBEZIH7gcO80KeTMZJTG5jr_xQbFGguG6FCGjv4PWUPGcRkHp24BNlkWnvRD1M3X2okYGQMieCT8o0r6HH9g13r2z1LBskxfdwa8QYOCzUm_awJMA/s400/rac049.JPG

click next

Choose the install directory for the database software:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9tMmsHiwtyR8fdE7mVgu-HWfUY4L1-G8oiJ90DxJ6JlQ9GmZJ9H564hNd50aFpPnRBKww_dsIqNzPiIwpNhamCFXblbCZGTL0jjk5hO1i-tho7VDMeo1LRq2jABSMET4BapoceMFy2Ik/s400/rac050.JPG


Click Next

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjSvPLPNkCfhkibnHwAhHlwhNsYHbDn1JYwtCVzh_efXq410nTCnKBqYCPDwMQJSlvwaCRTStriRvstE0K5kMhOdcXdlggpLAc9TgvMnMUbnzV9i-kqxT707__LWMVVmKm9BcLgV8pt9M/s400/rac051.JPG

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_jDcUxm70Fo2R3u6LGkFPPpxLlu-n31y1E-oYHA3jq6Ie7d9vFof456bWlCT5W6uGvwCsG_IRCJnAqybcfTP01H8mCLSe4zjnkCtpsyyMpHnLXHZfuklBJdt8-ZT7HiL7SuupnoMknpo/s400/rac053.JPG


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7txWuAHaAK4PFW2L-UulbIejjQJtpD0UheBExTyNL_R4QQ8Aq4Zle_SqJ4UMFXpEcVWNRhtW-YNkeder1g4pnEzip_ceQb7ils2me9olCyc3ehyphenhyphen2VSHFpamKVfWkFIeHoM0-g_D9BuxU/s400/rac054.JPG



There may be errors related to memory, click ignoreall option

Click Finish

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9njOGM1PD222p8y6gIYd_Vw81xusP9zvgF6u3B3O_Qn5lyBpzCsUPFJzjoLfIKsnMFGvrcViu0epCXsYfQZx1PlZpc1VYDkcq01qYTVrhInH-zqT5kmrUZqzwaazT3YodcNgR9Jy_YRA/s400/rac056.JPG

Check the status and make sure that there aren't any error in between.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ_d4785TZSKl0fGn3_iW4zlA3Y7rKQ8OdGCNZ1Rj3m40k_rmR5Pw9bDZrX4nLkJwxxGDxOJqOg6LkCmawbgAZmaOUpc_eOwoLfk_D6rc1GsdwkH25QM3UIrkBZtjicTonklcmp4yJdIk/s400/rac058.JPG

You may encounter the below issues:

1.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCrb3uU9OmPerLUvyhh9rE_c1kL2x2F_UoBgEHHge8UbL65zIWuwNtYgRdO3xYDviBK5AfQ89JEKaWmyVKWMfzvQWigqcKRoRfQ4A4yWX8Rflf1vcA9kuo8mQY4MAQUzWUjIGapU_plvA/s400/rac061.JPG

In this case, set the Oracle_home as Grid Infra Home and then use "netca" to configure the listener, make sure to use the name as "LISTENER" only; any other name used will stop the installation at the same point.


2. AttachHome failed on node2:

Run the attach home command separately on NODE2:

$/u01/app/oracle/product/11.2.0/prd/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/11.2.0/prd ORACLE_HOME_NAME=OraDb11g_home2 CLUSTER_NODES=rac1,rac2 "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=rac2

The inventory is located at /u01/app/oraInventory
Please execute the 'null' script at the end of the session.
'AttachHome' was successful.

If the creation of database still fails, use DBCA to configure database.

No comments:

Post a Comment