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


安装完成











本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1417510,如需转载请自行联系原作者
目录
相关文章
|
1月前
|
JavaScript 前端开发 Java
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Jsp页面
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Jsp页面
9 0
|
1月前
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——OpSessionview实现
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——OpSessionview实现
12 0
|
1月前
|
Java
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Action的实现类
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Action的实现类
10 0
|
1月前
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——工具类
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——工具类
10 0
|
1月前
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——DeptDao层代码
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——DeptDao层代码
9 0
|
30天前
|
Oracle 关系型数据库
oracle基本笔记整理及案例分析2
oracle基本笔记整理及案例分析2
12 0
|
30天前
|
Oracle 关系型数据库
oracle基本笔记整理及案例分析1
oracle基本笔记整理及案例分析1
17 0
|
监控 数据库 数据安全/隐私保护
Cloud Control 13c 13.3安装(三) 监控database
选择数据库 更改查看方式为列表模式: 添加数据库: 选择主机: 选择实例并输入密码: 保存数据库信息: 验证监控状态:
1672 0
|
1月前
|
Oracle 关系型数据库 Linux
服务器Centos7 静默安装Oracle Database 12.2
服务器Centos7 静默安装Oracle Database 12.2
83 0
|
4月前
|
Oracle 关系型数据库 数据库
windows Oracle Database 19c 卸载教程
打开任务管理器 ctrl+Shift+Esc可以快速打开任务管理器,找到oracle所有服务然后停止。 停止数据库服务 在开始卸载之前,确保数据库服务已经停止。你可以使用以下命令停止数据库服务: net stop OracleServiceORCL Universal Installer 卸载Oracle数据库程序 一般情况运行Oracle自带的卸载程序,如使用Universal Installer 工具卸载。 点击开始菜单找到Oracle,然后点击Oracle安装产品,再点击Universal Installer。 点击之后稍等一会然后会进入进入下图界面,点击卸载产品。 选中要删除的Orac
116 1

推荐镜像

更多