Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

VMware vSphere Essentials
VMware vSphere Essentials
VMware vSphere Essentials
Ebook474 pages3 hours

VMware vSphere Essentials

Rating: 0 out of 5 stars

()

Read preview

About this ebook

About This Book
  • Plan, deploy, and manage your vSphere environment for even the most complex IT infrastructures
  • Familiarize yourself with vSphere infrastructure to become a skilled vSphere administrator
  • Seamlessly configure and deploy vSphere with simple examples in this fast-paced guide
Who This Book Is For

This book is intended for virtualization administrators who want to learn VMware vSphere quickly. It is assumed that you have some basic knowledge of virtualization and the vSphere environment.

LanguageEnglish
Release dateMay 29, 2015
ISBN9781784395926
VMware vSphere Essentials

Related to VMware vSphere Essentials

Related ebooks

System Administration For You

View More

Related articles

Reviews for VMware vSphere Essentials

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    VMware vSphere Essentials - Kunal Kumar

    Table of Contents

    VMware vSphere Essentials

    Credits

    Foreword

    About the Authors

    About the Reviewers

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    Why subscribe?

    Free access for Packt account holders

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Conventions

    Reader feedback

    Customer support

    Downloading the color images of this book

    Errata

    Piracy

    Questions

    1. Introduction to VMware vSphere

    Need and use of VMware vSphere

    Differences between VMware vSphere and other hypervisors

    Understanding ESXi and modes of management

    History of ESXi

    Understanding ESXi

    Managing ESXi

    vSphere Client

    vSphere Web Client

    Virtual hardware versions

    vSphere editions and kits

    Different types of vSphere installations

    Fresh installation

    Auto Deploy

    Upgrading an ESXi host

    Introduction to virtual infrastructure – virtual machines, disks, CPUs, memory, switches, network, and storage

    Virtual machines

    CPU virtualization

    Memory virtualization

    Physical and virtual networking

    Physical and virtual storage

    Summary

    2. VMware vCenter Server

    Introduction to vCenter Server

    vCenter Server architecture

    Communication between vCenter Server and ESXi hosts

    Additional vCenter Server components

    Comparison of vCenter Server and vCenter Server Appliance

    Preparing and installing vCenter Server on Microsoft Windows

    Hardware, software, and network requirements

    Database preparation

    vCenter Server installation

    Importing, starting, and configuring the vCenter Server Appliance

    vCenter Server Appliance features

    vCenter Server Appliance benefits

    vCenter Server Appliance requirements

    Importing the vCenter Server Appliance

    Deploying vCSA 6.0

    Starting the vCenter Server Appliance 5.5

    Configuring the vCenter Server Appliance time zone

    Connecting to the web interface on vSphere 5.x

    Configuring and managing vCenter Server

    Managing vCenter Server Appliance services

    Single Sign-On

    Advantages of vCenter Single Sign-On

    Characteristics of vCenter Single Sign-On

    Managing inventory, hosts, VMs, and templates via vCenter

    Data center objects

    Organizing the inventory objects

    Navigating the vSphere Web Client

    Adding the host to vCenter Server

    vCenter Server licensing

    Backing up vCenter Server

    Summary

    3. Creating Virtual Machines

    Overview of virtual machines

    Virtual machine files

    Virtual hardware versions

    Creating a virtual machine

    Creating a new virtual machine using the wizard

    Importing an OVF file

    Thick and thin provisioning of virtual disks

    Installing a guest operating system

    Customizing the guest operating system

    VMware Tools

    Creating templates and clones

    Deploying a virtual machine from a template

    Cloning a virtual machine

    Summary

    4. Managing Virtual Network

    Virtual network

    An overview of virtual switches

    Basic network operations using vSphere

    Assigning an IP address to an ESXi host

    Creating vSwitches and virtual ports

    Understanding virtual switch and port types

    vNetwork Standard Switch

    vNetwork Distributed Virtual Switch

    Benefits of distributed over standard

    Virtual switch ports

    Design ideas

    Blade server-based approach

    Rack server-based approach

    Additional ideas for optimizing fault tolerance network designs

    Connecting a virtual machine to a port group

    An overview of VLANs

    Creating VLANs

    Network security policies

    Security policy

    Traffic shaping

    NIC teaming

    Load Balancing with vSphere

    Summary

    5. Network Virtualization with VMware NSX

    NSX components

    Deploying NSX Manager

    Steps for installing NSX Manager

    Data center access layer deployment

    Logical routing

    Distributed routing

    Centralized routing

    Logical switching

    Logical firewalls

    Network isolation

    Network segmentation

    Logical load balancing

    Summary

    6. Managing Virtual Storage

    Understanding virtual storage, datastores, and file systems

    Datastores

    VMFS datastores

    NFS datastores

    Managing and configuring datastores

    Creating a VMFS datastore using vSphere Web Client

    Creating an NFS datastore in vSphere Web Client

    Upgrading a VMFS datastore

    Increasing the VMFS datastore's capacity

    Increasing the VMFS datastore's size using vSphere Web Client

    Unmounting and mounting a VMFS datastore

    Removing a VMFS datastore

    vSphere Storage APIs for Data Protection (VADP)

    Data deduplication

    vSphere Data Protection Appliance

    Available editions

    Deploying and configuring VDP

    Data backup

    Data recovery

    Summary

    7. Working with VSAN

    An overview of Virtual SAN

    Requirements of VSAN

    Benefits of using VSAN

    VSAN sizing tool

    Installing and configuring VSAN

    Virtual SAN datastore properties

    Virtual machine requirements

    Virtual machine storage policies

    Enabling and creating virtual machine storage policies

    Assigning a virtual machine storage policy during provisioning

    Virtual machine compliance

    Failure resilience with VSAN

    Summary

    8. Managing Virtual Machines

    Deploying virtual machines across data centers

    Modifying the virtual machine settings

    Adding devices to a virtual machine

    Increasing the size of a virtual disk

    Inflating a thin provisioned disk

    Migrating virtual machines

    Using VMware vMotion

    Virtual machine requirements for vMotion

    Host requirements for vMotion

    VMware Enhanced vMotion Compatibility (EVC)

    EVC requirements

    Configuring EVC

    Migrating a virtual machine

    Using Storage vMotion

    Migrating a virtual machine using Storage vMotion

    Guidelines to use Storage vMotion

    Using Enhanced vMotion

    Host requirements for Enhanced vMotion

    Migrating a virtual machine using Enhanced vMotion

    Virtual machine snapshots

    The process of taking snapshots

    Managing snapshots

    Summary

    9. Resource Management and Performance Monitoring

    Virtual memory management

    Virtual machine memory over-commitment

    Virtual machine swap files

    Memory reclamation techniques

    Virtual CPU

    CPU load balancing

    Hyper-threading

    Understanding resource controls and resource pools

    Resource controls

    Resource pools

    Creating a resource pool

    Expandable reservation

    Implementing shares, limits, and reservations on resource pools

    Monitoring resource usage

    Alarms and notifications

    Summary

    10. Incorporating vSphere High Availability, Fault Tolerance, and DRS

    Understanding High Availability

    Configuring HA

    Fault Tolerance

    Functionality

    Requirements for FT

    Configuring FT

    Distributed Resource Scheduler (DRS)

    Configuring DRS

    DRS Cluster

    Managing and optimizing DRS Clusters

    Adding a host to the cluster

    Adding virtual machines to the cluster

    Managing power resources in a cluster

    Using HA and DRS together

    Storage DRS

    Summary

    11. Securing and Updating vSphere

    Configuring ESXi firewall

    Understanding security profile services and lockdown mode

    Lockdown mode

    Microsoft Active Directory integration with vSphere

    Using vCloud Networking and Security

    Access controls and configuring roles and permissions

    Getting started with vSphere Update Manager

    vSphere Update Manager requirements

    Installing vSphere Update Manager

    Configuring and using VMware vSphere Update Manager

    Maintenance mode

    Summary

    12. vSphere 6.0 Overview

    Introduction to vSphere 6.0

    Scale-up

    Scale-out

    vCenter Server features

    vCenter Server architecture

    Virtual desktop infrastructure

    NVIDIA GRID vGPU technology

    Instant Clone

    Long-distance vMotion

    Multi-CPU Fault Tolerance (SMP-FT)

    Content library

    vSphere Web Client

    Storage in vSphere 6.0

    Virtual Volumes

    vSAN All-Flash

    vSphere Data Protection

    VMware Integrated OpenStack (VIO)

    vCloud Air Disaster Recovery

    Summary

    Index

    VMware vSphere Essentials


    VMware vSphere Essentials

    Copyright © 2015 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: May 2015

    Production reference: 1260515

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78439-875-0

    www.packtpub.com

    Credits

    Authors

    Kunal Kumar

    Christian Stankowic

    Reviewers

    Jason Dion

    Jason Gaudreau

    Yohan Wadia

    Commissioning Editor

    Ashwin Nair

    Acquisition Editor

    Nikhil Karkal

    Content Development Editor

    Shweta Pant

    Technical Editor

    Utkarsha S. Kadam

    Copy Editors

    Jasmine Nadar

    Alpha Singh

    Project Coordinator

    Shipra Chawhan

    Proofreaders

    Stephen Copestake

    Safis Editing

    Indexer

    Tejal Daruwale Soni

    Graphics

    Abhinash Sahu

    Production Coordinator

    Melwyn Dsa

    Cover Work

    Melwyn Dsa

    Foreword

    There is no better time to learn about VMware vSphere than this moment, right now. The data center is the most important IT asset for any business. It's the place where the applications that run automate business processes and where mission-critical data is stored. A properly designed and well-operated data center will help a business to quickly adapt in a fluid market and serve their customers better and faster. On the other hand, a poorly designed and inefficient data center will burden the business with significant expenses and damage customer relationships (security breaches and outages). Well-rounded individuals who have the skills to bring efficiency to all the aspects of the data center (servers, storage, and network) will be the most valuable IT professionals today, and for years to come.

    VMware vSphere began as a leading industry server virtualization platform (with connections to legacy networks and storage environments) and introduced transformative efficiency in deploying servers in the data center. Today, with NSX and VSAN, VMware vSphere has extended its powerful virtualization technology beyond servers, bringing the same transformative efficiency to all the aspects of the data center, including networking and storage. As such, VMware vSphere has become an essential platform for the modern, well-rounded data center professional.

    I'm especially excited about the VMware NSX content presented in this book, a technology that is near and dear to my heart. VMware NSX, available in vSphere, will help you conquer the last frontier of the complex and inefficient data center: networking and security. NSX is like a network hypervisor that allows you to quickly create complete virtual networks with security and L2-L7 services—on top of any physical network—all with the same ease, speed, and efficiency as deploying a virtual machine.

    I hope you enjoy reading this book, and sharpen your skills on the most comprehensive and industry-leading data center virtualization platform, VMware vSphere.

    Brad Hedlund

    Engineering Architect, Network Virtualization

    VMware, Inc.

    About the Authors

    Kunal Kumar is an author, researcher, digital forensics expert, and a cyber crime investigator. He has a keen interest in virtualization, information security, cyber forensics, application development, and reverse engineering. Since 2008, he has been working on various projects that deal with invention and/or structuring of security models starting from small workshops to working with Corporations, NGOs and Government agencies. He has completed his MCA, which was preceded by an MS degree in Cyber law and security and is now looking at a PhD in cloud security. He has worked with many leading IT–as a Technical advisor for Dell, as a Cloud Operations Specialist for Orange Business Services, as a Technical specialist for HCL, and as a project manager in British Telecom (BT). He has acquired some international certifications namely Certified Ethical Hacker, Computer Hacking Forensics Investigator, VMware certified Professional, and CCNA, among others. He has trained more than 1,500 students on various technologies across the Indian subcontinent. He is also the founder and acting president of the non-profit cyber welfare organization Ethical Hackers League and is rigorously involved in various social welfare causes.

    Currently, he heads and runs SomethingCool (http://somethingcool.in), where along with his team, he works on new products with just innovation as the key element. He can be reached at http://kunalkumar.in

    I wish to thank my parents and my grandmother for their blessings that have abled me to reach this position. I also wish to thank my brother, Karan, for his endless support and motivation during the course of this project and otherwise. I owe a big thanks to my friends, especially Viren, Yachin, Ankur, Ankush, Ekta, Pooja, Nitin, Karan, Uday, Ayushi, Himani, Sanjana, Tasmin, and Hanna.

    This book could not have been possible without the constant help, support, and extraordinary patience of the content development editor, Shweta Pant. Shweta, you have been a wonderful editor and an even better friend. Thank you.

    Christian Stankowic has been working as a certified IT engineer for 5 years. His interest in Linux and virtualization technology started in 2006 when he gained his first experiences with openSUSE, Debian, Ubuntu, CRUX Linux, and VMware Server. Since his apprenticeship as an IT specialist for system integration, Red Hat Enterprise Linux, CentOS, Red Hat Satellite/Spacewalk, Nagios/Icinga and SUSE Linux Enterprise Server became his key qualifications. Recent VMware technologies, such as vSphere and the vCenter family, are part of his daily work as virtual infrastructure's responsible. In his free time, he works on his personal IT blog and develops web applications using recent techniques such as jQuery and PHP.

    You can check out his personal blog about various IT topics at http://www.stankowic-development.net.

    About the Reviewers

    Jason Dion is a staff systems engineer at VMware. He joined VMware in 2008 and has supported enterprise accounts in Florida for most of his career that has spanned for over 20 years.

    Prior to joining VMware, he was a systems engineer at Citrix, NEC, and Wyse.

    He is a vExpert who holds numerous industry certifications from VMware, Citrix, Microsoft, Cisco, Compaq, and CompTIA.

    You can read his blog at http://www.flcloudlabs.com or follow him on Twitter at @virtualdion or on LinkedIn at http://www.linkedin.com/pub/jason-dion/2/2b5/621.

    Jason Gaudreau has over 24 years of industry experience and is currently a senior technical account manager at VMware, a leading information technology provider of enterprise application solutions. His focus is on virtualization solutions and aligning infrastructure technologies to meet strategic business objectives. He has been concentrating on data center virtualization, desktop virtualization, and building internal private clouds in a variety of technical roles over the past 10 years.

    Jason has been an active blogger on virtualization since 2012 at http://www.jasongaudreau.com and can be found on Twitter at @JAGaudreau. He is honored to have been designated as a vExpert by VMware in 2013-2015 and an EMC Elect in 2014.

    Before VMware, Jason was an IT architect for AdvizeX Technologies and in IT leadership at Unum Group, where he helped to develop the organization's IT strategy.

    When not talking shop, he enjoys spending time with his wife, Christine, and two kids, Dylan and Tyler.

    Yohan Wadia is a client-focused Virtualization and Cloud expert who has 5 years of experience in the IT industry.

    He has been involved in conceptualizing, designing, and implementing large-scale solutions that are based on VMware vCloud, Amazon Web Services, and Eucalyptus Private Cloud for a variety of enterprise customers.

    His community-focused involvement also enables him to share his passion for Virtualization and Cloud technologies with peers through social media engagements, public speaking at industry events, and his personal blog at www.yoyoclouds.com

    He is currently working as a Cloud Solutions Engineer with Virtela Technology Services, an NTT Communications Company. He is involved with managing the company's in-house Cloud platform and works on various open source and enterprise-level cloud solutions for internal as well as external customers. He is also a VMware Certified Professional and a vExpert (2012-2013).

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    For support files and downloads related to your book, please visit www.PacktPub.com.

    Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.

    At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

    https://www2.packtpub.com/books/subscription/packtlib

    Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

    Why subscribe?

    Fully searchable across every book published by Packt

    Copy and paste, print, and bookmark content

    On demand and accessible via a web browser

    Free access for Packt account holders

    If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

    Preface

    If you ask me what has been the biggest innovation in the last 10 years in IT, I'd answer—virtualization. In comparison with legacy infrastructure designs, this has enabled IT administrators to serve applications and workloads more cost-effectively. Fulfilling flexible IT requirements was never this easy before.

    VMware acts as a global player in this market; they have introduced numerous innovations in the last few years and given virtualization an enormous push. VMware dominates the server as well as the desktop virtualization market. As a result, most of the major data centers are using rock-solid VMware products to suit their customers' infrastructure needs.

    This book is an introduction for those who are looking forward to benefit from the proven vSphere infrastructure. You will learn how vSphere products can assist you to implement a dynamic and scalable virtual infrastructure while reducing your infrastructure costs.

    So, are you ready for the takeoff?

    What this book covers

    Chapter 1, Introduction to VMware vSphere, introduces the book by covering all the essential basics including the vSphere architecture and how it differs from its competitor's products. You will also get to know about all the major components of virtual infrastructures, such as virtual machines, CPUs, memory, networks, and storage.

    Chapter 2, VMware vCenter Server, will introduce the vCenter Server product family and the benefits of using them. You will learn how to

    Enjoying the preview?
    Page 1 of 1