ORACLE 12C RAC INSTALLATION

Perform the below Manual Setup to complete the basic prerequisites

Disabling Firewall:

service iptables stop
chkconfig iptables off

Add or amend the following lines to the "/etc/sysctl.conf" file:

fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Run the following command to change the current kernel parameters.
/sbin/sysctl -p

Add the following lines to the /etc/security/limits.conf file:

oracle   soft   nofile   1024
oracle   hard   nofile   65536
oracle   soft   nproc   16384
oracle   hard   nproc   16384
oracle   soft   stack   10240
oracle   hard   stack   32768
oracle   hard   memlock   134217728
oracle   soft   memlock   134217728

Configure /etc/hosts file:

#Public IP

10.201.33.38

10.201.33.39

 

AUS-LNDBASMT-001.wiley.com

AUS-LNDBASMT-002.wiley.com

 

AUS-LNDBASMT-001

AUS-LNDBASMT-002

#Virtual IP

10.201.33.70

10.201.33.71

 

AUS-LNDBASMT-001-vip.wiley.com

AUS-LNDBASMT-002-vip.wiley.com

 

AUS-LNDBASMT-001-vip

AUS-LNDBASMT-002-vip

#Private IP

10.201.224.125

10.201.224.126

 

AUS-LNDBASMT-001-priv.wiley.com

AUS-LNDBASMT-002-priv.wiley.com

 

AUS-LNDBASMT-001-priv

AUS-LNDBASMT-002-priv

#Scan

10.201.33.72

10.201.33.73

10.201.33.74

 

AUS-LNDBASMT-scan.wiley.com

AUS-LNDBASMT-scan.wiley.com

AUS-LNDBASMT-scan.wiley.com

 

AUS-LNDBASMT-SCAN

AUS-LNDBASMT-SCAN

AUS-LNDBASMT-SCAN

Create User & Group:

uid=510(oracle) gid=510(oinstall) groups=510(oinstall),512(dba),1011(sapinst),1013(asmoper),1014(asmadmin),1015(asmdba),1016(oper)


groupadd asmoper
groupadd asmadmin
groupadd asmdba
groupadd oper


useradd oracle
passwd oracle
usermod -g oinstall oracle
usermod -G dba,asmoper,asmadmin,asmdba,oper oracle

Network Configuration:

cat /etc/sysconfig/network
# Recommended value for NOZEROCONF
NOZEROCONF=yes

Install RPM’s For ASM:

kmod-oracleasm-2.0.8-17.el7.x86_64
oracleasmlib-2.0.12-1.el7.x86_64.rpm
oracleasm-support-2.1.8-3.el7.x86_64.rpm

Configure Oracleasm:

[root@CAR-TEST-01 ~]# oracleasm configure -i
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 <ENTER> 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
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done

oracleasm start

 

Disk Creation in ASM:

[root@CAR-TEST-01 ~]# fdisk /dev/sdf
Welcome to fdisk (util-linux 2.23.2).


Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): n
Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p):
Using default response p
Partition number (2-4, default 2): d
Partition number (2-4, default 2): 2
No free sectors available


Command (m for help): d
Selected partition 1
Partition 1 is deleted


Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-20971519, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-20971519, default 20971519):
Using default value 20971519


Partition 1 of type Linux and of size 10 GiB is set


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


Calling ioctl() to re-read partition table.
Syncing disks.


[root@CAR-TEST-01 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes


[root@CAR-TEST-01 ~]# /etc/init.d/oracleasm createdisk DATAVOL1 /dev/sdf1
Marking disk “DATAVOL1” as an ASM disk: [ OK ]
[root@CAR-TEST-01 ~]# /etc/init.d/oracleasm listdisks
DATAVOL1


[root@CAR-TEST-01 ~]# /etc/init.d/oracleasm createdisk OCRVOT1 /dev/sdk2
Marking disk “DATAVOL2” as an ASM disk: [ OK ]
[root@CAR-TEST-01 ~]#
[root@CAR-TEST-01 ~]#
[root@CAR-TEST-01 ~]# /etc/init.d/oracleasm listdisks
DATAVOL1
DATAVOL2
Like this way needs to create rest of the disks.

SSH Setup between nodes:

./sshUserSetup.sh -user oracle -hosts “AUS-LNDBASMT-001 AUS-LNDBASMT-002” -noPromptPassphrase

Pre-checking using CLUVFY:

./runcluvfy.sh stage -pre crsinst -n AUS-LNDBASMT-001,AUS-LNDBASMT-002

GRID Installation

img1 1
img3 1
img2 1
img4 1
img5 1
img6 1
img7 1
img8 1
img9 1
img10 1
img11 1
img12 1
img13 1
img14 1
img14 2
img15 1
img16 1
img17 1
img18 1
img19 1
img20 1
img21 1

DATABASE Installation

img22
img23
img24
img25
img26
img27
img28
img29
img30
img31
img32
img33
img34
img35
img36
img37
img38
img39
img40
img41

Leave a Comment

Your email address will not be published. Required fields are marked *