Skip to main content

Posts

Showing posts from February, 2024

Deploy vCenter using single click using command

  Please see the below steps to install vCenter server in one click without manual intervention using onetime created of config file.    1.Mount the vCenter ISO image to any windows machine. 2.Copy the config json file from the location "E:\vcsa-cli-installer\templates\install\embedded_vCSA_on_ESXi.json" ,edit and save locally. 3.run the below command from the Path:     E:\vcsa-cli-installer\win32 >vcsa-deploy.exe install --accept-eula --acknowledge-ceip --no-ssl-certificate-verification --log-dir=G:\LogsVCSA G:\embedded_vCSA_on_ESXi.json   Wait for 30-40mins and the vCenter installation will be completed without any intervention. You can see the logs in case of any failure from log-dir. Note:use fqdn for vCenter Names. Example of json file:

Reset forgot vCenter server root password when management password known

  Problem: Forgot the root password of your vCenter root password. Solution: If you know the administrator password, Login to vCenter server through ssh and provide            user:administrator@vsphere.local             password: Enable shell prompt : shell.set --enabled true Now reset password with sudo : "sudo passwd root"

How to Update/Upgrade vCenter server patch versions

  For upgrading from major versions (7.x) to major versions(8.x) we can download vCenter full image and use run installer and then upgrade option. But in case of upgrade from same versions to next level patch : 1.Download the latest patch FP bundle(VMware-vCenter-Server-Appliance-7.0.3.01800-22837322-patch-FP.iso) from VMware website:  Product Patches - VMware Customer Connect  https://my.vmware.com/group/vmware/home 2.Once download ,copy the ISO to the esxi datastores. 3.Go to the vCenter VM and edit attach this iso to CD/DVD and connect 4.Now login to vCenter using 5480 port with root. 5.Go to Updates and check for updates. 6.Now select Stage and Install. 7.You are done with install and reboot. Or you can follow the below steps once you attach the DVD. Attach the  VMware-vCenter-Server-Appliance-7.0.3.01600-21958406-patch-FP.iso  file to the vCenter Server CD or DVD drive. Log in to the appliance shell as a user with super administrative privileges (for exampl...