Oracle 11gRAC数据库安装(HPUX11.31+ASM without MC-SG) - 图文 联系客服

发布时间 : 星期一 文章Oracle 11gRAC数据库安装(HPUX11.31+ASM without MC-SG) - 图文更新完毕开始阅读7dccdd27192e45361066f5f4

安装完毕执行脚本:

安装完毕后,会要求在HOSTB上执行:/oracle/oraInventory/orainstRoot.sh hostb# ./orainstRoot.sh

Creating the Oracle inventory pointer file (/var/opt/oracle/oraInst.loc) Changing permissions of /oracle/oraInventory to 770. Changing groupname of /oracle/oraInventory to oinstall. The execution of the script is complete

以及在HOSTA,HOSTB上执行:/oracle/product/CRS/root.sh

按照要求,首先在HOSTB上执行orainstRoot.sh(如上),然后在HOSTA上执行root.sh,创建CRS,格式化CRS的磁盘。执行完毕后,再在HOSTB上执行root.sh,会识别出CRS/Voting的磁盘,并添加vip: hosta# ./root.sh

WARNING: directory '/oracle/product' is not owned by root WARNING: directory '/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory Setting up Network socket directories

Oracle Cluster Registry configuration upgraded successfully

The directory '/oracle/product' is not owned by root. Changing owner to root

The directory '/oracle' is not owned by root. Changing owner to root Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node : node 1: hosta hosta_rac hosta node 2: hostb hostb_rac hostb

Creating OCR keys for user 'root', privgrp 'sys'.. Operation successful.

Now formatting voting device: /dev/rdisk/disk12_p1 Now formatting voting device: /dev/rdisk/disk13_p1 Now formatting voting device: /dev/rdisk/disk14_p1 Format of 3 voting devices complete.

Startup will be queued to init within 30 seconds. Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds. Cluster Synchronization Services is active on these nodes. hosta

Cluster Synchronization Services is inactive on these nodes. hostb

Local node checking complete. Run root.sh on remaining nodes to start CRS daemons. hosta#

hostb# ./root.sh

WARNING: directory '/oracle/product' is not owned by root WARNING: directory '/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory Setting up Network socket directories

Oracle Cluster Registry configuration upgraded successfully

The directory '/oracle/product' is not owned by root. Changing owner to root The directory '/oracle' is not owned by root. Changing owner to root clscfg: EXISTING configuration version 4 detected. clscfg: version 4 is 11 Release 1.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node : node 1: hosta hosta_rac hosta node 2: hostb hostb_rac hostb

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster configuration.

Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 30 seconds. Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds. Cluster Synchronization Services is active on these nodes. hosta hostb

Cluster Synchronization Services is active on all the nodes. Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M) Running vipca(silent) for configuring nodeapps

Creating VIP application resource on (2) nodes... Creating GSD application resource on (2) nodes... Creating ONS application resource on (2) nodes... Starting VIP application resource on (2) nodes... Starting GSD application resource on (2) nodes... Starting ONS application resource on (2) nodes...

Done.

Clusterware安装完成: