Professional Documents
Culture Documents
Step: 1) Goto New and create a virtual Machine with the following details -> Next.
Step: 2) Now add RAM size for the Virtual Machine (Min: 1.5GB or 1536MB) -> Next.
Linux Installation
Linux Installation
Step: 6) Give the location of the Virtual Drive to be located and (20.00 GB size) -> Create
Linux Installation
Step: 8) Goto Controller: IDE (Empty), Click on Browse on right and select the Linux Image file.
Linux Installation
Step: 9) Goto Network in Adapter 1 select Internal Network give Name: pubnet (Public Network)
Step: 10) In Adapter 2 enable Network Adapter and select Internal Network and give Name: privnet
(Private Network).
Linux Installation
Step: 11) Goto Adapter 3 Enable Network Adapter and select Bridge Network and select Name: present
network using for getting Internet to HOST System -> OK.
Step: 12) Goto Shared Folder and Browse the folder where all the softwares are available , Check AutoMount -> OK
Linux Installation
Step: 14) Start the Virtual Machine and press ENTER on 1st option.
Linux Installation
Step: 15) The booting files are loading -> Please Wait
Linux Installation
Linux Installation
Linux Installation
Linux Installation
Linux Installation
Step: 25) Select Use All Space and check on Review and modify partitioning layout -> Next.
Step: 26) Give the SWAP SIZE double the size of RAM size given in the beginning -> Next.
Linux Installation
Linux Installation
Step: 30) Select Database Server and select Customize Now -> Next
Linux Installation
Step: 32) Goto Applications and select 1st three options -> Next
Linux Installation
Linux Installation
Step: 35) Click on Close -> Power off the machine -> OK.
Linux Installation
Step: 37) Goto Storage and click on Controller:SATA -> Add Hard Drive -> Create new disk
Linux Installation
Step: 39) Give the location of the Virtual Drive to be located with different name and (24.00 GB size) ->
Create
Step: 40) Start the Virtual Machine and the booting will be like this.
Linux Installation
Step: 41) After the booting is completed on the Welcome screen click Forward.
Step: 42) Select Yes, I agree to the License Agreement -> Forward
Linux Installation
Step: 43) Select No, I prefer to register at a later time -> Forward -> No thanks, Ill connect later
Linux Installation
Linux Installation
Step: 48) Check on Don not show me this again -> Close
Linux Installation
Step: 50) Select System eth0 -> Edit and check Connect automatically.
Linux Installation
Step: 51) Goto IPv4 Settings tab and select Manual then click on Add and enter the appropriate IP
Address with subnet mask which ever HOST machine is getting via LAN/WiFi
(192.168.1.20/255.255.255.0)
Step: 52) Goto IPv6 Settings and select Ignore -> Apply
Linux Installation
Step: 53) Now goto System eth1 and click on edit and check Connect automatically.
Step: 54) Goto IPv4 Settings tab and select Manual then click on Add and enter the appropriate IP
Address with subnet mask (192.168.20.1/255.255.255.0)
Linux Installation
Step: 55) Goto IPv6 Settings and select Ignore -> Apply
Step: 56) Now goto System eth2 and click on edit and check Connect automatically.
Linux Installation
Step: 57) Goto IPv4 Settings tab and select Automatic (DHCP).
Step: 58) Goto IPv6 Settings and select Ignore -> Apply
Linux Installation
Step: 61) Try to ping in order to check the internet is working (ping yahoo.com)
Step: 62) Goto Devices and Select Insert Guest Additions CD Image.
Step: 64) Here we can see that Building the main Guest Additions module FAILED.
For that we will do some updates and installations using yum command
Step: 66) The list of packages will be displayed and it will ask for permission to continue
Y/N. Type Y to continue updating.
Step: 67) After completing the updated packages it will ask permission for installation/ transaction
Y/N. Type Y in order to install the updated packages
Step: 68) After full updating process completed try to install kernel package
(yum install kernel-uek-devel), it will ask permission to download Y/N. Type Y
Step: 70) Now try to install Guest Additions CD Image again. This time the installation will be
success
Step: 72) Click on Disable and Apply and close the window
Step: 73) Goto /dev directory (#cd /dev) and list all the drives added to this node (# ls sd*) you will
find sdb is blank. So Partition sdb drive (# fdisk sdb). Here hitting the before command just try to
give m for help, it will display all the commands from that give n for New Partition, p for Primary
Partition, 1 for only 1 partition, leave the default values just press ENTER, now give p printing the
tables and w for writing those tables on the disk
Step: 74) Now just list the disks by giving (# ls /dev/sd*). Here we can see that sdb1 (partition) is
created. Now formatting that partition just give (# mke2fs j /dev/sdb1), and add entry in fstab file.
(# vi /etc/fstab)
Step: 75) Now add the entry as follows. 1st column (the partitioned drive), 2nd column (mount point),
3rd column (file type of the drive), 4th column (mode), 5th column (default values)
Step: 76) Create a directory as given in fstab file (# mkdir /u01), and issue the command (mount a),
the drive will automatically mounted, and try to give (df h) to see all the mounted drives.
Step: 77) Adding the VOTING Disks, Goto, to Settings -> Storage -> Controller:SATA -> Add HardDisk
-> Create new Disk
Step: 80) Give the appropriate location and give the size as 1GB, and create as same three disks with
1GB of size
Step: 82) To convert the three VOTING DISKS to Shareable, Goto File -> Virtual Media Manager
Step: 83) The Virtual Media Manager and the three VOTING DISKS.
Step: 86) Try to do other 2 VOTING DISKS. And it should look like this on the main page..
Step: 87) In Node 2 goto Settings -> Storage -> Choose existing disk
Step: 89) Now list the newly added disks (# ls /dev/sd*), and try to partition those three
disks with fdisk command (fdisk /dev/sdc -> n -> p -> 1-> Enter key -> Enter key -> p -> w.
Similarly for other two disks (sdd, sde)
Step: 90) After making partitions for three disks we should see like the below at last..
Step: 91) Install preinstall packages using yum (yum install oracle-rdbms-server-11gR2-preinstall).
Step: 93) Give the ip-address and hostnames in hosts file (# vi /etc/hosts) in both nodes. And
comment the 2nd line.
Step: 94) Create directories for GRID_HOME & ORACLE_HOME and change permissions and
ownership to the parent dorectory.
(# mkdir p /u01/app/11.2.0/grid) | (# mkdir p /u01/app/oracle/11.2.0/product/db_1)
(chown R oracle:oinstall /u01) | (# chmod R 0755 /u01)
Step: 95) Try to download and install OracleASM Libs which you can download from
http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html
Step: 96) In Node 1 initialize oracleasm by giving (# oracleasm init), and configure to oracle user and
oinstall group, so that from next time they will initialize after booting.
(# oracleasm configure -i) | (oracle -> oinstall -> y -> y)
Step: 97) After oracleasm configuration is completed now try to create the (three VOTING DISKS) to
ASM DISKS (/dev/sdc1 | /dev/sdd1 | dev/sde1)
Step: 98) In Node 2 try the same thing Install OracleAsm Libs and configure oracleasm to oracle user
and oinstall group, then just try to scan and list the disks which have been created in Node 1.
(# oracleasm scandisks) | (# oracleasm listdisks)
Step: 99) Give a password to Oracle user in both the nodes. (# passwd oracle) | (default password is
oracle).
Step: 100) Try to connect to self and other nodes with the help of ssh.
Step: 101) Try to generate keygen of ssh using the following command (# ssh-keygen t rsa -> Enter
key -> Enter key -> Enter key), go to .ssh directory in oracle home and change the of id_rsa.pub to
authorized_keys (Node 1), same check connectivity in Node 2 and generate keygen and change the
name of id_rsa.pub to authorized_keys2 (Node 2), and copy the authorized_keys file from Node 1
to Node 2 using the command (scp /.ssh/authorized_keys @rac2:/home/oracle/.ssh), vice-versa
from Node 2 to Node 1 (scp /.ssh/authorized_keys2 @rac1:/home/oracle/.ssh). This is setting up a
Passwordless Connectivity between two nodes.
Step: 102) The below is the Passwordless Connectivity between two nodes.
Installation of RAC
Step: 103) Copy the Software from the SharedFolder.
Step: 104) Change the ownership to oracle user and oinstall group (# chown oracle:oinstall
p133390677_112020_Linux_x86-64_*) and permissions to 0755 (# chmod 0755
p133390677_112020_Linux_x86-64_*) of the copied software.
Installation of RAC
Step: 105) unzip the software using oracle user. ($ unzip p133390677_112020_Linux_x8664_1of7.zip). Similarly all 7 zip files.
Step: 106) Goto to the folder which has the name as grid. ($ cd /grid/)
Installation of RAC
Step: 107) Just try to run runInstaller with oracle user. ($ ./runInstaller) . The following message
must appear.
Step: 109) Now Select Install and Configure Oracle Grid Infrastructure as a Cluster -> Next
Installation of RAC
Installation of RAC
Step: 112) Add Other node Public and Virtual Hostnames -> OK
Installation of RAC
Step: 114) Give the password of the oracle user -> Test -> Setup
Step: 115) The following pop-up should come for successful passwordless connectivity -> OK
Installation of RAC
Step: 116) Give the SCAN name as we have given the hosts file ($ cat /etc/hosts) -> Next
Installation of RAC
Step: 118) Check the locations in Node 1 & Node 2 should be identical. And change Cluster Registry
Storage Type (from File System to Oracle Automatic Storage Management) and give the SYSASM
password -> Next
Step: 119) Give the DiskGroup Name and if the creation of VOTING DISKS are done with correct
oracleasmlibs then those three Disks should appear automatically, otherwise we should give the
manual path by clicking Change Directory Path (/dev/oracleasm/disks/*)
Installation of RAC
Step: 120) The oraInventory path is default -> Next
Installation of RAC
Step: 122) The two Errors can be ignored, because in test environment we will not configure NTP,
MDNS -> Next
Installation of RAC
Step: 124) The Installation Process is going in Node 1
Installation of RAC
Step: 126) Just try in run the oraInstRoot.sh and root.sh in both Nodes with root user.
(# /u01/app/oraInventory/oraInstRoot.sh) | (/u01/app/11.2.0/grid/root.sh) in Node 1 & Node 2.
Step: 127) The display should appear like the following. (oraInstRoot.sh)
Installation of RAC
Step: 128) The display should appear like the following. (root.sh)
Step: 129) At last in root.sh the following message should appear (Configure Oracle Grid
Infrastructure for a Cluster.. Succeeded)
Installation of RAC
Step: 130) After successfully configuration in both nodes (root.sh) click on OK in installer, post
configuration should be done successfully..
Step: 131) At last after all the pre and post configuration in succeeded then in Node 1 or Node 2 just
check the status of the RAC (crsctl stat res -t).
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<Happy Learning>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>