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.
AI 代码解读

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.
AI 代码解读

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
AI 代码解读

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
AI 代码解读

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

目录
打赏
0
0
0
0
104
分享
相关文章
Oracle linux 8 二进制安装 MySQL 8.4企业版
Oracle linux 8 二进制安装 MySQL 8.4企业版
20 1
linux8安装oracle 11g遇到的问题记录
Oracle 11g在Linux 8上安装时会遇到link编译环节的问题。官方建议忽略安装中的链接错误,安装完成后应用DBPSU 11.2.0.4.240716补丁及一次性补丁33991024,再重新编译二进制文件,并配置监听器和数据库。但因11g已退出服务期,这些补丁需付费获取。网上信息显示22年1月的PSU补丁也可解决问题,找到该补丁后按常规方式打补丁即可。如有需求或疑问可咨询我。
133 20
【Oracle】使用Navicat Premium连接Oracle数据库两种方法
以上就是两种使用Navicat Premium连接Oracle数据库的方法介绍,希望对你有所帮助!
165 28
Oracle数据库的应用场景有哪些?
【10月更文挑战第15天】Oracle数据库的应用场景有哪些?
474 64
【赵渝强老师】Oracle的闪回数据库
Oracle闪回数据库功能类似于“倒带按钮”,可快速将数据库恢复至 earlier 状态,无需还原备份。本文介绍了闪回数据库的使用方法及实战案例:包括设置归档模式、开启闪回功能、记录SCN号、执行误操作后的恢复步骤等。通过具体 SQL 操作演示了如何利用闪回数据库恢复被误删的用户数据。注意,使用此功能前需确保数据库为归档模式。
【赵渝强老师】Oracle数据库的闪回表
本文介绍了Oracle数据库中的闪回表(Flashback Table)功能,它能够将表的数据快速恢复到特定时间点或系统改变号(SCN),无需备份。文章通过实战示例详细演示了如何使用闪回表恢复数据,包括授权、创建测试表、记录时间与SCN号、删除数据、启用行移动功能、执行闪回操作以及验证恢复结果等步骤。同时,还展示了如何通过触发器禁止插入操作,并在闪回过程中处理触发器的启用问题。文末附有视频讲解,帮助读者更好地理解闪回表的使用方法。
73 10
【赵渝强老师】Oracle数据库的闪回查询
本文介绍了Oracle数据库的闪回查询(Flashback Query)功能及其实际应用。闪回查询通过`AS OF`子句,结合时间戳或SCN号,可查询历史数据状态,帮助分析数据差异。文中通过具体示例演示了如何使用闪回查询:创建测试表、记录当前SCN号、更新数据并提交事务,最后通过闪回查询获取历史数据。附带的视频和代码块详细展示了操作步骤与结果。
【赵渝强老师】Oracle数据库的闪回技术
在Oracle数据库操作中,难免会遇到误删表或提交错误事务等问题,可能导致数据丢失甚至数据库停止运行。传统解决方法依赖备份恢复,但需提前准备正确备份。为此,Oracle提供了闪回技术,无需备份即可快速恢复数据。它支持7种类型的操作,如闪回查询、版本查询、表恢复等,能有效应对逻辑损坏和用户错误。闪回技术基于还原(undo)数据管理,启用自动管理后可实现高效恢复。

推荐镜像

更多
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等