Book Image

VMware vSphere 5.1 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.1 Cookbook

By: Abhilash G B

Overview of this book

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.
Table of Contents (20 chapters)
VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Deleting a vSphere Standard Switch


When you choose to delete a vSwitch in a production environment, make sure that the virtual machines have been reconfigured to use a port group on another vSwitch, which would provide them with network access.

How to do it...

A vSwitch can be deleted either from the vSphere Web Client GUI or by using the esxcfg-vswitch command.

Using the vSphere Web Client

The following procedure explains how to delete a vSwitch by using the vSphere Web Client:

  1. Select the ESXi host from the inventory and navigate to Manage | Networking | Virtual switches.

  2. Select the vSwitch to be deleted, and click on the delete (X) icon to remove the vSwitch from the ESXi host:

  3. Click on Yes to confirm the removal:

  4. You should see the Update network configuration and Remove virtual switch tasks completed successfully in the Recent Tasks pane:

Using esxcfg-vswitch

The following procedure guides you through the commands required to delete a vSwitch:

  1. SSH to the ESXi host as root, or use a direct console...