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
Arrow up icon
GO TO TOP
VMware vSphere Troubleshooting

You're reading from   VMware vSphere Troubleshooting Gain expertise in troubleshooting most common issues to implement vSphere environments with ease

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781783551767
Length 270 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. The Methodology of Problem Solving 2. Monitoring and Troubleshooting Host and VM Performance FREE CHAPTER 3. Troubleshooting Clusters 4. Monitoring and Troubleshooting Networking 5. Monitoring and Troubleshooting Storage 6. Advanced Troubleshooting of vCenter Server and vSphere Hosts A. Learning PowerGUI Basics B. Installing VMware vRealize Operations Manager C. 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image