Monday, February 14, 2022

Install VMtools without reboot

Today we are going to upgrade VMtools for virtual machine without reboot.

at the beginning we will do it for one machine and after that we will make a simple loop to upgrade VMtools of bulk of virtual machines


PS C:\> Get-VM VMname


Name                     PowerState     Num CPUs  MemoryGB

----                             ----------      --------           --------

VMname                  PoweredOn   2                   4.000



PS C:\> Get-VM VMname   |  Update-Tools -NoReboot








and now we will do upgrade for VMtools for bulk of VMs


PS C:\> Get-Folder FolderName | Get-VM | Update-Tools -NoReboot

Upgrade Terraform Provider


I am trying now to upgrade the Terraform provider which I am using for my NSX-T

First you have to put the new provider version in your main.tf file 


terraform {

  required_providers {

    nsxt = {

    source  = "vmware/nsxt"

      version = "3.2.5"

    }

  }

}


Second is to execute the below command

 .\terraform init -upgrade


once you execute the above command you will find output like the below output. That means that you upgraded your Terraform provider successfully







 

NSX-T (local log in) with VIDM integration

We will explain how to log in with a local account to your NSX-T which integrated with VIDM. We integrated our NSX-T into the VIDM. We had a...