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 .

目录
相关文章
|
26天前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
50 2
|
1月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
2月前
|
存储 负载均衡 Oracle
|
2月前
|
存储 Oracle 关系型数据库
|
4月前
|
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)
48 1
|
4月前
|
存储 Oracle 关系型数据库
Oracle RAC:数据库集群的舞动乐章
【4月更文挑战第19天】Oracle RAC是Oracle提供的高可用性数据库解决方案,允许多个实例共享同一数据库,确保业务连续性和数据完整性。通过集群件和全局缓存服务实现服务器间的协调和通信。RAC提供高可用性,通过故障转移应对故障,同时提升性能,多个实例并行处理请求。作为数据管理员,理解RAC的架构和管理至关重要,以发挥其在数据管理中的最大价值。
|
4月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
1月前
|
存储 自然语言处理 Oracle
Oracle数据库字符集概述及修改方式
【8月更文挑战第15天】Oracle 数据库字符集定义了数据的编码方案,决定可存储的字符类型及其表示方式。主要作用包括数据存储、检索及跨系统传输时的正确表示。常见字符集如 AL32UTF8 支持多语言,而 WE8MSWIN1252 主用于西欧语言。修改字符集风险高,可能导致数据问题,需事先备份并评估兼容性。可通过 ALTER DATABASE 语句直接修改或采用导出-导入数据的方式进行。完成后应验证数据完整性。此操作复杂,须谨慎处理。
|
1月前
|
数据采集 Oracle 关系型数据库
实时计算 Flink版产品使用问题之怎么实现从Oracle数据库读取多个表并将数据写入到Iceberg表
实时计算Flink版作为一种强大的流处理和批处理统一的计算框架,广泛应用于各种需要实时数据处理和分析的场景。实时计算Flink版通常结合SQL接口、DataStream API、以及与上下游数据源和存储系统的丰富连接器,提供了一套全面的解决方案,以应对各种实时计算需求。其低延迟、高吞吐、容错性强的特点,使其成为众多企业和组织实时数据处理首选的技术平台。以下是实时计算Flink版的一些典型使用合集。