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 .

目录
相关文章
|
4月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
111 2
|
4月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
5月前
|
存储 负载均衡 Oracle
|
5月前
|
存储 Oracle 关系型数据库
|
7月前
|
Oracle 关系型数据库 Linux
Oracle Linux: How To Disable NUMA At OS Level (Doc ID 2193586.1)
Oracle Linux: How To Disable NUMA At OS Level (Doc ID 2193586.1)
75 1
|
7月前
|
存储 Oracle 关系型数据库
Oracle RAC:数据库集群的舞动乐章
【4月更文挑战第19天】Oracle RAC是Oracle提供的高可用性数据库解决方案,允许多个实例共享同一数据库,确保业务连续性和数据完整性。通过集群件和全局缓存服务实现服务器间的协调和通信。RAC提供高可用性,通过故障转移应对故障,同时提升性能,多个实例并行处理请求。作为数据管理员,理解RAC的架构和管理至关重要,以发挥其在数据管理中的最大价值。
|
7月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
1月前
|
安全 Linux 数据安全/隐私保护
Vanilla OS:下一代安全 Linux 发行版
【10月更文挑战第30天】
59 0
Vanilla OS:下一代安全 Linux 发行版
|
1月前
|
NoSQL Linux PHP
如何在不同操作系统上安装 Redis 服务器,包括 Linux 和 Windows 的具体步骤
本文介绍了如何在不同操作系统上安装 Redis 服务器,包括 Linux 和 Windows 的具体步骤。接着,对比了两种常用的 PHP Redis 客户端扩展:PhpRedis 和 Predis,详细说明了它们的安装方法及优缺点。最后,提供了使用 PhpRedis 和 Predis 在 PHP 中连接 Redis 服务器及进行字符串、列表、集合和哈希等数据类型的基本操作示例。
62 4