Oracle RAC 12cR1 on OEL 7.2 VBox – Part 1: Installation of OEL 7.2

Based on several articles in the internet like ORACLE-BASE and RAC-Attack and the need to patch the GI software before the cluster is configured the first time I started to create a VM. I tried to summarize them in this article being the first one of 7:

  1. Installation of OEL 7.2
  2. Add sharable ASM Disk Groups and Configuration of OEL 7.2 to be ready for Oracle Installation
  3. Cloning the Node two a 2-Node-RAC
  4. Install the GI software only
  5. Patch and Configure GI
  6. Installation of CDB with two PDB
  7. Summary

 

Starting with the first one:    1. Installation of OEL 7.2:

You have two choices:

a) you can download the created VM

b) you can create the VM manually

 

 

In Case a)

To make it easy for you to setup a RAC, I had created a VBox VM with the following settings:

1
2
3
4
5
10.0.2.61            nat.scons.de                     nat            # enp0s3
192.168.78.61        rac01.scons.de                   rac01          # enp0s8 (Host-Only: 192.168.78.1)
192.168.78.101       rac01-vip.scons.de               rac01-vip      # ----
10.2.0.61            rac01-priv1.scons.de             rac01-priv1    # enp0s9  (internal)
10.3.0.61            rac01-priv2.scons.de             rac01-priv2    # enp0s10 (internal)

and setup the following users

1
2
root / welcome
rhartwig / rhartwig

You can connect to the VM via IP=192.168.78.61 using ssh and user rhartwig. For the first time you have to enter the password. It is recommended to wait to run the scripts in Part two as they will change some keys … Thereafter you can change the Public Key authorization files to connect passwordless.

To download the OEL72.ova you have to download 5 files of about 300MB each as

1
2
3
Host:     sftp://u37885032.1and1-data.host:22
Username: u37885032-vbox
Password: Oracle-VBox
1
2
3
4
5
6
The MD5SUM of the files are:
4de6050e34c9ce142b34cba0a99de58b  OEL72.ova.00
adeeee03ae2eabfa47b491eacecbf403  OEL72.ova.01
d7c05088794c1717ce9d6993c3ec0495  OEL72.ova.02
5590f9c3bcc967743438b3cad09f2e11  OEL72.ova.03
eb55ca1e5439c8de9d44f0cf3a05e975  OEL72.ova.04
1
2
3
4
5
6
The CKSUM of the files are:
2758132541 324009984 OEL72.ova.00
2121775138 324009984 OEL72.ova.01
1193938311 324009984 OEL72.ova.02
2348093939 324009984 OEL72.ova.03
 377607702 281278976 OEL72.ova.04

After downloading all 5 files, you have to put them to one file by execute the command:

1
cat OEL72.ova.0? > OEL72.ova

This files can be imported into a running VBox. During Import the ova file will need about 4G space on disk.
REMEMBER: If you try to access the internet you may add your’s router address to /etc/resolv.conf – This must be done before running the scripts I will publish in part 2 in the next days. Currently I have to do some tests on them.

Minimum Resources (RAM and Disk space in GB) you need
         # Disk # RAM # Cores
# Step 1 #    4 #   4 #   1
# Step 2 #    6 #   4 #   1
# Step 3 #   32 #   8 #   1
# Step 4 #   32 #   8 #   2
# Step 5 #   32 #   8 #   2
# Step 6 #   32 #   8 #   2

 

 

In Case b)

I added two PDF files with all the screenshots I made during installation (at the end of this blog):

I created 4 standard partitions on sda (30 G) – no LVM

1
2
3
4
/boot  512 M, xfs
/       21 G, xfs
/var     5 G, xfs
swap     4 G

and on sdb

5
/u01    60 G, xfs

I installed the Base Environment „Server with GUI“ and the additional Add-Ons:

  • DNS Name Server
  • Hardware Monitoring Utilities
  • Large Systems Performance
  • Network file system client
  • Performance Tools
  • Compatibility Libraries
  • Development Tools

During Installation I configure the network interfaces:

1
2
3
4
5
network  --hostname=OEL72.scons.de
network  --bootproto=static --device=enp0s3  --gateway=10.0.2.2 --ip=10.0.2.61     --mtu=1500 --nameserver=192.168.78.62,192.168.78.61 --netmask=255.255.255.0 --noipv6 --activate
network  --bootproto=static --device=enp0s8                     --ip=192.168.78.61 --mtu=1500                                          --netmask=255.255.255.0 --noipv6 --activate
network  --bootproto=static --device=enp0s9                     --ip=10.2.0.61     --mtu=1500                                          --netmask=255.255.255.0 --noipv6 --activate
network  --bootproto=static --device=enp0s10                    --ip=10.3.0.61     --mtu=1500                                          --netmask=255.255.255.0 --noipv6 --activate

All further details you can find in the PDF files.

01-SETUP-NEW-VM

02-INSTALL-OEL-7.2.0.0.0

 

Have fun –

Rainer

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.