Setting up an Oracle 11G R2 Real Application Cluster (RAC) using Single Client Access Name (scan IP)

<<Setup of Oracle Linux Server                                                                                                  Setup of Node2>>

Setup of Node1

Once the setup is finished and the system has been restarted, open the system as a root user and prepare for the RAC setup step by step.

 

Step 1

 

In VMWare workstation, right-click on the RAC1 virtual machine and select install vmware tools.

The VM tool CD will get automatically mounted. Open the CD’s directory, within the /media directory.

 

VMWare gets loaded after hitting enter on all the questions.

 

Step 2

 

Type vmware-toolbox in the terminal, press enter and tick the ntp checkbox in the window.

 

Copy the grid and database setup in the /setup folder.

Step 3

 

Loading the necessary RPMs

 

Loading the RPMs needed for the ASM these are available within the first 2 file CDs. The 3rd CD can be downloaded from this link: http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el5.x86_64.rpm

 

In the /grid/rpm directory

 

Step 4

 

Procedures for users

Step 5

 

Network Settings

The contents of /etc/hosts

Contents of /etc/resolve.conf

Step 6

 

System settings:

Add the following lines to /etc/sysctl.conf, the same line numbers automatically get updated.

/etc/security/limits.conf

/etc/pam.d/login

As the Oracle Cluster Time Synchronization Service (ctssd) wşll be used, Linux’s ntp service will be stopped.

Step 7

 

Add the following lines to Oracle’s user profile (/home/oracle/.bash_profile)

Note: If Oracle’s grid has been setup in /oragrid within /oracle, add the following lines into the oracle user and the root user profiles.

 

For the oracle user

For the root user (who’s automatically also a grid owner)

Step 8

 

Checking whether iscsi (Internet SCSI) has been loaded

It’s necessary to add LUN to the openfiler’s iscsi and map the volumes.

 

Following this, in the “iscsi target” “Network ACL” tab give permission to “internal_network”.

 

The following lines should appear during the operating system’s restart sequence:

 

Rac_ISCSI_Acilis

 

The disks should automatically be visible to the os after restarting (before it has been formatted).

 

Step 9

(The procedures shown here can also be accomplished using the asmca gui tool (ASM configuration assistant)

 

Configuring the disks (using the sequence of “n”, “p”, “1”, “w”)

Carrying out the same procedures in both the sdc and sdd disks

Step 10

 

Setting the shared disks of the ASM environment and loading the kernel modules

Loading the kernel modules

To create the ASM disks configure the paths of the disks which were created using iSCSI

Scanning the disks

 

#oracleasm scandisks

Reloading disk partitions: done

Cleaning any stale ASM disks…

Scanning system for ASM disks…

Listing the disks

RAC1 has now been setup, moving on to RAC2.

<<Setup of Oracle Linux server                                                                                              Setup of RAC2>>

Kategori seçin...