Skip to main content
ONTAP tools for VMware vSphere 10.2

Upgrade from ONTAP tools for VMware vSphere 10.x to 10.2

Contributors netapp-jani

Upgrade is supported for both HA and non-HA deployments.

Note To upgrade from ONTAP tools for VMware vSphere 10.0 to 10.2 release, you need to first upgrade to ONTAP tools for VMware vSphere 10.1 and then to 10.2 release.

Before you begin

If you're upgrading from ONTAP tools for VMware vSphere 10.0 to 10.1, you need to complete the following steps before proceeding with the upgrade task:

Enable Diagnostics

  1. From vCenter Server, open a console to ONTAP tools.

  2. Log in as the maintenance user.

  3. Enter 4 to select Support and Diagnostics.

  4. Enter 2 to select Enable remote diagnostic access.

  5. Enter y to set the password of your choice.

  6. Login to VM IP address from the terminal/putty with user as 'diag' and password that was set in the previous step.

Take Backup of MongoDB

Run the following commands to take a backup of mongoDB:

  • kn exec -it ntv-mongodb-0 sh - kn is an alias of kubectl -n ntv-system.

  • env | grep MONGODB_ROOT_PASSWORD - run this command inside the pod.

  • 'exit' - run this to come out of the pod.

  • kn exec ntv-mongodb-0 --mongodump -u root -p MONGODB_ROOT_PASSWORD --archive=/tmp/mongodb-backup.gz --gzip - run this command to replace MONGO_ROOT_PASSWORD set from above command.

  • kn cp ntv-mongodb-0:/tmp/mongodb-backup.gz ./mongodb-backup.gz - run this command to copy the mongodb backup created using above command from pod to host.

Take the snapshot of all the volumes

  • Run 'kn get pvc' command and save the output of the command.

  • Take snapshots of all the volumes one by one using one of the following methods:

    • From CLI, run the command volume snapshot create -vserver <vserver_name> -volume <volume_name> -snapshot <snapshot_name>

    • From ONTAP system manager user interface search the volume by its name in the search bar then open that volume by clicking on the name. Go to snapshot and add the snapshot of that volume.

Take the snapshot of ONTAP tools for VMware vSphere VMs in vCenter (3VMs in case of HA Deployment, 1 VM in case of non-HA deployment)

  • In the vSphere client user interface, select the VM.

  • Go to the snapshots tab and click the Take Snapshot button.

From the log bundle, delete the completed pods with prefix “generate-support-bundle-job” before performing the upgrade. If support bundle generation is in progress, wait for it to complete and then delete the pod.

Steps

  1. Upload ONTAP tools for VMware vSphere upgrade ISO to content library.

  2. In the primary VM page, select Actions > Edit Settings

  3. In the edit settings window under CD/DVD drive field, select content library ISO file.

  4. Select the ISO file and click OK. Choose the connected checkbox across the CD/DVD drive field. Edit settings

  5. From vCenter Server, open a console to ONTAP tools.

  6. Log in as the maintenance user.

  7. Enter 3 to select the System Configuration menu.

  8. Enter 7 to select the upgrade option.

  9. When you upgrade, the following actions are performed automatically:

    1. Certificate upgrade

    2. Remote plug-in upgrade