VMware vCloud Director - 1.0 Installation Manual

Cloud Director Installation and
Configuration Guide
Cloud Director 1.0.0
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-000338-01
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
Copyright © 2010, 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com
2 VMware, Inc.

Contents

About This Book 5
Overview of VMware Cloud Director Installation and Configuration 7
1
Cloud Director Architecture 7
Configuration Planning 8
About the Cloud Director Database 9
Cloud Director Hardware and Software Requirements 10
Creating a VMware Cloud Director Cluster 21
2
Install Cloud Director Software on the First Server Host 22
Configure Network and Database Connections 23
Start Cloud Director Services 25
Install Cloud Director Software on Additional Server Hosts 26
Create a Microsoft Sysprep Deployment Package 27
Uninstall VMware Cloud Director Software 27
Cloud Director Setup 29
3
Review the License Agreement 30
Enter the License Key 30
Create the System Administrator Account 30
Specify System Settings 31
Ready to Log In 31
Index 33
VMware, Inc. 3
4 VMware, Inc.

About This Book

The VMware Cloud Director® Installation and Configuration Guide provides information about installing VMware Cloud Director software and configuring it to work with vCenter to provide VMware-ready Cloud services.
Intended Audience
This book is intended for anyone who wants to install and configure VMware Cloud Director software. The information in this book is written for experienced system administrators who are familiar with Linux, Windows, IP networks, and VMware vSphere.
VMware Technical Publications Glossary
VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For definitions of terms as they are used in VMware technical documentation, go to http://www.vmware.com/support/pubs.
Document Feedback
VMware welcomes your suggestions for improving our documentation. If you have comments, send your feedback to docfeedback@vmware.com.
Technical Support and Education Resources
The following technical support resources are available to you. To access the current version of this book and other books, go to http://www.vmware.com/support/pubs.
Online and Telephone Support
Support Offerings
VMware Professional Services
VMware, Inc. 5
To use online support to submit technical support requests, view your product and contract information, and register your products, go to
http://www.vmware.com/support.
Customers with appropriate support contracts should use telephone support for the fastest response on priority 1 issues. Go to
http://www.vmware.com/support/phone_support.html.
To find out how VMware support offerings can help meet your business needs, go to http://www.vmware.com/support/services.
VMware Education Services courses offer extensive hands-on labs, case study examples, and course materials designed to be used as on-the-job reference tools. Courses are available onsite, in the classroom, and live online. For onsite pilot programs and implementation best practices, VMware Consulting
Services provides offerings to help you assess, plan, build, and manage your virtual environment. To access information about education classes, certification programs, and consulting services, go to
http://www.vmware.com/services.
6 VMware, Inc.
Overview of VMware Cloud Director
Installation and Configuration 1
A VMware Cloud Director® cluster combines Cloud Director servers with the vSphere platform. You create a Cloud Director cluster by installing and configuring Cloud Director software on one or more server hosts, and then integrating the cluster with one or more installations of vSphere.
This chapter includes the following topics:
n
“Cloud Director Architecture,” on page 7
n
“Configuration Planning,” on page 8
n
“About the Cloud Director Database,” on page 9
n
“Cloud Director Hardware and Software Requirements,” on page 10

Cloud Director Architecture

In a Cloud, a VMware Cloud Director cluster is linked with one or more vCenter servers and vShield Manager servers, and an arbitrary number of ESX/ESXi hosts. The Cloud Director cluster and its database manage access to vCenter resources by Cloud clients.
Figure 1-1 is a schematic representation of a simple Cloud. The diagram shows a Cloud Director cluster
comprising four server hosts. Each host runs a group of services called a Cloud Director cell. All hosts in the cluster share a single database. The entire cluster is connected to three vCenter servers and the ESX/ESXi hosts that they manage. Each vCenter server is connected to a vShield Manager host, which provides network services to the Cloud.
VMware, Inc.
7
VMware Cloud Director Cluster
VMware Cloud Director
Server Host
Cell
VMware
Cloud Director
Database
VMware Cloud Director
VMware vSphere
vCenter
Database
vShield
ger
vShield
ger
vShield
Manager
vCenter
Database
vCenter
Database
vCenter
vCenter
vCenter
ESX/ESXi
ESX/ESXi
ESX/ESXi
ESX/ESXi
ESX/ESXi
Figure 1-1. Cloud Architecture Diagram
The Cloud Director installation and configuration process creates the cells, connects them to the shared database, and establishes the first connections to a vCenter server, ESX/ESXi hosts, and vShield Manager. After installation and configuration is complete, a system administrator can connect additional vCenter servers, vShield Manager servers, and ESX/ESXi hosts to the Cloud Director cluster at any time.

Configuration Planning

vSphere provides storage, compute, and networking capacity to Cloud Director. Before you begin installation, consider how much vSphere and Cloud Director capacity you need, and plan a configuration that can support it.
Configuration requirements depend on many factors, including the number of organization in a cloud, the number of users in each organization, and the activity level of those users. The following guidelines can serve as a starting point for most configurations:
n
8 VMware, Inc.
Allocate one Cloud Director server host (cell) for each vCenter server that you want to include in your cloud.
n
Be sure that all Cloud Director server hosts meet at least the minimum requirements for memory, CPU, and storage detailed in “Cloud Director Hardware and Software Requirements,” on page 10.
n
Configure the Cloud Director database as described in “About the Cloud Director Database,” on page 9.

About the Cloud Director Database

Cells in a Cloud Director cluster use a database to store shared information. This database must exist before you can complete installation and configuration of Cloud Director software.
Database Configuration Parameters
The database must be configured to allow at least 75 connections per Cloud Director cell plus about 50 for Oracle's own use. There is one cell for each server host in a Cloud Director cluster. Table 1-1 shows how to obtain values for other configuration parameters based on the number of connections, where C represents the number of cells in your Cloud Director cluster.
Table 1-1. Oracle Database Configuration Parameters
Oracle Configuration Parameter Value for C Cells
CONNECTIONS 75*C+50
PROCESSES = CONNECTIONS
SESSIONS = PROCESSES*1.1+5
TRANSACTIONS = SESSIONS*1.1
OPEN_CURSORS = SESSIONS
Chapter 1 Overview of VMware Cloud Director Installation and Configuration
Database Creation Best Practices
Use commands of the following form to create separate data (CLOUD_DATA) and index (CLOUD_INDX) tablespaces:
Create Tablespace CLOUD_DATA datafile '$ORACLE_HOME/oradata/cloud_data01.dbf' size 1000M autoextend on;
Create Tablespace CLOUD_INDX datafile '$ORACLE_HOME/oradata/cloud_indx01.dbf' size 500M autoextend on;
When you create the Cloud Director database user account, you must specify CLOUD_DATA as the default tablespace.
Create user $vclouduser identified by $vcloudpass default tablespace CLOUD_DATA;
Database User Account and Required System Privileges
Do not use the Oracle system account as the Cloud Director database user account. You must create a dedicated user account for this purpose and grant the following system privileges to the account:
n
CONNECT
n
RESOURCE
n
CREATE TRIGGER
n
CREATE TYPE
n
CREATE VIEW
n
CREATE MATERIALIZED VIEW
n
CREATE PROCEDURE
n
CREATE SEQUENCE
n
EXECUTE ANY PROCEDURE
VMware, Inc. 9
National Character Set
The database must be configured to use the AL16UTF16 character set.
Database Server Configuration
A database server configured with 16GB of memory, 100GB storage, and 4 CPUs should be adequate for most Cloud Director clusters.

Cloud Director Hardware and Software Requirements

Each server host in a Cloud Director cluster must meet certain software and hardware requirements. In addition, a supported database must be available to all members of the cluster. Each cluster requires access to a vCenter server, one or more ESX/ESXi hosts, and a vShield Manager host.
Supported vCenter, ESX/ESXi, and vShield Manager Versions
vCenter servers intended for use with Cloud Director must meet specific configuration requirements
n
vCenter networks intended for use as Cloud Director external networks or network pools must be available to all hosts in any cluster intended for use by Cloud Director. Making these networks available to all hosts in the datacenter simplifies the task of adding new hosts to Cloud Director.
n
DVS must be used for cross-host fencing and network pool allocation.
n
vCenter clusters used with Cloud Director must be configured to use automated DRS. Automated DRS requires shared storage attached to all hosts in a DRS cluster.
n
vCenter servers must trust their ESX hosts.
Table 1-2 lists the vCenter server versions that are compatible with this version of Cloud Director.
Table 1-2. Supported vCenter Versions
vCenter Version Build Number Required Patches
4.0 Update 2 264050 None
4.1 259021 None
4.1 vSphere Client 258902 None
Table 1-3 lists the ESX versions that are compatible with this version of Cloud Director.
Table 1-3. Supported ESX and ESXi Versions
ESX or ESXi Version Build Number Required Patches
4.0 Update 2 261974 None
4.1 260247 None
Table 1-4 lists the vShield Manager versions that are compatible with this version of Cloud Director.
Table 1-4. Supported vShield Manager Versions
vShield Manager Build Number Required Patches
4.1 287872 None
Supported VMware Cloud Director Server Host Platforms
Table 1-5 lists the server operating systems that are compatible with this version of Cloud Director.
10 VMware, Inc.
Chapter 1 Overview of VMware Cloud Director Installation and Configuration
Table 1-5. Supported VMware Cloud Director Server Host Platforms
Operating System
Red Hat Enterprise Linux 5 (64 bit), Update 4
Red Hat Enterprise Linux 5 (64 bit), Update 5
Table 1-6 lists additional software that must be installed on each Cloud Director server host. These packages
are typically installed by default with the operating system software. If any are missing, the installer fails with a diagnostic message.
Table 1-6. Required Software Packages
Package Name Package Name Package Name
alsa-lib libgcc libXtst
bash libICE module-init-tools
chkconfig libSM net-tools
compat-libcom_err libstdc pciutils
coreutils libX11 procps
findutils libXau redhat-lsb
glibc libXdmcp sed
grep libXext tar
initscripts libXi which
krb5-libs libXt
Supported Cloud Director Databases
Table 1-7 lists the database software products that are compatible with this version of Cloud Director.
Table 1-7. Supported Cloud Director Database Software
Database Software Required Patches
Oracle 10g Standard Edition Release 2 (10.2.0.x) None
Oracle 10g Enterprise Edition Release 2 (10.2.0.x) None
Oracle 11g Standard Edition (11.1.0.x) None
Oracle 11g Enterprise Edition (11.1.0.x) None
Disk Space Requirements
Each Cloud Director server host requires approximately 950MB of free space for the installation and log files.
Memory Requirements
Each Cloud Director server host must have at least 1GB of memory (2GB recommended).
VMware, Inc. 11
Loading...
+ 23 hidden pages