Part 1 Preparation and installation of clusterware and Oracle software
1. IP address planning
|
Node1 |
Node2 |
Node3 |
Hostname |
Rac1 |
Rac2 |
Rac3 |
Public IP |
192.168.5.243 |
192.168.5.244 |
192.168.5.239 |
Private IP |
10.0.0. 1 |
10.0.0. 2 |
10.0.0. 3 |
VIP |
192.168.5.246 |
192.168.5.247 |
192.168.5.240 |
2. Install Node 3. Configure the operating system according to the method of installing the first two nodes.
Including the user group Oracle and dba, related installation directory creation,/home/oracle/. bash_profile add
Test dependency packages
Configure/etc/sysconfig/sysctl. conf,/etc/limits. conf
Configure Time Synchronization
Configure hangcheck_timer
Install and configure Oracle asmlib and search for the asm disks created on the first two nodes.
3. Network Authentication Configuration
Modify the/etc/hosts of the three nodes as follows:
127.0.0.1 localhost
# Rac1
192.168.5.243 rac1
10.0.0.1 rac1-priv
192.168.5.246 rac1-vip
~
# Rac2
192.168.5.244 rac2
Rac2-priv 10.0.0.2
192.168.5.247 rac2-vip
# Rac3
192.168.5.239 rac3
Rac3-priv 10.0.0.3
The 192.168.5.240 rac3-vip
Configure three nodes for authentication and pass the test
4. In Node 1, use addnode. sh to install the clusterware software and CRS service on node rac3.
1) Use the cluvfy/runcluvfy. sh script in the clusterware installation directory for verification.
[Oracle @ rac1 ~] $/Home/oracle/clusterware/cluvfy/runcluvfy. sh stage-pre crsinst-n rac3-verbose
2) [oracle @ rac1 ~] $ ORA_CRS_HOME/oui/bin/addNode. sh
Go to the terware installation page
Finally, the system will prompt you to execute scripts on rac3, rac1, and rac3.
Then complete the clusterware Software Installation
3) register the ONS service of the new node to OCR.
[Oracle @ rac1 ~] $ ORA_CRS_HOME/bin/racgons add_config racing 3: 6200
4) Check the installation result
[Oracle @ rac1 ~] $ ORA_CRS_HOME/cluvfy stage-post crsinst-n rac3-verbose
Successful is displayed.
5. Install Oracle software
Run $ ORACLE_HOME/oui/bin/addNode. sh on node 1 and run the script on rac3.
[Content navigation] |
Page 7: Preparation and installation of clusterware and Oracle software |
Page 1: Create an ASM instance and a database instance for a new node |
Page 1: Listener Configuration and cluster check |
|