oracle linux 5.8安装oracle 11g rac环境之oracle安装

前端之家收集整理的这篇文章主要介绍了oracle linux 5.8安装oracle 11g rac环境之oracle安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

上续的系统配置,环境变量添加和grid安装在上一篇博客中,这篇主要是继上篇剩余的安装,上篇博客地址:http://www.jb51.cc/article/p-sohbucfv-mz.html


1.orale数据库安装

[oracle@rac1 database]$ ./runInstaller

wKioL1fd_WTyLlX5AACUnrEsFhk897.png-wh_50

wKiom1fd_WXStD8MAAChPcb_Bi0313.png-wh_50

wKioL1fd_WahrCzcAACo-l89NBY283.png-wh_50

wKiom1fd_WeAhGYUAACiritcuJc220.png-wh_50

wKiom1fd_WfB8S2LAACos2xcOrk189.png-wh_50

wKioL1fd_WiTbxRNAACo_jl1Li0792.png-wh_50

wKiom1fd_Wji5fvSAACj8mlNYlo067.png-wh_50

wKioL1fd_WmR-jUOAAClDrCo79w764.png-wh_50

wKioL1fd_WqCuP1HAACQfIkH1VQ688.png-wh_50

wKiom1fd_WvxpGEuAACklRSQv1M536.png-wh_50

wKioL1fd_ZWxe9MMAAD8tjBo4Ws061.png-wh_50

wKiom1feD42yaXWKAAA4nRwu3Jw863.png-wh_50

rac1节点1执行root.sh脚本

wKioL1feD47RfDnEAACL2xs3rrM512.png-wh_50

rac2节点2执行root.sh脚本

wKiom1feD4_hSuOFAACOD49_yxs107.png-wh_50

wKioL1feD4-gH3-yAACFSJlXu-4948.png-wh_50

2.创建asm磁盘组

[root@rac1 ~]# su - grid

[grid@rac1 ~]$ asmca

wKiom1feEJijYP8cAACw-sI8Leo470.png-wh_50

wKiom1feGxKRKzF4AAFS8he67PE407.png-wh_50

wKiom1feGxOgvsjTAAFrtiOHTrs683.png-wh_50

wKioL1feGxTDcUfAAAFg5RFygLY203.png-wh_50

wKioL1feGxXDXMrpAAGkpLfAVSs625.png-wh_50


3.创建数据库

[root@rac1 ~]# xhost +

access control disabled,clients can connect from any host

[root@rac1 ~]# su - oracle

[oracle@rac1 ~]$ dbca

wKioL1feGeOATcVoAADlE58wgo8923.png-wh_50

wKiom1feGh6RDaCxAADnOYacZ14543.png-wh_50

wKiom1feGe6Q10XiAADIZH_fnx0797.png-wh_50

wKioL1feGfCAiQ8hAADRo8BmLkA924.png-wh_50

wKioL1feGfChdqJyAAC2EBbTdJ4129.png-wh_50

wKiom1feGfGyKg0uAADGGyocVt8257.png-wh_50

wKiom1feGfLC7djtAADYzSrXJCc512.png-wh_50

wKioL1feGfPBMr4_AADQB4i7KbI517.png-wh_50

wKiom1feGfOx0n8tAACs3PjaooY603.png-wh_50

wKioL1feGfSB8LIEAAD2W5CYb7Y990.png-wh_50

wKiom1feGfWjkDN8AABcV846VTw647.png-wh_50

wKioL1feGfajYjG1AADcBdTMMps093.png-wh_50

wKioL1feGk2Ak_ojAAB7qu9d9As446.png-wh_50

4.登陆数据库

[oracle@rac1 ~]$ sqlplus / as sysdba


sql*Plus: Release 11.2.0.4.0 Production on Sun Sep 18 13:10:57 2016


Copyright (c) 1982,2013,Oracle. All rights reserved.



Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning,Real Application Clusters,Automatic Storage Management,OLAP,

Data Mining and Real Application Testing options


sql> show release;

release 1102000400

sql> select file#,ts#,name,status from v$datafile;


FILE# TS# NAME STATUS

---------------------------------------------------------------------------------

1 0 +DATA/racdb/datafile/system.256.922882375 SYSTEM

2 1 +DATA/racdb/datafile/sysaux.257.922882383 ONLINE

3 2 +DATA/racdb/datafile/undotbs1.258.922882385 ONLINE

4 4 +DATA/racdb/datafile/users.259.922882385 ONLINE

5 5 +DATA/racdb/datafile/undotbs2.264.922882991 ONLINE


sql>

猜你在找的Oracle相关文章