Oracle VM Manager 2.1.2 - Tarry Singh - E-Book

Oracle VM Manager 2.1.2 E-Book

Tarry Singh

0,0
47,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Virtualization is taking the technology world by storm and dramatically helping organizations save money. Oracle VM is free and forked from the open source Xen hypervisor, which brings down your upfront costs for an agile data center. The robust capabilities and easy-to-use web interface of Oracle VM Manager helps administrators manage their Internal Data Center from anywhere in the world, helping us come closer to ubiquitous computing.
This practical book will give you hands-on experience on how to manage your Virtual Machines using Oracle VM Manager. Equipped with step-by-step installation and management information you will not only learn to manage your Virtual Data Center but also will include this guide among the books you consider most essential.
This book will take you into the various methods of importing Virtual Machines. You will learn to import VMs through HTTP/FTP, Repository servers, and even import other VM formats such as VMware VMs. You will also learn about the Xen utilities such as xm, xentop, and virsh. You will learn to manage your VMs through the simple and intuitive web interface of Oracle VM Manager. No matter how compact it may seem, this book covers all the essentials while keeping your learning experience to the point. The book has been deliberately written in a conversational manner so that you feel at home while learning Oracle VM Manager.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB

Seitenzahl: 184

Veröffentlichungsjahr: 2009

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Oracle VM Manager 2.1.2
Credits
About the Author
Acknowledgement
About the Reviewer
Preface
What this book covers
Part l: Getting Started
Chapter 1: Introduction to Oracle VM
Chapter 2: Installing Oracle VM Manager
Chapter 3: Installing Oracle VM Server
Part II: Looking into the Architecture and Management
Chapter 4: Oracle VM Management
Chapter 5: Managing VMs with Oracle VM Manager - Part 1
Chapter 6: Managing VMs with Oracle VM Manager - Part 2
Chapter 7: Managing VMs with Oracle VM Manager - Part 3
Chapter 8: Troubleshooting and Gotchas
Appendix: Command Line Tools
What you need for this book
Who this book is for
What you will find in the book
What you won't find
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
I. Part 1
1. Introduction to Oracle VM
Virtualization: What is it?
Brief history of virtualization
What forms of virtualization do we have?
Why should we virtualize?
Oracle VM
Oracle VM Manager
Oracle VM Server
Oracle VM Agent
Oracle VM Manager configuration
What about roles in Oracle VM Manager?
Oracle VM Server
Xen hypervisor, Domains, and Virtual Machines
Summary
2. Installing Oracle VM Manager
What's new in Oracle VM Manager 2.1.2
What are the hardware requirements?
Getting the software
Installing Oracle EL 5 Update 2
Final checks before installing Oracle VM Manager
Port test
Libaio check
Other checks: Passwords and ports
What comes packaged with the Oracle VM Manager ISO file?
Installing Oracle VM Manager
Upgrading Oracle VM Manager from 2.1 or 2.1.1 to 2.1.2
Uninstalling Oracle VM Manager
Logging into WebUI: Oracle VM Manager, Oracle Database, and OC4J homepages
Summary
3. Installing Oracle VM Server
What is supported in Oracle VM Server
What are the hardware requirements?
Getting the software
On-premise Cloud installation: Installing Oracle VM Server 2.1.2 with a CD ROM
Off-premise Cloud installation: Installing Oracle VM Server from other sources
Installing from hard disk
Installing from a NFS image
Installing from an FTP server
Installing from HTTP
Upgrading Oracle VM Server
Summary
II. Part 2
4. Oracle VM Management
Getting started with Oracle VM Manager
How to register an account
Logging in to Oracle VM Manager
Oracle VM management: Managing Server Pool
Architectural decisions around designing Server Pools
Server pool creation
Editing Server Pool information
Searching and restoring Server Pools
Restoring a Server Pool
HA fundamentals and enabling HA
Deleting a Server Pool
Oracle VM Management: Managing VM Servers and repositories
How to add a Server
Editing Server information
Restart, shutdown, and delete Servers
About managing repositories
What are exactly Oracle VM repositories
Adding and removing a repository
User and Group management
Managing Users
Creating a User
Viewing or editing a User
Changing a User's role
Deleting User
Managing Groups
Creating a Group
Adding Users to a Group
Editing a Group
Deleting a Group
Backing up or restoring Oracle VM Manager
Backing up Oracle VM Manager
Restoring Oracle VM Manager
Enabling secure access to Oracle VM Manager
Summary
5. Managing Virtual Machines with Oracle VM Manager: Part 1
Oracle VM management with Oracle VM Manager
General overview and lifecycle management of Virtual Machines
Types of Virtual Machines
Private VMs
Shared VMs
Public Virtual Machine
Status of Virtual Machines
Lifecycle management of a Virtual Machine
Viewing VM errors
Error logs
General overview of VM management
Creating a Virtual Machine
Schematic view of VM creation
Creating a new Virtual Machine based on a Virtual Machine template
Importing a new Virtual Machine based on a Virtual Machine template
VM creation using installation media such as ISO files
Fully virtualized or HVM
Paravirtualized
Creating a network bootable (PXE boot) Virtual Machine
Powering on and powering off a VM
Pausing and unpausing a Virtual Machine
Suspending and resuming a Virtual Machine
Summary
6. Managing Virtual Machines with Oracle VM Manager: Part 2
Connecting remotely to a VM Console
Installing the Console plugin
Viewing Virtual Machine details
Editing and reconfiguring the Virtual Machines
The General tab
The Network tab
Selecting Virtual Machine type
Adding a VIF (Virtual Network Interface)
The Storage tab
Using non-sharable Virtual Disks
Using Shared Virtual Disks
Boot Source or CD-ROM
The Preferred Server tab
The Profiles tab
Operating System and Keyboard Settings
Copying Virtual Machines
Deploying a Virtual Machine
Cloning Virtual Machines
Saving Virtual Machine as a template
Migrating a Virtual Machine
Deleting a Virtual Machine
Summary
7. Managing Virtual Machines with Oracle VM Manager: Part 3
Managing intracloud resources and VM allocation
Importing templates from Virtual Machine
Importing a Virtual Machine template
Downloading VM Template from External Cloud
Converting a Linux host to Oracle VM
Reimporting a VM template
Approving the imported Virtual Machine template
Editing a VM template
Deleting a VM template
Importing Virtual Machine images
Importing a Virtual Machine image
Selecting a VM image from the Server Pool
Downloading from external cloud
Doing a P2V with Linux Host Conversion
Importing ISO files
How to import an ISO file
Selecting an ISO from the Server Pool or IntraCloud
Downloading from an external cloud
Managing shared virtual disks
Summary
8. Troubleshooting and Gotchas
What will we cover in troubleshooting?
Oracle VM Manager login takes too much time
HVM guest creation fails
Not enough disk space available for ISOs and Templates
Cannot login to the VM remotely
Summary
A. Command Line Tools
What command line tools will we cover?
The mighty xentop command
The mightier xm utility
The killer virsh utility
Summary
Index

Oracle VM Manager 2.1.2

Tarry Singh

Oracle VM Manager 2.1.2

Copyright © 2009 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: July 2009

Production Reference: 1090709

Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK.

ISBN 978-1-847197-12-2

www.packtpub.com

Cover Image by Parag Kadam (<[email protected]>)

Credits

Author

Tarry Singh

Reviewer

Hans Forbrich

Acquisition Editor

James Lumsden

Development Editor

Dilip Venkatesh

Technical Editors

Mehul Shetty

Rakesh Shejwal

Indexer

Monica Ajmera

Editorial Team Leader

Akshara Aware

Project Team Leader

Priya Mukherji

Project Coordinator

Leena Purkait

Proofreader

Angie Butcher

Production Coordinator

Dolly Dasilva

Cover Work

Dolly Dasilva

About the Author

Tarry Singh, an Oracle OCP, has been a Sr. DBA and has worked with Oracle technologies starting from Oracle database version 7.3 through 11g. An industry veteran, whose career spans several industries such as Oil & Gas sector, Maritime, and currently IT. He has worked for several Fortune 500 companies. He is currently working for a large French multi-national SI vendor, Atos Origin, as a Strategic Business Executive. Tarry spends his time talking to customers and offering cost-effective solutions. He also monitors the emerging trends and is a renowned industry veteran when it comes to Virtualization and Cloud Computing.

Tarry is also involved in several NGO projects across the world, the latest being a €2 million technology project in Uganda which he leads as a Chief Technology Consultant together with Hanze University in The Netherlands. Tarry has also co-authored a research paper for IEEE called "Smart Metering the Clouds" where he discusses the vision of developing a consolidated metering solution from a utility perspective. This was published in June where he co-chaired the IEEE workshop and is being read by millions across the world.

Tarry holds a Nautical Science graduate degree from India's LBS of Advanced Research and Studies in Mumbai and holds many IT and non-IT related certifications such as GMDSS, Firefighter, and so on. Having worked with more than 40 nationalities and having worked across the globe, Tarry has been able to develop deep multi-cultural skills and has handled virtual teams with great passion and tremendous control.

Tarry is a Dutch citizen based in the Netherlands. In his free time, Tarry conducts market research and analysis with tremendous zest and is very well connected with the investor community across the globe. Tarry has advised several firms in executing their strategy and has helped them in M&A, product development, and other areas. He also runs his popular Cloud Computing blog called "Sustainable Global Clouds" at http://ideationcloud.com and writes passionately about Mergers and Acquisitions, Business Strategies, Emerging Trends around Sustainable, and Environmental-friendly technologies. Tarry has spoken at many large international events and has been quoted by The Economist and several other leading magazines.

Acknowledgement

To my loving wife and dearest friend, Foke, without you I couldn't have achieved this hurdle. You are truly the crystal clear water that cleanses my soul. Also, I am thankful to my kids who have been patient while daddy was busy writing the book, even during Easter!

James Lumsden and other technical staff at Packt publishing for their patience, perseverance, and continued guidance in this journey of bringing to you all a collection of thoughts around a technology as I see it. James helped me in packaging it so you all could read comfortably without getting lost in the complex verbiage that I am sometimes prone to indulge in. The same also goes to the technical reviewers who helped me stay on track.

About the Reviewer

Hans Forbrich has been around computers for 40 years. Indeed, while studying for his BSc EE in the 70s he worked as a Contract Programmer to help pay for school. Hans has been working with Oracle product since 1984, while at Nortel in the field service group when he met Oracle Database version 4. He joined Oracle, Canada to work in the Communications vertical from 1996 to 2002.

In 2003, Hans started Forbrich Computer Consulting Ltd., which has become a successful international Oracle consultancy and Oracle training partner based in St. Albert, near Edmonton, Alberta, Canada.

As an Oracle ACE Director and OCP, Hans frequently responds in various Oracle forums, teaches for Oracle University, consults with Oracle customers on maximizing value from Oracle licenses, and speaks at Oracle User Group conferences around the world. He holds a strong belief that Oracle products provide significant value and the key to extracting that value—and reducing the effective cost of the product—is in understanding the product and using the right tool for the job.

I thank my wife for the 27 years of her patience, especially while I experiment in the lab. And also I thank my two sons for their patience, their assistance at computer setups, and help with those same experiments. And I am proud to note that Son number one, also known as Employee number two, also known also Chief Network & Systems Administrator, has achieved his MSc EE this past year. Finally, I thank Edmonton Opera and my colleagues there, for allowing me to break away from computers and unwind on stage with the Edmonton Opera Chorus.

Preface

Oracle VM Manager is a management product developed by Oracle that complements Oracle Grid Control and fits into Oracle's Cloud Computing strategy. Oracle VM Manager is a rather new product and is gaining popularity within the Oracle community, especially within groups that have been testing Oracle products in sandbox environments using alternate Virtualization products or tools. Since Oracle provides its own version of Oracle EL jeOS (Just Enough OS), and its own VM stack (or platform as they call it), Oracle VM Manager, Oracle VM Server, and Oracle VM agent become an essential part of the Oracle Virtualization platform; the "one-stop-shop" approach allows Oracle customers to rely on a consolidated support. This could also fit very well into their strategy where Oracle will eventually launch its own Cloud Services and will fully manage and support its offerings via the Cloud.

Oracle entered the virtualization market in 2007 by releasing Oracle VM Server and Oracle VM Manager. Oracle has also been shipping Oracle EL, or Oracle Enterprise Linux products, recently calling Oracle jeOS. Do note that they are separately downloadable from Oracle's e-delivery. Oracle's entry into the virtualization arena is a validation of the fact that virtualization is going mainstream and also that it is increasingly becoming an enabler to Cloud Computing and Cloud Applications.

Oracle VM Manager is a powerful web application, based on ADF (Application Development Framework), and its purpose is, as you may have guessed, to manage multiple Oracle VM Servers. This means that it does the VMLM (Virtual Machine Lidecycle Management), adds virtual machines (whether from completely built templates or from installation media), live migration, deployment, and relocation, among others.

Oracle VM Manager also manages resources such as ISO files, VM templates, and shared disk resources. In the new release, 2.1.2, there are several cool features such as the Server Pool Wizard, HA for Server Pools and VM Servers, VM conversions, Rate Limit of VIF (Virtual Network Interface), and Priority Class of Virtual Disk.

Oracle's virtualization play may seem to encounter a lot of resistance and skepticism, but Oracle is gradually treading a path where it will continue to develop its product to match enterprise class maturity as the market further evolves. Clearly with the latest Oracle VM 2.1.2, many new features have come about indicating that Oracle is more than serious.

What this book covers

The book is designed so that you can dive into chapters on your own, as the chapters will be written independently of each other. You can use them both as reference as well as detailed guidance, purely based on you current focus. So for instance, you may want to do a quick installation of the Oracle VM Server, and then jump to Chapter 3 directly. My intention is to keep this book both conversational as well as provide screenshots to satisfy your needs.

I would recommend beginners to read the book chapter by chapter, increasing the pace as you move ahead with your installations. As the chapters progress, while not necessarily complex, they may require you to dig into some of skills in Linux, Virtualization, and so on. But like I said in the beginning, you need to have some sort of understanding on virtualization and a bit of experience as well. The latter part of the book concentrates on the VM management, a more fun part after you are done with installing and understanding the architecture of the Oracle VM platform.

I have divided the book into two parts, Getting Started and Looking into the Architecture and Management. In the first section, you will learn a little bit about the Oracle VM platform and the components of the Oracle VM platform. In the next part, you will get into the fun part of managing the VMs across a typical high-availability Oracle VM platform by using the Oracle VM Manager.

Part l: Getting Started

The first few chapters introduce the Oracle VM platform. Then we will go about installing Oracle VM manager and Oracle VM Server. You will carefully select the hardware and/or software platforms to carry out these installations.

I have typically chosen two environments and both happen to be hardware platforms. I will explain in detail the architecture that I have chosen for the purpose of writing this book, and also why.

Chapter 1: Introduction to Oracle VM

In this section we provide general information about Oracle VM Manager, Oracle VM Server, and Oracle VM Agent. We will explain how Oracle's VM Manager, a typical ADF web application, can act as a frontend in a typical Cloud architecture, and why Oracle VM Server (which is derived from XEN Hypervisor, a rather popular Hypervisor used by Amazon EC2 type of installations) complements the Cloud services architecture in the backend of the Data Center.

We will go about explaining what Oracle VM Manager is, what is new in the Oracle VM platform 2.1.2, where you can find it, how to install it, and how to get started. And obviously we will end with the "why you should choose Oracle VM Server and Oracle VM Manager" above other virtualization solutions.

Chapter 2: Installing Oracle VM Manager

Here you go about configuring the Oracle VM Manager and go through the regular pre-installation checklists. What kind of hardware requirements you could best use, and which type of Operating Systems could be used to install the Oracle VM Manager upon.

We will get into details here and go ahead with successfully installing Oracle VM Server.

Chapter 3: Installing Oracle VM Server

The Oracle VM Server is based upon Xen Hypervisor, a very small Linux-based management Operating System.

Here we explore installing Oracle VM Server via the CD-ROM and other shared and accessible sources such as NFS, HTTP, and so on.

Part II: Looking into the Architecture and Management

These chapters are intended for all Data Center administrators, architects, and system builders, just about anyone who is interested in knowing and managing Virtual Machines on Oracle's VM platform.

There are no really advanced features such as testing Oracle RAC on a typical multiple-Oracle VM Server node, but it will have enough meat to not only do things through the feature rich VM Manager web application, but also to get your hands dirty with the console.

The main purpose of this section of the book is to see what really happens on the Oracle VM platform and how we can manage multiple Virtual Machines.

Chapter 4: Oracle VM Management

Here we will get into the management of the Oracle VM servers such as the addition of nodes, removing nodes, editing nodes, and starting and shutting down the nodes.

We will manage the Oracle VM server pool, explore the principles of designing the server pool, and creating and enabling the HA—all of the meaty stuff is explained here. This chapter will be interesting for anyone who wants to learn about managing the Oracle VM Manager.

Chapter 5: Managing VMs with Oracle VM Manager - Part 1

In this part, we will go about explaining what VMs are, how we create them, how to startup-shutdown those VMs, typical console based actions required to manage the VMs, and basic configuration tasks around VM management.

We will discuss what Guest VMs are supported on Oracle VM Servers and do a quick install of one of them.

Chapter 6: Managing VMs with Oracle VM Manager - Part 2

Continuing from the previous chapter we will go about managing the VMs and exploring the VMs through the Oracle VM Manager, such as viewing VM information or details, editing configurations, and other advanced functions such as Live VM Migration.

Chapter 7: Managing VMs with Oracle VM Manager - Part 3

In the final part, we shall be performing some typical VM resource management tasks, such as importing VMs via several methods such as templates, VM Images, ISO files, and so on. We will also look briefly at creating shared storage.

Chapter 8: Troubleshooting and Gotchas

Like any other tool, this platform will not be completely free from problems and here we will explain briefly about the problems you can run into, and what steps you must take to remediate them.

Appendix: Command Line Tools

We cover some essential command line tools in the Appendix. We will explore some of the important ones and the rest will be an exercise.

What you need for this book

Unless otherwise stated, the environment used in the examples and referred to throughout the book is Oracle VM Manager 2.1.2, installed on hardware. I have chosen two scenarios—the first is a two box HP DL 360 Dual CPU, 2 GB RAM configuration and the other is a two box Dell 2900 Quad-core, 32GB RAM each. We'll use the shipped Oracle templates where necessary, so as to do exciting things such as Server pool creation, live migration, and so on, but we will also go about creating custom templates where necessary.

All Oracle VM platform and tools are available on Oracle's virtualization site and we will use them for the purpose of understanding this book.

Who this book is for

This book is meant for all virtualization fans, not just the ones who have been playing with Oracle databases or other Oracle applications but just about anyone who wishes to test and create sandboxes, and test their applications and eventually deploy them in production. Oracle has recently won some new customers, so Oracle VM platform is also being deployed in production environments.

But like I said, VM is also meant for the regular virtualization enthusiast who wishes to run and deploy multiple flavors of Operating Systems. You can also create Windows VMs! In the later chapters we will look into the supported OSes and it will surprise you that you can do a lot with Oracle VM platform. Don't expect this book to answer all your problems, it should be treated more as an introductory book where we will test the waters and get you up and running. If you do happen to like this book then I will be tempted to write a more advanced book that will take a deep dive into advanced concepts, but for now let's get you up and running with the basics.

It is also very handy to be a little inclined towards Oracle applications such as databases. I myself have been an Oracle DBA, and knowing a little bit about SQL might help as we might test Oracle jeOS + 11g DB VMs, but it is not a must by any means.