Step-by-Step Guide to Installing Oracle Grid Infrastructure and ASM on CentOS 7
This comprehensive tutorial walks you through preparing the environment, configuring the OS, setting up ASM disk groups, installing Oracle Grid Infrastructure, creating ASM disks, and building a database on a CentOS 7 cluster, complete with detailed screenshots for each step.
1. Environment
1.1 System version
CentOS Linux release 7.6.1810 (Core)
1.2 ASM disk group planning
1.3 Host network planning
1.4 Operating system configuration
1. Disable firewall
2. Disable SELinux
3. Configure /etc/hosts
2. Preparation (Configure rac1 and rac2 simultaneously)
2.1 Configure local yum repository
2.2 Install RPM dependency packages
2.3 Create users
2.4 Configure host table
2.5 Disable NTP
2.6 Create required directories
2.7 Other configurations
2.8 Configure environment variables
2.9 Configure shared disk permissions
2.10 Configure mutual trust
2.11 Install cvuqdisk from Grid installation files
3. Install Grid Infrastructure
3.1 Upload cluster software package
3.2 Extract Grid installation package
Extract the package to /u01/app/19.0.0/grid under the grid user.
3.3 Run installation from the Grid software directory
./gridSetup.sh3.4 GUI installation steps
1. Create a new cluster
2. Configure cluster name and SCAN name
3. Node mutual trust
4. Choose public and private network segments
5. Select ASM storage
6. Configure GIMR
7. Place OCR, voting file, and GIMR together
8. Choose ASM disk group
9. Enter passwords
10-15. Accept defaults, pre‑install checks, ignore warnings, and run root scripts as prompted.
4. Log in to the graphical interface as the Oracle user
Unzip the database software to $ORACLE_HOME and start the installation.
5. Create ASM disks
Log in to the Grid graphical interface and run asmca to create ASM disks.
6. Build the database
Log in as the Oracle user and run the Database Configuration Assistant (DBCA) to create the database.
6.1 Run DBCA
6.2 Check cluster status
6.3 Verify database version
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
