2018-05-09 Initial Build

Summary

PADSTOW has been rebuilt as the primary site for the data guard environment.

References

Oracle Manuals

Procedure

Create OVMS Directory

On VICTORIA, I created the directory for PADSTOW:

mkdir -p /OVS/running_pool/PADSTOW

Duplicate PERSONAL VM

On VICTORIA, I duplicated the VM image for PERSONAL:

cp /OVS/running_pool/PERSONAL/root_disk /OVS/running_pool/PADSTOW/

Allocate VM Resources

The following resources were updated:

Update DNS

The DNS entries on GRIDCTRL were updated for:

  • PADSTOW
  • BOTANY

Create XEN Configuration File

On VICTORIA, I created the XEN configuration file for PADSTOW as follows:

cat >/OVS/running_pool/PADSTOW/padstow.cfg <<DONE # ===================================================================== # HVM guest configuration for PADSTOW # Generated $(date --rfc-3339=seconds) # ===================================================================== # # 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 = "padstow" # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. uuid = "$(uuidgen)" # Initial memory allocation (MB) memory = 3072 maxmem = 3072 # Number of VCPUS vcpus = 1 maxvcpus = 1 # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown vif = [ 'mac=00:16:3E:00:00:03,bridge=xenbr0' ] # Disk Devices # A list of 'diskspec' entries as described in # docs/misc/xl-disk-configuration.txt disk = [ '/OVS/running_pool/PADSTOW/root_disk,raw,xvda,rw' ] # Guest VGA console configuration, either SDL or VNC vnc = 1 vnclisten = "0.0.0.0" vncdisplay = 1 DONE

Start VM

On VICTORIA, I started the VM for PADSTOW as follows:

xl create /OVS/running_pool/PADSTOW/padstow.cfg

Change Hostname

Following the procedure in “11.2.4 /etc/sysconfig/network”, I changed the hostname in /etc/sysconfig/network on PADSTOW as follows (changes in bold):

NETWORKING=yes HOSTNAME=padstow.yaocm.id.au GATEWAY=192.168.1.1 # oracle-rdbms-server-12cR1-preinstall : Add NOZEROCONF=yes NOZEROCONF=yes

Following the procedure in “11.2.1 /etc/hosts”, I changed the hostname in /etc/hosts on PADSTOW as follows (changes in bold):

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.110 padstow padstow.yaocm.id.au

Reconfigure NIC

Following the procedure in “11.3 Command-line Network Configuration Interfaces”, I changed the NIC configuration on PADSTOW as follows:

cat >/etc/sysconfig/network-scripts/ifcfg-eth0 <<DONE DEVICE=eth0 TYPE=Ethernet UUID=$(uuidgen) ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none HWADDR=00:16:3E:00:00:03 IPADDR=192.168.1.110 PREFIX=24 GATEWAY=192.168.1.1 DNS1=192.168.1.252 DNS2=192.168.1.1 DOMAIN=yaocm.id.au DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" DONE