Oracle Rac setup step by step in KVM virtual machines(OS installation)

简介:

OS :Oracle linux 7.4
Database and Grid :12.2.0.1
Above softwares are down from edelivery site.
Most of Documents is about setup with virtualbox ,but for my env ,I prefer kvm and it is also a good challenge for me :)

Before start to install Oracle linux ,we need to config the network ,the default network for kvm is a NAT network named 'default', and it's ip range is 192.168.122.0 as default (you can create your own or edit it ) ,this network is okay for Oracle rac public IP ,but rac also need to private network for heartbeat and performance .KVM is not as easy as virtualbox to create a private network ,we need to create a bridge br0 (for example ) ,as this is only used for internal connection ,so there is no need to assign one IP to this bridge.

virtual disks ,to make is simple , I want to install the OS and softeware in one disk ,another disk is used to ASM shared disk .
to avoid trouble , it is better to assign the size large enough .Not sure why Oracle software is so huge .so for OS disk ,40G should be enough, and for ASM disk ,at least 40GB.

I installed the Linux with mini group packages , that means we can keep the OS simple and small as possible(still used up to 1.2GB for / ,I gave swap about 2GB ) .

After installation , some post install work should be done .
systemctl stop NetworkManager
systemctl stop firewalld
systemctl disable NetworkManager
systemctl disable firewalld
setenforce 0

by default ,the network interface is not onboot start , so we need to edit them ,the config file for interface is under /etc/sysconfig/network-scripts, ifcfg....
we need change the dhcp to static , onboot to yes , add IPADDR=192.168.122.100 NETMASK=255.255.255.0
GATEWAY=192.168.122.1 DNS1=192.168.122.1

Run yum update -y to update the packages update to date.
in the past , we have to create groups ,IDs and tune the kernel setting by ourselves ,but now the easy way to do this is install a rpm package .
yum search preinstall , you will get the right package for you and just install it !
This will install another 56 packages and size is just 36M .

目录
相关文章
|
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
|
6月前
|
Oracle 关系型数据库 Java
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
|
11月前
|
存储 Oracle 关系型数据库
|
文字识别 Oracle 关系型数据库
Oracle rac重新执行root.sh脚本
Oracle rac重新执行root.sh脚本
697 0
|
网络协议 Oracle 关系型数据库
Oracle rac 修改SCAN IP
Oracle rac 修改SCAN IP
653 0
|
16天前
|
SQL Oracle 关系型数据库
【Oracle】玩转Oracle数据库(一):装上去,飞起来!
【Oracle】玩转Oracle数据库(一):装上去,飞起来!
56 7
|
1月前
|
Oracle 关系型数据库 数据库
|
1月前
|
Oracle 关系型数据库 数据库
Oracle数据库基本概念理解(3)
Oracle数据库基本概念理解(3)
18 2