Friday 18 September 2015

OVS sandbox VirtualBox - #1 - Introduction

Following the previous post Can we emulate OVM inside VirtualBox ? #2, let's walk through the setup to get to a working set of Oracle Virtual Server on top of VirtualBox.

This is almost similar to the OVM server farm sandbox which was done on VMWare.

Where last time, we did the exercise on
2,3 GHz Intel Core I7 4850HQ "Haswell"
6 MB shared L3 cache
16GB ram
while this time we go for

3,1 GHz Intel Core i7 5557U "Broadwell"
4 MB shared L3 cache
16GB ram

The used sources are:
Furthermore, handy to download some ovf templates
  • OVM_OL5U11_x86_64_PVM (V73663-01.zip) - Edelivery
  • OVM_OL6U6_x86_64_PVM (V73659-01.zip) - Edelivery
  • OVM_OL7U1_x86_64_PVHVM (V75785-01.zip) - Edelivery
And the following script we use for the host provisioning. Save it under the name Ovm_configure_vm.bash
#!/bin/bash
 
export VM_NAME="OEL6.0"
#export VM_IP="10.0.2.100"
export VM_HOSTNAME="oel60"
export VM_DOMAINNAME="local"
export VM_ORACLE_PASS="Welcome1"
export VM_ROOT_PASS="Welcome1"
# Below line is the "admin" password for the OVM Management access
export OVMUTIL_PASS="Welcome1"
export OVM_VMM="/u01/app/oracle/ovm-manager-3/ovm_utils/ovm_vmmessage"
 
paramSet () {
   echo "[$VM_NAME] setting [$1] to [$2]"
   $OVM_VMM -u admin -E -h localhost -v "$VM_NAME" -k "$1" -V "$2"
}
 
# selinux
paramSet com.oracle.linux.selinux.mode permissive
 
# firewall
paramSet com.oracle.linux.network.firewall False
 
# date/time/timezone
paramSet com.oracle.linux.datetime.timezone "Europe/Amsterdam"
paramSet com.oracle.linux.datetime.utc True
paramSet com.oracle.linux.datetime.ntp True
paramSet com.oracle.linux.datetime.ntp-servers 10.0.2.2
paramSet com.oracle.linux.datetime.ntp-local-time-source False
 
# network
paramSet com.oracle.linux.network.hostname "$VM_HOSTNAME.$VM_DOMAINNAME"
paramSet com.oracle.linux.network.host.0 "$VM_HOSTNAME"
paramSet com.oracle.linux.network.device.0 eth0
#paramSet com.oracle.linux.network.hwaddr.0
#paramSet com.oracle.linux.network.mtu.0
#paramSet com.oracle.linux.network.onboot.0 yes
#paramSet com.oracle.linux.network.bootproto.0 static
#paramSet com.oracle.linux.network.ipaddr.0 $VM_IP
#paramSet com.oracle.linux.network.netmask.0 255.255.255.0
#paramSet com.oracle.linux.network.gateway.0 10.0.2.2
#paramSet com.oracle.linux.network.dns-servers.0 10.0.2.2.2,8.8.8.8
#paramSet com.oracle.linux.network.dns-search-domains.0 "$VM_DOMAINNAME"
paramSet com.oracle.linux.network.onboot.0 yes
paramSet com.oracle.linux.network.bootproto.0 dhcp
paramSet com.oracle.linux.network.device.1 eth1
paramSet com.oracle.linux.network.onboot.1 yes
paramSet com.oracle.linux.network.bootproto.1 dhcp
 
# group oinstall
paramSet com.oracle.linux.group.name.0 oinstall
paramSet com.oracle.linux.group.action.0 add
paramSet com.oracle.linux.group.gid.0 54321
#paramSet com.oracle.linux.group.new-name.0
 
# group dba
paramSet com.oracle.linux.group.name.1 dba
paramSet com.oracle.linux.group.action.1 add
paramSet com.oracle.linux.group.gid.1 54322
#paramSet com.oracle.linux.group.new-name.1
 
# user
paramSet com.oracle.linux.user.name.0 oracle
paramSet com.oracle.linux.user.action.0 add
paramSet com.oracle.linux.user.uid.0 54321
paramSet com.oracle.linux.user.group.0 oinstall
paramSet com.oracle.linux.user.groups.0 dba
paramSet com.oracle.linux.user.password.0 "$VM_ORACLE_PASS"
#paramSet com.oracle.linux.user.new-name.0
 
# ssh keys
#paramSet com.oracle.linux.ssh.host-key
#paramSet com.oracle.linux.ssh.host-key-pub
#paramSet com.oracle.linux.ssh.host-rsa-key
#paramSet com.oracle.linux.ssh.host-rsa-key-pub
#paramSet com.oracle.linux.ssh.host-dsa-key
#paramSet com.oracle.linux.ssh.host-dsa-key-pub
paramSet com.oracle.linux.ssh.user.0 root
#paramSet com.oracle.linux.ssh.authorized-keys.0
#paramSet com.oracle.linux.ssh.private-key.0
#paramSet com.oracle.linux.ssh.private-key-type.0
#paramSet com.oracle.linux.ssh.known-hosts.0
 
# root password
paramSet com.oracle.linux.root-password "$VM_ROOT_PASS"

1 comment:

  1. Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download Now

    >>>>> Download Full

    Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download LINK

    >>>>> Download Now

    Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download Full

    >>>>> Download LINK SS

    ReplyDelete

Friday 18 September 2015

OVS sandbox VirtualBox - #1 - Introduction

Following the previous post Can we emulate OVM inside VirtualBox ? #2, let's walk through the setup to get to a working set of Oracle Virtual Server on top of VirtualBox.

This is almost similar to the OVM server farm sandbox which was done on VMWare.

Where last time, we did the exercise on
2,3 GHz Intel Core I7 4850HQ "Haswell"
6 MB shared L3 cache
16GB ram
while this time we go for

3,1 GHz Intel Core i7 5557U "Broadwell"
4 MB shared L3 cache
16GB ram

The used sources are:
Furthermore, handy to download some ovf templates
  • OVM_OL5U11_x86_64_PVM (V73663-01.zip) - Edelivery
  • OVM_OL6U6_x86_64_PVM (V73659-01.zip) - Edelivery
  • OVM_OL7U1_x86_64_PVHVM (V75785-01.zip) - Edelivery
And the following script we use for the host provisioning. Save it under the name Ovm_configure_vm.bash
#!/bin/bash
 
export VM_NAME="OEL6.0"
#export VM_IP="10.0.2.100"
export VM_HOSTNAME="oel60"
export VM_DOMAINNAME="local"
export VM_ORACLE_PASS="Welcome1"
export VM_ROOT_PASS="Welcome1"
# Below line is the "admin" password for the OVM Management access
export OVMUTIL_PASS="Welcome1"
export OVM_VMM="/u01/app/oracle/ovm-manager-3/ovm_utils/ovm_vmmessage"
 
paramSet () {
   echo "[$VM_NAME] setting [$1] to [$2]"
   $OVM_VMM -u admin -E -h localhost -v "$VM_NAME" -k "$1" -V "$2"
}
 
# selinux
paramSet com.oracle.linux.selinux.mode permissive
 
# firewall
paramSet com.oracle.linux.network.firewall False
 
# date/time/timezone
paramSet com.oracle.linux.datetime.timezone "Europe/Amsterdam"
paramSet com.oracle.linux.datetime.utc True
paramSet com.oracle.linux.datetime.ntp True
paramSet com.oracle.linux.datetime.ntp-servers 10.0.2.2
paramSet com.oracle.linux.datetime.ntp-local-time-source False
 
# network
paramSet com.oracle.linux.network.hostname "$VM_HOSTNAME.$VM_DOMAINNAME"
paramSet com.oracle.linux.network.host.0 "$VM_HOSTNAME"
paramSet com.oracle.linux.network.device.0 eth0
#paramSet com.oracle.linux.network.hwaddr.0
#paramSet com.oracle.linux.network.mtu.0
#paramSet com.oracle.linux.network.onboot.0 yes
#paramSet com.oracle.linux.network.bootproto.0 static
#paramSet com.oracle.linux.network.ipaddr.0 $VM_IP
#paramSet com.oracle.linux.network.netmask.0 255.255.255.0
#paramSet com.oracle.linux.network.gateway.0 10.0.2.2
#paramSet com.oracle.linux.network.dns-servers.0 10.0.2.2.2,8.8.8.8
#paramSet com.oracle.linux.network.dns-search-domains.0 "$VM_DOMAINNAME"
paramSet com.oracle.linux.network.onboot.0 yes
paramSet com.oracle.linux.network.bootproto.0 dhcp
paramSet com.oracle.linux.network.device.1 eth1
paramSet com.oracle.linux.network.onboot.1 yes
paramSet com.oracle.linux.network.bootproto.1 dhcp
 
# group oinstall
paramSet com.oracle.linux.group.name.0 oinstall
paramSet com.oracle.linux.group.action.0 add
paramSet com.oracle.linux.group.gid.0 54321
#paramSet com.oracle.linux.group.new-name.0
 
# group dba
paramSet com.oracle.linux.group.name.1 dba
paramSet com.oracle.linux.group.action.1 add
paramSet com.oracle.linux.group.gid.1 54322
#paramSet com.oracle.linux.group.new-name.1
 
# user
paramSet com.oracle.linux.user.name.0 oracle
paramSet com.oracle.linux.user.action.0 add
paramSet com.oracle.linux.user.uid.0 54321
paramSet com.oracle.linux.user.group.0 oinstall
paramSet com.oracle.linux.user.groups.0 dba
paramSet com.oracle.linux.user.password.0 "$VM_ORACLE_PASS"
#paramSet com.oracle.linux.user.new-name.0
 
# ssh keys
#paramSet com.oracle.linux.ssh.host-key
#paramSet com.oracle.linux.ssh.host-key-pub
#paramSet com.oracle.linux.ssh.host-rsa-key
#paramSet com.oracle.linux.ssh.host-rsa-key-pub
#paramSet com.oracle.linux.ssh.host-dsa-key
#paramSet com.oracle.linux.ssh.host-dsa-key-pub
paramSet com.oracle.linux.ssh.user.0 root
#paramSet com.oracle.linux.ssh.authorized-keys.0
#paramSet com.oracle.linux.ssh.private-key.0
#paramSet com.oracle.linux.ssh.private-key-type.0
#paramSet com.oracle.linux.ssh.known-hosts.0
 
# root password
paramSet com.oracle.linux.root-password "$VM_ROOT_PASS"

1 comment:

  1. Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download Now

    >>>>> Download Full

    Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download LINK

    >>>>> Download Now

    Oracle Technology Blog: Ovs Sandbox Virtualbox - 1 - Introduction >>>>> Download Full

    >>>>> Download LINK SS

    ReplyDelete