Oracle 12c RAC 搭建手册
来源:互联网 发布:centos7源码安装nginx 编辑:程序博客网 时间:2024/05/22 21:23
1 共享设备配置
1.1 设备划分说明
冗余策略
卷划分及大小说明
OCRVOTING
Ocrvoting01
8G
Ocrvoting02
8G
Ocrvoting03
8G
DATAFILE
Data01
8G
Data02
8G
FRA_ARCH
Fra01
8G
Fra02
8G
我们这里OCRVOTING 采用Normal,DATA和FRA 采用external。
11g中每个OCR和vote disk 至少需要600M空间。在ASM 的冗余级别中:
external >= 1
normal >=3
high >=5
在12c里面,OCR voting disk 外部冗余,至少需要4342MB的空间,Normal 至少需要8711MB的空间。
Cause - Insufficient spaceavailable in the selected Disks. At least, 4,342 MB of free space isrequired. Action - Chooseadditional disks such that the total size should be at least 4,342 MB.
Cause - Insufficient spaceavailable in the selected Disks. At least, 8,711 MB of free space isrequired. Action - Chooseadditional disks such that the total size should be at least 8,711 MB.
具体创建过程,直接在VBOX上创建,或者参考我以前的blog,这里不在详述。
1.2 配置UDEV
用如下脚本获取绑定脚本:
for i in b c d e f g h;
do
echo “KERNEL==\”sd*\”, BUS==\”scsi\”,PROGRAM==\”/sbin/scsi_id -g -u /dev/$name\”, RESULT==\”`/sbin/scsi_id -g -u/dev/sd
KERNEL==”sd*”,BUS==”scsi”, PROGRAM==”/sbin/scsi_id -g -u /dev/name",RESULT=="1ATA_VBOX_HARDDISK_VBb84b3378-7205c629",NAME="asm-diskc", OWNER="grid", GROUP="asmadmin",MODE="0660"</p><p>KERNEL=="sd*",BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u /dev/name”, RESULT==”1ATA_VBOX_HARDDISK_VB8c6d2199-64d26b1e”,NAME=”asm-diskd”, OWNER=”grid”, GROUP=”asmadmin”,MODE=”0660”
KERNEL==”sd*”,BUS==”scsi”, PROGRAM==”/sbin/scsi_id -g -u /dev/name",RESULT=="1ATA_VBOX_HARDDISK_VBc86e3f5c-ba9c8397",NAME="asm-diske", OWNER="grid", GROUP="asmadmin",MODE="0660"</p><p>KERNEL=="sd*",BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u /dev/name”,RESULT==”1ATA_VBOX_HARDDISK_VB4776a8c1-0b444519”,NAME=”asm-diskf”, OWNER=”grid”, GROUP=”asmadmin”,MODE=”0660”
KERNEL==”sd*”,BUS==”scsi”, PROGRAM==”/sbin/scsi_id -g -u /dev/name",RESULT=="1ATA_VBOX_HARDDISK_VBb7771090-d177eeaf",NAME="asm-diskg", OWNER="grid", GROUP="asmadmin",MODE="0660"</p><p>KERNEL=="sd*",BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u /dev/name”,RESULT==”1ATA_VBOX_HARDDISK_VBe7da4ea4-622fea96”,NAME=”asm-diskh”, OWNER=”grid”, GROUP=”asmadmin”,MODE=”0660”
–重启UDEV:
[root@asm rules.d]# start_udev
Starting udev: [ OK ]
–检查共享设备的所属关系和权限:
[root@rac1 ~]# ll /dev/asm*
brw-rw—- 1 grid asmadmin 8, 16 May 28 22:55 /dev/asm-diskb
brw-rw—- 1 grid asmadmin 8, 32 May 28 22:55 /dev/asm-diskc
brw-rw—- 1 grid asmadmin 8, 48 May 28 22:55 /dev/asm-diskd
brw-rw—- 1 grid asmadmin 8, 64 May 28 22:55 /dev/asm-diske
brw-rw—- 1 grid asmadmin 8, 80 May 28 22:55 /dev/asm-diskf
brw-rw—- 1 grid asmadmin 8, 96 May 28 22:55 /dev/asm-diskg
brw-rw—- 1 grid asmadmin 8, 112 May 2822:55 /dev/asm-diskh
[root@rac1 ~]#
2 安装RAC的准备工作
2.1 添加组和用户(所有节点)
groupadd -g 1000 oinstall
groupadd -g 1200 asmadmin
groupadd -g 1201 asmdba
groupadd -g 1202 asmoper
groupadd -g 1300 dba
groupadd -g 1301 oper
useradd -m -u 1100 -g oinstall -Gasmadmin,asmdba,asmoper,dba -d /home/grid -s /bin/bash grid
useradd -m -u 1101 -g oinstall -Gdba,oper,asmdba -d /home/Oracle -s /bin/bash oracle
–将用户grid添加到dba组:
[root@rac1 app]# gpasswd -a grid dba
Adding user grid to group dba
–确认用户信息:
[root@rac1 ~]# id oracle
uid=502(oracle) gid=507(oinstall)groups=507(oinstall),502(dba),503(oper),506(asmdba)
[root@rac1 ~]# id grid
uid=1100(grid) gid=507(oinstall) groups=507(oinstall),504(asmadmin),506(asmdba),505(asmoper)
–修改密码:
passwd oracle
passwd grid
2.2 禁用防火墙和SELNUX(所有节点)
关闭防火墙:
service iptables status
service iptables stop
chkconfig iptables off
chkconfig iptables –list
设置/etc/selinux/config 文件,将SELINUX设置为disabled。
[root@rac1 ~]# cat/etc/selinux/config
# This file controls the state of SELinuxon the system.
# SELINUX= can take one of these threevalues:
# 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 twovalues:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
2.3 配置时间同步(所有节点)
这里我们使用CTSS.所以要停用 NTP 服务,并从初始化序列中禁用该服务,并删除 ntp.conf 文件。以 root 用户身份在两个 OracleRAC 节点上运行以下命令:
[root@rac1 ~]# /sbin/service ntpd stop
Shutting down ntpd: [ OK ]
[root@rac1 ~]# chkconfig ntpd off
[root@rac1 ~]# mv /etc/ntp.conf/etc/ntp.conf.original
[root@rac1 ~]# chkconfig ntpd –list
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@rac2 ~]# /sbin/service ntpd stop
Shutting down ntpd: [ OK ]
[root@rac2 ~]# chkconfig ntpd off
[root@rac2 ~]# mv /etc/ntp.conf/etc/ntp.conf.original
[root@rac2 ~]# chkconfig ntpd –list
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
还要删除以下文件:
rm /var/run/ntpd.pid
此文件保存了 NTP 后台程序的 pid。
2.4 创建目录结构(所有节点)
mkdir -p /u01/gridsoft/12.1.0
mkdir -p /u01/gridbase
chown -R grid:oinstall /u01
chown -R grid:oinstall /u01
mkdir -p/u01/oracle/12.1.0/db_1
chown-R oracle:oinstall /u01/oracle
chmod -R 775 /u01
2.5 配置环境变量
2.5.1 Grid用户
修改grid用户的.bash_profile.注意每个节点的不同内容:
export ORACLE_SID=+ASM1
#export ORACLE_SID=+ASM2
export ORACLE_BASE=/u01/gridbase
export ORACLE_HOME=/u01/gridsoft/12.1.0
exportPATH=
export TEMP=/tmp
export TMP=/tmp
export TMPDIR=/tmp
umask 022
2.5.2 Oracle 用户
修改oracle 用户的.bash_profile,注意每个节点的不同内容:
ORACLE_SID=cndba1;export ORACLE_SID
#ORACLE_SID=cndba2;export ORACLE_SID
ORACLE_UNQNAME=cndba;export ORACLE_UNQNAME
JAVA_HOME=/usr/local/Java; export JAVA_HOME
ORACLE_BASE=/u01/oracle; export ORACLE_BASE
ORACLE_HOME=
ORA_NLS11=
PATH=
LD_LIBRARY_PATH=
LD_LIBRARY_PATH=
CLASSPATH=
CLASSPATH=
CLASSPATH=
export CLASSPATH
THREADS_FLAG=native; export THREADS_FLAG
export TEMP=/tmp
export TMPDIR=/tmp
umask 022
2.6 为安装用户设置资源限制
2.6.1 修改/etc/security/limits.conf
以 root 用户身份,在每个 Oracle RAC 节点上,在 /etc/security/limits.conf 文件中添加如下内容,或者执行执行如下命令:
[root@rac1 ~]# cat >> /etc/security/limits.conf <<EOF
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF
2.6.2 修改/etc/pam.d/login
在每个 OracleRAC 节点上,在 /etc/pam.d/login 文件中添加或编辑下面一行内容:
[root@rac1 ~]# cat >> /etc/pam.d/login <<EOF
session required pam_limits.so
EOF
2.6.3 shell 的限制
对默认的 shell 启动文件进行以下更改,以便更改所有 Oracle 安装所有者的 ulimit 设置:
[root@rac1 ~]# cat >> /etc/profile <<EOF
if [ /
if[ /SHELL = "/bin/ksh" ]; then</span></p><p><span style="color:red;"> ulimit-p 16384</span></p><p><span style="color:red;"> ulimit-n 65536</span></p><p><span style="color:red;"> else</span></p><p><span style="color:red;"> ulimit-u 16384 -n 65536</span></p><p><span style="color:red;"> fi</span></p><p><span style="color:red;"> umask022</span></p><p><span style="color:red;">fi</span></p><p><span style="color:red;">EOF</span></p><p align="left"><span style="color:red;"> </span></p><p align="left"><span style="color:red;">注:红色部分一起执行</span></p><p> </p><h3><a name="t15" target="_blank"></a>2.6.4 修改/etc/sysctl.conf</h3><p align="left"> </p><p>#vi /etc/sysctl.conf</p><p align="left"> </p><p>kernel.shmmax = 4294967295</p><p>kernel.shmall = 2097152</p><p>kernel.shmmni = 4096</p><p>kernel.sem = 250 32000 100 128</p><p>fs.file-max = 6815744</p><p>net.ipv4.ip_local_port_range = 9000 65500</p><p>net.core.rmem_default=262144</p><p>net.core.rmem_max=4194304</p><p>net.core.wmem_default=262144</p><p>net.core.wmem_max=1048576</p><p>fs.aio-max-nr=1048576</p><p align="left"> </p><p>使修改的参数生效:</p><p>[root@rac1 ~]# sysctl -p</p><p> </p><p> </p><h3><a name="t16" target="_blank"></a><a target="_blank" name="_Toc337843494"></a><a target="_blank" name="_Toc341229923">2.6.5 修改/etc/hosts文件(所有节点)</a></h3><p><a target="_blank" name="OLE_LINK3073"></a><a target="_blank" name="OLE_LINK3074">[root@rac1 ~]# cat/etc/hosts</a></p><p>127.0.0.1 localhost </p><p> </p><p>192.168.56.5 rac1 </p><p>192.168.57.5 rac1-priv</p><p>192.168.56.7 rac1-vip</p><p> </p><p>192.168.56.6 rac2 </p><p>192.168.57.6 rac2-priv</p><p>192.168.56.8 rac2-vip</p><p> </p><p>192.168.56.9 rac-scan</p><p> </p><p> </p><h1><a name="t17" target="_blank"></a>3 安装Grid</h1><p> </p><p>在节点1,用grid用户运行runInstaller。</p><p> </p><p> <img src="http://img.blog.csdn.net/20141202104804187?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></p><p><img src="http://img.blog.csdn.net/20141202104814171?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104825328?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">\<br></p><p><img src="http://img.blog.csdn.net/20141202104807869?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p><img src="http://img.blog.csdn.net/20141202104844750?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104824982?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104832236?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104839396?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104846323?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104854232?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104901221?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104935078?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104914309?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104921329?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104929473?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104936181?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202104944527?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105019140?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105026687?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105006117?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105014338?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105048265?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105054875?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105102015?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105040952?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p><br><br></p><p>[root@rac1 /]# /u01/oraInventory/orainstRoot.sh</p><p>Changing permissions of /u01/oraInventory.</p><p>Adding read,write permissions for group.</p><p>Removing read,write,execute permissions forworld.</p><p> </p><p>Changing groupname of /u01/oraInventory tooinstall.</p><p>The execution of the script is complete.</p><p> </p><p>[root@rac2 /]#/u01/oraInventory/orainstRoot.sh</p><p>Changing permissions of /u01/oraInventory.</p><p>Adding read,write permissions for group.</p><p>Removing read,write,execute permissions forworld.</p><p> </p><p>Changing groupname of /u01/oraInventory tooinstall.</p><p>The execution of the script is complete.</p><p>[root@rac2 /]#</p><p> </p><p><span style="color: red;">--</span><span style="color: red;">节点1</span>执行root.sh, 过程很长: 17分钟:</p><p>[root@rac1 /]# /u01/gridsoft/12.1.0/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= grid</p><p> ORACLE_HOME= /u01/gridsoft/12.1.0</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p> Copying dbhome to /usr/local/bin ...</p><p> Copying oraenv to /usr/local/bin ...</p><p> Copying coraenv to /usr/local/bin ...</p><p> </p><p> </p><p>Creating /etc/oratab file...</p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p>Using configuration parameter file: /u01/gridsoft/12.1.0/crs/install/crsconfig_params</p><p>2014/08/07 02:42:37 CLSRSC-363: Userignored prerequisites during installation</p><p> </p><p>OLR initialization - successful</p><p> root wallet</p><p> root wallet cert</p><p> root cert export</p><p> peer wallet</p><p> profile reader wallet</p><p> pawallet</p><p> peer wallet keys</p><p> pawallet keys</p><p> peer cert request</p><p> pacert request</p><p> peer cert</p><p> pacert</p><p> peer root cert TP</p><p> profile reader root cert TP</p><p> paroot cert TP</p><p> peer pa cert TP</p><p> papeer cert TP</p><p> profile reader pa cert TP</p><p> profile reader peer cert TP</p><p> peer user cert</p><p> pauser cert</p><p>2014/08/07 02:43:33 CLSRSC-330: AddingClusterware entries to file 'oracle-ohasd.conf'</p><p> </p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p> </p><p>ASM created and started successfully.</p><p> </p><p>Disk Group OCR_VOTING created successfully.</p><p> </p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-4256: Updating the profile</p><p>Successful addition of voting diskf56b0e0be76b4f03bf4782230c783e67.</p><p>Successfully replaced voting disk groupwith +OCR_VOTING.</p><p>CRS-4256: Updating the profile</p><p>CRS-4266: Voting file(s) successfullyreplaced</p><p>## STATE File Universal Id File Name Disk group</p><p>-- ----- ----------------- --------- ---------</p><p> 1.ONLINE f56b0e0be76b4f03bf4782230c783e67(/dev/asm-diske) [OCR_VOTING]</p><p>Located 1 voting disk(s).</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.ctssd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.evmd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.storage'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.gpnpd' on'rac1'</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.mdnsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2677: Stop of 'ora.cluster_interconnect.haip'on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.cssd' on'rac1'</p><p>CRS-2677: Stop of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.crf' on'rac1'</p><p>CRS-2677: Stop of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.gipcd' on'rac1'</p><p>CRS-2677: Stop of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac1' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac1'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac1'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-6023: Starting Oracle Cluster ReadyServices-managed resources</p><p>CRS-6017: Processing resource auto-startfor servers: rac1</p><p>CRS-6016: Resource auto-start has completedfor server rac1</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 02:52:25 CLSRSC-343:Successfully started Oracle clusterware stack</p><p> </p><p>CRS-2672: Attempting to start'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1'</p><p>CRS-2676: Start of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.OCR_VOTING.dg' on 'rac1'</p><p>CRS-2676: Start of 'ora.OCR_VOTING.dg' on'rac1' succeeded</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crsd' on'rac1'</p><p>CRS-2790: Starting shutdown of ClusterReady Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop'ora.LISTENER_SCAN1.lsnr' on 'rac1'</p><p>CRS-2673: Attempting to stop'ora.OCR_VOTING.dg' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.rac1.vip'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.cvu' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.oc4j' on'rac1'</p><p>CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr'on 'rac1' succeeded</p><p>CRS-2673: Attempting to stop'ora.scan1.vip' on 'rac1'</p><p>CRS-2677: Stop of 'ora.cvu' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.rac1.vip' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.OCR_VOTING.dg' on'rac1' succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.scan1.vip' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1'</p><p>CRS-2677: Stop of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.oc4j' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.ons' on'rac1'</p><p>CRS-2677: Stop of 'ora.ons' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.net1.network' on 'rac1'</p><p>CRS-2677: Stop of 'ora.net1.network' on'rac1' succeeded</p><p>CRS-2792: Shutdown of Cluster ReadyServices-managed resources on 'rac1' has completed</p><p>CRS-2677: Stop of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.ctssd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.evmd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.storage'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.gpnpd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crf' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.mdnsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2677: Stop of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2673: Attempting to stop 'ora.cssd' on'rac1'</p><p>CRS-2677: Stop of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.gipcd' on'rac1'</p><p>CRS-2677: Stop of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac1' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.cssdmonitor'on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac1'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac1'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-6023: Starting Oracle Cluster ReadyServices-managed resources</p><p>CRS-6017: Processing resource auto-startfor servers: rac1</p><p>CRS-2672: Attempting to start'ora.scan1.vip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.oc4j' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.ons' on'rac1'</p><p>CRS-2672: Attempting to start'ora.rac1.vip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.cvu' on'rac1'</p><p>CRS-2676: Start of 'ora.cvu' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.scan1.vip' on'rac1' succeeded</p><p>CRS-2672: Attempting to start'ora.LISTENER_SCAN1.lsnr' on 'rac1'</p><p>CRS-2676: Start of 'ora.rac1.vip' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.ons' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded</p><p>CRS-2676: Start of 'ora.oc4j' on 'rac1' succeeded</p><p>CRS-6016: Resource auto-start has completedfor server rac1</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 02:59:19 CLSRSC-325: ConfigureOracle Grid Infrastructure for a Cluster ... succeeded</p><p> </p><p>[root@rac1 /]#</p><p> </p><p>节点2执行:</p><p>[root@rac2 /]# /u01/gridsoft/12.1.0/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= grid</p><p> ORACLE_HOME= /u01/gridsoft/12.1.0</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p> Copying dbhome to /usr/local/bin ...</p><p> Copying oraenv to /usr/local/bin ...</p><p> Copying coraenv to /usr/local/bin ...</p><p> </p><p> </p><p>Creating /etc/oratab file...</p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p>Using configuration parameter file:/u01/gridsoft/12.1.0/crs/install/crsconfig_params</p><p>2014/08/07 03:03:51 CLSRSC-363: Userignored prerequisites during installation</p><p> </p><p>OLR initialization - successful</p><p>2014/08/07 03:04:15 CLSRSC-330: AddingClusterware entries to file 'oracle-ohasd.conf'</p><p> </p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac2'</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac2'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac2' succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac2' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac2'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac2'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac2'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac2'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac2'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac2'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac2'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac2'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac2'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.cluster_interconnect.haip'on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac2'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac2'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac2'</p><p>CRS-2676: Start of 'ora.asm' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac2'</p><p>CRS-2676: Start of 'ora.storage' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac2'</p><p>CRS-2676: Start of 'ora.crf' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac2'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded</p><p>CRS-6017: Processing resource auto-startfor servers: rac2</p><p>CRS-2672: Attempting to start'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.ons' on'rac2'</p><p>CRS-2676: Start of 'ora.ons' on 'rac2'succeeded</p><p>CRS-2676: Start of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac2'</p><p>CRS-2676: Start of 'ora.asm' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start'ora.proxy_advm' on 'rac2'</p><p>CRS-2676: Start of 'ora.proxy_advm' on'rac2' succeeded</p><p>CRS-6016: Resource auto-start has completedfor server rac2</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 03:07:42 CLSRSC-343:Successfully started Oracle clusterware stack</p><p> </p><p>2014/08/07 03:08:02 CLSRSC-325: ConfigureOracle Grid Infrastructure for a Cluster ... succeeded</p><p> </p><p>[root@rac2 /]#</p><br><p><br></p><p><img src="http://img.blog.csdn.net/20141202105116953?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105055569?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105103494?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105139625?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p>至此,GRID 安装完成。</p><p> </p><p>[grid@rac1 ~] crs_stat -t
Name Type Target State Host
————————————————————
ora….SM.lsnr ora….er.type ONLINE ONLINE rac1
ora….ER.lsnr ora….er.type ONLINE ONLINE rac1
ora….N1.lsnr ora….er.type ONLINE ONLINE rac1
ora.MGMTLSNR ora….nr.type ONLINE ONLINE rac1
ora….TING.dg ora….up.type ONLINE ONLINE rac1
ora.asm ora.asm.type ONLINE ONLINE rac1
ora.cvu ora.cvu.type ONLINE ONLINE rac1
ora.mgmtdb ora….db.type ONLINE ONLINE rac1
ora….network ora….rk.type ONLINE ONLINE rac1
ora.oc4j ora.oc4j.type ONLINE ONLINE rac1
ora.ons ora.ons.type ONLINE ONLINE rac1
ora.proxy_advm ora….vm.type ONLINE ONLINE rac1
ora….C1.lsnr application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip ora….t1.type ONLINE ONLINE rac1
ora….C2.lsnr application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip ora….t1.type ONLINE ONLINE rac2
ora.scan1.vip ora….ip.type ONLINE ONLINE rac1
[grid@rac1 ~]</p><p> </p><p>[grid@rac1 ~] crsctl stat res -t
——————————————————————————–
Name Target State Server Statedetails
——————————————————————————–
Local Resources
——————————————————————————–
ora.ASMNET1LSNR_ASM.lsnr
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
ora.LISTENER.lsnr
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
ora.OCR_VOTING.dg
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
ora.net1.network
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
ora.ons
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
ora.proxy_advm
ONLINE ONLINE rac1 STABLE
ONLINE ONLINE rac2 STABLE
——————————————————————————–
Cluster Resources
——————————————————————————–
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1 STABLE
ora.MGMTLSNR
1 ONLINE ONLINE rac1 169.254.203.88192.1
68.57.5,STABLE
ora.asm
1 ONLINE ONLINE rac1 STABLE
2 ONLINE ONLINE rac2 STABLE
3 OFFLINE OFFLINE STABLE
ora.cvu
1 ONLINE ONLINE rac1 STABLE
ora.mgmtdb
1 ONLINE ONLINE rac1 Open,STABLE
ora.oc4j
1 ONLINE ONLINE rac1 STABLE
ora.rac1.vip
1 ONLINE ONLINE rac1 STABLE
ora.rac2.vip
1 ONLINE ONLINE rac2 STABLE
ora.scan1.vip
1 ONLINE ONLINE rac1 STABLE
——————————————————————————–
[grid@rac1 ~]</p><p> </p><p> </p><h1><a name="t18" target="_blank"></a>4 安装DB软件</h1><p> </p><p>在节点1,用oracle 用户运行runInstaller程序。</p><p> </p><p> </p><p> <img src="http://img.blog.csdn.net/20141202105559926?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></p><p><img src="http://img.blog.csdn.net/20141202105606758?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105613576?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105621032?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105630470?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105637178?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105644198?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105650844?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105658098?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105716927?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202105755593?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p></p><p>[root@rac1 /]# /u01/oraInventory/orainstRoot.sh</p><p>Changing permissions of /u01/oraInventory.</p><p>Adding read,write permissions for group.</p><p>Removing read,write,execute permissions forworld.</p><p> </p><p>Changing groupname of /u01/oraInventory tooinstall.</p><p>The execution of the script is complete.</p><p> </p><p>[root@rac2 /]#/u01/oraInventory/orainstRoot.sh</p><p>Changing permissions of /u01/oraInventory.</p><p>Adding read,write permissions for group.</p><p>Removing read,write,execute permissions forworld.</p><p> </p><p>Changing groupname of /u01/oraInventory tooinstall.</p><p>The execution of the script is complete.</p><p>[root@rac2 /]#</p><p> </p><p><span style="color: red;">--</span><span style="color: red;">节点1</span>执行root.sh, 过程很长: 17分钟:</p><p>[root@rac1 /]# /u01/gridsoft/12.1.0/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= grid</p><p> ORACLE_HOME= /u01/gridsoft/12.1.0</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p> Copying dbhome to /usr/local/bin ...</p><p> Copying oraenv to /usr/local/bin ...</p><p> Copying coraenv to /usr/local/bin ...</p><p> </p><p> </p><p>Creating /etc/oratab file...</p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p>Using configuration parameter file: /u01/gridsoft/12.1.0/crs/install/crsconfig_params</p><p>2014/08/07 02:42:37 CLSRSC-363: Userignored prerequisites during installation</p><p> </p><p>OLR initialization - successful</p><p> root wallet</p><p> root wallet cert</p><p> root cert export</p><p> peer wallet</p><p> profile reader wallet</p><p> pawallet</p><p> peer wallet keys</p><p> pawallet keys</p><p> peer cert request</p><p> pacert request</p><p> peer cert</p><p> pacert</p><p> peer root cert TP</p><p> profile reader root cert TP</p><p> paroot cert TP</p><p> peer pa cert TP</p><p> papeer cert TP</p><p> profile reader pa cert TP</p><p> profile reader peer cert TP</p><p> peer user cert</p><p> pauser cert</p><p>2014/08/07 02:43:33 CLSRSC-330: AddingClusterware entries to file 'oracle-ohasd.conf'</p><p> </p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p> </p><p>ASM created and started successfully.</p><p> </p><p>Disk Group OCR_VOTING created successfully.</p><p> </p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-4256: Updating the profile</p><p>Successful addition of voting diskf56b0e0be76b4f03bf4782230c783e67.</p><p>Successfully replaced voting disk groupwith +OCR_VOTING.</p><p>CRS-4256: Updating the profile</p><p>CRS-4266: Voting file(s) successfullyreplaced</p><p>## STATE File Universal Id File Name Disk group</p><p>-- ----- ----------------- --------- ---------</p><p> 1.ONLINE f56b0e0be76b4f03bf4782230c783e67(/dev/asm-diske) [OCR_VOTING]</p><p>Located 1 voting disk(s).</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.ctssd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.evmd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.storage'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.gpnpd' on'rac1'</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.mdnsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2677: Stop of 'ora.cluster_interconnect.haip'on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.cssd' on'rac1'</p><p>CRS-2677: Stop of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.crf' on'rac1'</p><p>CRS-2677: Stop of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.gipcd' on'rac1'</p><p>CRS-2677: Stop of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac1' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac1'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac1'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-6023: Starting Oracle Cluster ReadyServices-managed resources</p><p>CRS-6017: Processing resource auto-startfor servers: rac1</p><p>CRS-6016: Resource auto-start has completedfor server rac1</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 02:52:25 CLSRSC-343:Successfully started Oracle clusterware stack</p><p> </p><p>CRS-2672: Attempting to start'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1'</p><p>CRS-2676: Start of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.OCR_VOTING.dg' on 'rac1'</p><p>CRS-2676: Start of 'ora.OCR_VOTING.dg' on'rac1' succeeded</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crsd' on'rac1'</p><p>CRS-2790: Starting shutdown of ClusterReady Services-managed resources on 'rac1'</p><p>CRS-2673: Attempting to stop'ora.LISTENER_SCAN1.lsnr' on 'rac1'</p><p>CRS-2673: Attempting to stop'ora.OCR_VOTING.dg' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.rac1.vip'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.cvu' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.oc4j' on'rac1'</p><p>CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr'on 'rac1' succeeded</p><p>CRS-2673: Attempting to stop'ora.scan1.vip' on 'rac1'</p><p>CRS-2677: Stop of 'ora.cvu' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.rac1.vip' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.OCR_VOTING.dg' on'rac1' succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.scan1.vip' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1'</p><p>CRS-2677: Stop of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.oc4j' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.ons' on'rac1'</p><p>CRS-2677: Stop of 'ora.ons' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.net1.network' on 'rac1'</p><p>CRS-2677: Stop of 'ora.net1.network' on'rac1' succeeded</p><p>CRS-2792: Shutdown of Cluster ReadyServices-managed resources on 'rac1' has completed</p><p>CRS-2677: Stop of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.ctssd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.evmd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.storage'on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.gpnpd' on'rac1'</p><p>CRS-2673: Attempting to stop 'ora.crf' on 'rac1'</p><p>CRS-2673: Attempting to stop 'ora.mdnsd' on'rac1'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.asm' on'rac1'</p><p>CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded</p><p>CRS-2677: Stop of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.evmd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2677: Stop of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2677: Stop of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2673: Attempting to stop 'ora.cssd' on'rac1'</p><p>CRS-2677: Stop of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2673: Attempting to stop 'ora.gipcd' on'rac1'</p><p>CRS-2677: Stop of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac1' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac1'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac1'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.cssdmonitor'on 'rac1'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac1'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac1'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac1'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start'ora.cluster_interconnect.haip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac1'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac1' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac1'</p><p>CRS-2676: Start of 'ora.asm' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac1'</p><p>CRS-2676: Start of 'ora.storage' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac1'</p><p>CRS-2676: Start of 'ora.crf' on 'rac1'succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac1'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac1'succeeded</p><p>CRS-6023: Starting Oracle Cluster ReadyServices-managed resources</p><p>CRS-6017: Processing resource auto-startfor servers: rac1</p><p>CRS-2672: Attempting to start'ora.scan1.vip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.oc4j' on'rac1'</p><p>CRS-2672: Attempting to start 'ora.ons' on'rac1'</p><p>CRS-2672: Attempting to start'ora.rac1.vip' on 'rac1'</p><p>CRS-2672: Attempting to start 'ora.cvu' on'rac1'</p><p>CRS-2676: Start of 'ora.cvu' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.scan1.vip' on'rac1' succeeded</p><p>CRS-2672: Attempting to start'ora.LISTENER_SCAN1.lsnr' on 'rac1'</p><p>CRS-2676: Start of 'ora.rac1.vip' on 'rac1'succeeded</p><p>CRS-2676: Start of 'ora.ons' on 'rac1'succeeded</p><p>CRS-2676: Start of'ora.LISTENER_SCAN1.lsnr' on 'rac1' succeeded</p><p>CRS-2676: Start of 'ora.oc4j' on 'rac1' succeeded</p><p>CRS-6016: Resource auto-start has completedfor server rac1</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 02:59:19 CLSRSC-325: ConfigureOracle Grid Infrastructure for a Cluster ... succeeded</p><p> </p><p>[root@rac1 /]#</p><p> </p><p>节点2执行:</p><p>[root@rac2 /]# /u01/gridsoft/12.1.0/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= grid</p><p> ORACLE_HOME= /u01/gridsoft/12.1.0</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p> Copying dbhome to /usr/local/bin ...</p><p> Copying oraenv to /usr/local/bin ...</p><p> Copying coraenv to /usr/local/bin ...</p><p> </p><p> </p><p>Creating /etc/oratab file...</p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p>Using configuration parameter file:/u01/gridsoft/12.1.0/crs/install/crsconfig_params</p><p>2014/08/07 03:03:51 CLSRSC-363: Userignored prerequisites during installation</p><p> </p><p>OLR initialization - successful</p><p>2014/08/07 03:04:15 CLSRSC-330: AddingClusterware entries to file 'oracle-ohasd.conf'</p><p> </p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>CRS-2791: Starting shutdown of Oracle HighAvailability Services-managed resources on 'rac2'</p><p>CRS-2673: Attempting to stop'ora.drivers.acfs' on 'rac2'</p><p>CRS-2677: Stop of 'ora.drivers.acfs' on'rac2' succeeded</p><p>CRS-2793: Shutdown of Oracle HighAvailability Services-managed resources on 'rac2' has completed</p><p>CRS-4133: Oracle High Availability Serviceshas been stopped.</p><p>CRS-4123: Starting Oracle High AvailabilityServices-managed resources</p><p>CRS-2672: Attempting to start 'ora.mdnsd'on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.evmd' on'rac2'</p><p>CRS-2676: Start of 'ora.mdnsd' on 'rac2'succeeded</p><p>CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.gpnpd'on 'rac2'</p><p>CRS-2676: Start of 'ora.gpnpd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.gipcd'on 'rac2'</p><p>CRS-2676: Start of 'ora.gipcd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac2'</p><p>CRS-2676: Start of 'ora.cssdmonitor' on'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.cssd' on'rac2'</p><p>CRS-2672: Attempting to start 'ora.diskmon'on 'rac2'</p><p>CRS-2676: Start of 'ora.diskmon' on 'rac2'succeeded</p><p>CRS-2789: Cannot stop resource'ora.diskmon' as it is not running on server 'rac2'</p><p>CRS-2676: Start of 'ora.cssd' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.cluster_interconnect.haip'on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.ctssd'on 'rac2'</p><p>CRS-2676: Start of 'ora.ctssd' on 'rac2'succeeded</p><p>CRS-2676: Start of'ora.cluster_interconnect.haip' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac2'</p><p>CRS-2676: Start of 'ora.asm' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.storage'on 'rac2'</p><p>CRS-2676: Start of 'ora.storage' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start 'ora.crf' on'rac2'</p><p>CRS-2676: Start of 'ora.crf' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.crsd' on'rac2'</p><p>CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded</p><p>CRS-6017: Processing resource auto-startfor servers: rac2</p><p>CRS-2672: Attempting to start'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2'</p><p>CRS-2672: Attempting to start 'ora.ons' on'rac2'</p><p>CRS-2676: Start of 'ora.ons' on 'rac2'succeeded</p><p>CRS-2676: Start of'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2' succeeded</p><p>CRS-2672: Attempting to start 'ora.asm' on'rac2'</p><p>CRS-2676: Start of 'ora.asm' on 'rac2'succeeded</p><p>CRS-2672: Attempting to start'ora.proxy_advm' on 'rac2'</p><p>CRS-2676: Start of 'ora.proxy_advm' on'rac2' succeeded</p><p>CRS-6016: Resource auto-start has completedfor server rac2</p><p>CRS-6024: Completed start of Oracle ClusterReady Services-managed resources</p><p>CRS-4123: Oracle High Availability Serviceshas been started.</p><p>2014/08/07 03:07:42 CLSRSC-343:Successfully started Oracle clusterware stack</p><p> </p><p>2014/08/07 03:08:02 CLSRSC-325: ConfigureOracle Grid Infrastructure for a Cluster ... succeeded</p><p> </p><p>[root@rac2 /]#</p><br><br><br><p>[root@rac1 software]#/u01/oracle/12.1.0/db_1/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= oracle</p><p> ORACLE_HOME= /u01/oracle/12.1.0/db_1</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p>The contents of "dbhome" have notchanged. No need to overwrite.</p><p>The contents of "oraenv" have notchanged. No need to overwrite.</p><p>The contents of "coraenv" havenot changed. No need to overwrite.</p><p> </p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p> </p><p>[root@rac2 /]#/u01/oracle/12.1.0/db_1/root.sh</p><p>Performing root user operation for Oracle12c</p><p> </p><p>The following environment variables are setas:</p><p> ORACLE_OWNER= oracle</p><p> ORACLE_HOME= /u01/oracle/12.1.0/db_1</p><p> </p><p>Enter the full pathname of the local bindirectory: [/usr/local/bin]:</p><p>The contents of "dbhome" have notchanged. No need to overwrite.</p><p>The contents of "oraenv" have notchanged. No need to overwrite.</p><p>The contents of "coraenv" havenot changed. No need to overwrite.</p><p> </p><p>Entries will be added to the /etc/oratabfile as needed by</p><p>Database Configuration Assistant when adatabase is created</p><p>Finished running generic part of rootscript.</p><p>Now product-specific root actions will beperformed.</p><p>[root@rac2 /]#</p><p> </p><br><p><br></p><p><img src="http://img.blog.csdn.net/20141202105735211?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p> </p><p> </p><p> </p><p> </p><h1><a name="t19" target="_blank"></a>5 创建ASM 磁盘组</h1><p> </p><p>在节点1上用grid用户执行asmca命令。</p><p> </p><p><img src="http://img.blog.csdn.net/20141202105955515?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""> </p><p><img src="http://img.blog.csdn.net/20141202105935175?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110011046?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><h1><a name="t20" target="_blank"></a>6 创建实例</h1><p> </p><p>在节点1用oracle 用户执行dbca:</p><p> </p><p><img src="http://img.blog.csdn.net/20141202110132612?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110139429?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110145622?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110152471?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110226968?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><img src="http://img.blog.csdn.net/20141202110237328?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGlhbmxlc29mdHdhcmU=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br></p><p><br></p><p><br></p><p>[grid@rac1 ~] crs_stat -t
Name Type Target State Host
————————————————————
ora….SM.lsnr ora….er.type ONLINE ONLINE rac1
ora.DATA.dg ora….up.type ONLINE ONLINE rac1
ora….ER.lsnr ora….er.type ONLINE ONLINE rac1
ora….N1.lsnr ora….er.type ONLINE ONLINE rac1
ora.MGMTLSNR ora….nr.type ONLINE ONLINE rac1
ora….TING.dg ora….up.type ONLINE ONLINE rac1
ora.asm ora.asm.type ONLINE ONLINE rac1
ora.cndba.db ora….se.type ONLINE ONLINE rac1
ora.cvu ora.cvu.type ONLINE ONLINE rac1
ora.mgmtdb ora….db.type ONLINE ONLINE rac1
ora….network ora….rk.type ONLINE ONLINE rac1
ora.oc4j ora.oc4j.type ONLINE ONLINE rac1
ora.ons ora.ons.type ONLINE ONLINE rac1
ora.proxy_advm ora….vm.type ONLINE ONLINE rac1
ora….C1.lsnr application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip ora….t1.type ONLINE ONLINE rac1
ora….C2.lsnr application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip ora….t1.type ONLINE ONLINE rac2
ora.scan1.vip ora….ip.type ONLINE ONLINE rac1
[oracle@rac1 ~]sqlplus / as sysdba</p><p> </p><p>SQL*Plus: Release 12.1.0.1.0 Production onThu Aug 7 06:27:23 2014</p><p> </p><p>Copyright (c) 1982, 2013, Oracle. All rights reserved.</p><p> </p><p> </p><p>Connected to:</p><p>Oracle Database 12c Enterprise EditionRelease 12.1.0.1.0 - 64bit Production</p><p>With the Partitioning, Real ApplicationClusters, Automatic Storage Management, OLAP,</p><p>Advanced Analytics and Real ApplicationTesting options</p><p> </p><p>SQL></p><p> </p><p>SQL> show pdbs </p><p> </p><p> CON_ID CON_NAME OPEN MODE RESTRICTED</p><p>---------- ---------------------------------------- ----------</p><p> 2 PDBSEED READ ONLY NO
3 DAVE READ WRITE NO
SQL> select instance_name,status from gv$instance;
INSTANCE_NAME STATUS
—————- ————
cndba1 OPEN
cndba2 OPEN
——————————————————————————————–
版权所有,文章禁止转载,否则追究法律责任!
AboutDave:
——————————————————————————————–
QQ: 251097186
Email: tianlesoftware@gmail.com
Blog: http://blog.csdn.net/tianlesoftware
Weibo: http://weibo.com/tianlesoftware
Twitter: http://twitter.com/tianlesoftware
Facebook: http://www.facebook.com/tianlesoftware
Linkedin: http://cn.linkedin.com/in/tianlesoftware
Dave 的QQ群:
——————————————————————————————–
注意:加群必须注明表空间和数据文件关系 | 不要重复加群
CNDBA_1: 104207940 (满) CNDBA_2: 62697716 (满) CNDBA_3: 283816689
CNDBA_4: 391125754 CNDBA_5: 62697850 CNDBA_6: 62697977 CNDBA_7: 142216823(满)
- Oracle 12c RAC 搭建手册
- Oracle 12c RAC 搭建手册
- Oracle 12C DG 搭建(RAC-RAC/RAC-单机)
- oracle 12c on oracle Linux-rac安装配置手册
- ORACLE 12C R2 RAC搭建
- Oracle 12c Data Guard 搭建手册
- Oracle 12c RAC 到单机实例 DATAGUARD搭建
- 搭建双网络Oracle 12C R1 RAC+ASM
- Oracle 12c 基于ASM 的单实例 搭建手册
- ORACLE RAC的搭建
- oracle rac环境搭建
- oracle RAC搭建过程
- Oracle RAC 搭建笔记
- oracle12c RAC搭建之四oracle 12C数据库集群安装
- Oracle 12c 安装手册
- 深入理解Oracle RAC 12c
- 深入理解Oracle RAC 12c 笔记
- Oracle 12c RAC MGMTDB 说明
- Ubiquitous Religions
- linux : 做一个干净的debian7.5.0的开发环境
- 如何使用echo指令向文件写入内容
- Android 系统服务的注册以及 getService() 方法源码解析
- JNI编程Demo----Java程序调用C&C++编译好的库文件
- Oracle 12c RAC 搭建手册
- css选择器
- Exception:Request processing failed; nested exception is org.apache.ibatis.binding.BindingException
- 插入排序
- 如何在Ubuntu终端下使用SS
- Jenkins+ant+jmeter 配置
- 非比较排序---【归并排序】
- 开发配置
- Xmanager企业版中各软件功能简介