10 Move GORDON to VICTORIA

Overview

The VM under VirtualBox has proven to be unstable with several crashes. I have decided to move GORDON to VICTORIA. This means that VICTORIA will now be restricted to running a maximum of three (3) VM images:

    1. CRONULLA with a memory allocation of six (6) GB
    2. GORDON with a memory allocation of four (4) GB
    3. PERSONAL with a memory allocation of four (4) GB

This accounts for 14 GB out of 15 GB (one (1) GB is needed for XEN supervisor). Thus, RAC will have to move elsewhere.

References

Procedure

Allocate VM Resources

In Victoria VM Resources, the resource allocations are made:

    • MAC address of 00:16:3E:00:00:19
    • VNC Console address of 6
    • CD-ROM V100082-01.iso mounted for Oracle Enterprise Linux Version 7.2 (OEL7U2)

Create VM

Allocate Disk Space

On VICTORIA, the following commands are run as root to create the directory and disk files for GORDON:

mkdir -p /OVS/running_pool/GORDON/ cd /OVS/running_pool/GORDON/ dd bs=1G count=50 if=/dev/zero of=root_disk dd bs=1G count=20 if=/dev/zero of=data_disk dd bs=1G count=30 if=/dev/zero of=fra_disk

Create XEN Configuration File for GORDON

On VICTORIA, the following commands are run as root to create the XEN configuration file for GORDON:

cd /OVS/running_pool/GORDON/ cat gordon.hvm <<DONE # ===================================================================== # HVM guest configuration for GORDON # Generated $(date +"%F %T") # ===================================================================== # # This is a fairly minimal example of what is required for an # HVM guest. For a more complete guide see xl.cfg(5) # This configures an HVM rather than PV guest builder = "hvm" # Guest name name = "gordon" # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. uuid = "$(uuidgen)" # Initial memory allocation (MB) memory = 4096 # Number of VCPUS vcpus = 1 # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown vif = [ 'mac=00:16:3E:00:00:19,bridge=xenbr0' ] # Disk Devices # A list of 'diskspec' entries as described in # docs/misc/xl-disk-configuration.txt disk = [ '/OVS/running_pool/GORDON/root_disk,raw,xvda,rw', '/OVS/iso_pool/V100082-01.iso,raw,xvdc,ro,cdrom', '/OVS/running_pool/GORDON/data_disk,raw,xvdd,rw', '/OVS/running_pool/GORDON/fra_disk,raw,xvde,rw' ] # Guest VGA console configuration, either SDL or VNC vnc = 1 vnclisten = "0.0.0.0" vncdisplay = "8" DONE

Install OEL 7

Followed the procedure in Install Oracle Enterprise Linux 7.2.