rhel7 安装 oracle 18c rac(02 database软件安装)

简介: oracle 18c rac 安装

18c rac database 软件安装。
grid 安装请参考https://yq.aliyun.com/articles/627995

rhel7 安装 oracle 18c rac(01 grid软件安装)
https://yq.aliyun.com/articles/627995
rhel7 安装 oracle 18c rac(02 database软件安装)
https://yq.aliyun.com/articles/628872
请参考rhel7 安装 oracle 18c rac(03 dbca 建立数据库)
https://yq.aliyun.com/articles/628876

系统版本:
Red Hat Enterprise Linux Server release 7.3 (Maipo)

数据库介质:
LINUX.X64_180000_db_home.zip
LINUX.X64_180000_grid_home.zip

主机配置:
192.168.0.200 prod04
192.168.0.201 prod04-vip
192.168.0.203 prod05
192.168.0.204 prod05-vip
192.168.0.205 scan

1,在prod04 节点 使用 oracle 用户解压软件

[oracle@prod04 ~]$ unzip /soft/LINUX.X64_180000_db_home.zip.zip -d /u01/app/oracle/18c

2,在prod04 节点 配置database软件

[oracle@prod04 ~]$ /u01/app/oracle/18c/runInstaller

3,仅安装软件

image

4,选择RAC模式

image

5,配置ssh

image

6,版本选择,选择企业版

image

7,base目录设置

image

8,权限设置

image

9,环境检查

请认真检查系统报错,修复错误问题,非关键报错,可以选择忽略。

image

确认忽略错误信息

image

10,安装预览

image

11,开始安装(等待一段时间)

image

12,执行脚本(prod04,prod05)

image

prod04

[root@prod04 ~]# /u01/app/oracle/18c/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/18c

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.

prod05

[root@prod05 ~]# /u01/app/oracle/18c/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/18c

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.

13,安装结束。

image

14,环境变量设置

prod04

[oracle@prod04 ~]$ 
[oracle@prod04 ~]$ cat .bash_profile 
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH
export ORACLE_HOME=/u01/app/oracle/18c
export PATH=$PATH:$ORACLE_HOME/bin

prod05

[oracle@prod05 ~]$ 
[oracle@prod05 ~]$ cat .bash_profile 
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH
export ORACLE_HOME=/u01/app/oracle/18c
export PATH=$PATH:$ORACLE_HOME/bin

15,dbca建立数据库。(请参考rhel7 安装 oracle 18c rac(03 dbca 建立数据库))

相关文章
|
1月前
|
Oracle 关系型数据库 Linux
服务器Centos7 静默安装Oracle Database 12.2
服务器Centos7 静默安装Oracle Database 12.2
71 0
|
1月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
2月前
|
Oracle 关系型数据库
oracle Hanganalyze no RAC
oracle Hanganalyze no RAC
15 0
|
2月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
25 3
|
4月前
|
Oracle 关系型数据库 数据库
windows Oracle Database 19c 卸载教程
打开任务管理器 ctrl+Shift+Esc可以快速打开任务管理器,找到oracle所有服务然后停止。 停止数据库服务 在开始卸载之前,确保数据库服务已经停止。你可以使用以下命令停止数据库服务: net stop OracleServiceORCL Universal Installer 卸载Oracle数据库程序 一般情况运行Oracle自带的卸载程序,如使用Universal Installer 工具卸载。 点击开始菜单找到Oracle,然后点击Oracle安装产品,再点击Universal Installer。 点击之后稍等一会然后会进入进入下图界面,点击卸载产品。 选中要删除的Orac
105 1
|
5月前
|
存储 Oracle 关系型数据库
windows 使用 Oracle Database 19c
Oracle数据库是由美国Oracle Corporation(甲骨文公司)开发和提供的一种关系型数据库管理系统,它是一种强大的关系型数据库管理系统(RDBMS)。它使用表格(表)组织和存储数据,通过SQL语言进行数据管理。数据以表格形式存储,表之间可以建立关系。支持事务处理、多版本并发控制、安全性和权限控制。具有高可用性、容错性,支持分布式数据库和可扩展性。Oracle Corporation提供全面的支持和服务,使其成为企业级应用的首选数据库系统。
58 0
|
6月前
|
Oracle 关系型数据库 Java
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
|
Oracle 关系型数据库 数据库管理
|
Oracle 关系型数据库 数据库管理

热门文章

最新文章