NSX-T upgrade through SDDC manager takes a long time during prechecks
search cancel

NSX-T upgrade through SDDC manager takes a long time during prechecks

book

Article ID: 393784

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

SDDC manager is performing NSX-T prechecks two times during the NSX-T upgrade workflow. 

Environment

VMware Cloud Foundation 5.2.x

Cause

SDDC Manager runs the NSX-T prechecks once during the Configure Upgrade workflow if NSX-T Upgrade Coordinator is already upgraded.
SDDC Manager then runs the NSX-T prechecks again in the update phase when the Schedule Update is initiated. 

Resolution

Workaround to skip the second NSX-T precheck that is initiated during the Update phase. 

  1. SSH session to the SDDC Manager with vcf and switch to the root user: su

  2. Open application-prod.properties for editing:

    vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties


  3. Add the following property to the bottom of the file and save the file.

    lcm.nsxt.suppress.prechecks=true


  4. Restart the LCM service and operationsmanager service. 

    systemctl restart lcm


    systemctl restart operationsmanager
  5. Verify the LCM service is up:

    curl localhost/lcm/about | json_pp

Workaround to skip NSX-T Upgrade Coordintaor prechecks, if Upgrade Coordinator has already been upgraded. 

  1. SSH session to the SDDC Manager with vcf and switch to the root user: su

  2. Open application-prod.properties for editing:

    vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties


  3. Change lcm.nsxt.upgrade.coordinator.checks.enabled to false.

    lcm.nsxt.upgrade.coordinator.checks.enabled=false


  4. Restart the LCM service and operationsmanager service. 

    systemctl restart lcm


    systemctl restart operationsmanager

  5. Verify the LCM service is up:

    curl localhost/lcm/about | json_pp

Precheck execution can be avoided completely by skipping both configure and upgrade time prechecks by applying the above workarounds.

Additional Information