Book Image

Implementing VMware vCenter Server

By : Kostantin Kuminsky
Book Image

Implementing VMware vCenter Server

By: Kostantin Kuminsky

Overview of this book

Table of Contents (16 chapters)
Implementing VMware vCenter Server
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Planning the vSphere environment


According to VMware documentation, vCenter Server setup is an optional step for vSphere deployment. As you will see later in this book, however, vCenter offers a huge amount of features and options for managing the vSphere environment. It also simplifies management and adds flexibility. It's useful for any administrator and/or environment no matter how large or small. It's fair to say that vCenter is an essential component of every professional vSphere deployment and for each more or less critical environment.

vCenter 5.0 deployment consists of the following tasks:

  • Setting up vCenter Server databases.

  • Installing vCenter Server and vCenter Server support tools. Connecting to vCenter Server from the vSphere Client or the vSphere Web Client.

  • As an optional step, creating a Linked Mode group or joining vCenter Server to a Linked Mode group.

vCenter 5.1 deployment consists of the following tasks:

  • Setting up vCenter Server databases.

  • Installing vCenter Single Sign-On, Inventory Service, vCenter Server, and vCenter Server support tools. Connecting to vCenter Server from the vSphere Client or the vSphere Web Client.

  • As an optional step, creating a Linked Mode group or joining vCenter Server to a Linked Mode group.

More information on each of these steps will follow.

vCenter system requirements

Before starting vCenter deployment, you need to make sure that all prerequisites and requirements are met.

The vCenter Server hardware requirements are:

  • At least two 64-bit CPUs or one 64-bit dual-core CPU.

  • At least one 2 GHz CPU. This requirement will be higher if the database is running on the same server.

  • An Intel or AMD processor. Itanium-based CPUs are not supported.

  • At least 4 GB of memory. This requirement will be higher if the database is running on the same server.

  • At least 4 GB of available disk space. This requirement will be higher if the database is running on the same server.

  • An additional 2 GB of free space to decompress Microsoft SQL Server 2008 R2 Express temporary installation files.

  • A gigabit network connection is recommended.

JVM heap requirements as well as memory, CPU, and disk requirements for vCenter Server, depending on the size of environment, can be found in the VMware documentation at https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-67C4D2A0-10F7-4158-A249-D1B7D7B3BC99.html.

If you choose to use VMware vCenter Server Appliance, make sure you have a host that is running at least Version 4 of ESX or ESXi system.

Hardware requirements for VMware vCenter Server Appliances are listed in the VMware documentation at https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-67C4D2A0-10F7-4158-A249-D1B7D7B3BC99.html.

Recommended JVM heap settings for VMware vCenter Server Appliances can also be found in the VMware documentation at https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-67C4D2A0-10F7-4158-A249-D1B7D7B3BC99.html.

The vCenter Server software requirements are as follows:

  • A 64-bit operating system:

    • Microsoft Windows Server 2003 Standard, Enterprise, or Datacenter SP2 64-bit

    • Microsoft Windows Server 2003 Standard, Enterprise, or Datacenter R2 64-bit

    • Microsoft Windows Server 2008 Standard, Enterprise, or Datacenter SP2 64-bit

    • Microsoft Windows Server 2008 Standard, Enterprise, or Datacenter R2 SP1 64-bit

    • Microsoft Windows Server 2008 Standard, Enterprise, or Datacenter R2 64-bit

    • Microsoft Windows Server 2008 Standard, Enterprise, or Datacenter SP1 64-bit

  • 64-bit DSN to connect to the database.

  • Microsoft .NET 3.5 SP1 Framework (if missing, it will be installed by the vCenter Server installer automatically).

  • For non-English operating systems, the Microsoft .NET Framework 3.5 Language Pack needs to be installed manually via Windows update. vCenter Server installer will not install it automatically.

  • Microsoft Windows Installer Version 4.5 (MSI 4.5) is required if Microsoft SQL Server 2008 R2 Express database will be used.

vSphere physical topology

A common VMware vSphere datacenter physical topology is shown in the following figure. It may be useful for better understanding of the different vSphere components and the relationships between them.

There are three interfaces that can be used to manage the vSphere environment and access virtual machines: VMware vSphere Client (vSphere Client), vSphere Web Client for access through a web browser, and vSphere Command-Line Interface (vSphere CLI). They are shown on top of the preceding figure.

Computing servers are shown at the center of the preceding figure. Each computing server is an ESX or ESXi host with one or multiple virtual machines running on it. When there are two or more hosts, they can be grouped into clusters to provide an aggregate set of resources and to take advantage of features such as fault tolerance, high availability, and so on.

Storage networks and arrays are shown at the bottom of the preceding figure. Depending on the environment, there may be Fibre Channel SAN arrays, iSCSI SAN arrays, NAS arrays, or their combinations. Storage arrays are usually connected to computing servers, and in most cases, they are connected through a separate network—Storage Area Network (SAN). This is often referred to as a third network after the management network, and it's also called the network or networks virtual machines are part of.

vCenter Server is shown as a separate physical server. Depending on how your infrastructure was designed, it can also be a virtual server located in one of the server groups. When vCenter is separate, computing servers continue to function in case vCenter Server becomes unreachable and the other way round. If one or few of the computing servers go down, you are still able to manage the rest of the environment using vCenter Server.

Virtual versus physical vCenter Server

There are two approaches to the deployment of vCenter Server: it can be deployed on a virtual server or on a physical server. As an alternative to installing vCenter on your own Windows server, vSphere 5.0 provides VMware vCenter Server Appliance. vCenter Server Appliance is a Linux-based virtual machine configured and optimized for running vCenter Server and its services.

If you choose to use it instead of building a server by yourself, make sure all prerequisites mentioned in the previous section are met, download the appliance, and import it using the Deploy OVF template option from the File menu. The import procedure is straightforward. You can deploy Open Virtualization Format (OVF) with thin provisioning if you are not able or don't want to commit 80 GB to the server.

For vCenter Server Appliance, the default username and password are:

  • Username: root

  • Password: vmware

It's important to know that vCenter Server Appliance does not support the following:

  • Microsoft SQL Server and IBM DB2. Version 5.0.1 of the vCenter Server Appliance uses PostgreSQL for the embedded database instead of IBM DB2, which was used in vCenter Server Appliance 5.0.

  • Linked Mode configuration.

  • IPv6.

Note

The embedded database cannot be used for managing more than five hosts and 50 virtual machines. If the embedded database is used with vCenter Server Appliance, it will exceed the limits mentioned earlier. Exceeding these limits can cause different performance issues; for example, vCenter Server may become unresponsive. Therefore, the embedded database is not supported for production environments.

The advantages of using virtual machines for vCenter Server are obvious and are listed as follows:

  • Since no additional hardware is needed to run it, administrators don't need to buy a server and dedicate it to vCenter and are able to save on power and space in the datacenter

  • Administrators will be able to provide high availability to vCenter Server with vSphere HA

  • A vCenter Server virtual machine can be migrated from one host to another, giving administrators the flexibility to do maintenance and other activities

  • Virtual machine snapshots can be used for backup, archiving, and so on

Note

It is not recommended to use snapshots for long term backups as well as having many snapshots for a virtual machine. Large snapshots may decrease performance and cause other issues. See Chapter 3, Virtual Machine Management, for more details.

Virtual machines are easier to manage; so, in other words, you get all the advantages related to virtualization while deploying vCenter on a virtual server.

From the other side, running a virtualized vCenter has certain concerns. One of them is ESXi updates when there is only one host in your environment.

To be able to install updates, a host needs to be put into the maintenance mode. The host can't have any VMs running in the maintenance mode; therefore, all VMs need to be turned off or moved off the host. For environments with only one host, administrators have no choice other than turning all VMs off. However, Update Manager is a vCenter plugin, so you will not be able to run or install updates when vCenter Server is not online. In this case, you will have to download and install ESXi updates manually from the server's command-line interface. Many administrators find installing updates manually more time consuming and in certain cases more difficult.

Another concern with virtual vCenter Server is its accessibility in case of issues and failures. For example, if the host where the vCenter Server VM is currently running fails, and for some reason not all VMs were restarted on another host, vCenter Server becomes inaccessible until this host is back online or at least until its connectivity is restored. Thus, the administrator can move the vCenter VM manually to another host. Of course, the administrator can always connect to other hosts directly using vSphere Client; certain features, however, require vCenter, and it may be unacceptable for larger environments to not be able to manage vSphere and other hosts because of one host failure.

The bigger picture is that when you are running vCenter on a virtual machine, any issues with your vSphere environment are affecting vCenter as well. Many administrators will say that this is not desirable as in case of any issues, you still want to manage your environment and diagnose and troubleshoot these issues.