溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝

發(fā)布時(shí)間:2020-07-25 20:02:36 來(lái)源:網(wǎng)絡(luò) 閱讀:1214 作者:客居天涯 欄目:關(guān)系型數(shù)據(jù)庫(kù)

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝

系統(tǒng)環(huán)境:

操作系統(tǒng):RedHat EL5(64)

Oracle 軟件:Oracle 11gR2、Oracle GI


   對(duì)于Oracle 11g使用ASM作為存儲(chǔ)系統(tǒng),必須要構(gòu)建Oracle GI的環(huán)境。

安裝Oracle GI:

1、以grid用戶的身份登錄系統(tǒng)安裝

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


開(kāi)始安裝

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


安裝注意選擇standalone server

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


建立磁盤(pán)組

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


確認(rèn)用戶組

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


確認(rèn)安裝目錄(由于/u01下空間,不足,后改為/dsk1下)

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


安裝


Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝

以root用戶,執(zhí)行root.sh腳本


[root@bjsrv ~]#/dsk1/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /dsk1/11.2.0/grid

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

The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 

[n]: y

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

The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

[n]: y

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

The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

[n]: y

   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.

2014-05-26 05:52:51: Checking for super user privileges

2014-05-26 05:52:51: User has super user privileges

2014-05-26 05:52:51: Parsing the host name

Using configuration parameter file: /dsk1/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

LOCAL ADD MODE 

Creating OCR keys for user 'grid', privgrp 'oinstall'..

Operation successful.

CRS-4664: Node bjsrv successfully pinned.

Adding daemon to inittab

CRS-4123: Oracle High Availability Services has been started.

ohasd is starting

acfsroot: ACFS-9320: Missing advmutil.

acfsroot: ACFS-9320: Missing advmutil.bin.

acfsroot: ACFS-9320: Missing fsck.acfs.

acfsroot: ACFS-9320: Missing fsck.acfs.bin.

acfsroot: ACFS-9320: Missing mkfs.acfs.

acfsroot: ACFS-9320: Missing mkfs.acfs.bin.

acfsroot: ACFS-9320: Missing mount.acfs.

acfsroot: ACFS-9320: Missing mount.acfs.bin.

acfsroot: ACFS-9320: Missing acfsdbg.

acfsroot: ACFS-9320: Missing acfsdbg.bin.

acfsroot: ACFS-9320: Missing acfsutil.

acfsroot: ACFS-9320: Missing acfsutil.bin.

acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:

acfsroot: ACFS-9302: No installation files found at /dsk1/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5-x86_64/bin.

bjsrv     2014/05/26 05:53:16     /dsk1/11.2.0/grid/cdata/bjsrv/backup_20140526_055316.olr

Successfully configured Oracle Grid Infrastructure for a Standalone Server

Updating inventory properties for clusterware

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 5114 MB    Passed

The inventory pointer is located at /etc/oraInst.loc

The inventory is located at /u01/app/oraInventory

'UpdateNodeList' was successful.

如果,大家在Oracle 11g構(gòu)建過(guò)RAC,可以看出這個(gè)root.sh和在RAC下略有不同

Oracle DataBase單實(shí)例使用ASM案例(2)--Oracle 11g之GI安裝


安裝完成



向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI