Oracle RAC Part 2 of 5 Clone VM Configure Hostname and Network Settings

YouTube video

Introduction

In this article, we will continue our multi-part series on configuring an Oracle Real Application Cluster (RAC) cluster. In the previous video, we prepared our Oracle Virtual Linux 7 server with three network interfaces. Now, in the second video, we will focus on duplicating this server by cloning the virtual machine (VM) in order to create a two-node RAC. This article will provide a step-by-step guide on how to clone the VM, configure the hostname, and set up the network settings.

Table of Contents

  • Introduction
  • Step 1: Clone VM
  • Step 2: Install and Configure ASM Packages
  • Step 3: Update Yum Packages
  • Step 4: Set Up User Groups and Permissions
  • Step 5: Configure Passwords and Directories
  • Conclusion

Step 1: Clone VM

To start, open the VirtualBox Manager and locate the running VM that you wish to clone. In this case, it is called “RAC Node 1”. Open a session for this VM and ensure that you have internet connectivity. Then, clone the VM by clicking on “Clone” in the VirtualBox Manager. Give the clone a new name, such as “RAC Node 2”, and generate new MAC addresses for each network interface.

Step 2: Install and Configure ASM Packages

Before cloning the VM, it is important to configure some utilities needed for Automatic Storage Management (ASM). Start by installing the required packages for ASM by using the command: yum install oracleasm-support. Ensure that you have internet connectivity by sending a ping to a website like yahoo.com. Then, install the kernel module package for ASM libraries by running yum install kmod-oracleasm. Finally, install the Oracle ASM support packages by running yum install oracleasm-support.

Step 3: Update Yum Packages

To keep all the packages up to date, run yum update. Note that this process may take a while to complete. It is recommended to pause the article and resume once the update is finished.

Step 4: Set Up User Groups and Permissions

Check the installed groups within your database using the command grep oracle /etc/group. Ensure that the following groups are installed: oinstall, dba, oper, backup, asm, and asmoper. If any of these groups are missing, add them using groupadd.

Step 5: Configure Passwords and Directories

Change the passwords for the Oracle and Grid users using the passwd command. Create directories for the Grid software installation by running mkdir /u01/grid and mkdir /u01/oracle. Change the ownership of these directories accordingly using chown. Set the permissions for the directories using chmod.

Conclusion

In this article, we have discussed the steps required to clone a VM, configure the hostname, and set up the network settings for an Oracle RAC. By following these steps, you can easily create a two-node RAC system. Stay tuned for the next part of our series where we will continue with the configuration process. Don’t forget to subscribe to our channel and enable notifications to stay updated with our latest content.

By implementing these steps, you will be able to successfully clone a VM, configure the hostname, and set up the network settings for an Oracle RAC. Stay tuned for the next part of the series, where we will continue with the configuration process. Remember to subscribe to our channel and enable notifications for the latest updates.