Running VirtualCenter in a Virtual Machine



Similar documents
VirtualCenter Monitoring and Performance Statistics

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server

Using MSCS to Cluster VirtualCenter VirtualCenter Patch 2

W H I T E P A P E R. Optimized Backup and Recovery for VMware Infrastructure with EMC Avamar

W H I T E P A P E R. Reducing Server Total Cost of Ownership with VMware Virtualization Software

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Virtual Machine Encryption Basics

Configuration Maximums VMware Infrastructure 3

WHITE PAPER. VMware Infrastructure 3 Pricing, Packaging and Licensing Overview

VMware vsphere: Install, Configure, Manage [V5.0]

Using esxtop to Troubleshoot Performance Problems

Citrix XenApp Server Deployment on VMware ESX at a Large Multi-National Insurance Company

VMware vcenter Update Manager Administration Guide

W H I T E P A P E R. Understanding VMware Consolidated Backup

VMware Virtual Machine File System: Technical Overview and Best Practices

Installing and Administering VMware vsphere Update Manager

Windows XP Deployment Guide

VMware Consolidated Backup

Automating High Availability (HA) Services with VMware HA

VMware vsphere 4.1. Pricing, Packaging and Licensing Overview. E f f e c t i v e A u g u s t 1, W H I T E P A P E R

Using AnywhereUSB to Connect USB Devices

What s New with VMware Virtual Infrastructure

Setup for Microsoft Cluster Service ESX Server and VirtualCenter 2.0.1

SAN Conceptual and Design Basics

Getting Started with ESXi Embedded

WHITE PAPER. VMware vsphere 4 Pricing, Packaging and Licensing Overview

SAP Solutions on VMware Infrastructure 3: Customer Implementation - Technical Case Study

Oracle Database Scalability in VMware ESX VMware ESX 3.5

Best Practices for Patching VMware ESX/ESXi VMware ESX 3.5/ESXi 3.5

Configuring Multiple ACE Management Servers VMware ACE 2.0

VMware vsphere 4. Pricing, Packaging and Licensing Overview W H I T E P A P E R

VMware Data Recovery. Administrator's Guide EN

Reducing the Cost and Complexity of Business Continuity and Disaster Recovery for

Khóa học dành cho các kỹ sư hệ thống, quản trị hệ thống, kỹ sư vận hành cho các hệ thống ảo hóa ESXi, ESX và vcenter Server

Top 10 Reasons to Virtualize VMware Zimbra Collaboration Server with VMware vsphere. white PAPER

Kronos Workforce Central on VMware Virtual Infrastructure

Ohio Mutual Insurance Group s Deployment of WebSphere Application Server on VMware ESX

Basic System Administration ESX Server and Virtual Center 2.0.1

Migrating a Windows PC to Run in VMware Fusion VMware Fusion 2.0

Deployment Options for Microsoft Hyper-V Server

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

VMWARE Introduction ESX Server Architecture and the design of Virtual Machines

W H I T E P A P E R. VMware Software Lifecycle Automation Solutions

WHITE PAPER. IT in the Cloud: Using VMware vcloud for Reliable, Flexible, Shared IT Resources

Site Recovery Manager Installation and Configuration

Why Choose VMware vsphere for Desktop Virtualization? WHITE PAPER

Reconfiguration of VMware vcenter Update Manager

VMware vsphere 5.1 Advanced Administration

The Portable Datacenter R E F E R E N C E A R C H I T E C T U R E

VMware vcenter Update Manager Administration Guide

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Using VMware ESX Server With Hitachi Data Systems NSC or USP Storage ESX Server 3.0.2

VMware vsphere: Fast Track [V5.0]

CA ARCserve Replication and High Availability Deployment Options for Hyper-V

TGL VMware Presentation. Guangzhou Macau Hong Kong Shanghai Beijing

Improving Scalability for Citrix Presentation Server

VMware ESXi 3.5 update 2

What s New in VMware vsphere Flash Read Cache TECHNICAL MARKETING DOCUMENTATION

VMware Virtual Desktop Manager User Authentication Guide

Basic System Administration ESX Server 3.0 and VirtualCenter 2.0

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

Business Process Desktop: Acronis backup & Recovery 11.5 Deployment Guide

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

Disaster Recover Challenges Today

Legacy Host Licensing with vcenter Server 4.x ESX 3.x/ESXi 3.5 and vcenter Server 4.x

Ready Time Observations

W H I T E P A P E R. Disaster Recovery Virtualization Protecting Production Systems Using VMware Virtual Infrastructure and Double-Take

Symantec and VMware: Virtualizing Business Critical Applications with Confidence WHITE PAPER

ACE Management Server Deployment Guide VMware ACE 2.0

Getting Started with VMware Fusion

VMware vcenter Server 5.5 Deployment Guide TECHNICAL MARKETING DOCUMENTATION V 1.0/NOVEMBER 2013/JUSTIN KING

VMware vsphere 5.0 Boot Camp

Upgrading Horizon Workspace

WHITE PAPER. ISV Licensing in Virtualized Environments

Integration with Active Directory

Oracle Databases on VMware High Availability

Using VMware ESX Server with IBM System Storage SAN Volume Controller ESX Server 3.0.2

VMware vsphere Data Protection 5.8 TECHNICAL OVERVIEW REVISED AUGUST 2014

VMware vsphere: [V5.5] Admin Training

Guest Operating System. Installation Guide

The VMware Reference Architecture for Stateless Virtual Desktops with VMware View 4.5

Esri ArcGIS Server 10 for VMware Infrastructure

vsphere Upgrade vsphere 6.0 EN

Reconfiguring VMware vsphere Update Manager

VERSION 2.1. VMware P2V Assistant. User s Manual

W H I T E P A P E R. VMware Infrastructure Architecture Overview

Using VMware Infrastructure for Backup and Restore B E S T P R A C T I C E S

Server and Storage Sizing Guide for Windows 7 TECHNICAL NOTES

vcenter Chargeback User s Guide vcenter Chargeback 1.0 EN

Setup for Failover Clustering and Microsoft Cluster Service

Resource Management with VMware DRS

VMware vsphere-6.0 Administration Training

Introduction to VMware vsphere Data Protection TECHNICAL WHITE PAPER

WHITE PAPER: HIGH CUSTOMIZE AVAILABILITY AND DISASTER RECOVERY

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

Deployment and Configuration Guide

VMware vsphere Replication Administration

Protect Your Business with Automated Business Continuity Solutions

Transcription:

VMWARE TECHNICAL NOTE VirtualCenter 2.x Running VirtualCenter in a Virtual Machine Running VirtualCenter in a virtual machine is fully supported by VMware to the same degree as if it were installed on a physical server. There are several reasons why deploying VirtualCenter in a virtual machine would be advantageous: Server Consolidation: instead of dedicating an entire physical server to VirtualCenter, you can run it in a virtual machine along with others on the same ESX Server host. Mobility: by encapsulating the VirtualCenter server in a virtual machine, you can transfer it from one host to another, enabling maintenance and other activities. Snapshots: A snapshot of the VirtualCenter virtual machine can be used for backup, archiving, and other similar purposes. Availability: using VMware HA, you can provide high availability for the VirtualCenter server The purpose of this paper is to provide guidelines on how to deploy VirtualCenter in a virtual machine. The rest of this paper is organized as follows VirtualCenter Architecture on Page 2 Sizing and Configuration on Page 3 Installation on Page 4 Limitations on Page 5 Allowed Functionality on Page 5 VirtualCenter in a VMware HA Cluster on Page 6 1

VirtualCenter Architecture Running VirtualCenter in a Virtual Machine A VirtualCenter deployment can be thought of as consisting of four components, as shown in Figure 1. VirtualCenter Management Server The main component which manages the VMware Infrastructure. It implicitly includes the Web Access server component Flex License Server An independent process which services all licensing requests Active Directory infrastructure Used by VirtualCenter for authentication VirtualCenter Database Stores all state information about the environment, including clusters, resource pools, folders, roles, audit history, and performance & monitoring statistics Recommend Co-locating VirtualCenter Management Server Web Access Server Flex License Server Active Directory Infrastructure VirtualCenter Database Figure 1: VirtualCenter Architecture VMWARE TECHNICAL NOTE 2

The VirtualCenter database communicates with the VirtualCenter Management Server via a standard ODBC connection. The Active Directory infrastructure is a part of the datacenter environment, and also communicates with the VirtualCenter server via a network-based API. Since both of these are only loosely-coupled with the VirtualCenter server, their deployment is independent of the VirtualCenter server and is not considered any further in this paper. The other two components, the VirtualCenter Management Server and the Flex License Server, can be deployed in a virtual machine. Although they can be installed on separate virtual machines, it is recommended that the Flex License server be treated as an embedded component, similar to the Web Access server, and co-located on the same virtual machine as the VirtualCenter server. This makes maintenance of the deployment easier, ensures that networking issues don't ever contribute to VirtualCenter losing contact with the License server, and reduces the need for an additional dedicated virtual machine. Sizing and Configuration The choice of the physical hardware on which to run the VirtualCenter virtual machine, as well as the virtual machine configuration, should be made for VirtualCenter just as it would be for any enterprise application. The resource utilization characteristics of the application largely dictate the hardware and virtual resources that should be assigned. The following guidelines apply to the particular utilization characteristics of VirtualCenter: Dedicate the virtual machine to VirtualCenter. In particular, keep the VirtualCenter database on a physical server or separate virtual machine, unless you are only running the MSDE database for demonstration purposes. This will ensure that VirtualCenter will have exclusive access to the resources of the virtual machine's operating system Size the VirtualCenter virtual machine based on the physical server requirements Memory: The maximum memory that the VirtualCenter server can use is 4 GB (2 GB for the application, and 2 GB for the operating system), but in environments with fewer than 50 ESX Server hosts, less memory will be required. The minimum requirement is 2GB. CPU: VirtualCenter typically will use only 1 CPU, but for environments greater than 50 ESX Server hosts, it will benefit from 2 CPUs. Configure the number of VCPUs accordingly. Be aware that the virtual machine will use some portion of the CPU to handle virtual networking; the overhead can be as high at 30% for environments above 50 ESX Server hosts. Networking: VirtualCenter will rarely need more than a few hundred KB/sec of network bandwidth Storage: VirtualCenter does not perform any significant I/O operations to its local disk Allocate sufficient resources to the VirtualCenter virtual machine on the ESX Server host Use resource shares or reservations to ensure that the VirtualCenter virtual machine has the highest priority out of all virtual machines on the ESX Server host, and has guaranteed usage of its configured memory. If you choose to run the VirtualCenter virtual machine with 2 VCPUs, make sure that any VMWARE TECHNICAL NOTE 3

ESX Server host on which the virtual machine runs has at least 4 cores or threads, to ensure that the virtual machine never suffers from CPU scheduling starvation (a phenomenon in which a VSMP virtual machine cannot get enough cycles simultaneously on multiple CPUs to run) To ensure that you can be notified immediately if there is a problem with the VirtualCenter virtual machine, configure an alarm to send email. Conditions to monitor include: Virtual Machine CPU Usage: trigger if the usage goes above 90% Virtual Machine Memory Usage: trigger if the usage goes above 90% Because VirtualCenter manages the entire VMware Infrastructure, make sure to set permissions so that only a very limited set of people can access or manipulate the virtual machine and host on which it runs. Installation The most straightforward way to put VirtualCenter on a virtual machine is to install it initially on a standalone ESX Server host, that is, a host that is not being managed by a VirtualCenter instance. When planning for this configuration, note that the ESX Server host will need to be enabled with host-based licensing, since server-based licensing is not available without a running instance of VirtualCenter once the ESX Server software is deployed onto the host, you can access the host by directly connecting to it with the VI Client, and use the VI Client interface to create the virtual machine for hosting VirtualCenter. Once the virtual machine for VirtualCenter has been created, follow the standard procedure for installing it as you would in a physical server, as described in Chapter 4 of the Installation and Upgrade Guide. In particular, a suitable database for VirtualCenter should already be up and running somewhere in your environment, so that it may be specified during the installation make sure to place the license file somewhere on the virtual local disk of the virtual machine before beginning the installation, and during the installation, choose to install the license server on the same system At the end of the installation process, verify that VirtualCenter is functioning by connecting to it with the VI Client. At that point, you can put the original standalone ESX Server host into the VirtualCenter inventory, and start managing it along with the other hosts in the environment. convert that host to server-based licensing. Because of the built-in grace period of the licensing, this host and all its virtual machines will continue to operate for 14 days if the VirtualCenter virtual machine goes down. VMWARE TECHNICAL NOTE 4

Limitations Since certain management tasks for a virtual machine require it to be powered off, you cannot perform most of these tasks on the virtual machine that hosts the VirtualCenter server. In particular, do not attempt the following on the VirtualCenter virtual machine Cold-migration Cloning Any other operation which powers down the virtual machine Edit most of the virtual machine settings, such as the hardware properties. Allowed Functionality The settings you can modify on a running VirtualCenter virtual machine are the Resource properties, such as shares and reservations. You should change these according to the guidelines given in the Sizing and Configuration section. However, avoid changing the default setting of Unlimited for the Limit setting, as setting the limit too low could potentially cause your VirtualCenter to become unresponsive and lock up. If you wish to modify the hardware properties for the VirtualCenter virtual machine, you will need to schedule downtime for VirtualCenter. Then, you will need to connect to the ESX Server host directly with the VI Client, shut down the VirtualCenter virtual machine, and make the modifications. You can use VMotion to migrate the running VirtualCenter virtual machine to another host, provided both the hosts meet all the requirements for VMotion. It will continue to operate and will not lose connection with any of the ESX Server hosts or VI Client sessions during the migration. VMWARE TECHNICAL NOTE 5

VirtualCenter in a VMware HA Cluster If high availability for the VirtualCenter virtual machine is desired, then the ESX Server host on which it is running may be placed in a VMware HA cluster. If that host fails, another will automatically restart the VirtualCenter virtual machine. This will subsequently restart all the VirtualCenter services, including: the VirtualCenter server the Flex License server the VirtualCenter Web Access server In addition to the standard hardware requirements for a VMware HA cluster (as described in the Resource Management Guide, Chapter 5, Section Cluster Prerequisites ), the following points should be observed Consider using strict admission control, so that additional virtual machines cannot be run on this cluster if they would violate availability constraints in the case of host failure. In all cases, set the restart priority of the VirtualCenter virtual machine to high. If VMware DRS is enabled on the cluster, be aware that the host on which the VirtualCenter virtual machine runs might change from time to time as the load is rebalanced. If this virtual machine were to go down unexpectedly, you would need to search manually for the host on which it was last running, since VirtualCenter would be unavailable for you to determine this directly. If the size of the cluster is small, this might not be an issue, since there would be few hosts to search. An alternative is for VMware DRS to be disabled on the VirtualCenter virtual machine, by setting the Automation Level to Disabled. This way, the location of the VirtualCenter virtual machine is explicitly known at all times, making it easy to access this host via the VI Client directly if there are problems with this virtual machine. This virtual machine can still be migrated manually by an administrator for tasks such as hardware maintenance or manual load rebalancing. Along with setting reservations and shares as described earlier, make sure there is enough spare capacity in the cluster to handle a failure and still have enough resources for VirtualCenter to run. Make sure that the permissions only allow a limited set of people to access and manage this cluster. VMware, Inc. 3145 Porter Drive Palo Alto, CA 94304 www.vmware.com Copyright 1998-2007 VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos. 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601, 6,785,886, 6,789,156, 6,795,966, 6,880,022 6,961,941, 6,961,806 and 6,944,699; patents pending. VMware, the VMware boxes logo and design, Virtual SMP and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and names mentioned herein may be trademarks of their respective companies. Revision 20070329 Item: TN-015-PRD-01-01