lunes, 31 de octubre de 2016

Recover Administrator@vsphere.local



Lost password administrator@vsphere.local?


In ocassions is common lost the password of the user administrator@vsphere.local; so We can reset this password.  In my case I'm going to use vCenter Server with based Windows Server Installation.

Complete these steps before:

1.  Connect to vCenter Server with Administrator local user.
2.  Open CMD with Privileges
3.  Execute this command.  E:\Program files\VMware\vCenter Server\vmdird>vdcadmintool.exe

After choose the third option, fill the user in this case administrator@vsphere.local and then you've got the password.  Here the proccess:



Thanks for visiting my Blog!!!

Share and be sociable!!





domingo, 30 de octubre de 2016

Lock .vmdk or .vmx



How to know what host is locking the VM?


Sometimes in VMware vSphere after a HA event some vms has an startup failed; occasionally is the vCenter Virtual Machine.  So if you have access to the datastore files you can know how to find that host  has some process that don´t let you start the virtual machine, here the answer:

So, we first to find the datastore, just put this command in your ssh client connected to the esxi host :

1.  With this command you can find and identify the datastore connected to the esxi host.

      df -h 

2.  Use this command for find the host that has locked the virtual machine.

vmfsfilelockinginfo -p /vmfgs/volumes/yourdatastore/yourlostvm/yourlostvm.vmx or yourlostvm.vmdk  -v ipofvcenterserveraddress  -u administrator@vsphere.local

In this image you can see the process.




3.  After that you need to connect to the host en look for the vm process.

     esxcli vm process list

     Take note of the Worl ID number.

4.  In this step you need to user the world id number
     
      esxcli vm process kill -t soft -w yourworlidnumber

      This the KB about the 3 and 4 steps: https://kb.vmware.com/selfservice/microsites/search.do?         language=en_US&cmd=displayKC&externalId=1014165 


Thanks for visiting my Blog!!!

Share and be sociable!!!

Installing Kubernetes on RHEL 9

  Hello Guys, In this post I will show you how to install a Kubernetes cluster on RHEL8. Let's Start: Disablle Swapp: sudo swapoff -a Co...