Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
VMware vCenter Cookbook
VMware vCenter Cookbook

VMware vCenter Cookbook: Over 65 hands-on recipes to help you efficiently manage your vSphere environment with VMware vCenter

eBook
€8.99 €36.99
Paperback
€45.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

VMware vCenter Cookbook

Chapter 1. vCenter Basic Tasks and Features

In this chapter, we will cover the follow recipes:

  • Choosing the right vSphere and vCenter edition
  • Booting a VM from a virtual CD-ROM
  • Using hosts with different CPUs in one cluster
  • Fixing VMware tools to autostart after Linux updates
  • Running vCenter on a VM
  • Managing several vCenter Servers from one client
  • Accessing new vCenter features
  • Accessing hosts via SSH
  • Securing host management access
  • Storing host logs on a shared datastore
  • Configuring remote logging

Introduction

This chapter covers some basic tasks and features administrators may need to use while working with vCenter. Most of the tips and advices in this chapter as well as in this book assume that you already have vCenter deployed and that it already has some hosts and datastores connected. You may be running vCenter with a trial license, which will work just fine if you decide to try some of the how-tos in this chapter. All features and settings described in this chapter exist in any vSphere 5 version unless otherwise noted.

Choosing the right vSphere and vCenter editions

The vCenter edition required for a particular environment is very much determined by the vSphere edition in use. The vSphere edition in turn is chosen based on the size of the environment and features that will be used.

How to do it...

To choose the vCenter edition that's right for your environment you need to:

  1. Determine the vSphere features required.
  2. Choose the vSphere edition based on environment size, features required, and growth expected.
  3. Select the vCenter edition if it's not included in the chosen vSphere edition.

vSphere editions

A vSphere license can be bought as part of a kit or separately. Kits include a vCenter license while other vSphere editions require a separate vCenter license. When choosing a vSphere edition, it may be a good idea to take a look at its kits first. An included vCenter license will save costs. If you determine that none of the available kits include the required features and capacity, select one of the separate vSphere editions.

The following table compares five main kits available and shows the features that are included in each kit:

Features

Essentials kits

Operations management kits (vSOM)

Essentials

Essentials Plus

Standard

Enterprise

Enterprise Plus

Physical CPUs included

6

6

6

6

6

Hypervisor

+

+

+

+

+

vMotion

 

+

+

+

+

High Availability (HA)

 

+

+

+

+

Data Protection (DP)

 

+

+

+

+

vSphere Replication (VR)

 

+

+

+

+

Operations monitoring, optimization and visibility

  

+

+

+

Fault Tolerance (FT)

  

+

+

+

Storage vMotion

  

+

+

+

Distributed Resource Scheduler (DRS)

   

+

+

Distributed Power Management (DPM)

   

+

+

Storage DRS

    

+

Distributed switch

    

+

Flash Read Cache

    

+

Kit editions are meant for smaller environments and have their limitations. Six processors included determine that the environment cannot be larger than three servers with two physical processors each. As a result, if there is a plan to grow the environment in the near future, choose one of the separate vSphere editions.

The following table shows the available vSphere editions and features included:

Features

Standard

Enterprise

Enterprise Plus

Standard with vSOM

Enterprise with vSOM

Enterprise Plus with vSOM

Physical CPUs included

(per-CPU license entitlement)

1

1

1

   

Hypervisor

(basic virtualization capabilities)

+

+

+

   

Operations monitoring, optimization and visibility

   

+

+

+

vMotion

+

+

+

+

+

+

High Availability (HA)

+

+

+

+

+

+

Data Protection (DP)

+

+

+

+

+

+

vSphere Replication (VR)

+

+

+

+

+

+

Fault Tolerance (FT)

+

+

+

+

+

+

Storage vMotion

+

+

+

+

+

+

Distributed Resource Scheduler (DRS)

 

+

+

 

+

+

Distributed Power Management (DPM)

 

+

+

 

+

+

Storage DRS

  

+

  

+

Distributed switch

  

+

  

+

Flash Read Cache

  

+

  

+

Remember that vSphere 5 is licensed per physical CPU. For instance, two physical servers with two CPUs each will require four vSphere 5 CPU licenses. If DRS is a requirement, four Enterprise licenses will be needed. To take advantage of the Storage DRS, you will need four Enterprise Plus licenses in this case.

Both the preceding tables include only the main features we believe are necessary to make a decision. A full feature comparison can be found on the Compare VMware vSphere Editions page at http://www.vmware.com/products/vsphere/compare.

Additional information on the existing features and editions as well as upgrade paths from vSphere 4 can be found at the following link: http://www.vmware.com/files/pdf/vsphere_pricing.pdf

vCenter editions

Each of the following vSphere kit editions includes one instance of vCenter:

  • Essentials
  • Essentials Plus
  • vSOM Standard
  • vSOM Enterprise
  • vSOM Enterprise Plus

Other vSphere editions do not include a vCenter license, and if a separate vSphere edition has been chosen, there are two options for the vCenter edition:

  • vCenter Server Foundation
  • vCenter Server Standard

It is important to know that according to the End User License Agreement, customers licensed under Essentials or Essentials Plus are not allowed to purchase any other vCenter addition. If you need to manage more hosts, then the solution is to upgrade the existing license to vSphere Standard or above and purchase vCenter Standard.

The following table compares vCenter editions:

Feature

Essentials

(part of Essentials or Essentials Plus kit)

Foundation

Standard

Maximum number of hosts that can be managed

3

3

1,000

Management service

+

+

+

Database server

+

+

+

Inventory service

+

+

+

vSphere Clients

+

+

+

vCenter APIs

+

+

+

Single Sign-On

+

+

+

vCenter Orchestrator

  

+

Linked Mode

  

+

There's more…

There is also an option to purchase a support plan from VMware along with the software. The two available options include:

  • Basic: Provides support during business hours
  • Production: Provides 24 x 7 support

The production support plan is recommended for critical environments. Both plans include an unlimited number of support cases. Any of the preceding subscriptions are required for at least one year.

VMware also offers an option for per incident support, which can be purchased in 1, 3, or 5-incident packs. This option is available for vSphere Essentials kit only.

Booting a VM from a virtual CD-ROM

If a VM has just been created and you are trying to install the operating system from a virtual CD-ROM, you can turn the VM on, connect the ISO image to the operating system, and reboot the VM. It will start booting from the CD-ROM right away.

If the operating system has already been installed and you need to boot this VM from the CD-ROM, it may be challenging, as the option to press Esc for Boot Menu is displayed for a very short period of time:

Booting a VM from a virtual CD-ROM

How to do it...

To increase the time for which this option is displayed so that you can press Esc, you'll need to change the Power On Boot Delay value. To do that, perform the following steps:

  1. Go to VM Settings | Options | Boot Options.
  2. Select the Power On Boot Delay option.
  3. Set the value to 3,000 so that the VM waits for 3 seconds for Esc.
    How to do it...
  4. The location of this setting in vCenter Web Client is similar:
    • Right-click on a VM
    • Go to Edit Settings...
    How to do it...
  5. Go to VM Options | *Boot options.
  6. Adjust the Boot Delay (*) setting.
    How to do it...

How it works...

Once Esc has been pressed, you'll get the Boot Menu options to choose from. Connect the ISO image, host or local CD-ROM in VM Settings, and choose CD-ROM drive from the Boot Menu:

How it works...

Using hosts with different CPUs in one cluster

One of the core vSphere features is vMotion. It allows administrators to move a running virtual machine from one host to another without interruption.

Unfortunately, one of the requirements for vMotion is to use hosts with the same processors so that the virtual machine that has been moved can keep running on a new host. This is due to the fact that newer processors, even within the same family, typically have additional features. New generations of processors can also have a different set of instructions. When features or instructions an application is using are not available, the application will crash.

Clusters consisting of hosts with different CPU generations can use Enhanced vMotion Compatibility (EVC) mode. In this mode, vCenter hides CPU features and instructions that are not available on older hosts. This way, it makes all hosts' CPUs in the cluster look like they are the same.

The obvious downside of using this feature is that the cluster's processors will all be the same or lower than the oldest host's CPU.

Getting ready

Things to consider before enabling the feature are as follows:

  • All hosts must have either Intel or AMD processors.
  • All cluster VMs running on hosts where EVC mode will be enabled must be shut down before the feature can be turned on.

How to do it...

To enable EVC:

  1. Switch to the Hosts and Clusters view.
  2. Right-click on your cluster and choose Edit Settings.
  3. Go to VMware EVC and click on Change EVC Mode.
    How to do it...
  4. Choose AMD or Intel depending on the host's CPU.
  5. Choose the best available option for processor generation.
    How to do it...
  6. In vCenter Web Client, this setting can be found by going to vCenter | Cluster | Manage | Settings | VMware EVC:
    How to do it...
  7. Press the Edit... button next to the VMware EVC section to change EVC mode:
    How to do it...

There's more…

Virtual machines always have to be off when changing EVC mode to an older processor generation. This is not a requirement when EVC mode is being raised. Unfortunately, in this case, new CPU features will not be available to VMs until they are powered off and back on. Suspending or restarting VMs is not sufficient because virtual machine EVC mode is determined when it's turned on.

Fixing VMware tools to autostart after Linux updates

From time to time, VMware tools that have been working fine before refuse to start automatically when the Linux guest is rebooted. VMware tools can be started manually using the following command:

# /etc/vmware-tools/services.sh start

Note

The preceding command and other commands in this book assume RHEL or CentOS and can be different for Debian or other Linux distributions.

The following error message may be displayed:

Fixing VMware tools to autostart after Linux updates

In most cases, this issue is related to recent OS updates; in particular, the Linux kernel update, which breaks the existing VMware tools installation.

As servers are not rebooted often, it may be hard to correlate the issue of VMware tools not starting automatically and OS updates.

How to do it...

To fix the issue, simply reinstall VMware tools the same way they were installed the first time. The following commands have been tested on CentOS 5 and depending on the Linux distribution, the commands you use and their sequence may be different.

  1. Initiate the VMware tools installation by going to VM menu and then navigating to Guest | Install/Upgrade VMware Tools:
    How to do it...
  2. For Linux guest, the Automatic option will not be available. Click on OK.
    How to do it...
  3. The VMware tools ISO image from the ESXi host will be connected to the virtual CD-ROM of the VM.
  4. Mount the image as follows:
    # mount /dev/cdrom /mnt/cdrom
    
  5. Extract the archive with VMware tool's installation files:
    # tar xzvf /mnt/cdrom/VMwareTools-<x.x.x-xxxx>.tar.gz -C /tmp/
    
  6. Start the installation. Switch –d is for the unattended installation with default settings:
    # cd /tmp/vmware-tools-distrib/
    # ./vmware-install.pl –d
    
  7. Reboot the virtual machine. VMware tools should start automatically as soon as the guest OS is back up:
    # shutdown –r now0
    

There's more…

Additional details about the issue can be found in the VMware KB 2050592 article on the VMware Knowledge Base website at http://kb.vmware.com/kb/2050592.

Running vCenter on a VM

Administrators have three options when it comes to deploying the vCenter Server. vCenter can be imported as a Linux-based virtual appliance or it can be installed on a physical or virtual Windows Server.

Running vCenter on a VM

How to do it...

For smaller environments, it makes sense to choose a vCenter appliance. Its installation and configuration is easier than deploying your own vCenter Server:

  1. Download the vCenter Server Appliance from my.vmware.com.
  2. Deploy the appliance from a template using the Deploy OVF Template... option from the File menu.
    How to do it...
  3. Open your web browser and go to http://<ip address of virtual appliance>:5480.
  4. Log in using the default credentials to configure vCenter:
    • Username: root
    • Password: vmware
  5. After logging in, go through the steps of the configuration wizard to start using the appliance.

There's more…

vCenter Appliance has its limitations. First of all, if an embedded database is used, this server will be able to manage only up to five hosts and up to 50 virtual machines. In vSphere 5.5, this limit has been increased to 100 hosts and 3,000 virtual machines.

Also, this solution doesn't support the Linked Mode configuration. More information about the supported services and limitations can be found in the Knowledge Base article KB2002531 at http://kb.vmware.com/kb/2002531.

vCenter Server on a VM

Running the vCenter Server on a virtual machine offers all virtualization advantages:

  • No additional hardware is needed, which means savings and flexibility.
  • Administrators can take advantage of using high availability features offered by vSphere—HA or FT.
  • vMotion offers additional flexibility and higher uptime.
  • Snapshots can be utilized as a rollback option.

Virtual machines are easier to manage but at the same time, there are a few concerns related to this approach:

  1. The main concern is that issues with the vSphere environment potentially can affect the vCenter Server and as a result, the administrator's ability to manage the environment and troubleshoot issues.

    For example, if a host where vCenter VM is running becomes unavailable, vCenter is not accessible until it's restarted and comes back online. In certain cases, HA fails to restart some VMs so vCenter may become unavailable for a longer time.

    The administrator can connect to hosts directly using the vSphere Client but in this case, the core features offered by vCenter will not be available.

  2. Another concern is related to environments that have only one host. Certain tasks such as ESXi updates require host maintenance mode, which means that all VMs need to be turned off. In this case, the vCenter Server has to be shut down and thus, Update Manager can't be used.

    Updating ESXi from the command line can be more time consuming and challenging in certain cases. In other words, running the vCenter Server on a VM in environments with only one ESXi host can introduce some administrative difficulties.

    Note

    In general, a single ESXi host with vCenter Server VM is not a recommended design option for the enterprise environment.

Managing several vCenter Servers from one client

There is a way to manage more than one vCenter Server from the same vCenter client. This is accomplished by using Linked Mode groups. Linked Mode group is a group of vCenter Servers that allows managing other members by connecting to any one of them.

Getting ready

This feature is available only in vCenter Server Standard edition and cannot be used with vCenter Server Appliance (vCSA).

The main requirement is that all group members must run the same version of vCenter. Other requirements are as follows:

  • Members must belong to the same Active Directory domain or different domains that have two-way trust relationships with each other.
  • DNS has to be operational for Linked Mode groups to work properly.
  • vCenter must be licensed or in evaluation mode.
  • The domain account is the local administrator on both vCenter Servers—the one that is being joined to the group and the target server.

How to do it...

To be able to manage additional vCenter Servers, they need to be joined to the Linked Mode group.

Joining vCenter to a group

The vCenter Server can be joined to a group either during installation or any time after. The Linked Mode group is created when the first member is being joined to a group that doesn't exist.

To join the running vCenter Server to the existing Linked Mode group, follow the ensuing steps:

  1. On the vCenter Server, go to Start | All Programs | VMware.
  2. Run vCenter Server Linked Mode Configuration.
  3. Select Modify linked mode configuration.
  4. Click on Join this vCenter server instance to an existing linked mode group or another instance.
  5. Click on Next.
  6. Enter the FQDN of an existing member and LDAP port.
  7. In case role conflict has been detected, choose a way to resolve it. You can either let vCenter rename the group or you can rename it yourself.
  8. Restart the vCenter Server.

If a member that is being joined to the Linked Mode group is running an older version of vCenter than other members of the group it has to be upgraded. Also, if vCenter on a member is upgraded, it will be disconnected from the group.

Removing vCenter from a group

To remove vCenter from a Linked Mode group, execute the following steps:

  1. On the vCenter Server, go to Start | All Programs | VMware.
  2. Run vCenter Server Linked Mode Configuration.
  3. Choose Modify linked mode configuration.
  4. Select Isolate this vCenter server instance from linked mode group and click on Next.
  5. Click on Continue and then on Finish.
  6. Reboot the vCenter Server.

Accessing new vCenter features

vSphere 5 introduced a new web client, which can be used to manage the environment along with the traditional vSphere Client we used before.

vCenter Web Client is just another way to access the environment using a web browser. Three major browsers—Internet Explorer, Firefox, and Chrome—are supported.

Web Client becomes the main administrative interface starting with vSphere 5.1 and while vSphere Client can still be used, a lot of new features introduced in vSphere 5 are available only through Web Client.

Some of these new features are:

  • Datastore cluster and Storage DRS
  • vSphere Replication
vSphere Data Protection
  • Enhanced vMotion
  • Drag-and-drop actions as well as bulk operations for vSphere objects

How to do it...

  1. To access your vSphere environment using Web Client, open your web browser and point it to https://<vCenter Server IP address>:9443/vsphere-client.
  2. On the VMware vSphere welcome page, click on the Log in to vSphere Web Client link.
    How to do it...
  3. From this page, you will be able to log in to vCenter using the same credentials that work for older clients.

There's more…

Take a look at the following error message:

There's more…

If the preceding error message is displayed, add port 9443 after the vCenter Server address or name in the URL: https://<vcenter-server>:9443/vsphere-client/. This will take you to the same login page, assuming vCenter was installed with default port settings.

Accessing hosts via SSH

In certain cases, you may need to access the ESXi host via SSH. This may be needed to run a script, troubleshoot an issue, or use a command or a feature not available via vSphere Client.

How to do it...

SSH access to ESXi hosts is disabled by default and can be enabled using the ESXi console and command line or through vCenter. To enable it from vCenter:

  1. Allow SSH port through the host's firewall.
  2. Start the SSH service on the host.

Opening the SSH port on the firewall

To allow the SSH port through the firewall on the ESXi host, execute the following steps:

  1. Go to the Hosts and Clusters view.
  2. Select the host and go to the Configuration tab.
  3. Click on Security Profile on the left.
  4. Click on the Properties... link next to the Firewall section.
    Opening the SSH port on the firewall
  5. The Firewall Properties window will open. Check SSH Server under the Secure Shell section.
    Opening the SSH port on the firewall
  6. Click on the Firewall button to allow only certain IP addresses to connect. Click on OK when finished to apply the changes.

In Web Client, perform the following steps:

  1. Select a host.
  2. Go to Manage | Settings | Security Profile.
    Opening the SSH port on the firewall
  3. Click on the Edit... button next to the Firewall section.
  4. Select the SSH Server option and click on OK as shown in the next screenshot.

    Tip

    To allow connections from only certain IP addresses, uncheck the Allow connections from any IP address option and enter the IP addresses separated by commas.

    Opening the SSH port on the firewall

Starting an SSH service

To start an SSH service on the host from the same place under Configuration | Security Profile:

  1. Click on the Properties... link next to the Services section.
  2. Select SSH in the list of services and click on Options....
    Starting an SSH service
  3. Click on the Start button.
  4. Once the service starts, both windows can be closed.

From Web Client, perform the following steps:

  1. Select a host.
  2. Go to Manage | Settings | Security Profile.
  3. Scroll down to the Services section.
    Starting an SSH service
  4. Click on the Edit button.
  5. Select SSH from the list.
  6. Click on Start.
    Starting an SSH service

There's more…

Now you will be able to access the ESXi command line using the SSH client.

Note

Note that when SSH service is running on the host, vCenter marks it with a yellow exclamation mark as it is a configuration issue. Enabling SSH is considered to be an insecure practice.

There's more…

Securing host management access

When it comes to managing ESXi hosts, there are a few interfaces available to perform management tasks:

  • Common Information Model (CIM), which is used for vCenter Server access.
  • Direct Console User Interface (DCUI), which is also known as the ESXi console.
  • Tech Support Mode (TSM)
    • Local—console access to the ESXi command line.
    • Remote—SSH access to the ESXi command line.
  • vSphere Application Programming Interface (API) such as vSphere Client, PowerCLI, vCLI, and so on.

Remote TSM has been covered in the Accessing hosts via SSH recipe in this chapter. Local TSM and DCUI are console options available if you have physical access to the host or remote console access such as iDRAC.

All interfaces except vSphere API can be managed from vCenter under host Configuration | Security Profile | Services:

Securing host management access

Both TSM options can also be configured from the DCUI console.

The following table summarizes different management interfaces and where each one can be configured:

Management interface

Description

Configuration from vCenter

Configuration from DCUI

CIM

vCenter access

Host's Services

 

DCUI

ESXi console

Host's Services

 

Local TSM

Console CLI

Host's Services

Troubleshooting menu

Remote TSM

SSH access to CLI

Host's Services

Troubleshooting menu

APIs

vSphere Client, PowerCLI, vCLI

  

VMware offers a way to secure management access to hosts called Lockdown mode.

Lockdown mode is a security feature, which limits the administrator's ability to manage the ESXi host only through vCenter. When a host is in this mode, the administrator cannot use the command line or run scripts. Also, any third-party software cannot get or change any settings on this host.

Note

User root will still be able to access DCUI but not TSM.

The following table summarizes each management interface's behavior in Normal and Lockdown modes:

Management interface

Normal mode

Lockdown mode

CIM

User and group permissions

Only vCenter server

DCUI

User root and users with administrator rights

Only root user

Local TSM

Only root user

None

Remote TSM

Only root user

None

APIs

User and group permissions

Only vCenter vpxuser

Additional security always means inconvenience. If the vCenter VM crashed or didn't come up after the reboot, and access to vCenter has been lost, ESXi has to be reinstalled on hosts that are in Lockdown mode to restore access.

How to do it...

To enable lockdown mode from vCenter, execute the following steps:

  1. Lockdown mode can be enabled per host by going to Configuration | Security Profile:
    How to do it...
  2. Click on Edit next to Lockdown Mode, select Enable Lockdown Mode, and click on OK:
    How to do it...

Note

All the existing vCenter Client connections to the host will be dropped immediately.

Users that are currently logged in to DCUI or TSM will still have access after Lockdown mode has been enabled until they log off. Logged in users will not be able to switch Lockdown mode off in this case.

All the existing user and group permissions will be restored once Lockdown mode is disabled if it was enabled from vCenter.

To enable Lockdown Mode from Web Client, execute the following steps:

  1. Select a host.
  2. Go to Manage | Settings | Security Profile.
  3. Scroll down to the Lockdown Mode section.
  4. Click on the Edit next to the section.
  5. Check Enable Lockdown Mode.
  6. Click on OK.
    How to do it...

Enable Lockdown mode from the ESXi console

To enable Lockdown mode from DCUI, press F2, log in with the root user, move the cursor to the Configure Lockdown Mode item, and press Enter.

Enable Lockdown mode from the ESXi console

Tip

All the existing user and group permissions will be lost once Lockdown mode is enabled from DCUI so the best practice is to use vCenter to enable Lockdown.

Storing host logs on a shared datastore

ESXi server logs are stored locally by default on each host in the /var/log directory. In certain cases, there is a requirement to store logs on a datastore.

Possible scenarios are hosts without local storage, where all locally stored logs disappear after reboot, compliance requirements where there is a requirement to store logs in an alternative location, or space concerns where there are many hosts and the administrator has to keep older logs.

How to do it...

vCenter allows redirecting ESXi logs to one of the datastores accessible to the host. This can be accomplished by going to Configuration | Advanced Settings | Syslog by changing the variable Syslog.global.logDir to an appropriate value [Datastore]/Folder:

How to do it...

In vCenter Web Client, these options can be found by going to Host | Manage | Settings | Advanced System Settings, as shown in the following figure:

How to do it...

There's more…

Once this change is made, you will see log files created in the configured folder if you browse the datastore.

From the same Advanced Settings section, you can configure the additional logging options:

Option

Description

Syslog.global.logDirUnique

If chosen the ESXi syslog will create a separate folder for this host in the specified logging folder. The folder will be named with the ESXi hostname.

This option is helpful when the logging folder is shared between more than one host.

Syslog.global.defaultRotate

This is the maximum number of log files to keep after rotation.

Syslog.global.defaultSize

This is the maximum log file size in kilobytes. Once reached, the log file will be rotated.

The same logging parameters can also be configured from the ESXi command line using the esxcli system syslog command.

For example, to validate logging settings configured from vCenter use:

esxcli system syslog config get

VMware KB 2003322 gives more details about configuring syslog, including CLI command sequence, which is available at http://kb.vmware.com/kb/2003322.

Configuring remote logging

For compliance and security reasons, administrators may need to redirect ESXi logs to a remote syslog server.

How to do it...

This configuration is done by going to Configuration | Advanced Settings | Syslog and changing the variable Syslog.global.logHost to <protocol>://<syslog host>:<port> as shown in the following screenshot:

How to do it...

From Web Client, perform the following steps:

  1. Go to Manage | Settings | Advanced System Settings.
  2. Select the Syslog.global.logHost option in the list.
  3. Click on the Edit button above the list.
  4. Adjust the value of the Syslog.global.logHost option.
  5. Click on OK.
    How to do it...

Note

In most cases, syslog uses UDP and that's why in case of high logging volume or high network utilization, some log entries may be lost. Consider this when planning the logging infrastructure.

You can configure the syslog and datastore logging mentioned in storing host logs on a shared datastore at the same time for each host.

Also, administrators may need to configure the ESXi firewall to allow outbound syslog traffic. This is done by going to Configuration | Security Profile | Firewall and performing the following steps:

  1. Click on Properties next to the Firewall section.
  2. Make sure syslog is chosen.
  3. Click on OK.
    How to do it...

Alternatively, from Web Client, perform the following steps:

  1. Select a host.
  2. Go to Manage | Settings | Security Profile.
  3. Click on the Edit button next to the Firewall section.
  4. Select syslog in the list.
  5. Click on OK.
    How to do it...

Once this configuration is completed the remote syslog server will start receiving logging data.

Left arrow icon Right arrow icon

Description

If you are a system administrator who has some experience with virtualization and already uses VMware vCenter, but wishes to learn more, then this is the book for you. If you are looking for tips or shortcuts for common administration tasks as well as workarounds for pain points in vSphere administration, you'll find this guide useful.

What you will learn

  • Manage your virtual environment faster and in a more efficient manner
  • Easily implement and start using new vCenter features
  • Scale an existing virtual environment quickly
  • Optimize resource usage across virtual infrastructures
  • Prioritize VMs with resource pools
  • Perform simple and advanced administrative tasks using VMware
  • Discover tips on task optimization that will let you have more time for important tasks
Estimated delivery fee Deliver to Netherlands

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 30, 2015
Length: 302 pages
Edition : 1st
Language : English
ISBN-13 : 9781783553976
Vendor :
VMware
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Netherlands

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Publication date : May 30, 2015
Length: 302 pages
Edition : 1st
Language : English
ISBN-13 : 9781783553976
Vendor :
VMware
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 107.97
VMware vSphere 5.5 Essentials
€36.99
vCenter Troubleshooting
€24.99
VMware vCenter Cookbook
€45.99
Total 107.97 Stars icon
Banner background image

Table of Contents

8 Chapters
1. vCenter Basic Tasks and Features Chevron down icon Chevron up icon
2. Increasing Environment Availability Chevron down icon Chevron up icon
3. Increasing Environment Scalability Chevron down icon Chevron up icon
4. Improving Environment Efficiency Chevron down icon Chevron up icon
5. Optimizing Resource Usage Chevron down icon Chevron up icon
6. Basic Administrative Tasks Chevron down icon Chevron up icon
7. Improving Environment Manageability Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 25%
4 star 75%
3 star 0%
2 star 0%
1 star 0%
Art.C Jul 07, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
VMware vCenter Cookbook by Konstantin Kuminsky offers in-depth view on how to create and setup a new virtual environment. Whether you are just starting up with VMware or you have been managing multiple hosts. As a systems administrator for over 25 years I find this book very impressive and useful to have for all types of questions that relate to VMware functionality and reliability. As today’s technology advances you need to be able to provide and manage high scalability and availability infer structure. This book covers the necessary steps for creating and managing a healthy environment. The quick reference guides in this book provide the ability to manage multiple VM Hosts, how to create Templates to deploy VM’s much faster. How to prioritize vCPU’s to the VM’s that need the most. This book uses the latest version of VSphere 5 as the main platform which includes HA features, VM delivery and customization and network performance. Any of these points are very important to the overall performance of the VSphere Environment. Great keeper for me as it improves my ability to manage VM’s and helps out in planning for the future. I’d rather have the how to? On hand as a quick reference guide. This book provides the tools for a Great VMware vCenter.
Amazon Verified review Amazon
Kim Bottu Jul 03, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
For some years now my main focus has been virtualization using VMware technology.Konstantin Kuminsky's book provides a good reference work where it comes to vCenter server in all its day to day functionality. If you are new to VMware technology or just want a refresh about what VMware vCenter server can do for you, I would advise this book.Kim
Amazon Verified review Amazon
Jason G. Boche Jul 28, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Back in June, I was extended an offer from PACKT Publishing to review a new VMware book. I’ve got a lot on my plate at the moment but it sounded like an easier read and I appreciated the offer as well as the accommodation of my request for paperback in lieu of electronic copy so I accepted. I finished reading it this past weekend.The book’s title is VMware vCenter Cookbook and it is PACKT’s latest addition to an already extensive Cookbook series (Interested in Docker, DevOps, or Data Science? There’s Cookbooks for that). Although it was first published in May 2015, the content isn’t quite so new as its coverage includes vSphere 5, and vSphere 5 only with specific focus on vSphere management via vCenter Server as the title of the book indicates. The author is Konstantin Kuminsky and as I mentioned earlier the book is made available in both Kindle and paperback formats.Admittedly I’m not familiar with PACKT’s other Cookbooks but the formula for this one is much the same as the others I imagine: “Over 65 hands-on recipes to help you efficiently manage your vSphere environment with VMware vCenter”. Each of the recipes ties to a management task that an Administrator of a vSphere environment might need to carry out day to day, weekly, monthly, or perhaps annually. Some of the recipes can also be associated with and aid in design, architecture, and planning although I would not say these are not the main areas of focus. The majority of the text is operational in nature.The recipes are organized by chapter and while going from one to the next, there may be a correlation, but often there is not. It should be clear at this point it reads like a cookbook, and not a mystery novel (although for review purposes I did read it cover to cover). Find the vCenter how-to recipe you need via the Table of Contents or the index and follow it. Expect no more and no less.Speaking of the Table of Contents… Chapter 1: vCenter Basic Tasks and Features Chapter 2: Increasing Environment Availability Chapter 3: Increasing Environment Scalability Chapter 4: Improving Environment Efficiency Chapter 5: Optimizing Resource Usage Chapter 6: Basic Administrative Tasks Chapter 7: Improving Environment ManageabilityIt’s a desktop reference (or handheld I suppose depending on your preferred consumption model) which walks you through vSphere packaging and licensing on one page, and NUMA architecture on the next. The focus is vCenter Server and perhaps more accurately vSphere management. Fortunately that means there is quite a bit of ESXi coverage as well with management inroads from vCenter, PowerShell, and esxcli. Both Windows and appliance vCenter Server editions are included as well as equally fair coverage of both vSphere legacy client and vSphere web client.Bottom line: It’s a good book but it would have been better had it been released at least a year or two earlier. Without vSphere 6 coverage, there’s not a lot of mileage left on the odometer. In fairness I will state that many of the recipes will translate identically or closely to vSphere 6, but not all of them. To provide a few examples, VM templates and their best operational practices haven’t changed that much. On the other hand, there are significant differences between FT capabilities and limitations between vSphere 5 and vSphere 6. From a technical perspective, I found it pretty spot on which means the author and/or the reviewers did a fine job.Thank you PACKT Publishing for the book and the opportunity.
Amazon Verified review Amazon
Mike nelson Jul 04, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I am a virtualization professional with over 2 decades of IT experience and have been using vCenter since it's inception. I found this book to be a rather good reference for anyone who directly administrates vSphere and works with vCenter. I also found it to be an great reference for the I.T. Generalist, who wears many hats and needs this type of "go-to" reference to assist them in their daily work, which can become very complex. i found the "recipes" quite useful for the novice and quite possibly even a quick refresher for the intermediate user. the books chapters are organized well, and the highlighting of relevant reference material from VMware is a nice add. one recommendation is that the book should have included vSphere 4.x information as well for legacy environments, and a lead-in to the possible new edition for the vSphere 6.x version as well.Overall, I would recommend this book and it has found a spot in my reference library. Nice work Konstantin!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela