Start by issuing the SSL certificate along the private key file. In this example I will cover the CA store basen on the Linux host. Connect to your CA store and generate the config file using vim.
Since there is no option to reset the root password with VCSA running, we need to restart the VCSA in single-user mode. To do that, restart the VCSA, and when the PhotonOS logo is displayed, press e on your keyboard to edit the boot loader. Locate the line starting with linux, and at the end of the line add the following:
If you have just upgraded VMware VCSA to v7.0.1, but cannot log in, even though the root password is correct, you have probably locked the root user out. You can of course wait or you can proceed with the unlock procedure.
After upgrading all of your ESXi hosts to v7.0, it is time to either upgrade or deploy a new witness appliance and introduce it to the cluster. Upgrading witness appliance is done the same way as every other ESXi host, but since that procedure can initiate a known bug where witness appliance loses embedded witness appliance license and switches to evaluation license, you might end up deploying a new appliance anyway. Continue reading “How to deploy a VMware vSAN Witness Appliance 7.0.x”
To export a virtual machine from the VCSA you can use either VCSA client (HTML5 or Flex). Since neither of these methods is reliable enough, you can export it using PowerCLI and PowerShell interface on your PC or MAC. In this example I will use a virtual machine named v-srv01. Please note that export VM function is available only in commercial versions of ESXi server and any version of VCSA. Continue reading “How to export VMware virtual machine from ESXi or VCSA using PowerCLI”
To reset the root password on the VCSA 6.x we need to boot the system into single user mode. Since v6, VMware requires users to enter the root password to modify the GRUB boot menu options. Here you can find instructions on how to remove GRUB password. Continue reading “How to reset the root password on VCSA 6.x”
This article provides step-by-step instruction on how to break GRUB password on VMwre VCSA 6.x. Attach live Linux distro to the VCSA VM and boot the VM on the live Linux image. For the purpose of the manual, I use Knoppix v7.0.5. Continue reading “How to break GRUB password on VCSA 6.x”
In the VCSA Web Client, there is a function called Erase partitions under Storage Devices, that allows you to erase and remove all partitions on the local hard disk(s). However, sometimes when you try to erase partitions, you are presented with the error “Cannot change the host configuration“, and the partitions are not removed. One of the options was to boot up the server using gParted utility and erase partitions. However, this can be done using partedUtil utility on the ESXi host. Continue reading “How to cleanup disk previously used by vSAN 6.x”
When you try to join Platform Service Controller from vSphere Web Client, the operation fails. This is known error in v6.x. To go around this error join the PSC to AD from the command line. Continue reading “Joining Platform Service Controller to Microsoft Active Directory fails in vSphere Web Client”
In case you need to repoint your vCenter server to another Platform Service Controller, there are several possible scenarios. Repointing to the PSC within the same site, repointing to the PSC in another site and reconfiguring vCenter w/embedded PSC to vCenter with external PSC. Continue reading “How to repoint vCenter server to another Platform Service Controller”