Step-by-Step Guide to Installing Oracle Grid Infrastructure and ASM on CentOS 7
This comprehensive tutorial walks through preparing the environment, configuring yum repositories and hosts, installing Oracle Grid Infrastructure with ASM disk groups, creating ASM disks, and finally building an Oracle database on a CentOS 7 system, including command examples and GUI steps.
1. Environment – The guide begins by displaying the operating system version ( CentOS Linux release 7.6.1810 (Core) ) and outlines planning for ASM disk groups and host network configuration.
2. Preparation (rac1 and rac2) – It details configuring a local yum repository, installing required RPM packages, creating necessary users, updating the /etc/hosts file, disabling the firewall and SELinux, disabling NTP, creating required directories, setting shared‑disk permissions, and establishing inter‑node trust.
3. Grid Installation – The process includes uploading the Grid software package, extracting it, and executing [grid@rac1 grid]$ ./gridSetup.sh . The GUI wizard guides the creation of a new cluster, setting the cluster and SCAN names, configuring node trust, selecting public and private network segments, choosing ASM storage, and configuring GIMR options.
4. ASM Disk Creation – After logging in as the grid user, the asmca utility is used to create ASM disk groups for the database.
5. Database Creation – Using the Oracle user, the dbca tool is run to create the database. Subsequent steps verify the cluster status and display the database version.
The article also mentions that certain warnings (e.g., DNS resolution issues) can be ignored and includes promotional content for a top‑level architect community.
Top Architect
Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.