2018-05-10 Initial Build

Summary

BOTANY has been rebuilt as the standby site for the data guard environment.

References

Oracle Manuals

Procedure

Create OVMS Directory

On VICTORIA, I created the directory for BOTANY:

mkdir -p /OVS/running_pool/BOTANY

Duplicate PERSONAL VM

On VICTORIA, I duplicated the VM image for PERSONAL:

cp /OVS/running_pool/PERSONAL/root_disk /OVS/running_pool/BOTANY/

Allocate VM Resources

The following resources were updated:

Update DNS

The DNS entries on GRIDCTRL were updated for:

  • BOTANY
  • PADSTOW

Create XEN Configuration File

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

cat >/OVS/running_pool/BOTANY/botany.cfg <<DONE # ===================================================================== # HVM guest configuration for BOTANY # 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 = "botany" # 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:04,bridge=xenbr0' ] # Disk Devices # A list of 'diskspec' entries as described in # docs/misc/xl-disk-configuration.txt disk = [ '/OVS/running_pool/BOTANY/root_disk,raw,xvda,rw' ] # Guest VGA console configuration, either SDL or VNC vnc = 1 vnclisten = "0.0.0.0" vncdisplay = 2 DONE

Start VM

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

xl create /OVS/running_pool/BOTANY/botany.cfg

Change Hostname

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

NETWORKING=yes HOSTNAME=botany.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 BOTANY 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 botany botany.yaocm.id.au

Reconfigure NIC

Following the procedure in “11.3 Command-line Network Configuration Interfaces”, I changed the NIC configuration on BOTANY 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:04 IPADDR=192.168.1.111 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