Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying VMware vSphere 5.1 Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
VMware vSphere 5.1 Cookbook

VMware vSphere 5.1 Cookbook

By : Abhilash G B
5 (3)
close
close
VMware vSphere 5.1 Cookbook

VMware vSphere 5.1 Cookbook

5 (3)
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)
close
close
VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Running CLI command on target servers


In this recipe we will learn how to issue commands on the added target servers.

How to do it…

The following procedures explain how to set a target server to direct commands to it. We will discuss all three methods.

Method 1 – Issue commands on the default target

  1. Set the intended server as the default target for all commands.

    Command:

    vifptarget –s <servername>
    

    Example:

    vifptarget –s esx01.vdescribed.com
    vifptarget –s vcenter5x.vdescribed.com
    
  2. Similar to the CLI commands you would run at an ESXi host's console.

    Example:

    esxcli network nic list
    

Method 2 – Issue commands by specifying a target server

  1. Issue the command specifying the server name.

    Example:

    esxcli –server esx01.vdescribed.com iscsi adapter list
    vifptarget -s esx01.vdescribed.com
    
  2. Supply the username and password when prompted.

Method 3 – Issuing commands against a vCenter Server added as the target

  1. Issue the command specifying the vCenter Server and ESXi server:

    Command:

    esxcli --server <VC_server...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY