修改双机的/etc/hosts文件,用以解释主机名(让双机可以通过计算机名解析外部和外部IP地址).
修改/etc/sysctl.conf文件
内容如下:
# Default setting in bytes of the socket receive buffer
net.core.rmem_default=262144
# Default setting in bytes of the socket send buffer
net.core.wmem_default=262144
# Maximum socket receive buffer size which may be set by using
# the SO_RCVBUF socket option
net.core.rmem_max=262144
# Maximum socket send buffer size which may be set by using
# the SO_SNDBUF socket option
net.core.wmem_max=262144
接下来的就是装ORACLE软件了,但是要先安装它的CLUSTER模块,然后再安装ORACLE软件(安装CLUSTER模块后,要选择两台DB,软件会自动安装在两台DB上).
CLUSTER INSTALL:
安装oracle cluster manager设置参数如下:
Public Node Information(DB1和DB2)
Private Node Information(testDB1和testDB2)
Quorum Disk Information(/home/oracle/racdata/CMQuorumFile)