Environment preparation
Node One: CentOS 6.8 x86-64
CPU:4C Memory: 8g swap:8g
Business ip:192.168.50.20 Private Network ip:10.98.50.20
Node two: CentOS 6.8 x86-64
CPU:4C Memory: 8g swap:8g
Business ip:192.168.60.21 Private Network ip:10.98.50.21
Database and cluster Software:
Linuxamd64_12102_grid_1of2.zip
Linuxamd64_12102_grid_2of2.zip
Linuxamd64_12102_database_1of2.zip
Linuxamd64_12102_database_2of2.zip
Two node host installs the CentOS 6.8 x86-64 system and installs the graphical environment.
Configure Node One network
Use the Ifconfig command to view the corresponding MAC address.
650) this.width=650; "title=" Qq20160707160922.png "alt=" wkiom1d-dj-agv_maaguzoorue4454.png-wh_50 "src="/HTTP/ S2.51cto.com/wyfs02/m01/83/db/wkiom1d-dj-agv_maaguzoorue4454.png-wh_500x0-wm_3-wmp_4-s_1292591257.png "/>
Use the NMCLI command to view the network card's UUID
650) this.width=650; "title=" Qq20160707161340.png "alt=" wkiom1d-d0ktpeceaadsvcspaaq596.png-wh_50 "src="/HTTP/ S4.51cto.com/wyfs02/m02/83/db/wkiom1d-d0ktpeceaadsvcspaaq596.png-wh_500x0-wm_3-wmp_4-s_3465596635.png "/>
Modify the network configuration file/etc/sysconfig/network-scripts/ifcfg-eth0 and/etc/sysconfig/network-scripts/ifcfg-eth1 corresponding network card to add or modify the network card MAC address, UUID, IP and other parameters.
Note Add these two lines of parameters
Nm_controlled=no
Peerdns=no
650) this.width=650; "title=" Qq20160707163631.png "src=" http://s2.51cto.com/wyfs02/M00/83/DB/ Wkiom1d-fj-dlpsyaac3ykupcoo773.png-wh_500x0-wm_3-wmp_4-s_2474305859.png "alt=" Wkiom1d-fj-dlpsyaac3ykupcoo773.png-wh_50 "/>
650) this.width=650; "title=" Qq20160707163717.png "src=" http://s4.51cto.com/wyfs02/M02/83/DB/ Wkiom1d-fmnzvylgaactoubqmqw920.png-wh_500x0-wm_3-wmp_4-s_243760274.png "alt=" Wkiom1d-fmnzvylgaactoubqmqw920.png-wh_50 "/>
Stop the NetworkManager service and set boot not to start, restart the network service.
/etc/init.d/networkmanager stop
Chkconfig NetworkManager off
/etc/init.d/network restart
650) this.width=650; "title=" Qq20160707162618.png "alt=" wkiol1d-ejty-jsyaaf3zkpdrek077.png-wh_50 "src="/HTTP/ S2.51cto.com/wyfs02/m01/83/da/wkiol1d-ejty-jsyaaf3zkpdrek077.png-wh_500x0-wm_3-wmp_4-s_1924918441.png "/>
Configure the DNS server/etc/resolv.conf
650) this.width=650; "title=" Qq20160707163912.png "src=" http://s1.51cto.com/wyfs02/M02/83/DB/ Wkiom1d-funjyuchaaa8j756pgk218.png "alt=" Wkiom1d-funjyuchaaa8j756pgk218.png "/>
Configure the host file/etc/hosts add
# Oracle RAC Public IP
192.168.50.20 12crac1.oracle.com 12crac1
192.168.50.21 12crac2.oracle.com 12CRAC2
# Oracle RAC VIP
192.168.50.22 12crac1-vip.oracle.com 12CRAC1-VIP
192.168.50.23 12crac2-vip.oracle.com 12CRAC2-VIP
# Oracle RAC Private IP
10.98.50.20 12crac1-priv.oracle.com 12crac1-priv
10.98.50.21 12crac2-priv.oracle.com 12crac2-priv
# Oracle RAC SCAN IP
192.168.50.24 scan.oracle.com
192.168.50.25 scan.oracle.com
192.168.50.26 scan.oracle.com
650) this.width=650; "title=" Qq20160707172211.png "src=" http://s4.51cto.com/wyfs02/M02/83/DB/ Wkiom1d-h1fsqfdjaafc6vp-ohc924.png-wh_500x0-wm_3-wmp_4-s_2662396596.png "alt=" Wkiom1d-h1fsqfdjaafc6vp-ohc924.png-wh_50 "/>
Stop the NTP service and uninstall.
/ETC/INIT.D/NTPD stop
Yum Erase Ntp-y
650) this.width=650; "title=" Qq20160707164306.png "src=" http://s4.51cto.com/wyfs02/M02/83/DA/ Wkiol1d-fisrztqyaae3obxqws0129.png-wh_500x0-wm_3-wmp_4-s_2998259665.png "alt=" Wkiol1d-fisrztqyaae3obxqws0129.png-wh_50 "/>
Use Ntpdate to synchronize the system time with the NTP server and write to the hardware clock, the Ntpdate service starts from the boot.
Ntpdate 0.centos.pool.ntp.org
Hwclock-w
Chkconfig ntpdate on
650) this.width=650; "title=" Qq20160707164638.png "src=" http://s4.51cto.com/wyfs02/M01/83/DA/ Wkiol1d-fvrjxtihaacrtlswtzo178.png-wh_500x0-wm_3-wmp_4-s_2912137538.png "alt=" Wkiol1d-fvrjxtihaacrtlswtzo178.png-wh_50 "/>
Stopping firewalls and SELinux services
/etc/init.d/iptables stop
Chkconfig iptables off
Setenforce 0
650) this.width=650; "title=" Qq20160707165321.png "src=" http://s5.51cto.com/wyfs02/M00/83/DB/ Wkiom1d-gi2h8qsvaacwocb6d-o411.png-wh_500x0-wm_3-wmp_4-s_3804715685.png "alt=" Wkiom1d-gi2h8qsvaacwocb6d-o411.png-wh_50 "/>
The SELinux service needs to modify the configuration file/etc/sysconfig/selinux to be permanently disabled.
650) this.width=650; "title=" Qq20160707165158.png "src=" http://s1.51cto.com/wyfs02/M02/83/DB/ Wkiom1d-gdydkuwjaadpxfeugce940.png-wh_500x0-wm_3-wmp_4-s_3277303173.png "alt=" Wkiom1d-gdydkuwjaadpxfeugce940.png-wh_50 "/>
Configure the node two hosts to follow the procedure described above.
This article from the "Server System Communication" blog, reproduced please contact the author!
CentOS 6.8 Platform Oracle 12.1.0.2.0 RAC Two-node database cluster setup