| 节点信息:IP PRIVIP VIP HOSTNAME123.125.17.2 192.168.100.2 123.125.17.6 RAC-01123.125.17.4 192.168.100.3 123.125.17.8 RAC-02 |
| /usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/useradd -m -g oinstall -G dba oracle id oracle |
| # passwd oracle Changing password for user oracle. New password: Retype new password: passwd:all authentication tokens updated successfully. |
| mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/app/oracle |
| cat >> /etc/sysctl.conf >>EOF kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=262144 net.core.wmem_default=262144 net.core.rmem_max=262144 net.core.wmem_max=262144 EOF /sbin/sysctl -p |
| cat >> /etc/security/limits.conf >>EOF oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 EOF |
| modprobe hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 cat >> /etc/rc.d/rc.local >>EOF modprobe hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 EOF |
| 127.0.0.1 localhost.localdomain localhost 192.168.100.2 rac-priv01 192.168.100.3 rac-priv02 123.125.17.2 rac-01 123.125.17.4 rac-02 123.125.17.6 rac-vip01 123.125.17.8 rac-vip02 |
|
|
|