温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2020-07-25 20:02:36 来源:网络 阅读:1215 作者:客居天涯 栏目:关系型数据库

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

系统环境:

操作系统:RedHat EL5(64)

Oracle 软件:Oracle 11gR2、Oracle GI


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

安装Oracle GI:

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

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


开始安装

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


安装注意选择standalone server

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


建立磁盘组

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


确认用户组

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


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

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


安装


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

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

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


安装完成



向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI