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 vSphere 5.1 Cookbook
VMware vSphere 5.1 Cookbook

VMware vSphere 5.1 Cookbook: If you prefer practice to theory then this is the ideal book for learning how to install and configure VMware vSphere components. Packed with recipes, it's a hands-on tutorial and reference guide for this unbeatable virtualization product.

eBook
$9.99 $32.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.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 vSphere 5.1 Cookbook

Chapter 2. Performing a Fresh Installation of vSphere 5.1

In this chapter we will cover the following:

  • Installing vCenter 5.1

  • Deploying a VMware vCenter Server Appliance (vCSA)

  • Preparing vCenter Server Appliance for first use

  • Installing the vCenter Server Appliance update

  • Upgrading the vCenter Server Appliance

  • Installing ESXi 5.1

  • Performing a scripted Install of the ESXi server

Introduction


Starting with vSphere 5.0, VMware doesn't offer the ESX classic version, but the ESXi hypervisor version. The classic version of the ESX server had a Linux-based Service Console. One of the most evident benefits of removing the Service Console is that ESX hypervisor version (ESXi) will have a smaller installation footprint. It can even be embedded on the server boards or USB drives. Because of the smaller footprint, the installation is faster. Historically, most of the security updates that VMware released were for the Service Console and not for the hypervisor component. Meaning, as we move ahead we will require less frequent patching to be done on the ESXi servers.

The vCenter Server is the component that provides centralized management of your vSphere environment. Most of the administrative tasks on a single ESXi server can be done by using the vSphere Windows Client software. As in most cases, however, when you have an environment that has multiple ESXi servers, managing...

Installing vCenter 5.1


This recipe will focus on the steps needed to perform a fresh/new installation of vCenter Server 5.1 on a Windows machine.

Getting ready

Let's take a look at the pre-install checks that need to be performed:

  1. Check the vCenter Server software requirements.

  2. Check the ESX server compatibility.

  3. Check the database compatibility.

  4. Back up the SSL certificates.

We won't be discussing these checks here since these were discussed in the Upgrading vCenter Server section in Chapter 1, Upgrading to vSphere 5.1.

You could download the vCenter Server installation bundle from the following download page:

https://my.vmware.com/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vsphere/5_1

The download item would be listed as VMware vCenter Server 5.1 and modules. The download is available in both ISO and ZIP archives.

If you start the installation on a Windows machine that already has a previous version of vCenter Server installed, then the installation wizard will not provide you...

Deploying a VMware vCenter Server Appliance (vCSA)


The vCenter Server Appliance (vCSA) can be either downloaded as a single package (OVA); or the OVF, system disk, and data disk can be downloaded separately.

At the time of writing this book, the following were the names of the appliance files:

VMware-vCenter-Server-Appliance-5.1.0.5100-799730_OVF10.ova

Or

VMware-vCenter-Server-Appliance-5.1.0.5100-799730_OVF10.ovf

VMware-vCenter-Server-Appliance-5.1.0.5100-799730-system.vmdk

VMware-vCenter-Server-Appliance-5.1.0.5100-799730-data.vmdk

These names could possibly change when VMware releases the next update. I have included the file names only to give you a sense of what files have to be downloaded.

Tip

Before you deploy the appliance, create a DNS entry for the hostname that is given to the appliance.

How to do it...

In this recipe we will learn how to deploy the vCSA appliance in your infrastructure:

  1. In order to deploy the appliance you would need to use the Deploy OVF Template wizard using vSphere...

Preparing vCenter Server Appliance for first use


Just deploying the appliance wouldn't just make it available for use. The appliance has to be prepared so that it can be made available on the network and can be used to manage ESXi servers.

Getting ready

Power on the appliance virtual machine. The first screen after the boot is shown in the following screenshot:

At this screen you could select Login to log in to the appliance.

Note

The default username and password for the appliance are root and vmware.

The Quickstart Guide section of the first screen will show you the URL that should be used to connect to the web interface of vCenter Server Appliance. This web interface is not used to manage the ESXi server, but to configure the vCenter Server Appliance. The How to do it... section of this recipe will help you configure and prepare the appliance for its first use.

How to do it...

In this recipe we will learn how to perform the initial configuration and prepare the appliance for first use:

  1. Connect...

Installing the vCenter Server Appliance update


Unlike the Windows version of vCenter, the vCSA will let you check for updates from within the appliance. This is different from upgrading the appliance. For upgrade instructions read the Upgrading a vCenter Server Appliance recipe.

In this recipe, I will show you how to install an available update.

This option is available under the Update tab, which has two subtabs, Status and Settings. The Status subtab will display the current appliance version. You can install any available updates to the appliance on this page.

How to do it...

The following procedure will guide you through the steps required to update the vCenter Server appliance:

  1. Log in to the vCenter Server Appliance's web page as root.

  2. Go to the Update tab.

  3. Under the Status subtab, click on the Check Updates button to check for an available update.

  4. If an update is available it will show the new appliance version under Available Updates. Click on Install Updates.

  5. At the Install Update dialog...

Upgrading a vCenter Server Appliance


The Upgrade tab is used when you have deployed a new version of the appliance and you want to migrate the settings to the new appliance. The upgrade is not in-place you will be deploying a new vCSA appliance and will migrate the settings from the old appliance to the newly deployed one.

How to do it...

The following procedure will guide you through the steps required to upgrade a vCenter Server Appliance:

  1. Deploy and power on the new appliance and accept the EULA at the web interface.

  2. Navigate to the Upgrade tab of the new appliance and under the Prepare subtab select the appliance role as Destination.

  3. Navigate to the Upgrade tab of the old appliance and under the Prepare subtab select the appliance role as Source.

  4. Navigate to the Establish Trust subtab on the new appliance and copy the local appliance key.

  5. Navigate to the Establish Trust subtab on the old appliance and paste the local key from the new appliance into the Remote Appliance Key field and click on...

Installing ESXi 5.1


ESXi 5.1 does not have a graphical installer. A new installation of ESXi 5.1 will now use a GUID Partition Table (GPT) instead of MBR, hence enabling the use of disks greater than 2 TB for installation.

Note

A new installation of ESXi 5.1 will create a 4 GB scratch partition and the remainder of the disk space will be formatted using VMFS.

Installation of ESXi 5.1 is pretty straightforward. It is recommended that you refer to the VMware Compatibility Guide web page to verify whether the server hardware is compatible with ESXi 5.1, available at the following link:

http://www.vmware.com/resources/compatibility/search.php

For a complete list of hardware requirements, please refer to page 26 of the ESX Server Installation and Setup guide, available at the following link:

http://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html

You could download the ESXi 5.1 ISO from the following link:

https://my.vmware.com/web/vmware/info/slug/datacenter_cloud_infrastructure...

Performing a scripted install of the ESXi server


With the help of the Installing ESXi 5.1 recipe, you should now be familiar with the regular interactive installation of the ESXi server. Although the interactive installation is an easy task, it becomes a tedious one when you are deploying servers in a larger environment. This is where a scripted installation could come in handy.

The How to do it... section will guide you through the steps required to perform a scripted installation.

How to do it...

The following are the steps involved in a scripted-installation process:

  1. Boot the server with the ESXi installation CD in the CD/DVD ROM drive.

  2. At the ESXi installer's Loading ESXi installer screen, press Shift + O.

  3. On pressing Shift + O, you would see the default command the installer uses: runweasel.

  4. At this prompt, specify the location of the install script. I have used an FTP location. Local CD ROM, USB driver, HTTP/HTTPS, or NFS are other supported script locations.

    The ks script will then locate...

Left arrow icon Right arrow icon

Key benefits

  • Install and configure vSphere 5.1 core components
  • Learn important aspects of vSphere such as administration, security, and performance
  • Configure vSphere Management Assistant(VMA) to run commands/scripts without the need to authenticate every attempt

Description

Amidst all the recent competition from Citrix and Microsoft, VMware's vSphere product line is still the most feature rich and futuristic product in the virtualization industry. Knowing how to install and configure vSphere components is important to give yourself a head start towards virtualization using VMware. If you want to quickly grasp the installation and configuration procedures, especially by using the new vSphere 5.1 web client, this book is for you.VMware vSphere 5.1 Cookbook will take you through all the steps required to accomplish a task with minimal reading required. Most of the tasks are accompanied with relevant screenshots with an intention to provide a visual guidance as well.The book has many useful recipes that will help you progress through the installation of VMware ESXi 5.1 and vCenter Server 5.1. You will learn to use Auto Deploy and Image Profiles to deploy stateless/stateful ESXi servers, configure failover protection for virtual machines using vSphere HA, configure automated load balancing using vSphere DRS and DPM. Finally, the book guides you through upgrading or patching ESXi servers using VMware Update Manager and also deploying and configuring vSphere Management Assistant (VMA) to be able to run scripts to manage the ESXi servers.

Who is this book for?

This book is a guide for anyone who wants to learn how to install and configure VMware vSphere components. This is an excellent handbook for support professionals or for anyone intending to give themselves a head start in learning how to install and configure vSphere 5.1 components. It is also a good task-oriented reference material for consultants who design and deploy vSphere environments.

What you will learn

  • Install and configure ESXi 5.1 and vCenter 5.1
  • Manage the deployment of ESXi servers using Auto Deploy and Image Profiles
  • Configure FC, iSCSI and NFS storage access to ESXi servers and manage the storage devices presented to the ESXi servers
  • Configure vSphere Networking using vSphere Standard and vSphere Distributed Switches
  • Learn to create and manage virtual machines
  • Configure HA, DRS, DPM and EVC on an ESXi cluster
  • Install VMware Update Manager (VUM) to upgrade and patch ESXi servers
  • Configure vSphere Management Assistant(VMA) to run commands/scripts without the need to authenticate every attempt
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 11, 2013
Length: 466 pages
Edition : 1st
Language : English
ISBN-13 : 9781849684026
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 United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Jul 11, 2013
Length: 466 pages
Edition : 1st
Language : English
ISBN-13 : 9781849684026
Vendor :
VMware
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.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
$199.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
$279.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 $ 170.97
VMware vSphere 5.1 Cookbook
$54.99
Implementing VMware vCenter Server
$54.99
vSphere High Performance Cookbook
$60.99
Total $ 170.97 Stars icon
Banner background image

Table of Contents

13 Chapters
Upgrading to vSphere 5.1 Chevron down icon Chevron up icon
Performing a Fresh Installation of vSphere 5.1 Chevron down icon Chevron up icon
vSphere Auto Deploy Chevron down icon Chevron up icon
ESXi Image Builder Chevron down icon Chevron up icon
Creating and Managing VMFS Datastores Chevron down icon Chevron up icon
Managing iSCSI and NFS Storage Chevron down icon Chevron up icon
Profile-driven Storage and Storage I/O Control Chevron down icon Chevron up icon
Configuring the vSphere Network Chevron down icon Chevron up icon
Creating and Managing Virtual Machines Chevron down icon Chevron up icon
Configuring vSphere HA Chevron down icon Chevron up icon
Configuring vSphere DRS, DPM, and VMware EVC Chevron down icon Chevron up icon
Upgrading and Patching using vSphere Update Manager Chevron down icon Chevron up icon
Using vSphere Management Assistant (vMA 5.1) Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(3 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
doug theboss Sep 09, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book has lots of great ideas and best practices for vSphere 5.1. I feel the money spent will go a long ways. Recommend this one to VMware admins out there.
Amazon Verified review Amazon
They call me... "The Hamster". Dec 14, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a must have reference for any and all that deal with vSphere 5.1 on an ongoing basis. It provides quick access to the most direct procedures of tackling the tasks associated with an enterprise class virtual infrastructure. Additionally it covers the explanation of the latest solutions and direct guidance in implementation aspects of VMware's latest flagship product in an easy to read and follow format.I have been working with VMware's products for years (achieving my first VCP with the Virtual Infrastructure 3 product). Like anyone working with virtualization solutions it has always been necessary to not only keep current with the ever changing landscape of how to do something, but do so in the most proficient and technically accurate way given the current solution and circumstances in the environment.Save yourself the hours of scouring search engines, forums and vendor documentation that quickly adds up to hours of cross referencing multiple sources, and purchase this guide to have the solutions readily at your disposal.
Amazon Verified review Amazon
Zodiac Sep 26, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I've been using VMware for a while but since it's not the only thing I do I am always looking for great practical information and how to's to help me out at my job. It starts out with updating Vsphere to 5.1; there about 50 pages on this subject and it's easy to understand.It's not for the more advanced users and some of the book was below me but it has some great tips in it that I think make it worth the money.
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