6. Oracle VM Server (OVS)
Hardware Requirements (minimum)
64-bit Processor
Single CPU, 1 GB RAM
4GB diskspace for binaries
1+ Network Interface
Hardware Recommendations
Dual-core or Multiple CPUs
Intel VT or AMD-V CPU
>2 GB RAM
2-8 Network Interfaces
Check: https://linux.oracle.com/hardware.html
6
7. Installation (OVS)
Bare metal installation
Download iso file from eDelivery
Request DVD from Oracle Support
Boot system with install software
From (burned) cd
USB disk
PXE image (from existing PXE setup)
Typical install time <90 sec
7
8. Required Information (OVS)
Have the following details available before install
Timezone and UTC clock settings
Designed disk layout (or use default setup)
Any drivers needed for ‘special’ network/storage cards
MAC addresses and network mapping to ports
IP address, hostname, Netmask, Gateway, DNS
Passwords
Registration password for OVM Manager
Root password for local server
8
9. After Installation (OVS)
Harddisk
Local / (root) partition of 3Gb, 1Gb
swap, 100Mb /boot
Remaining space available without
mountpoint
Network
Specified network port (setup as part
of bond0)
No other networks defined
Memory
Base (Dom0) memory uses 502MB +
0.0205 * physical-memory
9
10. Troubleshooting (OVS)
/var/log contains important files
ovs-agent.log
− Logfile for the Oracle VM agent. Remote requests and jobs by VM Manager are logged
here. 95% of all issues can be detected and solved by viewing this logfile
messages
− Logfile containing (default) Linux OS information including usual Linux processes like
network, filesystems, drivers etc
Various other logfiles
− But the two mentioned are the most important ones !
10
12. Oracle VM Manager (OVM)
Needs pre-existing OL5-64 bit or OL6-64 bit system
Only Oracle Linux 5/6 are certified
Networking already configured
Required packages installed
− Libaio and unzip
− oracle-validated (optional, helpful)
May be virtualized
− Is allowed to be installed on the managed OVM environment
− Check installation manual for specific steps
12
13. Prerequisites (OVM) - 1
Hardware requirements
8 GB Memory (or 6 GB if DB is on other host)
1x 1.83 Ghz 64bit processor
1 network card
Harddisk space
− 2.1 GB swapspace
− 5.5 GB in /u01
− 2 GB in /tmp
− 500MB in /var and /usr
13
14. Prerequisites (OVM) - 2
Software requirements
Oracle Linux / Red Hat Enterprise Linux 5.5/6 64bit or later
Hostname, /etc/hosts and network working/setup
Oracle VM Manager mounted and accessible
Oracle user created with required settings
− Can use script ‘createOracle.sh’ from install media
Following packages installed:
− libaio
− unzip
− bc
14
15. Components (OVM)
Oracle MySQL 5.0 database
Allowed to be used for production
Can also choose to use Oracle database SE/EE
Oracle Java 1.6 SE
Oracle WebLogic Server 11g
Oracle ADF (provides web interface look-and-feel)
Oracle VM 3.2 Manager
15
17. Storage Needed For…
Storage and Oracle VM
Storage types
Discovering storage for VM usage
Repositories
NFS Storage
SAN Storage
Repositories need to presented to servers
Server pools
Logical grouping of one or more physical servers
Virtual Machines can run on or migrate to any server in the pool
Create different Server Pools for different purposes
17
21. Oracle VM Server (OVS) Storage
Local Storage
SCSI, SAS, SSD, USB etc in local OVM Server
OS should report empty disk, single partitions not detected
Not recommended for HA and production usage
Storage server connections
Shared Network Attached Storage (NFS)
iSCSI Storage Attached Network
Fibre Channel Storage Attached Network
21
22. Shared Network Attached Storage (NFS)
Create NFS shares on NFS Server
Detect NFS server and NFS shares in OVM Manager
Determine which VM’s can use the shares
Start storing information on the NFS shares
When Virtual Machines are stored on NFS
Virtual disk I/O needs to be translated into NFS files
Slower than block I/O like local disks, iSCSI or FC San storage
22
23. iSCSI Network Attached Storage (iSCSI)
Simulate remote disks as if they were local
Normal SCSI commands are transported to iSCSI server
Supported by default
iSCSI client software (initiator) is present by default
iSCSI server (target) needs to be setup
Access rights based on OVM Manager or iSCSI Server setup
When Virtual Machines are stored on iSCSI
Performance depends on iSCSI Target and network
Can be as fast as local storage, overhead is less than NFS
23
24. Uses dedicated hardware
To present remote disks/LUNs as local disks
Setup and acces permissions are setup on the SAN Server
Supported by default
Drivers might be needed if no default driver exists
Linux Multipath supported by default for HA setup
Local changes might be needed (driver options etc)
When Virtual Machines are stored on FibreChannel SAN
Depends on remote system and FibreChannel network
24Fibre Channel (FC) Storage Attached Network (SAN)
25. Storage Connect Plugins - 1
Specialized plugins for Oracle VM Server
Plugin created and supported by storage vendor
Installed on Oracle VM Server
Oracle VM Manager detects and uses functionality
Functionality varies per Storage Plugin
Create new NFS shares
Create new iSCSI disks
Clone existing NFS shares or iSCSI disks
Performs other options (access rights etc)
25
26. Storage Connect Plugins - 2
Plugins available by default
NFS, SCSI (local disks), ZFS Storage Appliance, NetApp Filer
Example: ZFS Storage Appliance plugin can close iSCSI LUNs, create new
iSCSI LUNS and clone/create NFS shares from the OVM Manager
Additional Plugins available
https://wikis.oracle.com/display/oraclevm/Oracle+VM+Storage+Connect+Plugins
Examples: Hitachi, Fujitsu, EMC
Read the plugin documentation carefully for supported models and any licenses
needed for usage. Oracle is not responsible for the functioning of these plugins
26
55. SimpleHTTPServer (Python)
Python has the SimpleHTTPServer module which provides a simple http Request
handler.
Make sure you are in the directory where the img and vm.cfg files are located.
pwd
/OVS/running_pool/1548_vm1
Start a simple Http server
python -m SimpleHTTPServer 80
Serving HTTP on 0.0.0.0 port 80 ...
Leave this session open for the duration of the migration.
Jaap Poot
55