You are on page 1of 10

Oracle VM Server for x86:

Administration
Student Guide

D85765GC10
Edition 1.0
August 2014
D87627
Author Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Michele Lemieux Dady Disclaimer

This document contains proprietary y information and is protected by


y copyright
y g and
Editors
Edit other intellectual property laws. You may copy and print this document solely for your
own use in an Oracle training course. The document may not be modified or altered
Daniel Milne in any way. Except where your use constitutes "fair use" under copyright law, you
Vijayalakshmi Narasimhan may not use, share, download, upload, copy, print, display, perform, reproduce,
publish, license, post, transmit, or distribute this document in whole or in part without
Graphic Designer the express authorization of Oracle.

Divya Thallap The information contained in this document is subject to change without notice. If you
find any problems in the document, please report them in writing to: Oracle University,
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
Publishers warranted
t d to
t be
b error-free.
f
Nita Brozowski
Restricted Rights Notice
Jayanthy Keshavamurthy
Jobi Varghese If this documentation is delivered to the United States Government or anyone using
Giri Venugopal the documentation on behalf of the United States Government, the following notice is
applicable:

U.S. GOVERNMENT RIGHTS


The U.S. Governments rights to use, modify, reproduce, release, perform, display, or
disclose these training materials are restricted by the terms of the applicable Oracle
license agreement and/or the applicable U.S. Government contract.

Trademark Notice

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners.
Contents

1 Introducing Oracle VM with Oracle VM Server for x86


Objectives 1-2
Lesson Overview 1-3
Oracle VM with Oracle VM Server for x86 1-4
Oracle VM Main Components 1-5
Server Virtualization 1-6
Advantages of Server Virtualization 1-7
Challenges with Server Virtualization 1-9
Application-Driven Virtualization with Oracle VM 1-10
Application Deployment and Management with Oracle VM 1-12
Quiz 1-13
Virtualization Concepts with Oracle VM 1-14
Server Virtualization Technologies 1-15
Oracle VM Virtualization Architecture Oracle VM Manager and Oracle
VM Servers 1-17
Oracle VM Virtualization Architecture Management Interfaces 1-19
Guest Virtualization Modes with Oracle VM 1-21
Guest Support with Oracle VM Server for x86 1-23
Quiz 1-25
Oracle VM Functional Architecture 1-26
Oracle VM Functional Architecture: Storage 1-28
Oracle VM Functional Architecture: Networking 1-30
Live Migration 1-32
Server Pool Policies 1-34
HA for Virtual Machines 1-35
Fast Deployment with Oracle VM Templates and Assemblies 1-36
How to Create Virtual Machines from Templates or Assemblies 1-38
Benefits of the Oracle VM Solution 1-40
Oracle Virtualization and the Deployment Stack 1-42
Virtual Compute Appliance Pre-Installed, Preconfigured Oracle VM 1-45
Oracle Cloud Infrastructure Courses 1-47
Quiz 1-48
Summary 1-49
Practice 1: Overview 1-50

iii
2 Planning and Installation
Objectives 2-2
Planning Your Installation 2-3
Oracle VM Server for x86 2-4
Requirements for the Oracle VM Manager Host 2-6
Licensing with Oracle VM 2-8
Oracle VM Port Usage 2-9
Before You Install the Oracle VM Manager Software 2-11
Networking in the Oracle VM Environment 2-12
Network Services 2-14
Storage for Oracle VM Servers 2-16
Installation and Post-Installation Steps for Oracle VM Components 2-18
Oracle VM Server for x86 Installation Steps 2-19
Oracle VM Server for x86 Installation Prompts 2-21
Oracle VM Server: Post-Installation Status 2-22
Oracle VM Manager Installation Steps 2-24
Oracle VM Manager Installation Options 2-26
Other Installation Options for the Oracle VM Manager 2-29
Installation Directories 2-31
Enabling Console Access to Virtual Machines 2-33
Post-Installation Tasks 2-34
Backing Up the Oracle VM Manager 2-37
Launching the Oracle VM Manager User Interface 2-39
Navigating the Graphical User Interface: The Login Window 2-41
Navigating the Graphical User Interface: The Main Window 2-42
Using the Tabs in the Graphical User Interface 2-44
Tab Usage in the Graphical User Interface 2-45
Oracle VM Command-Line Interface (CLI) 2-48
Using the Oracle VM CLI 2-49
Upgrading Oracle VM: Oracle VM Manager 2-50
Upgrading Oracle VM: Oracle VM Servers 2-52
Quiz 2-54
Summary 2-56
Practice 2: Overview 2-57

3 Managing Servers and Networks


Objectives 3-2
Lesson Overview 3-3
Initial Configuration Steps 3-4
Discovering Oracle VM Servers 3-6
Newly Discovered Oracle VM Server 3-7

iv
Newly Discovered Oracle VM Server: Functions 3-9
Operations on Oracle VM Servers 3-10
Using IPMI to Change the Operational State of Oracle VM Servers 3-12
Quiz 3-14
Networking in Oracle VM 3-15
Networks in the Oracle VM Environment 3-16
Networks and Network Functions 3-17
Management Networks 3-19
Management Interface on the Oracle VM Server 3-20
Creating Additional Networks 3-21
Guidelines for Creating Networks 3-22
Building Blocks for Creating Networks 3-24
Bonded Interfaces 3-25
Network Bonding: Example 3-27
Network Bridges 3-29
Network Bridges: Example 3-30
Creating a Network with VLAN Support 3-32
Oracle VM VLAN Terminology 3-33
VLAN Interfaces: Example 3-34
Creating Networks with VLAN Support 3-35
Configuring VLAN Interfaces 3-36
Creating a Network with a VLAN Interface 3-37
Creating Networks with the Oracle VM Manager UI 3-38
Managing Networks with the Oracle VM Manager 3-39
Quiz 3-41
Summary 3-42
Practice 3: Overview 3-43

4 Managing Storage
Objectives 4-2
Lesson Overview 4-3
Oracle VM Initial Configuration: Storage Tasks 4-4
Storage Highlights 4-6
Storage Functions 4-7
Accessing Storage in the Oracle VM Environment 4-9
Storage Connect Framework 4-11
Storage Connect Generic and Vendor Plug-Ins 4-12
Preparing External Storage 4-13
Preparing External Storage: FC Multipathing 4-14
Quiz 4-16
Configuring Storage in Oracle VM 4-17

v
Storage Management with the Oracle VM Manager 4-18
Configuring File Servers 4-20
Discovering a File Server: File Server Parameters 4-21
Discovering a File Server: Adding Admin and Refresh Servers 4-22
Specifying Refresh Servers 4-23
For Uniform Exports: Selecting File Systems 4-24
For Non-Uniform Exports: Creating NFS Access Groups 4-25
Managing File Servers 4-27
Configuring SAN Servers 4-28
Unmanaged and Managed SAN Servers 4-29
Unmanaged SAN Server Behavior 4-31
Discovering SAN Servers: A Generic iSCSI Example 4-32
Discovering SAN Server Information 4-33
Role of Access Groups 4-35
Discovering Physical Disks 4-36
Making Changes to Your Storage 4-38
Physical Disk Cloning 4-40
Cloning Terminology 4-41
Cloning Physical Disks with Oracle VM 4-42
Vendor-Managed Storage Case Study Using the Oracle ZFS Storage
Appliance 4-44
Oracle ZFS Storage Appliance Storage Connect Components 4-45
Using the Oracle ZFS Storage Appliance for iSCSI Operations with Oracle VM 4-47
Installing the Oracle ZFS Storage Appliance Plug-In 4-49
Creating an Oracle VM Project on the Oracle ZFS Storage Appliance 4-50
Creating a Role and User for Oracle VM on the Oracle ZFS Storage Appliance 4-51
Creating an iSCSI Target and a Target Group on the Oracle ZFS Storage
Appliance 4-52
Discovering the Oracle ZFS Storage Appliance: Discover a SAN Server 4-53
Discovering the Oracle ZFS Storage Appliance: Access Information 4-54
Discovering the Oracle ZFS Storage Appliance: Add Admin Servers 4-55
Add Access Group: Create Step 4-56
Create Access Group: Select Initiators 4-57
Create Access Group: Present Physical Disks 4-58
Managing Access Groups 4-59
Creating Physical Disks in the Oracle ZFS Storage Appliance by Using the Oracle
VM Manager 4-60
Presenting Physical Disks to the Access Group from the Oracle VM Manager 4-61
Cloning Physical Disks in the Oracle ZFS Storage Appliance by Using the Oracle
VM Manager 4-62
Quiz 4-64

vi
Summary 4-65
Practice 4: Overview 4-66

5 Server Pools and Repositories


Objectives 5-2
Lesson Overview 5-3
Server Pool and Repository Configuration Tasks 5-4
Server Pools and Repositories 5-5
Server Pool: Overview 5-7
Server Pool Functions 5-8
Server Pool Clusters 5-10
OCFS2 for Oracle VM 5-11
Components of OCFS2 5-12
Building a Clustered Server Pool with OCFS2 5-13
Server Pool Cluster with Shared Resources and Distributed Lock Management 5-15
OCFS2 Features 5-17
OCFS2 Cluster Services 5-18
Server Pool Deployment Planning 5-19
Creating a Clustered Server Pool with the Oracle VM Manager UI 5-21
Adding Oracle VM Servers to a Server Pool 5-23
Cluster Creation 5-25
Oracle VM Cluster Configuration 5-26
Non-clustered Server Pools 5-28
Managing Server Pools 5-30
Making Changes to a Server Pool 5-32
Server Pool Policies 5-34
Distributed Resource Scheduling: CPU Component 5-35
Distributed Resource Scheduling: Networking Component 5-37
How DRS and DPM Work 5-38
Anti-Affinity Groups 5-39
Quiz 5-40
Oracle VM Repositories 5-41
Storage Repositories 5-42
Creating Storage Repositories 5-44
Presenting Repositories to Oracle VM Servers 5-46
Creating Repository Exports for OCFS2-Based Repositories 5-48
Backing Up the Repository Export from an External Host 5-49
Adding Resources to Repositories 5-50
Managing Virtual Disks in Repositories 5-52
Cloning a Virtual Disk 5-53
Obtaining Information About a Repository 5-56

vii
Managing Repositories 5-58
Quiz 5-60
Summary 5-61
Practice 5: Overview 5-62

6 Managing Virtual Machines


Objectives 6-2
Lesson Overview 6-3
Review: Virtual Machine Terminology 6-4
Creating Virtual Machines 6-8
Virtual Machine Components 6-10
Review: Disk Storage for Virtual Machines 6-12
Virtual Machine Networking: Creating VNICs 6-14
Steps to Create a Virtual Machine 6-16
Example: Creating a Virtual Machine Using the Installation Media 6-18
Examining the Configuration Information for Virtual Machines 6-26
Virtual Machine Configuration File 6-27
Starting and Accessing the Virtual Machine 6-30
Installing the Operating System in the Guest 6-32
Using Kickstart to Create Virtual Machines 6-35
Quiz 6-37
Templates, Assemblies, and Cloning 6-38
Creating Virtual Machines from Templates and Assemblies 6-39
Managing Assemblies 6-41
Creating New Virtual Machines with Cloning 6-43
Launching a Cloning Operation from the Oracle VM Manager UI 6-45
Launching a Cloning Operation from the Oracle VM Manager CLI 6-47
Cloning FAQs 6-48
Simple and Advanced Cloning 6-49
Creating a Clone Customizer 6-50
Cloning Storage: Storage Mapping Clone Type 6-52
Clone Customizers: A Scenario 6-54
Cloning Operations: Summary 6-56
Managing Virtual Machines 6-57
Virtual Machine Life Cycle 6-58
More Actions on Virtual Machines 6-60
Migrating a Virtual Machine 6-62
Enabling High Availability for Virtual Machines 6-64

viii
HA and Oracle VM Server Failure 6-65
Quiz 6-67
Summary 6-68
Practice 6: Overview 6-69

ix

You might also like