Book Image

VMware vSphere Troubleshooting

Book Image

VMware vSphere Troubleshooting

Overview of this book

VMware vSphere is the leading server virtualization platform with consistent management for virtual data centers. It enhances troubleshooting skills to diagnose and resolve day to day problems in your VMware vSphere infrastructure environment. This book will provide you practical hands-on knowledge of using different performance monitoring and troubleshooting tools to manage and troubleshoot the vSphere infrastructure. It begins by introducing systematic approach for troubleshooting different problems and show casing the troubleshooting techniques. You will be able to use the troubleshooting tools to monitor performance, and troubleshoot issues related to Hosts and Virtual Machines. Moving on, you will troubleshoot High Availability, storage I/O control problems, virtual LANS, and iSCSI, NFS, VMFS issues. By the end of this book, you will be able to analyze and solve advanced issues related to vShpere environment such as vcenter certificates, database problems, and different failed state errors.
Table of Contents (16 chapters)
VMware vSphere Troubleshooting
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Installing VMware vRealize Operations Manager
Power CLI - A Basic Reference
Index

Detaching datastores with vMA


Once you have a decommissioned datastore, it could be a little hectic to detach it from all the hosts manually. What if you have fifty vSphere hosts and you need to detach it one by one from all the hosts. You can use the VMware Management Assistant (vMA) to automate detachment. Now we will use it to delete a datastore. If you need help or further explanation about vSphere vMA appliance, please refer to Chapter 1, The Methodology of Problem Solving.

  1. Log in to the vSphere vMA appliance through SSH as a vi-admin user.

  2. Add a server as a vMA target by running the following command:

    vi-admin@vma:~> vifp addserver crimv3esx003.linxsol.com --authpolicy fpauth --username root
    
  3. Now, set it as the target server to execute storage operations:

    vi-admin@vma:~> vifptarget --set crimv3esx003.linxsol.com
    
  4. Next, use the vicfg-nas command to list all available datastores to the host:

    vi-admin@vma:~[crimv3esx003.linxsol.com]>  vicfg-nas –l
    
  5. Select the name of the datastore...