Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Oracle VM 3.4.1 Installation
1. Today we are not going to install Oracle VM 3.3.3
Instead we are going to install Oracle VM 3.4.1
2. Simo Vilmunen
Oracle eBS 10+ years
Technical Architect and DBA
Oracle Databases 15+ years
Lately focused on virtualization &
infrastructure of Oracle technology stack
3. Terminology for this session
OVM = The actual Oracle VM
OVM Manager = Management GUI
OVS = Physical server under virtual machines
VM = Virtual Machine
Server Pool = Clustered physical servers for VMs
Repository = Storage area for relevant files
4. Oracle VM Architecture
Oracle VM Manager
Web GUI
Management Server
Oracle VM Server
Dom0 Domu Domu Domu
Hypervisor
Oracle VM
Server
Oracle VM
Server
5. OVM Manager installation package
Three (3) or more servers
OVS installation package
Patience
People
What we need for installation?
7. • Total count of CPU and RAM
• Use www.spec.org to get estimate on current
hardware capability
• Spec CINT2006 benchmarks for processor per
hardware vendor
• Calculate total score for your hardware per
Oracle VM server pool
Server Processor Amount Spec CINT2006
processor score
Total
score
RAM
MT 1 E5640 1 119 119 16
MT 2 E52609 2 112 224 16
DB 1 E5640 2 119 238 64
DB 2 E5-2680 2 166 332 64
DB 3 E5-2650v2 2 341,5 683 64
Server pool 1
Server pool 2
How are you currently utilizing
your hardware
How many instances are you
running
Future requirements
Licenses
Plan your initial Oracle VM
architecture (Oracle VM server
pools)
8. 1. Processor limit per server
2. Processor frequency and
cores
3. Memory
4. Network cards
5. Software licenses
Hardware
• Oracle Hardware Certification
List for Linux and Oracle VM
http://linux.oracle.com/pls/apex
/f?p=117:1:0::NO:RP::
• Future requirements
What to consider
Decide your hardware setup
9. For Oracle VM 3.4.1
Oracle VM Server ISO
patch ID 22902487
Oracle VM Manager Install/Upgrade ISO
patch ID 22902502
Google: Oracle VM downloads
11. To start OVM Manager installation follow readme.
Mount ISO file to Linux host as root.
Execute runinstaller.sh as root.
Installation takes around 15 minutes to complete.
12. [root@demovm dvd]# ./runInstaller.sh
Oracle VM Manager Release 3.4.1 Installer
Please select an installation type:
1: Install
2: Upgrade
3: Uninstall
4: Help
Select Number (1-4): 1
Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com,
(or IP address) of your management server for SSL certification generation
10.225.101.112 [demovm.local]:
Verifying configuration ...
Start installing Oracle VM Manager:
1: Continue
2: Abort
Select Number (1-2): 1
13. Step 1 of 7 : Database Software ...
Step 2 of 7 : Java ...
Step 3 of 7 : WebLogic and ADF ...
Step 4 of 7 : Oracle VM ...
Step 5 of 7 : Domain creation ...
Step 6 of 7 : Oracle VM Tools ...
Step 7 of 7 : Start OVM Manager ...
Oracle VM Manager installed.
Installation Summary
--------------------
Database configuration:
Database type : MySQL
Database host name : localhost
Database name : ovs
Database listener port : 49500
Database user : ovs
Weblogic Server configuration:
Administration username : weblogic
Oracle VM Manager configuration:
Username : admin
Core management port : 54321
UUID : 0004fb0000010000325bb
Oracle VM Manager installation complete.
Oracle VM Manager UI:
https://demovm.local:7002/ovm/console
Log in with the user 'admin', and the password you set
during the installation.
19. Oracle VM requires few networks
Server Management
Cluster Heartbeat
Live Migration
Storage network
VM Network
Add correct port from OVS to correct
network.
20. Still needs storage access.
iSCSI & multipath settings by default
are not always set how your storage vendor
requires.
22. Oracle VM Storage
Server pool file system holds the server pool and
cluster data, and is also used for cluster heartbeat.
Shared repository holds relevant data for operations.
Virtual Machine files & disks, templates, ISOs
and virtual appliances
You can still assign disks directly from your storage
system to VMs.
20G
500G
24. Create server pools as you require.
We have separeted production / test
pools for database & applications.
Think of:
Licensing
Usage
Hardware capability
26. Installation and setup is now complete.
Now the actual OVM can be utilized by creating
virtual machines.
Repeat the OVS process to as many servers
as required.
27. Oracle has variety of prebuild templates available.
Use them!
Templates are optimized for
OVM and create good
starting point for your own
gold templates.
30. For VMs the assigned disks will show up under info
Virtual disk assigned from repository
Physical disk assigned from storage system
31. Now you can manage your VM from
OVM Manager.
Live migration is only supported without
hard partitioning.
Hard partitioning can only be done from
command line with OVM tools or editing vm.cfg.
33. Oracle VM 3.3.3
Dell Compellent SAN with 10GbE iSCSI (multipath)
four server pools
test application servers
test database servers
production application servers
administration tools
Dell M630
2x Intel E5-2667 v3 (3.2 GHz, 8c/CPU)
X11
Intel x520 for 10GbE iSCSI
320GB RAM
Intel x520 for 1GbE LAN
34. Identical hardware
• Improved fault tolerance for failures
• Easier manageability
• Scalability possibilities
Administration pool
• Consolidate monitoring and administration services
• Reused hardware
Administration pool
OVS
OVS
OVS
OVS Test Management Monitoring
Configuration
management
Development tools
OVM Manager
EM 12c
non-prod MT pool
OVS
OVS
OVS
OVS
non-prod DB pool
OVS
OVS
OVS
OVS
prod MT pool
OVS
OVS
OVS
36. Enable hyperthreading from BIOS for OVS to
maximize vCPU amount
Number of dom0 vCPUs to match your
configuration for optimal performance
dom0_vcpus_pin dom0_max_vcpus=16
Backup mysql DB! That’s all you backup anyway.
37. Review iSCSI & sysctl configuration
SAN refresh is slow and annoying if you work lot
with LUNs - limit LUNs presented
Use jumbo frames for iSCSI network
39. Installing Oracle VM is relatively easy & fast
Make sure your hardware is certified for production use
Pay attention to performance tuning
Think of your VM backup strategy
40. Oracle VM 3: 10GbE Network Performance
Tuning
http://www.oracle.com/technetwork/server-storage/vm/ovm3-10gbe-perf-1900032.pdf
Tuning Virtual Memory
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_
Tuning_Guide/s-memory-tunables.html
Optimising Oracle VM 3.x Oracle Linux 5 guest I/O
write performance through guest/host partition
boundary alignment (Doc ID 1632576.1)
Aligning Partitions to Maximize Storage Performance
http://www.oracle.com/technetwork/server-storage/sun-unified-storage/documentation/
partitionalign-111512-1875560.pdf
Notes de l'éditeur
Started as Oracle Developer, quickly learned basic DBA skills and continued several years as DBA doing installations, backup&restore and basic administrative work but all the time more and more focus with performance tuning (8i through 11gr2)
After some resistance learned eBS skills with 11.5.9 and then with current company 11.5.10.2 to 12.1.3
Go through all hardware utilization reports: SAN, OS utilization (use OEM), AWR for databases (OEM)
Total number of instances you have now and their average usage. What do you expect in the future so there is size to grow. How many licenses you have currently because it will limit the setup. Initial server pool setup how do you want to divide the instances. Do you want to put databases in one pool and application servers in another or do you want to separate by application etc
We measured current HW capability using spec int 2006 (compute-intensive integer performance) benchmarks and checked the matching or closest HW combination against our existing HW
Made list of current HW which had the processor type, amount and cint2006 score per CPU and total. And RAM per each server. This gave good baseline what we have currently
From hardware vendor how many CPUs can you have in one server, what are options for CPU frequency and cores, how much memory should one server have. Story about CPU option limiting RAM
Network cards should be looked closely and investigate deeper.
Review HCL list to see what are currently supported .. Some new HW takes time to come up in the list and Oracle support seems to pay attention to this. And size HW based on future requirements. Scaling is relatively easy as you can just add servers when needed (although licensing)
Explain the excel made
Doing live migration on hard partitioned VM will lose hard partitioning (and license implications)
Doing live migration on hard partitioned VM will lose hard partitioning (and license implications)