VDRUMZ

Recently I did a vCenter upgrade 7.0 to 8.0 for a customer, standalone vCenter with ELM, and was a good learning curve

Part 1 will brief about the Pre-requisites and how to verify

Pre-Requisite

  1. Compatibility Matrix – validate the version compatibility for the components
  2. Use VCF Daignostic tool for vSphere (VDT) – check for any alerts

Validate the Output –>scroll to verify if there are any “FAILED” alerts from the pretty long output. still can be exported and verify the same

Note: If there are any STS errors in the VDT output the follow this url and run the script “fix_sts_attrs”

url–> https://knowledge.broadcom.com/external/article?legacyId=91965

To fix it run it on one vcenter,as it is on ELM it will be fixed on all vcenter

3. Pre-check for any weak/expired certificates

In parallel, run this command to see the expiry date for the certificates on the vCenter Appliance:

for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done;

Validate the Output –>all the certificate dates are to be in future dates

4. verify the dvSwitch version it should be 7.0 and above if not need to upgrade the same

5. check replication status — ssh to vcenter and run the cmd and provide password when prompted

Handy Information to have before Upgrade

  1. RDP/VDI access to customer environment
  2. IP address of the vcenter eg. 192.168.1.10/24 GW 192.168.1.1 Port group -MGMT
  3. IP address (temp) e.g. 192.168.1.100 and VM name (temp) e.g. vcenter-new
  4. Make sure the above IP address is whitelisted and ports are open
  5. License 8.0 details
  6. vCenter 8.0 iso file

Before Start of the Upgrade

customer side checks

Tasks to perform

  1. Take backup of all vCenter
  2. Power off all the vCenter VM’s
  3. Take cold snapshot of VM’s
  4. Power on all the vCenter VM’s

follow the url for upgrade procedure –>

https://knowledge.broadcom.com/external/article/372863/quick-guide-to-upgrade-from-vcenter-serv.html

Troubleshoot and log collection

follow the below url and collect the logs

  1. https://knowledge.broadcom.com/external/article/320837/using-the-lsdoctor-tool.htm#lscheck
  2. https://knowledge.broadcom.com/external/article?legacyId=1011641
  3. https://knowledge.broadcom.com/external/article/313058/capturing-vcenter-server-service-resourc.html
  4. https://knowledge.broadcom.com/external/article/326305/how-to-export-vmdir-information-from-vce.html

Thanks for Reading!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *