文档详情

ORACLE-11G-RAC安装配置.doc

发布:2018-10-09约1.3万字共45页下载文档
文本预览下载声明
ORACLE 11G RAC安装配置(自整理) 测试配置缓环境:Red Hat Enterprise Linux 5.8 一、关闭防火墙 [root@rac01 ~]# service iptables stop [root@rac01 ~]# chkconfig iptables off [root@rac01 ~]# chkconfig iptables –list iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@rac01 ~]# vi /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 these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted 二、修改hosts文件(所有节点) [root@rac01 ~]# vi /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 11 rac01 12 rac02 11 rac01-priv 12 rac02-priv 13 rac01-vip 14 rac02-vip 15 rac-scan 16 rac-scan 17 rac-scan 三、添加组和用户 创建组: [root@rac01 ~]# groupadd -g 1000 oinstall [root@rac01 ~]# groupadd -g 1001 asmadmin [root@rac01 ~]# groupadd -g 1002 dba [root@rac01 ~]# groupadd -g 1003 asmdba [root@rac01 ~]# groupadd -g 1004 asmoper 创建grid用户: [root@rac01 ~]# useradd -u 1000 -g oinstall -G asmadmin,asmdba,asmoper,dba -d /home/grid -m grid 为grid用户设密码: [root@rac01 ~]#passwd grid 创建oracle用户: 如果oracle用户不存在,则: [root@rac01 ~]# useradd -u 1001 -g oinstall -G dba,asmdba -d /home/oracle -m oracle 如果oracle用户已经存在,则: [root@rac01 ~]# usermod -g oinstall -G dba,asmdba –u 1001 oracle 为oracle用户设密码: [root@rac01 ~]# passwd oracle 检测nobody用户 [root@rac01 ~]# id nobody 如果不存在,则: [root@rac01 ~]# useradd nobody 四、配SSH互信 为ssh和scp创建连接 ls -l /usr/local/bin/ssh ls -l /usr/local/bin/scp 不存在则创建 [root@rac01 ~]# /bin/ln -s /usr/bin/ssh /usr/
显示全部
相似文档