分享 | RAC 節(jié)點(diǎn)重做記錄

10.2.0.4 及 11.2.0.3 測(cè)試

[oracle@mmdb2 ~]

[root@mmdb1 crs]# moreroot.sh

!/bin/sh

/oracle/product/10.2.0/crs/install/rootinstall

/oracle/product/10.2.0/crs/install/rootconfig

拷貝grid(base及home)

[root@mmdb1 crs]# ./root.sh

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

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

/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

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

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

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

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: mmdb1 mmdb1-priv mmdb1

node 2: mmdb2 mmdb2-priv mmdb2

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.

CSS is active on these nodes.

mmdb1

mmdb2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

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 (0) nodes.

Creating GSD application resource on (0) nodes.

Creating ONS application resource on (0) nodes.

Starting VIP application resource on (2) nodes...

Starting GSD application resource on (2) nodes...

Starting ONS application resource on (2) nodes...

Done.

拷貝ORACLE安裝目錄

[oracle@mmdb1 ~]$ crs_stat -t

Name Type Target State Host

++++++++++++++++++++++++++++++++++++++++++++++

ora.mmdb.db application ONLINE ONLINE mmdb2

ora....b1.inst application ONLINE OFFLINE

ora....b2.inst application ONLINE ONLINE mmdb2

ora....SM1.asm application ONLINE OFFLINE

ora....B1.lsnr application ONLINE OFFLINE

ora.mmdb1.gsd application ONLINE ONLINE mmdb1

ora.mmdb1.ons application ONLINE ONLINE mmdb1

ora.mmdb1.vip application ONLINE ONLINE mmdb1

ora....SM2.asm application ONLINE ONLINE mmdb2

ora....B2.lsnr application ONLINE ONLINE mmdb2

ora.mmdb2.gsd application ONLINE ONLINE mmdb2

ora.mmdb2.ons application ONLINE ONLINE mmdb2

ora.mmdb2.vip application ONLINE ONLINE mmdb2

[root@mmdb1 db]# ./root.sh

Running Oracle10 root.sh script...

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME= /oracle/product/10.2.0/db

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

[oracle@mmdb1 ~]

crs_start -all

Attempting to start ora.mmdb1.ASM1.asm on member mmdb1

Start of ora.mmdb1.ASM1.asm on member mmdb1 succeeded.

Attempting to start ora.mmdb.mmdb1.inst on member mmdb1

Start of ora.mmdb.mmdb1.inst on member mmdb1 succeeded.

Attempting to start ora.mmdb1.LISTENER_MMDB1.lsnr on member mmdb1

Start of ora.mmdb1.LISTENER_MMDB1.lsnr on member mmdb1 succeeded.

[oracle@mmdb1 ~]$ crs_stat -t

Name Type Target State Host

+++++++++++++++++++++++++++++++++++++++++++++++

ora.mmdb.db application ONLINE ONLINE mmdb2

ora....b1.inst application ONLINE ONLINE mmdb1

ora....b2.inst application ONLINE ONLINE mmdb2

ora....SM1.asm application ONLINE ONLINE mmdb1

ora....B1.lsnr application ONLINE ONLINE mmdb1

ora.mmdb1.gsd application ONLINE ONLINE mmdb1

ora.mmdb1.ons application ONLINE ONLINE mmdb1

ora.mmdb1.vip application ONLINE ONLINE mmdb1

ora....SM2.asm application ONLINE ONLINE mmdb2

ora....B2.lsnr application ONLINE ONLINE mmdb2

ora.mmdb2.gsd application ONLINE ONLINE mmdb2

ora.mmdb2.ons application ONLINE ONLINE mmdb2

ora.mmdb2.vip application ONLINE ONLINE mmdb2

作者:易道云控

鏈接:http://www.itdecent.cn/p/c5fe6bdefeda

來(lái)源:簡(jiǎn)書

著作權(quán)歸作者所有。商業(yè)轉(zhuǎn)載請(qǐng)聯(lián)系作者獲得授權(quán),非商業(yè)轉(zhuǎn)載請(qǐng)注明出處。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容