Oracle DataBase單實例使用ASM案例(2)--Oracle 11g之GI安裝
系統環境:
操作系統:RedHat EL5(64)
Oracle 軟件:Oracle 11gR2、Oracle GI
對于Oracle 11g使用ASM作為存儲系統,必須要構建Oracle GI的環境。
安裝Oracle GI:
1、以grid用戶的身份登錄系統安裝
開始安裝
安裝注意選擇standalone server
建立磁盤組
確認用戶組
確認安裝目錄(由于/u01下空間,不足,后改為/dsk1下)
安裝
以root用戶,執行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構建過RAC,可以看出這個root.sh和在RAC下略有不同
安裝完成
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。