ORACLE TWO NODE RAC INSTALLATION ON VMWARE WORKSTATION (PART-3)

Share via:
Dear Readers,

In this article we will see  How to setup N/W , Pre-requisites RPM’s ,directories  and  how to add shared storage.

Please check the video link :

Setting Up Network iP’s

To setup IP Addresses Goto preferences–> Network Authentication

It will pop-up following terminal

Select eth0 –> EDIT–> IPv4 SETINGS

then provide ip address

eth0 will be Considered as Public Ip

then click on Apply

Select eth1 –> EDIT–> IPv4 SETINGS

then provide ip address

eth1 will be Considered as Private Ip

then click on Apply

Open /etc/hosts file

and provide below details

use below command to restart the network

Check Ip’s addresses are pinging or not

Create Required Groups and directories 

Connect using putty

Create required groups and Directories with permissions

Set limits.conf

 Kernel parameters 

Execute below parameter command to save changes and if any error , comment that parameter.

Disable seinux

Set inventory  file

root@RAC1 ~]# vi /etc/oraInst.loc

Connect using Winscp and transfer the RPM’s to install

To download RPM’s use below link

https://drive.google.com/open?id=1HOE3kdJnOwE9pKXbb0JhDLswrb0n0A5a

Unzip RPM’s and install it

Unzip RPM

Install all RPM’s

Adding Shared  Storage :

ASM Disk Configuration:-

Add ASM disks to Node 1

Bring down NODE1 and add 6 disks to node1 and configure oracle ASM on top of them.

DATA1 – 5GB

DATA2 – 5Gb

FRA1 – 5 GB

FRA2 – 5 Gb

EXT1 – 1GB

EXT2 – 1 GB

PROVIDE – FULL ALLOCATION disk not auto extensible by VMWARE.

Make sure all the additional disks added are attached back to node1 as well as these should be single file hard disks but not splitted.

To add shared storage follow below steps

Step 1 :

Shutdown virtual machine

Goto Edit Virtual machone settings–> Hard Disk–>  Click on Next

Choose SCSI type of disk

Click on Next

Choose Create a new virtual disk 

click on Next

Specify size as 5 GB

Select Allocate all disk space now

Select Store as single file 

Choose path of hard disk

and mention name as DATA1.

Click on Finish

DIsk creation will start

It takes 1 min approx…

Do Same as above for  all  disks

like DATA2,FRA1,FRA2,EXT1 and EXT2

Once done RAC1 Machine will show all disks like below

Power on the Virtual machine and check fidsk-l options

fdisk -l options will list out all disks information

LOGIN as ROOT user.

Check the disks attached on OS:

— Do the same for all the disks attached ( /dev/sdc , /dev/sdd , /dev/sde , /dev/sdf , /dev/sdg )

fdisk -l /dev/sdb

— Do the same for all the disks attached ( /dev/sdc , /dev/sdd , /dev/sde , /dev/sdf , /dev/sdg )

Configure the oracleasm using below command

Provide username–> oracle, Group–> ointsall,

Do oracleasm restart using below command

/usr/sbin/oracleasm init

 

Create asm disks

using below commands we can create asm disks

check the disks using listdisks

If disks are not reflected use scandisks

 

Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts

 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

One thought on “ORACLE TWO NODE RAC INSTALLATION ON VMWARE WORKSTATION (PART-3)

  1. I was looking for how the disk became sharable.

    1. Just b/cos both Servers are pointing to the same disk, does it make it shared?
    2. My experience is that VMWARE puts an exclusive lock once Server1 accesses the disk. Is there additional settings in VMWARE to make the disk sharable?

Add Comment