Oracle Linux 7.1 安装Oracle 12C RAC.doc
文本预览下载声明
Oracle Linux 7.1 安装Oracle 12C RAC
OS环境:
[root@rac12c1 ~]# uname -a
Linux rac12c1 3.8.13-55.1.6.el7uek.x86_64 #2 SMP Wed Feb 11 14:18:22 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
IP规划:
[root@rac12c1 ~]# cat /etc/hosts
? localhost localhost.localdomain localhost4 localhost4.localdomain4
::1? ? ? ? localhost localhost.localdomain localhost6 localhost6.localdomain6
# Public IP for? HYPERLINK /topicnews.aspx?tid=12 \o Oracle \t _blank Oracle?12C RAC
21? ? rac12c1.localdomain? ? rac12c1
22? ? rac12c2.localdomain? ? rac12c2
# Private IP for Oracle 12C RAC
21? ? rac12c1pri.localdomain rac12c1pri
22? ? rac12c1pri.localdomain rac12c2pri
# Virtual IP for Oracle 12C RAC
23? ? rac12c1vip.localdomain rac12c1vip
24? ? rac12c2vip.localdomain rac12c2vip
#SCAN
25 rac12c-scan.localdomain rac12c-scan
禁用Selinux:
[root@rac12c1 ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#? ? enforcing - SELinux security policy is enforced.
#? ? permissive - SELinux prints warnings instead of enforcing.
#? ? disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
#? ? targeted - Targeted processes are protected,
#? ? minimum - Modification of targeted policy. Only selected processes are protected.
#? ? mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@rac12c1 ~]# setenforce 0
修改/dev/shm大小为8G
tmpfs? ? ? ? ? ? /dev/shm? ? ? ? ? ? ? ? tmpfs? rw,exec,size=2048M 0 0
[root@rac12c1 ~]# mount -o remount /dev/shm/
禁用防火墙:
[root@rac12c1 ~]# systemctl start firewalld.service
[root@rac12c1 ~]# systemctl stop firewalld.service
[root@rac12c1 ~]# ]# systemctl disable firewalld.service
rm /etc/systemd/system/basic.target.wants/firewalld.service
rm /etc/systemd/system/dbus-org. HYPERLINK /topicnews.aspx?tid=5 \o Fedora \t _blank Fedoraproject.FirewallD1.service
重启各个节点操作系统,检查各个节点网络连通性:
123?
[root@rac12c1 ~]# ping rac12c2pri
[root@rac12c1 ~]# ping rac12c2
,,,
配置YUM:
[root@
显示全部