Oracle VM Enterprise Manager Grid Control Template Quick Start Guide for Production Grid Deployments

Oracle VM Enterprise Manager Grid Control Template Quick Start Guide for Production Grid Deployments

 

Author: Roddy Rodstein, CISSP, MCSE, CEH, CCA
 
Limits of Liability and Disclaimer of Warranty
This publication contains information protected by copyright. This book may not be duplicated in any way without the express written consent of the publisher, except in the form of brief excerpts or quotations for the purpose of review. The information contained herein is for the personal use of the reader and may not be incorporated in any commercial programs, other books, databases, or any kind of software without the written consent of the publisher. Making copies of this book or any portion for any purpose other than your own is a violation of United States copyright laws.
 
Warning and Disclaimer
Every effort has been made to make this publication as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this publication.
 
The information found in this publication was gathered from many different sources in the computing world. It is provided for informational purposes only. Use common sense in applying these concepts and tips. Screen shots may vary from environment to environment.  Please verify correctness and applicability in a test environment first and then deploy to your production environment(s).
 
© 2008 Roddy Rodstein
All rights reserved.
 
Table of Contents
 
Introduction
System Requirements
Oracle VM Server:
Oracle VM Manager:
Oracle Management Repository Template and Oracle Management Repository Virtual Machine:
The Oracle Management Service Template, the Yum repository and an Oracle Management Service with Yum Virtual Machine:
Installation Steps
Step 1 - Download the Template
Step 2 - Unzip and Concatenate Both Sets of Files
Step 3 – Create the OMR and OMS Virtual Machine Templates
Step 4 – Create the OMR and OMS Virtual Machines
Step 5 - Start the OMR and OMS Virtual Machines and Enter Setup Values
Step 6: Installing the OMA Client on the OMR Virtual Machine
Step 7: Access the Enterprise Manager Grid Control Portal
Step 8: Change the Ownership of the OMR and OMS Virtual Machines from the My Workspace Group.
 
Introduction
 
The Oracle VM Enterprise Manager Grid Control Template allows customers to quickly deploy a production Enterprise Manager Grid Control environment on Oracle VM. The goal of this Quick Start Guide is to cut the fluff and give you a concise guide to quickly deploy the Oracle VM Enterprise Manager Grid Control Template into production.
 
The Oracle VM Enterprise Manager Grid Control Template is comprised of two pre-configured virtual machines. Both virtual machines use Oracle Enterprise Linux 4 update 5. The first virtual machine hosts the Oracle Management Service (OMS) and an optional YUM repository. The second virtual machine hosts the Oracle Management Repository (OMR). Each virtual machine was created with Oracle best practices, which reduce deployment risk and dramatically shortens deployment timelines. Oracle VM templates are freely available from http://edelivery.oracle.com/linux.
 
The Oracle VM Enterprise Manager Grid Control Template is downloaded as two sets of compressed files (14.81 GB total) from http://edelivery.oracle.com/linux. The first set of four files (5.69 GB) is named “Oracle VM Enterprise Manager Grid Control Template for Oracle VM” and the second set of five files (9.12 GB) is named “Yum Repository of Oracle Enterprise Linux 4 and 5 for use with Enterprise Manager Grid Control Template”. The second set of files for the Yum repository is optional.
 
Figure 1 shows how the Oracle VM Enterprise Manager Grid Control Template is deployed into an Oracle VM farm.
 
 
System Requirements
 
A minimum of two physical servers is required for a production deployment of the Oracle VM Enterprise Manager Grid Control Template. One server hosts Oracle VM Server, the Xen hypervisor, which runs the virtual machines, and a second server hosts Oracle VM Manager.
 
Oracle VM Server:
Oracle VM Server requires one bare-metal server capable of running at least two virtual machines simultaneously. The recommended minimum hardware requirements for an Oracle VM Server are:
  • 4 CPUs
  • 4 GB RAM
  • 80 GB disk space without the Yum repository
  • 100 GB disk space with the Yum repository 
 
Oracle VM Manager:
The recommended minimum hardware requirements for an Oracle VM Manager server are:
  • One bare-metal server
  • 1 CPU
  • 2 GB RAM
  • 2 GB Swap space
  • 4 GB Disk space
  • Oracle Enterprise Linux Release 4 Update 5 or later or Red Hat Enterprise Linux Release 4 or later

Oracle Management Repository Template and Oracle Management Repository Virtual Machine:

  • 2 Virtual CPUs
  • 2 GB RAM
  • 5.2 GB disk space in /OVS/seed_pool/ (virtual machine template storage)
  • 33 GB disk space in /OVS/running_pool/ (virtual machine storage)

 The Oracle Management Service Template, the Yum repository and an Oracle Management Service with Yum Virtual Machine:

  • 2 Virtual CPUs (virtual machine)
  • 2 GB RAM (virtual machine)
  • 16 GB disk space in /OVS/seed_pool/ (virtual machine template storage)
  • 72 GB disk space in /OVS/running_pool/ (virtual machine storage)

 Installation Steps

There are a total of eight steps to deploy the Oracle VM Enterprise Manager Grid Control Template into production. Table 1 lists each step with a brief explanation including an estimated time to completion.

Step
Description
Estimated Time to Completion
1. Download the Template.
Download the Oracle VM Enterprise Manager Grid Control Template from http://edelivery.oracle.com/linux and place the zip files in the /OVS/seed_pool/ directory.
2 to x hours depending on your Internet connection speed.
2. Unzip and concatenate the file sets and add the yum.img file to the OMS vm.cfg file.
Uncompress the zip files in the /OVS/seed_pool/ directory, then concatenate each set of files and add the yum.img file to the OMS vm.cfg file.
Up to 30 minutes depending on system resources.
3. Create the OMR and OMS virtual machine templates.
With Oracle VM Manager you will create the OMR and OMS virtual machine templates.
Up to 15 minutes.
4. Create the OMR and OMS virtual machines.
With Oracle VM Manager you will create the OMR and OMS virtual machines with the OMR and OMS templates.
Up to 6 hours depending on system resources.
5. Start and configure the OMR and OMS virtual machines.
With Oracle VM Manager you will start the OMR virtual machine, access the console via Oracle VM Manager to enter the setup options. After the OMR virtual machine is configured, you will start the OMS virtual machine to enter the setup options.
Note: The OMR virtual machine must be started first.
Up to 1 hour for each virtual machine.
6. Install OMA on the OMS virtual machine.
Login to the OMS virtual machine as the root and execute the “/installagent.sh” script to install the Oracle Management Agent (OMA) version 10.2.0.4 x86.
Up to 15 minutes depending on system resources.
7. Log into the Enterprise Manager Grid Control portal.
Login to the Enterprise Manager Grid Control portal using the sysman account and the password selected in step 5.
1 Minute.
8. Change the ownership of the OMR and OMS virtual machines.
With Oracle VM Manager you will use the Deploy action to change the ownership of the OMR and OMS virtual machines from the My Workspace private group to your desired group.
Note: Using the Deploy action will create a copy of each virtual machine, which doubles the storage requirements.
Up to 6 hours depending on system resources.