Oracle DataBase单实例使用ASM案例(2)--Oracle 11g之GI安装

Oracle DataBase单实例使用ASM案例(2)--Oracle 11g之GI安装

系统环境:

操作系统:RedHat EL5(64)

Oracle 软件:Oracle 11gR2、Oracle GI


   对于Oracle 11g使用ASM作为存储系统,必须要构建Oracle GI的环境。

安装Oracle GI:

1、以grid用户的身份登录系统安装

wKioL1OD_eXB60kuAAOP1mv3XkQ384.jpg


开始安装

wKioL1OD_kOjmB8nAASG4h_JAAI946.jpg


安装注意选择standalone server

wKioL1OD_nSSjat7AAQ4tQ9AIRo460.jpg


建立磁盘组

wKiom1OD_r2zlCAvAAL-Ac5gjYM545.jpg


确认用户组

wKiom1OD_uri0f5MAAN_Jcio2lg722.jpg


确认安装目录(由于/u01下空间,不足,后改为/dsk1下)

wKioL1OD_vqSH8_LAAPNpitMQ-0538.jpg


安装


wKiom1OD_0DjURTAAAR8rOeKfGQ657.jpg

以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下略有不同

wKiom1OEABrD_3bjAARP9EllZf8921.jpg


安装完成



你可能感兴趣的:(oracle)