Perform the below Manual Setup to complete the basic prerequisites
Index
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
![ORACLE 12C RAC INSTALLATION 1 img1 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img1-1.png)
![ORACLE 12C RAC INSTALLATION 1 img1 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img1-1.png)
![ORACLE 12C RAC INSTALLATION 2 img3 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img3-1.png)
![ORACLE 12C RAC INSTALLATION 2 img3 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img3-1.png)
![ORACLE 12C RAC INSTALLATION 3 img2 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img2-1.png)
![ORACLE 12C RAC INSTALLATION 3 img2 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img2-1.png)
![ORACLE 12C RAC INSTALLATION 4 img4 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img4-1.png)
![ORACLE 12C RAC INSTALLATION 4 img4 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img4-1.png)
![ORACLE 12C RAC INSTALLATION 5 img5 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img5-1.png)
![ORACLE 12C RAC INSTALLATION 5 img5 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img5-1.png)
![ORACLE 12C RAC INSTALLATION 6 img6 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img6-1.png)
![ORACLE 12C RAC INSTALLATION 6 img6 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img6-1.png)
![ORACLE 12C RAC INSTALLATION 7 img7 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img7-1.png)
![ORACLE 12C RAC INSTALLATION 7 img7 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img7-1.png)
![ORACLE 12C RAC INSTALLATION 8 img8 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img8-1.png)
![ORACLE 12C RAC INSTALLATION 8 img8 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img8-1.png)
![ORACLE 12C RAC INSTALLATION 9 img9 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img9-1.png)
![ORACLE 12C RAC INSTALLATION 9 img9 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img9-1.png)
![ORACLE 12C RAC INSTALLATION 10 img10 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img10-1.png)
![ORACLE 12C RAC INSTALLATION 10 img10 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img10-1.png)
![ORACLE 12C RAC INSTALLATION 11 img11 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img11-1.png)
![ORACLE 12C RAC INSTALLATION 11 img11 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img11-1.png)
![ORACLE 12C RAC INSTALLATION 12 img12 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img12-1.png)
![ORACLE 12C RAC INSTALLATION 12 img12 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img12-1.png)
![ORACLE 12C RAC INSTALLATION 13 img13 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img13-1.png)
![ORACLE 12C RAC INSTALLATION 13 img13 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img13-1.png)
![ORACLE 12C RAC INSTALLATION 14 img14 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img14-1.png)
![ORACLE 12C RAC INSTALLATION 14 img14 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img14-1.png)
![ORACLE 12C RAC INSTALLATION 15 img14 2](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img14-2.png)
![ORACLE 12C RAC INSTALLATION 15 img14 2](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img14-2.png)
![ORACLE 12C RAC INSTALLATION 16 img15 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img15-1.png)
![ORACLE 12C RAC INSTALLATION 16 img15 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img15-1.png)
![ORACLE 12C RAC INSTALLATION 17 img16 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img16-1.png)
![ORACLE 12C RAC INSTALLATION 17 img16 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img16-1.png)
![ORACLE 12C RAC INSTALLATION 18 img17 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img17-1.png)
![ORACLE 12C RAC INSTALLATION 18 img17 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img17-1.png)
![ORACLE 12C RAC INSTALLATION 19 img18 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img18-1.png)
![ORACLE 12C RAC INSTALLATION 19 img18 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img18-1.png)
![ORACLE 12C RAC INSTALLATION 20 img19 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img19-1.png)
![ORACLE 12C RAC INSTALLATION 20 img19 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img19-1.png)
![ORACLE 12C RAC INSTALLATION 21 img20 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img20-1.png)
![ORACLE 12C RAC INSTALLATION 21 img20 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img20-1.png)
![ORACLE 12C RAC INSTALLATION 22 img21 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img21-1.png)
![ORACLE 12C RAC INSTALLATION 22 img21 1](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img21-1.png)
DATABASE Installation
![ORACLE 12C RAC INSTALLATION 23 img22](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img22.png)
![ORACLE 12C RAC INSTALLATION 23 img22](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img22.png)
![ORACLE 12C RAC INSTALLATION 24 img23](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img23.png)
![ORACLE 12C RAC INSTALLATION 24 img23](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img23.png)
![ORACLE 12C RAC INSTALLATION 25 img24](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img24.png)
![ORACLE 12C RAC INSTALLATION 25 img24](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img24.png)
![ORACLE 12C RAC INSTALLATION 26 img25](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img25.png)
![ORACLE 12C RAC INSTALLATION 26 img25](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img25.png)
![ORACLE 12C RAC INSTALLATION 27 img26](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img26.png)
![ORACLE 12C RAC INSTALLATION 27 img26](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img26.png)
![ORACLE 12C RAC INSTALLATION 28 img27](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img27.png)
![ORACLE 12C RAC INSTALLATION 28 img27](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img27.png)
![ORACLE 12C RAC INSTALLATION 29 img28](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img28.png)
![ORACLE 12C RAC INSTALLATION 29 img28](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img28.png)
![ORACLE 12C RAC INSTALLATION 30 img29](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img29.png)
![ORACLE 12C RAC INSTALLATION 30 img29](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img29.png)
![ORACLE 12C RAC INSTALLATION 31 img30](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img30.png)
![ORACLE 12C RAC INSTALLATION 31 img30](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img30.png)
![ORACLE 12C RAC INSTALLATION 32 img31](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img31.png)
![ORACLE 12C RAC INSTALLATION 32 img31](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img31.png)
![ORACLE 12C RAC INSTALLATION 33 img32](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img32.png)
![ORACLE 12C RAC INSTALLATION 33 img32](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img32.png)
![ORACLE 12C RAC INSTALLATION 34 img33](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img33.png)
![ORACLE 12C RAC INSTALLATION 34 img33](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img33.png)
![ORACLE 12C RAC INSTALLATION 35 img34](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img34.png)
![ORACLE 12C RAC INSTALLATION 35 img34](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img34.png)
![ORACLE 12C RAC INSTALLATION 36 img35](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img35.png)
![ORACLE 12C RAC INSTALLATION 36 img35](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img35.png)
![ORACLE 12C RAC INSTALLATION 37 img36](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img36.png)
![ORACLE 12C RAC INSTALLATION 37 img36](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img36.png)
![ORACLE 12C RAC INSTALLATION 38 img37](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img37.png)
![ORACLE 12C RAC INSTALLATION 38 img37](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img37.png)
![ORACLE 12C RAC INSTALLATION 39 img38](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img38.png)
![ORACLE 12C RAC INSTALLATION 39 img38](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img38.png)
![ORACLE 12C RAC INSTALLATION 40 img39](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img39.png)
![ORACLE 12C RAC INSTALLATION 40 img39](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img39.png)
![ORACLE 12C RAC INSTALLATION 41 img40](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img40.png)
![ORACLE 12C RAC INSTALLATION 41 img40](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img40.png)
![ORACLE 12C RAC INSTALLATION 42 img41](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img41.png)
![ORACLE 12C RAC INSTALLATION 42 img41](https://www.databaseanalyser.com/wp-content/uploads/2022/01/img41.png)