O'Reilly logo

VMware vSphere Troubleshooting by Muhammad Zeeshan Munir

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required