<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>haripetrov Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>haripetrov Tracker</description>
    <pubDate>Wed, 15 Nov 2023 14:44:00 GMT</pubDate>
    <dc:date>2023-11-15T14:44:00Z</dc:date>
    <item>
      <title>VMware vCenter 6.0 Migrate from Windows to Linux (VCSA 6.7) and to embedded PSC</title>
      <link>https://communities.vmware.com/t5/VMware-vCenter-Documents/VMware-vCenter-6-0-Migrate-from-Windows-to-Linux-VCSA-6-7-and-to/ta-p/2786468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the procedure how to upgrade/migrate your Windows vCenter server 6.0U3 to Linux (VCSA) appliance 6.7U1. The setup in question has one External Platform Service Controller (PSC) with two vCenters connected to it.&lt;/P&gt;&lt;P&gt;Short overview:&lt;BR /&gt;1. Upgrade and Migrate the External PSC 6.0U3 to VMware linux appliance 6.7U1&lt;/P&gt;&lt;P&gt;2. Upgrade and Migrate the Windows vCenter server 6.0U3 to a VCSA 6.7U1&lt;BR /&gt;3. Migrate the External VMware PSC appliance 6.7U1 to embedded one in each VCSA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;General prerequisites&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0. Prerequisites (Create snapshot of the vCenter server, PSC server, vCloud Director cells and the Oracle DB):&lt;/P&gt;&lt;P&gt;0.0. Check the compatibility with the following products: ChargeBack Manager, NSX, Usage Meter, vCloud Director, vRealize Orchestrator, Operations Manager;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I. (PSC upgrade and migration to 6.7U1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Prerequisites:&lt;/P&gt;&lt;P&gt;0.1. Check if the network adapter have default gateway (not persistent route); if not - add it;&lt;/P&gt;&lt;P&gt;0.2. Check if port 9123 is open between the vCenter server and the other server;&lt;/P&gt;&lt;P&gt;0.3. Ensure that there is more than 12 GB of free space on the vCenter server (where it's installed; typically in C drive);&lt;/P&gt;&lt;P&gt;0.4. Login locally to the host on which the vCenter server VM resides (esx01 and esx02);&lt;/P&gt;&lt;P&gt;0.5. Ensure DNS resolution is working on the PSCs and VCs (e.g. nslookup yourvcenter01)&lt;/P&gt;&lt;P&gt;0.6. Check the SSL certificate configuration (if needed change/renew the certificate with the FQDN):&lt;/P&gt;&lt;P&gt;0.6.1. Two ways:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0.6.1.1. Using VECS-CLI (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/2111411" rel="nofollow"&gt;https://kb.vmware.com/s/article/2111411&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"%VMWARE_CIS_HOME%"\vmafdd\vecs-cli entry getcert --store MACHINE_SSL_CERT --alias __MACHINE_CERT --output c:\certificates\machine_ssl.crt&lt;/P&gt;&lt;P&gt;0.6.1.2. Open a browser to "yourpsc.local" and open the certificate &amp;gt; Details tab &amp;gt; Copy to File... &amp;gt; save to desired location&lt;/P&gt;&lt;P&gt;0.6.1. Identify which ESXi hosts are running all of the PSC(s) and vCenter Server(s) in the SSO domain, and verify we can log into all of these ESXi hosts directly with the vSphere Client and root&lt;/P&gt;&lt;P&gt;0.7.2. Shutdown all PSCs and vCenter Servers in the SSO domain&lt;/P&gt;&lt;P&gt;0.7.3. Create backups &amp;amp; snapshots of these servers&lt;/P&gt;&lt;P&gt;0.7.4. Power on all PSC(s) &amp;amp; vCenter Server(s) in the SSO domain&lt;/P&gt;&lt;P&gt;0.7.5. Verify all services are working as expected&lt;/P&gt;&lt;P&gt;0.7.6. Use the certificate-manager utility on the PSC(s) and replace the Machine SSL certificate with a certificate signed by the VMCA, where the FQDN is in the Subject Alternative Name (SAN); D:\Program Files\VMware\vCenter Server\vmcad &amp;gt; certificate-manager &amp;gt; option 3 for self-signed certificates &amp;gt; username &amp;gt; password &amp;gt; Country (leave default) &amp;gt; Enter &amp;gt; leave default &amp;gt; leave default &amp;gt; leave default &amp;gt; leave default &amp;gt; leave default &amp;gt; Enter &amp;gt; leave default &amp;gt; FQDN (e.g. yourpsc.local) &amp;gt; Short name (e.g. yourpsc) &amp;gt; Y&lt;/P&gt;&lt;P&gt;Enter proper value for 'Country' [Default value : US] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'Name' [Default value : CA] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'Organization' [Default value : VMware] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'OrgUnit' [Default value : VMware] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'State' [Default value : California] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'Locality' [Default value : Palo Alto] : leave default&lt;/P&gt;&lt;P&gt;Enter proper value for 'IPAddress' (Provide comma separated values for multiple IP addresses) [optional] : leave default&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enter proper value for 'Email' [Default value : &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:email@acme.com"&gt;email@acme.com&lt;/A&gt;&lt;SPAN&gt;] : leave default&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Enter proper value for 'Hostname' (Provide comma separated values for multiple Hostname entries) [Enter valid Fully Qualified Doma&lt;/P&gt;&lt;P&gt;in Name(FQDN), For Example : example.domain.com] :&amp;nbsp; yourpsc.local&lt;/P&gt;&lt;P&gt;Enter proper value for VMCA 'Name' : yourpsc&lt;/P&gt;&lt;P&gt;You are going to regenerate Machine SSL cert using VMCA&lt;/P&gt;&lt;P&gt;Continue operation : Option[Y/N] ? : Y&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/2097936" rel="nofollow"&gt;https://kb.vmware.com/s/article/2097936&lt;/A&gt;&lt;/P&gt;&lt;P&gt;0.7.7. Perform restart operation on the vCenter Server/s by using 'service-control --stop --all' and 'service-control --start --all'&lt;/P&gt;&lt;P&gt;0.7.8. Verify all services are working as expected&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0.7.9. Repoint the NSX Managers (MGMT and RES; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://nsxmanager01/" rel="nofollow"&gt;https://nsxmanager01&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://nsxmanager02/" rel="nofollow"&gt;https://nsxmanager02&lt;/A&gt;&lt;SPAN&gt;) to the PSC with the new certificate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0.7.10. Confirm the connection in Usage Meter (Edit vCenter &amp;gt; unselect and then select PSC); accept all new thumbprints;&lt;/P&gt;&lt;P&gt;0.8. Check the exclusion list of the NSX manager and see if all VMware infrastructure VMs are in the list (PSC, VCM, VCR, etc.)&lt;/P&gt;&lt;P&gt;0.9. Disconnect all other users before the migration and stop all unnessary services (e.g. browsers, vSphere Clients, etc.)&lt;/P&gt;&lt;P&gt;0.10. Add the domain user to the Enterprise Admin group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Actual Upgrade:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0. Stop the PSC and vCenter servers and create snapshot of the VMs (psc01, vcenterresource01, vcentermanagement01) and backup of the Oracle DBs&lt;/P&gt;&lt;P&gt;1. Mount the VCSA 6.7U1 ISO file on the vCenter server (During the next steps simultaniously steps 7-15 can be executed)&lt;/P&gt;&lt;P&gt;2. Go to "migration-assistant" &amp;gt; VMware-Migration-Assistant.exe&lt;/P&gt;&lt;P&gt;3. Enter the SSO credentials in the new window&lt;/P&gt;&lt;P&gt;4. Enter the credentials for service account&lt;/P&gt;&lt;P&gt;5. Enter the IP network which will be primary for the vCenter server&lt;/P&gt;&lt;P&gt;6. After the prechecks the wizard will stop on "Waiting for migration to start…"&lt;/P&gt;&lt;P&gt;7. Mount the VCSA 6.7U1 ISO file on another Windows machine (not the vCenter server) utilityserver01 &amp;gt; go to "vcsa-ui-installer" &amp;gt; win32 &amp;gt; installer.exe &amp;gt; Migrate&lt;/P&gt;&lt;P&gt;8. Always specify the IP not the FQDN for the vCenter server&lt;/P&gt;&lt;P&gt;9. In Stage 1 the new appliance will be deployed:&lt;/P&gt;&lt;P&gt;10. Specify in the wizard all necessary information about the source vCenter server;&lt;/P&gt;&lt;P&gt;11. Specify IP of the destination host on which the new VM will be deployed;&lt;/P&gt;&lt;P&gt;12. Specify the size of the setup (Tiny, Large, etc.);&lt;/P&gt;&lt;P&gt;13. Select the datastore on which the appliance will be deployed;&lt;/P&gt;&lt;P&gt;14. Select the appropriate network port group;&lt;/P&gt;&lt;P&gt;15. Enter the information about the new server appliance (name: psca01, network (temporary): PROD: 10.10.10.10, 255.255.252.0, Gateway: 10.10.10.254; DNS servers: 10.10.10.20,10.10.10.21; etc.);&lt;/P&gt;&lt;P&gt;16. Add the new VM (Linux appliance) to the exclusion list inside the Management NSX (NSX &amp;gt; Firewall Settings &amp;gt; Exclusion List &amp;gt; Add &amp;gt; Select the new object &amp;gt; arrow &amp;gt; OK)&lt;/P&gt;&lt;P&gt;17. Stage II - Copy the data and finish the process by automatically shut down the source vCenter server:&lt;/P&gt;&lt;P&gt;18. Enter service account credentials for Ad;&lt;/P&gt;&lt;P&gt;19. Select Configuration and historical data (Events);&lt;/P&gt;&lt;P&gt;20. Deselect "Join the VMware's Customer Experience Imprevement Program";&lt;/P&gt;&lt;P&gt;21. Select "I have backed up the source vCenter server and all the required data from the database";&lt;/P&gt;&lt;P&gt;22. Click "Finish" &amp;gt; OK (after the migration the source (Windows vCenter server) will shut down);&lt;/P&gt;&lt;P&gt;23. Check the status of the new PSC Appliance server.&lt;/P&gt;&lt;P&gt;24. Re-register the PSC and the vCenter server in Usage Meter, vCloud Director, vRO, NSX Manager (Using web Interface)&lt;/P&gt;&lt;P&gt;25. Rename the old vCenter server VM and disconnect the network adapters&lt;/P&gt;&lt;P&gt;26. Rename the new Linux Appliance to the original VM's name&lt;/P&gt;&lt;P&gt;27. Billing team to check the integration of ChargeBack&lt;/P&gt;&lt;P&gt;28. Setup the FTP backup through the VAMI interface&lt;/P&gt;&lt;P&gt;29. Check if all services are working: (vCenter server (if you can login using the Web Console with domain credentials), ChargeBack Manager, NSX (check the status in the Web console of NSX manager and also in vCenter server), Usage Meter (re-establish the connection with PSC and vCenter servers), vCloud Director (refresh the connection with the vCenter server), vRealize Orchestrator, Operations Manager)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;II. (vCenter Upgrade and migration to VCSA 6.7U1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Prerequisites:&lt;/P&gt;&lt;P&gt;0.1. Check if in "Local Security Policy" &amp;gt; Local Policies &amp;gt; User Rights Assignment &amp;gt; Replace a process level (token) Assignment &amp;gt; Add User or Group (add the service account);&lt;/P&gt;&lt;P&gt;0.2. Check if the network adapter have default gateway (not persistent route); if not - add it;&lt;/P&gt;&lt;P&gt;0.3. Check if the OOB address of the utility server has DNS record in SDI; if not: submit request to SDI;&lt;/P&gt;&lt;P&gt;0.4. Check if port 9123 is open between the vCenter server and the other server;&lt;/P&gt;&lt;P&gt;0.5. Prepare the future monitoring change;&lt;/P&gt;&lt;P&gt;0.6. Prepare FTP server for backup of the vCenter server;&lt;/P&gt;&lt;P&gt;0.7. Ensure that there is more than 12 GB of free space on the vCenter server (where it's installed; tipically in C drive);&lt;/P&gt;&lt;P&gt;0.8. Ensure no 5.5 objects still exist. This includes ESXi hosts, Host profiles, DVS, and any vmfs3 volumes. Upgrade or remove them beforehand if they do;&lt;/P&gt;&lt;P&gt;0.9. Login locally to the host on which the vCenter server VM resides (esx01 and esx02);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0.10. Stop and unregister the Update Manager: &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2921" data-containertype="14" data-objectid="592318" data-objecttype="1" href="https://communities.vmware.com/thread/592318"&gt;https://communities.vmware.com/thread/592318&lt;/A&gt;&lt;/P&gt;&lt;P&gt;0.10.1. Stop Update manager service &amp;amp; disable the UM plugin&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0.10.2. Remove the UM extension from vCenter MOB page by following below VMware KB article &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/1025360" rel="nofollow"&gt;https://kb.vmware.com/s/article/1025360&lt;/A&gt;&lt;/P&gt;&lt;P&gt;0.10.3. Extension for UM: com.vmware.vcIntegrity;&lt;/P&gt;&lt;P&gt;0.11. Unregister the VSC (NetApp plugin) and SnapCenter plugin; com.netapp.nvpf and com.netapp.nvpf.webclient and com.zerto.plugin&lt;/P&gt;&lt;P&gt;0.12. Ensure DNS resolution is working on the PSCs and VCs (e.g. nslookup vcentermanagement01)&lt;/P&gt;&lt;P&gt;0.13. Make sure that every component (VCs, PSCs, Source/Destination ESXi hosts) are in time sync:&lt;/P&gt;&lt;P&gt;0.13.1. Windows cmd: w32tm /query /configuration&lt;/P&gt;&lt;P&gt;0.13.2. Windows cmd: w32tm /query /status&lt;/P&gt;&lt;P&gt;0.13.3. Windows cmd: Time /T&lt;/P&gt;&lt;P&gt;0.13.4. VMware ESXi: check the time servers entered in the config: Configuration &amp;gt; Time Configuration &amp;gt; Properties&lt;/P&gt;&lt;P&gt;0.14. Set DRS automation to manual on the cluster the new appliance will be created.&lt;/P&gt;&lt;P&gt;0.15. vSphere Client (6.0U3) should be installed on the UTL server before the migration (in this way we can access locally the ESXi hosts)&lt;/P&gt;&lt;P&gt;0.16. Check the exclusion list of the NSX manager and see if all VMware infrastructure VMs are in the list (PSC, VCM, VCR, etc.)&lt;/P&gt;&lt;P&gt;0.17. Enable TLS 1.2 for Windows Server 2008 R2.1.&lt;/P&gt;&lt;P&gt;0.17.1. Navigate to the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols&lt;/P&gt;&lt;P&gt;0.17.2. Create a new folder (New Key) and label it TLS 1.2.&lt;/P&gt;&lt;P&gt;0.17.3. Create two new keys with the TLS 1.2 folder, and name the keys Client and Server.&lt;/P&gt;&lt;P&gt;0.17.4. Under the Client key, create two DWORD (32-bit) values, and name them "DisabledByDefault" and "Enabled".&lt;/P&gt;&lt;P&gt;0.17.5. Under the Server key, create two DWORD (32-bit) values, and name them "DisabledByDefault" and "Enabled".&lt;/P&gt;&lt;P&gt;0.17.6. Ensure that the Value field is set to 0 and that the Base is Hexadecimal for "DisabledByDefault".&lt;/P&gt;&lt;P&gt;0.17.7. Ensure that the Value field is set to 1 and that the Base is Hexadecimal for "Enabled".&lt;/P&gt;&lt;P&gt;0.17.8. Reboot the Windows Server 2008 R2 computer.&lt;/P&gt;&lt;P&gt;0.18. Disconnect all other users before the migration and stop all unnessary services (e.g. browsers, vSphere Clients, etc.)&lt;/P&gt;&lt;P&gt;0.19. Deploy a new Edge Gateway and configure NAT rule for OOB IP address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upgrade:&lt;/P&gt;&lt;P&gt;0. Stop the vCenter Servers and vCDs (Create snapshot of the vCenter server, PSC server, vCloud Director cells and the Oracle DB)&lt;/P&gt;&lt;P&gt;1. Mount the VCSA 6.7U1 ISO file on the vCenter server&lt;/P&gt;&lt;P&gt;2. Go to "migration-assistant" &amp;gt; VMware-Migration-Assistant.exe&lt;/P&gt;&lt;P&gt;3. Enter the SSO credentials in the new window&lt;/P&gt;&lt;P&gt;4. Enter the credentials for service account&lt;/P&gt;&lt;P&gt;5. Enter the IP network which will be primary for the vCenter server&lt;/P&gt;&lt;P&gt;6. After the prechecks the wizard will stop on "Waiting for migration to start…"&lt;/P&gt;&lt;P&gt;7. Mount the VCSA 6.7U1 ISO file on another Windows machine (not the vCenter server) utilityserver01 &amp;gt; go to "vcsa-ui-installer" &amp;gt; win32 &amp;gt; installer.exe &amp;gt; Migrate&lt;/P&gt;&lt;P&gt;8. Always specify the IP not the FQDN for the vCenter server&lt;/P&gt;&lt;P&gt;9. In Stage 1 the new appliance will be deployed:&lt;/P&gt;&lt;P&gt;10. Specify in the wizard all necessary information about the source vCenter server;&lt;/P&gt;&lt;P&gt;11. Specify IP of the destination host on which the new VM will be deployed;&lt;/P&gt;&lt;P&gt;12. Specify the size of the setup (Tiny, Large, etc.);&lt;/P&gt;&lt;P&gt;13. Select the datastore on which the appliance will be deployed;&lt;/P&gt;&lt;P&gt;14. Select the appropriate network port group;&lt;/P&gt;&lt;P&gt;15. Enter the information about the new server appliance (name: vcsa01, network (temporary): PROD: 10.10.10.10, 255.255.252.0, Gateway: 10.10.10.254; DNS servers: 10.10.10.20,10.10.10.21; etc.);&lt;/P&gt;&lt;P&gt;16. Add the new VM (Linux appliance) to the exclusion list inside the Management NSX (NSX &amp;gt; Firewall Settings &amp;gt; Exclusion List &amp;gt; Add &amp;gt; Select the new object &amp;gt; arrow &amp;gt; OK)&lt;/P&gt;&lt;P&gt;17. Stage II - Copy the data and finish the process by automatically shut down the source vCenter server:&lt;/P&gt;&lt;P&gt;18. Enter service account credentials for Ad;&lt;/P&gt;&lt;P&gt;19. Select Configuration and historical data (Events);&lt;/P&gt;&lt;P&gt;20. Deselect "Join the VMware's Customer Experience Imprevement Program";&lt;/P&gt;&lt;P&gt;21. Select "I have backed up the source vCenter server and all the required data from the database";&lt;/P&gt;&lt;P&gt;22. Click "Finish" &amp;gt; OK (after the migration the source (Windows vCenter server) will shut down);&lt;/P&gt;&lt;P&gt;23. Check the status of the new vCenter Appliance server.&lt;/P&gt;&lt;P&gt;24. Re-register the PSC and the vCenter server in Usage Meter, vCloud Director, vRO, NSX Manager (Using web Interface)&lt;/P&gt;&lt;P&gt;25. Rename the old vCenter server VM and disconnect the network adapters&lt;/P&gt;&lt;P&gt;26. Rename the new Linux Appliance to the original VM's name&lt;/P&gt;&lt;P&gt;27. Billing team to check the integration of ChargeBack&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;28. Setup the FTP backup through the VAMI interface (e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://vcentermanagement01.local:5480/" rel="nofollow"&gt;https://vcentermanagement01.local:5480&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;29. Check if all services are working: (ChargeBack Manager, NSX (check the status in the Web console of NSX manager and also in vCenter server), Usage Meter (re-establish the connection with PSC and vCenter servers), vCloud Director (enable the integration (only Resource vCenter server); refresh the connection with the vCenter server), vRealize Orchestrator, Operations Manager)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;30. Register vRealize Orchestrator plugin using this article: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://docs.vmware.com/en/vRealize-Orchestrator/7.2/com.vmware.vrealize.orchestrator-install-config.doc/GUID-2E89186B-E44F-4124-8848-82002BA6BBA6.html" rel="nofollow"&gt;https://docs.vmware.com/en/vRealize-Orchestrator/7.2/com.vmware.vrealize.orchestrator-install-config.doc/GUID-2E89186B-E44F-4124-8848-82002BA6BBA6.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;31. Check if the NSX agents on the hosts are up and running properly (and if they are up-to-date version 6.4.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://vspherecentral.vmware.com/t/vcenter-server/vcenter-lifecycle-install-upgrade-and-migrate-3/windows-vcenter-server-6-5-external-migration-to-vcsa-6-7" rel="nofollow"&gt;https://vspherecentral.vmware.com/t/vcenter-server/vcenter-lifecycle-install-upgrade-and-migrate-3/windows-vcenter-server-6-5-external-migration-to-vcsa-6-7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rollback: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/2146453" rel="nofollow"&gt;https://kb.vmware.com/s/article/2146453&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1. Power off the new Platform Service Controller Appliance.&lt;/P&gt;&lt;P&gt;2. Power back the PSC (SSM server); Rejoin the server to the domain;&lt;/P&gt;&lt;P&gt;3. Verify that all Single Sign-On services are up and running.&lt;/P&gt;&lt;P&gt;4. Power off the vCenter Server Appliance.&lt;/P&gt;&lt;P&gt;5. Ensure the vCenter database is available if using an external database.&lt;/P&gt;&lt;P&gt;6. Power back the vCenter server.&lt;/P&gt;&lt;P&gt;7. Wait for all vCenter Server services to start and log in to the vSphere Web Client to verify your vSphere inventory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;III. Migrate External PSC to Embedded one&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Prerequisites:&lt;/P&gt;&lt;P&gt;0.0. Login locally to the ESXi hosts in the management vCenter server.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0.1. Stop/change the VAMI backup of the VCM, VCR and SSM linux appliances using disable option: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://yourvcenter.local/" rel="nofollow"&gt;https://yourvcenter.local&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://vcentermanagement01.**.local/" rel="nofollow"&gt;https://vcentermanagement01.local&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://yourpsc01.local/" rel="nofollow"&gt;https://yourpsc01.local&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. From Usage Meter (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://usagemeter01.local:8443/um" rel="nofollow"&gt;https://usagemeter01.local:8443/um&lt;/A&gt;&lt;SPAN&gt;) products &amp;gt; Delete vCenter yourvcenter.local, vcentermanagement01.**.local&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Put suppression in Monitoring system&lt;/P&gt;&lt;P&gt;3. Disable vCenter in the respective for the environment vCloud Director.&lt;/P&gt;&lt;P&gt;4. Shutdown vCenter servers vcenterresource01, vcentermanagement01 and the PSC psc01 from the ESXi hosts;&lt;/P&gt;&lt;P&gt;5. Create new series of snapshots for vcenterresource01, vcentermanagement01, psc01.&lt;/P&gt;&lt;P&gt;6. Power ON psc01. After several minutes power on vcenterresource01&lt;/P&gt;&lt;P&gt;7. Copy the converge tool from the ISO file VMware-VCSA-all-6.7.0-11726888.iso\vcsa-converge-cli\ to utility Windows server&lt;/P&gt;&lt;P&gt;8. Copy the template (vcsa-converge-cli/templates/) to the folder where vcsa-util resides&lt;/P&gt;&lt;P&gt;• converge.json&lt;/P&gt;&lt;P&gt;9. Edit the converge.json:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__version": "2.11.0",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__comments": "Template for VCSA with external Platform Services Controller converge",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vcenter": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__comments": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "PR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vcentermanagement01, vcenterresource01 and psc01"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "managing_esxi_or_vc": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hostname": "esx01.local",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "username": "root",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password": "pass"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vc_appliance": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hostname": "vcentermanagement01",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "username": "administrator@vsphere.local",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password": "pass",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "root_password": "pass"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ad_domain_info": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__comments": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Important Note: This section is needed only when PSC (Platform Services Controller) appliance is joined to a domain.",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Remove this section if PSC appliance is not joined to a domain.",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Keeping this section without valid values results in JSON validation errors."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "domain_name": "pr.local",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "username": "user",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "password": "pass"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Go to \vcsa-converge-cli\win32&lt;/P&gt;&lt;P&gt;11. Run "vcsa-util.exe converge --no-ssl-certificate-verification --backup-taken --verbose D:\Support\converge.json"&lt;/P&gt;&lt;P&gt;12. When the procedure has been completed, type y to reboot the appliance. After rebooting the vCSA, the converge process has been completed&lt;/P&gt;&lt;P&gt;!Hint: on successful converge after login to the VAMI interface of vCenter you should see "Type: vCenter Server with an embedded Platform Services Controller"&lt;/P&gt;&lt;P&gt;13. Configure the backup of the VCSA using the VAMI interface:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;14. Reconfigure the NSX Manager configuration: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.30/home.html#/manage/components/vshield" rel="nofollow"&gt;https://10.10.10.30/home.html#/manage/components/vshield&lt;/A&gt;&lt;SPAN&gt; &amp;gt; Manage vCenter Registration &amp;gt; Edit &amp;gt; Repoint to the new embedded PSC (yourvcenter.local)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;15. Reconfigure the Usage Meter: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://usagemeter01.st.local:8443/um/" rel="nofollow"&gt;https://usagemeter01.local:8443/um/&lt;/A&gt;&lt;SPAN&gt; &amp;gt; Products &amp;gt; Show Inactive vCenter Servers &amp;gt; Activate vcentermanagement01.local &amp;gt; Un-check External PSC &amp;gt; Save.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;16. Repeat the steps above for VCR&lt;/P&gt;&lt;P&gt;17. Shut down the PSC machine and disconnect the virtual adapters&lt;/P&gt;&lt;P&gt;18. Enable vCenter in vCloud Director.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/59508" rel="nofollow"&gt;https://kb.vmware.com/s/article/59508&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/59907" rel="nofollow"&gt;https://kb.vmware.com/s/article/59907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/68052" rel="nofollow"&gt;https://kb.vmware.com/s/article/68052&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/68086" rel="nofollow"&gt;https://kb.vmware.com/s/article/68086&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/68159" rel="nofollow"&gt;https://kb.vmware.com/s/article/68159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/70420" rel="nofollow"&gt;https://kb.vmware.com/s/article/70420&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/70781" rel="nofollow"&gt;https://kb.vmware.com/s/article/70781&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://kb.vmware.com/s/article/74678" rel="nofollow"&gt;https://kb.vmware.com/s/article/74678&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 12:05:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCenter-Documents/VMware-vCenter-6-0-Migrate-from-Windows-to-Linux-VCSA-6-7-and-to/ta-p/2786468</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2020-03-05T12:05:14Z</dc:date>
    </item>
    <item>
      <title>NSX-V Segment ID Pool Migration</title>
      <link>https://communities.vmware.com/t5/VMware-NSX-Documents/NSX-V-Segment-ID-Pool-Migration/ta-p/2784597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This procedure is based on &lt;A href="https://kb.vmware.com/s/article/57844"&gt;KB 57844&lt;/A&gt;&lt;BR /&gt;When you have overlapping segment ID Pool range in a specific environment (one vCenter server) with another environment (second vCenter server) this is the full process how to migrate the current working objects (VMs, NSX Edges, Logical Routers, Logical Switches) to a new Segment ID Pool:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;I. Prerequisite&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0. Put monitoring suppression for vCD Cells, vCenter server and NSX Manager&lt;/P&gt;&lt;P&gt;1. Upgrade all components to 6.4.4: NSX Manager, NSX Controllers, host agents, Edge Gateways&lt;/P&gt;&lt;P&gt;2. Stop the backups (if they are using the vCenter server API)&lt;/P&gt;&lt;P&gt;3. Setup Postman&lt;/P&gt;&lt;P&gt;3.1. Download and start Postman&lt;/P&gt;&lt;P&gt;3.2. Create a request&lt;/P&gt;&lt;P&gt;3.3. Headers &amp;gt; Key "Content Type" &amp;gt; Value "application/xml"&lt;/P&gt;&lt;P&gt;3.4. Authorization &amp;gt; Basic Auth &amp;gt; username "admin" &amp;gt; password&lt;/P&gt;&lt;P&gt;3.5. File &amp;gt; Settings &amp;gt; Turn off "SSL Certificate Verification"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Stop the vCenter server operations from vCD: login vCD (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://yourowncloud.com)/" rel="nofollow"&gt;https://yourowncloud.com):&lt;/A&gt;&lt;SPAN&gt; Manage &amp;amp; Monitor &amp;gt; vCenters &amp;gt; Right click on the vCenter server &amp;gt; Disable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5. Change cluster DRS configuration from Fully Automated to Manual&lt;/P&gt;&lt;P&gt;6. Gather information (with PowerShell) in CSV file, about all NSX objects which will be migrated: Logical Switches, Logical Routers, Edges, VMs, etc. (script bellow just collect data):&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15834034337778290 jive_text_macro" data-renderedposition="365_8_1232_1312" jivemacro_uid="_15834034337778290"&gt;&lt;P&gt;[CmdletBinding(PositionalBinding=$false)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Param (&lt;/P&gt;&lt;P&gt;[parameter(Position= 0, Mandatory = $false)]&lt;/P&gt;&lt;P&gt;[string]$VIServer = "YOURCLOUDVCR01.local",&lt;/P&gt;&lt;P&gt;[string]$PathExportNsxLogicalSwitch&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "C:\Support\Scripts\NSX\NSXReport.csv",&lt;/P&gt;&lt;P&gt;[string]$PathExportNsxLogicalRouter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "C:\Support\Scripts\NSX\NSXLogicalRouter.csv"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ( ! (Get-module PowerNSX )) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import-Module PowerNSX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# connecting to the NSX server&lt;/P&gt;&lt;P&gt;$connection = Connect-NSXServer -vCenterServer $VIServer&lt;/P&gt;&lt;P&gt;$defaultNsxConnection = $connection&lt;/P&gt;&lt;P&gt;$defaultViServer = $connection.viConnection&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;# Getting NSX Edge information&lt;/P&gt;&lt;P&gt;$getEdge = get-nsxedge |Get-NsxEdgeInterface &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$edge = $getEdge | select name,edgeId,portgroupName&lt;/P&gt;&lt;P&gt;$edgeEdgeSub = $getEdge | Get-NsxEdgeSubInterface &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; # Getting NSX Logical Router information&lt;/P&gt;&lt;P&gt; $getNsxLogicalRouter = Get-NsxLogicalRouter | Get-NsxLogicalRouterInterface | select connectedToId,logicalRouterId,connectedToName,type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; $output =&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ( $ls in Get-NsxLogicalSwitch ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $pg = $ls | Get-NsxBackingPortGroup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ( $portgroup in $pg) { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vm = $portgroup| Get-VM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ( $virtualmachine in $vm) { &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vlookup = $edge | where {$_.portgroupName -like $ls.name}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vlookupEdgeSub = $edgeEdgeSub | where {$_.logicalSwitchName -like $ls.name}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $VMdetails = (get-vm $virtualmachine.name | Get-NetworkAdapter | where {$_.NetworkName -like $portgroup.name})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [pscustomobject]@{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vCenter" = $defaultViServer.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "NSX" = $defaultNsxConnection.server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LS_ObjectID" = $ls.objectId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LS_Name" = $ls.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LS_vdnId" = $ls.vdnId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EdgeID" = $vlookup.edgeId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EdgeVNIC" = $vlookup.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EdgeTrunk_LS_ID" = $vlookupEdgeSub.logicalSwitchId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EdgeTrunk_LS_Name" = $vlookupEdgeSub.logicalSwitchName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "EdgeTrunk_LS_isConnected" = $vlookupEdgeSub.isConnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LS_tenantId" = $ls.tenantId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "BackingPortGroup" = $portgroup.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VirtualMachine" = $virtualmachine.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VirtualMachineNICname" = $VMdetails.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VirtualMachineNICmac" = $VMdetails.MacAddress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } # END pscustomobject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$getNsxLogicalRouter | export-csv $PathExportNsxLogicalRouter -NoTypeInformation&lt;/P&gt;&lt;P&gt;$output | export-csv $PathExportNsxLogicalSwitch -NoTypeInformation&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Disconnect-NsxServer&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;II. Migration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Create a new non overlapping Segment Range using Postman (Body &amp;gt; raw):&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15834034567571429" data-renderedposition="1740_8_1232_97" jivemacro_uid="_15834034567571429"&gt;&lt;P&gt;&lt;SPAN&gt;POST &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/config/segments" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/config/segments&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;segmentRange&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;DATACENTER&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;begin&amp;gt;10001&amp;lt;/begin&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;end&amp;gt;20000&amp;lt;/end&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/segmentRange&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Note the segment range “id” (lets call it newRangeId) returned in response payload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. # GET segments will also return segment range "id" using Postman:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/config/segments" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/config/segments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will return &amp;lt;newRangeId&amp;gt; here&lt;/P&gt;&lt;P&gt;example output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;segmentRanges&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;segmentRange&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;- this is the ID to use in step 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;5000-5999&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;begin&amp;gt;5000&amp;lt;/begin&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;end&amp;gt;5999&amp;lt;/end&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;isUniversal&amp;gt;false&amp;lt;/isUniversal&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;universalRevision&amp;gt;0&amp;lt;/universalRevision&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/segmentRange&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/segmentRanges&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Disconnect Edges, VMs, vNIC from the dvpg (LogicalSwitch) by following the steps bellow:&lt;/P&gt;&lt;P&gt;3.1. Before any deletion every logical switch connection should be write down (VMs, Edges):&lt;/P&gt;&lt;P&gt;3.1.1. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; take screenshot of Logical Switch ID, Segment ID, Name &amp;gt; Click on the logical switch &amp;gt; Related Objects &amp;gt; take screenshot of Edge tab, VMs tab&lt;/P&gt;&lt;P&gt;3.1.2. Home &amp;gt; Network and Security &amp;gt; Edge Gateways &amp;gt; Click on the Edge (or Logical Router) &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces (take a screenshot &amp;amp; write down the information inside the edit menu)&lt;/P&gt;&lt;P&gt;3.1.3. Based on the logical switch ID go to network port group and take a screenshot of the VMs: Home &amp;gt; Networking &amp;gt; portgroup name &amp;gt; VMs&lt;/P&gt;&lt;P&gt;3.2. Remove and disconnect the related objects:&lt;/P&gt;&lt;P&gt;3.2.1. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; Select each logical switch &amp;gt; Related Objects &amp;gt; Actions &amp;gt; Remove VM &amp;gt; Select all the VMs in the list &amp;gt; Remove&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_15834034746914655 jive_macro_code jive_text_macro" data-renderedposition="2425.125_8_1232_1136" jivemacro_uid="_15834034746914655" modifiedtitle="true"&gt;&lt;P&gt;# &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;DisconnectNic is taken from&amp;nbsp;&amp;nbsp; PowerNSX module&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function DisconnectNic {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $nic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $WaitTimeout = 90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #See NSX API guide 'Attach or Detach a Virtual Machine from a Logical Switch' for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #how to construct NIC id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vmUuid = ($nic.parent | get-view).config.instanceuuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vnicUuid = "$vmUuid.$($nic.id.substring($nic.id.length-3))"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Construct XML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $xmldoc = New-Object System.Xml.XmlDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $xmlroot = $xmldoc.CreateElement("com.vmware.vshield.vsm.inventory.dto.VnicDto")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $null = $xmldoc.AppendChild($xmlroot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "objectId" -xmlElementText $vnicUuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "vnicUuid" -xmlElementText $vnicUuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "portgroupId" -xmlElementText ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Do the post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $body = $xmlroot.OuterXml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $URI = "/api/2.0/vdn/virtualwires/vm/vnic"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( $confirm ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $message&amp;nbsp; = "Disconnecting $($nic.Parent.Name)'s network adapter from a logical switch will cause network connectivity loss."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $question = "Proceed with disconnection?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&amp;amp;Yes'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&amp;amp;No'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $decision = $Host.UI.PromptForChoice($message, $question, $choices, 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else { $decision = 0 }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($decision -eq 0) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Progress -Activity "Processing" -Status "Disconnecting $vnicuuid from logical switch"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $response = invoke-nsxwebrequest -method "post" -uri $URI -body $body -connection $connection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Progress -Activity "Processing" -Status "Disconnecting $vnicuuid from logical switch" -Completed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $job = [xml]$response.content&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $jobId = $job."com.vmware.vshield.vsm.vdn.dto.ui.ReconfigureVMTaskResultDto".jobId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wait-NsxGenericJob -Jobid $JobID -Connection $Connection -WaitTimeout $WaitTimeout -FailOnTimeout:$FailOnTimeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#vCenter Connection and Path to file&lt;/P&gt;&lt;P&gt;$VIServer = "YOURCLOUDVCR01.local"&lt;/P&gt;&lt;P&gt;$connection = Connect-NSXServer -vCenterServer $VIServer&lt;/P&gt;&lt;P&gt;$defaultNsxConnection = $connection&lt;/P&gt;&lt;P&gt;$defaultViServer = $connection.viConnection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Point to the CSV file generated from the script above !!!&lt;/P&gt;&lt;P&gt;$Import = import-csv C:\Support\Scripts\NSX\NSXReport.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;# Put the current Virtual Wire you are working on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;$virtualwire = "virtualwire-01"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$pathToVMList = $Import | where {($_.LS_ObjectID -eq $virtualwire) -and ($_.VirtualMachine -notlike "vse-*")}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# disconnect VM from Logical Switch (there is a 100 sec timeout)&lt;/P&gt;&lt;P&gt;foreach ($vm in $pathToVMList){&lt;/P&gt;&lt;P&gt;$VirtualMachineNic = get-vm $VM.VirtualMachine | Get-NetworkAdapter | where {$_.NetworkName -eq $VM.BackingPortGroup}&lt;/P&gt;&lt;P&gt;DisconnectNic -nic $VirtualMachineNic&amp;nbsp; -WaitTimeout 100 &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.2.2. Home &amp;gt; Network and Security &amp;gt; NSX Edges &amp;gt; Double Click on the Edge (or Logical Router) &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces (take the name of the logical switch) usually vNIC 1 &amp;gt; Select (radio button) &amp;gt; Disconnect &amp;gt; Confirm "Yes" &amp;gt; wait till Pending Job finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When disconnecting edges with High Availability configured, do remember to check and ensure HA is not configured on a logical switch also. (if the HA configuration is vNic "Any" there is no need to change anything)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: if you have only one connected interface you should connect another one and then disconnect the original one which should be migrated. After the migration connect back the original one and delete the temporary one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Move each logical switch from the old segment range to new segment range.&lt;/P&gt;&lt;P&gt;This API needs virtualwire-id and rangeId as inputs which can be taken from the get-NSXinfo report. API payload is empty (on success the status code of the request will be "200 OK"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PUT &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-100/segmentreconfig/" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-100/segmentreconfig/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;newRangeId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this in case of an error: POST "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-40/backing?action=remediate" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-40/backing?action=remediate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ONLY for Logical routers:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5.1. POST &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/4.0/edges/" rel="nofollow"&gt;https://10.10.10.40/api/4.0/edges/&lt;/A&gt;&lt;SPAN&gt;{edge-id}?action=vdridreconfig&amp;amp;vdnRangeId=&amp;lt;newRangeId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Output: 204 (No Content)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Go to Home &amp;gt; Network and Security &amp;gt; NSX Edges &amp;gt; Double Click on the Edge &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces and then reconnect the interface that was disconnected (wait till Pending Job finish)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Redeploy the migrated edge/logical router&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Check if the new configuration for each logical router is pushed to the host with &lt;A href="http://chansblog.com/tag/nsx-net-vdr-command/"&gt;net-vdr&lt;/A&gt;&amp;nbsp; - "net-vdr -L -l edge-113 more"&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15834035130166106 jive_text_macro" data-renderedposition="4170.125_8_1232_609" jivemacro_uid="_15834035130166106"&gt;&lt;P&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.enterprisedaddy.com/2018/04/how-to-execute-script-remotely-on-esxi-hosts/" rel="nofollow"&gt;http://www.enterprisedaddy.com/2018/04/how-to-execute-script-remotely-on-esxi-hosts/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# C:\Support\plink.exe is needed.&lt;/P&gt;&lt;P&gt;# add info&lt;/P&gt;&lt;P&gt;$root = "root" &lt;/P&gt;&lt;P&gt;$Passwd = "&amp;nbsp; add password here&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P&gt;$esxlist = " add servers here", "add servers here"&lt;/P&gt;&lt;P&gt;$edge = "edge-123" # "edge-100"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# work&lt;/P&gt;&lt;P&gt;$cmd = "net-vdr -L -l $edge"&lt;/P&gt;&lt;P&gt;$plink = "echo y | C:\Support\plink.exe"&lt;/P&gt;&lt;P&gt;$remoteCommand = '"' + $cmd + '"'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$outResult = foreach ($esx in $esxlist) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect-VIServer -Server $esx -User&amp;nbsp; $root -Password $Passwd &amp;gt; $null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Write-Host -Object "starting ssh services on $esx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sshstatus = Get-VMHostService&amp;nbsp; -VMHost $esx | Where-Object { $psitem.key -eq "tsm-ssh" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($sshstatus.Running -eq $False) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-VMHostService | Where-Object { $psitem.key -eq "tsm-ssh" } | Start-VMHostService &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Write-Host -Object "Executing Command on $esx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $output = $plink + " " + "-batch -ssh" + " " + $root + "@" + $esx + " " + "-pw" + " " + $Passwd + " " + $remoteCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $message = Invoke-Expression -command $output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PSCustomObject]@{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name = $esx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vxlan = ($message | Select-String -Pattern "Vxlan:").ToString().split("Vxlan:")[-1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disconnect-VIServer -Server $esx -Confirm:$false&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$outResult&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; Select each logical switch &amp;gt; Related Objects &amp;gt; Actions &amp;gt; Add VM &amp;gt; Search for the name of the VM &amp;gt; Select the VM &amp;gt; Click the right arrow &amp;gt; Next &amp;gt; Select the appropriate network adapter &amp;gt; Next &amp;gt; Finish&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15834035250706222 jive_text_macro" data-renderedposition="4842.25_8_1232_80" jivemacro_uid="_15834035250706222"&gt;&lt;P&gt;# connect&lt;/P&gt;&lt;P&gt;foreach ($vm in $pathToVMList){&lt;/P&gt;&lt;P&gt;$VirtualMachineNic = get-vm $VM.VirtualMachine | Get-NetworkAdapter | where {($_.MacAddress -eq $VM.VirtualMachineNICmac) -and ($_.Name -eq $VM.VirtualMachineNICname)}&lt;/P&gt;&lt;P&gt;Connect-NsxLogicalSwitch -NetworkAdapter $VirtualMachineNic -LogicalSwitch (Get-NsxLogicalSwitch -Name $VM.LS_Name) -WaitTimeout 100&lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. After we migrate all Logical Switches and routers (on success the status code of the request will be "200 OK"):&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DELETE &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/config/segments/" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/config/segments/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;oldRangeId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. Enable the integration between the vCD and the vCenter: login to vCD &amp;gt; Manage &amp;amp; Monitor &amp;gt; vCenters &amp;gt; Right click on the vCenter server &amp;gt; Enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. Change the cluster DRS from "Manual" to "Fully Automated"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Backout plan:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Login vCD (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://yourowncloud.com)/" rel="nofollow"&gt;https://yourowncloud.com):&lt;/A&gt;&lt;SPAN&gt; Manage &amp;amp; Monitor &amp;gt; vCenters &amp;gt; Right click on the vCenter server &amp;gt; Disable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Login to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://YOURCLOUDVCR01.local/" rel="nofollow"&gt;https://YOURCLOUDVCR01.local&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. Disconnect Edges, VMs, vNIC from the dvpg (LogicalSwitch) by following the steps bellow:&lt;/P&gt;&lt;P&gt;3.1. Before any deletion every logical switch connection should be write down (VMs, Edges):&lt;/P&gt;&lt;P&gt;3.1.1. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; take screenshot of Logical Switch ID, Segment ID, Name &amp;gt; Click on the logical switch &amp;gt; Related Objects &amp;gt; take screenshot of Edge tab, VMs tab&lt;/P&gt;&lt;P&gt;3.1.2. Home &amp;gt; Network and Security &amp;gt; Edge Gateways &amp;gt; Click on the Edge (or Logical Router) &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces (take a screenshot &amp;amp; write down the information inside the edit menu)&lt;/P&gt;&lt;P&gt;3.1.3. Based on the logical switch ID go to network port group and take a screenshot of the VMs: Home &amp;gt; Networking &amp;gt; portgroup name &amp;gt; VMs&lt;/P&gt;&lt;P&gt;3.2. Remove and disconnect the related objects:&lt;/P&gt;&lt;P&gt;3.2.1. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; Select each logical switch &amp;gt; Related Objects &amp;gt; Actions &amp;gt; Remove VM &amp;gt; Select all the VMs in the list &amp;gt; Remove&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15834035768774159 jive_text_macro" data-renderedposition="5342.25_8_1232_1136" jivemacro_uid="_15834035768774159" modifiedtitle="true"&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;# &lt;/SPAN&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;DisconnectNic is taken from PowerNSX module&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function DisconnectNic {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; param (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $nic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $WaitTimeout = 90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #See NSX API guide 'Attach or Detach a Virtual Machine from a Logical Switch' for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #how to construct NIC id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vmUuid = ($nic.parent | get-view).config.instanceuuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vnicUuid = "$vmUuid.$($nic.id.substring($nic.id.length-3))"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Construct XML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $xmldoc = New-Object System.Xml.XmlDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $xmlroot = $xmldoc.CreateElement("com.vmware.vshield.vsm.inventory.dto.VnicDto")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $null = $xmldoc.AppendChild($xmlroot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "objectId" -xmlElementText $vnicUuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "vnicUuid" -xmlElementText $vnicUuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-XmlElement -xmlRoot $xmlroot -xmlElementName "portgroupId" -xmlElementText ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Do the post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $body = $xmlroot.OuterXml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $URI = "/api/2.0/vdn/virtualwires/vm/vnic"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( $confirm ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $message&amp;nbsp; = "Disconnecting $($nic.Parent.Name)'s network adapter from a logical switch will cause network connectivity loss."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $question = "Proceed with disconnection?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&amp;amp;Yes'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&amp;amp;No'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $decision = $Host.UI.PromptForChoice($message, $question, $choices, 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else { $decision = 0 }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($decision -eq 0) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Progress -Activity "Processing" -Status "Disconnecting $vnicuuid from logical switch"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $response = invoke-nsxwebrequest -method "post" -uri $URI -body $body -connection $connection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Progress -Activity "Processing" -Status "Disconnecting $vnicuuid from logical switch" -Completed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $job = [xml]$response.content&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $jobId = $job."com.vmware.vshield.vsm.vdn.dto.ui.ReconfigureVMTaskResultDto".jobId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wait-NsxGenericJob -Jobid $JobID -Connection $Connection -WaitTimeout $WaitTimeout -FailOnTimeout:$FailOnTimeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#vCenter Connection and Path to file&lt;/P&gt;&lt;P&gt;$VIServer = "YOURCLOUDVCR01.local"&lt;/P&gt;&lt;P&gt;$connection = Connect-NSXServer -vCenterServer $VIServer&lt;/P&gt;&lt;P&gt;$defaultNsxConnection = $connection&lt;/P&gt;&lt;P&gt;$defaultViServer = $connection.viConnection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# csv file from get-NSXinfo&lt;/P&gt;&lt;P&gt;$Import = import-csv C:\Support\Scripts\NSX\NSXReport.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$virtualwire = "virtualwire-60"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$pathToVMList = $Import | where {($_.LS_ObjectID -eq $virtualwire) -and ($_.VirtualMachine -notlike "vse-*")}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# disconnect&lt;/P&gt;&lt;P&gt;foreach ($vm in $pathToVMList){&lt;/P&gt;&lt;P&gt;$VirtualMachineNic = get-vm $VM.VirtualMachine | Get-NetworkAdapter | where {$_.NetworkName -eq $VM.BackingPortGroup}&lt;/P&gt;&lt;P&gt;DisconnectNic -nic $VirtualMachineNic&amp;nbsp; -WaitTimeout 100 &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.2.2. Home &amp;gt; Network and Security &amp;gt; NSX Edges &amp;gt; Double Click on the Edge (or Logical Router) &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces (take the name of the logical switch; e.g. dvs.....) usually vNIC 1 &amp;gt; Select (radio button) &amp;gt; Disconnect &amp;gt; Confirm "Yes" &amp;gt; wait till Pending Job finish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When disconnecting edges with High Availability configured, do remember to check and ensure HA is not configured on a logical switch also. (if the HA configuration is vNic "Any" there is no need to change anything)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Move each logical switch from the old segment range to new segment range.&lt;/P&gt;&lt;P&gt;This API needs virtualwire-id and rangeId as inputs which can be taken from the get-NSXinfo report. API payload is empty (on success the status code of the request will be "200 OK"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PUT &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-100/segmentreconfig/" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-100/segmentreconfig/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;newRangeId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this in case of an error: POST "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-40/backing?action=remediate" rel="nofollow"&gt;https://10.10.10.40/api/2.0/vdn/virtualwires/virtualwire-40/backing?action=remediate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ONLY for Logical routers:&lt;/P&gt;&lt;P&gt;5.1. &lt;SPAN&gt;POST &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://10.10.10.40/api/4.0/edges/" rel="nofollow"&gt;https://10.10.10.40/api/4.0/edges/&lt;/A&gt;&lt;SPAN&gt;{edge-id}?action=vdridreconfig&amp;amp;vdnRangeId=&amp;lt;newRangeId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Go to Home &amp;gt; Network and Security &amp;gt; NSX Edges &amp;gt; Double Click on the Edge &amp;gt; Manage &amp;gt; Settings &amp;gt; Interfaces and then reconnect the interface that was disconnected (wait till Pending Job finish)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Redeploy the migrated edge/logical router&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Check if the new configuration for each logical router is pushed to the host "net-vdr -L -l edge-113 more"&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15834036415241532" data-renderedposition="7003.25_8_1232_609" jivemacro_uid="_15834036415241532" modifiedtitle="true"&gt;&lt;P&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.enterprisedaddy.com/2018/04/how-to-execute-script-remotely-on-esxi-hosts/" rel="nofollow"&gt;http://www.enterprisedaddy.com/2018/04/how-to-execute-script-remotely-on-esxi-hosts/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# C:\Support\plink.exe is needed.&lt;/P&gt;&lt;P&gt;# add info&lt;/P&gt;&lt;P&gt;$root = "root" &lt;/P&gt;&lt;P&gt;$Passwd = "&amp;nbsp; add password here&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P&gt;$esxlist = " add servers here", "add servers here"&lt;/P&gt;&lt;P&gt;$edge = "edge-123" # "edge-117"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# work&lt;/P&gt;&lt;P&gt;$cmd = "net-vdr -L -l $edge"&lt;/P&gt;&lt;P&gt;$plink = "echo y | C:\Support\plink.exe"&lt;/P&gt;&lt;P&gt;$remoteCommand = '"' + $cmd + '"'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$outResult = foreach ($esx in $esxlist) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect-VIServer -Server $esx -User&amp;nbsp; $root -Password $Passwd &amp;gt; $null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Write-Host -Object "starting ssh services on $esx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sshstatus = Get-VMHostService&amp;nbsp; -VMHost $esx | Where-Object { $psitem.key -eq "tsm-ssh" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($sshstatus.Running -eq $False) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-VMHostService | Where-Object { $psitem.key -eq "tsm-ssh" } | Start-VMHostService &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Write-Host -Object "Executing Command on $esx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $output = $plink + " " + "-batch -ssh" + " " + $root + "@" + $esx + " " + "-pw" + " " + $Passwd + " " + $remoteCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $message = Invoke-Expression -command $output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PSCustomObject]@{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name = $esx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vxlan = ($message | Select-String -Pattern "Vxlan:").ToString().split("Vxlan:")[-1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disconnect-VIServer -Server $esx -Confirm:$false&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$outResult&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Home &amp;gt; Network and Security &amp;gt; Logical Switches &amp;gt; Select each logical switch &amp;gt; Related Objects &amp;gt; Actions &amp;gt; Add VM &amp;gt; Search for the name of the VM &amp;gt; Select the VM &amp;gt; Click the right arrow &amp;gt; Next &amp;gt; Select the appropriate network adapter &amp;gt; Next &amp;gt; Finish&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1583403648708428 jive_text_macro" data-renderedposition="7675.375_8_1232_80" jivemacro_uid="_1583403648708428"&gt;&lt;P&gt;# connect&lt;/P&gt;&lt;P&gt;foreach ($vm in $pathToVMList){&lt;/P&gt;&lt;P&gt;$VirtualMachineNic = get-vm $VM.VirtualMachine | Get-NetworkAdapter | where {($_.MacAddress -eq $VM.VirtualMachineNICmac) -and ($_.Name -eq $VM.VirtualMachineNICname)}&lt;/P&gt;&lt;P&gt;Connect-NsxLogicalSwitch -NetworkAdapter $VirtualMachineNic -LogicalSwitch (Get-NsxLogicalSwitch -Name $VM.LS_Name) -WaitTimeout 100&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Enable the integration between the vCD and the vCenter: login to vCD &amp;gt; Manage &amp;amp; Monitor &amp;gt; vCenters &amp;gt; Right click on the vCenter server &amp;gt; Enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. Change the cluster DRS from "Manual" to "Fully Automated"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;During the migration for each logical switch there will be a short (5-10 minutes) disconnection of the networking for all Edges, Logical Routers and VMs. All related networks which are in the current Logical Segment Pool will lose connection to the migrated logical switch which is in the new Segment ID Pool.&lt;/P&gt;&lt;P&gt;VMs and Edges: is equal to unplug the network cable from a physical server.&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test Details:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Log in into &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://YOURCLOUDVCR01.local/" rel="nofollow"&gt;https://YOURCLOUDVCR01.local&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Go to Network &amp;amp; Security&lt;/P&gt;&lt;P&gt;3. Check the status of the Logical Switch (Logical Switches section)&lt;/P&gt;&lt;P&gt;4. Check the status of the Edges connected to the logical switch (Edge section)&lt;/P&gt;&lt;P&gt;5. Based on the information extracted before the change check the status of the VMs connected to the Logical switch&lt;/P&gt;&lt;P&gt;6. Check the options are in place after refreshing the vSphere Web Client.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. Go to vCD: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://yourowncloud.com/" rel="nofollow"&gt;https://yourowncloud.com&lt;/A&gt;&lt;SPAN&gt; and check the status of the Orgs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;8. Go to vCD and check the logs under System&lt;/P&gt;&lt;P&gt;9. Go to vCD: check Stranded Items, Switches &amp;amp; Port Groups, Storage Policies, Datastores, Hosts, Resource Pools, vCenters, Network Pools, External Networks, Edge Gateways, Organization VDCs, Provider VDCs, Cloud Cells, Organizations&lt;/P&gt;&lt;P&gt;10. Check if there are errors/warnings on cluster level for the tenant which was migrated&lt;/P&gt;&lt;P&gt;11. Check each host which is part of the tenant cluster if there are errors in: /var/log/vmkernel.log (Use Log Insight)&lt;/P&gt;&lt;P&gt;12. Manually move several VMs in the vCenter server and check if there are warnings/errors in the tenant cluster&lt;/P&gt;&lt;P&gt;13. Wait DRS to automatically move some VMs from one host to another and check for warnings/errors in the tenant cluster&lt;/P&gt;&lt;P&gt;14. Check again the status of the VMs and the Edges inside the vCD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 10:15:45 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-NSX-Documents/NSX-V-Segment-ID-Pool-Migration/ta-p/2784597</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2020-03-05T10:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Information About FileName of a Disk?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952762#M29318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, again. The script is working as expected.&lt;/P&gt;&lt;P&gt;I will try this addon in question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 12:07:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952762#M29318</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-04-08T12:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Information About FileName of a Disk?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952760#M29316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not managed to find the information so far. I would appreciate it if you could share your sample script here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Would it be possible for you to tell me how you format your code in this way (using color format)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:17:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952760#M29316</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-04-08T11:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Information About FileName of a Disk?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952758#M29314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will continue to search for this information. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:50:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952758#M29314</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-04-07T13:50:19Z</dc:date>
    </item>
    <item>
      <title>How to Display Information About FileName of a Disk?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952756#M29312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to obtain information about all disks which are using "nonpersistent" mode with Get-View. Everything is working with the exception of &lt;STRONG&gt;@{N="Filename";E={$vm.Config.Hardware.Device.Backing.FileName}}&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$VMs = Get-View -ViewType VirtualMachine | Where {-not $_.Config.Template}&lt;/P&gt;
&lt;P&gt;$Result = @(ForEach ($vm in $VMs){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vdisk = $vm.Config.Hardware.Device | where {$_ -is [VMware.Vim.VirtualDisk] -and ($_.Backing.DiskMode -eq "nonpersistent" -or $_.Backing.DiskMode -eq "independent_nonpersistent")}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($vdisk){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vdisk | Select @{N="VM";E={$vm.Name}},&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N="NonPersistentMode";E={$_.DeviceInfo.Label}},&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N="CapacityGB";E={$_.capacityInKB/1024/1024}},&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{N="Filename";E={$vm.Config.Hardware.Device.Backing.FileName}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;})&lt;/P&gt;
&lt;P&gt;$Result&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;This script is originally inspired by this one:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Get-VM | % { Get-HardDisk -VM $_ | Where {$_.Persistence -eq "IndependentPersistent" -or $_.Persistence -eq "IndependentNonPersistent"} } | Select Parent, Name, CapacityGB, Filename, DiskType, Persistence, ScsiCanonicalName | Export-CSV VMs_Persistent_Mode.csv -NoTypeInformation -UseCulture&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;I can see that in &lt;A href="https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.device.VirtualDevice.FileBackingInfo.html#fileName" title="https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.device.VirtualDevice.FileBackingInfo.html#fileName"&gt;https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.device.VirtualDevice.FileBackingInfo.html#fileName&lt;/A&gt; we have property "FileName" but I don't know how to call it in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 08:43:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-Display-Information-About-FileName-of-a-Disk/m-p/952756#M29312</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-04-07T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Get-View instead of Get-VM for BusSharingMode of a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-use-Get-View-instead-of-Get-VM-for-BusSharingMode-of-a-VM/m-p/1795327#M58048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Now is much clear for me.&lt;/P&gt;&lt;P&gt;I will try to spend more time on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:28:55 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-use-Get-View-instead-of-Get-VM-for-BusSharingMode-of-a-VM/m-p/1795327#M58048</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-03-05T13:28:55Z</dc:date>
    </item>
    <item>
      <title>How to use Get-View instead of Get-VM for BusSharingMode of a VM</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-use-Get-View-instead-of-Get-VM-for-BusSharingMode-of-a-VM/m-p/1795325#M58046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, another question related with Get-View. I searched a lot for documentation but still I don't get the logic how to find the right properties which I need to use.&lt;/P&gt;&lt;P&gt;In this case I need to transfer this one:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Get-VM | Get-ScsiController | Where-Object {$_.BusSharingMode -eq ˜Physical"} | Select {$_.Parent.Name}, BusSharingMode&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;into:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Get-View -ViewType VirtualMachine -Property Name,&lt;STRONG&gt;Config.NameofthePropertyforBusSharingMode&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be grateful if someone could provide a documentation (or at least give me a clue what to read to get oriented) about these properties and their format so that they can be used for Get-View.&lt;/P&gt;&lt;P&gt;The closest thing which I found is this one: &lt;A href="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.VirtualMachine.html" title="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.VirtualMachine.html"&gt;http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.VirtualMachine.html&lt;/A&gt; and the VirtualMachineConfigInfo: &lt;A href="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html" title="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html"&gt;http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html&lt;/A&gt;&lt;A href="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html" title="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html"&gt;&lt;/A&gt;&lt;A href="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html" target="test_blank"&gt;http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.ConfigInfo.html&lt;/A&gt;&lt;BR /&gt;I guess that in this case we are talking about VirtualHardware (SCSI controller): &lt;A href="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.VirtualHardware.html" title="http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.VirtualHardware.html"&gt;http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.VirtualHardware.html&lt;/A&gt; and still I cannot make the connection. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 12:38:44 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/How-to-use-Get-View-instead-of-Get-VM-for-BusSharingMode-of-a-VM/m-p/1795325#M58046</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-03-05T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Get-View instead of Get-VM for Advanced Settings of a VM</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/How-to-use-Get-View-instead-of-Get-VM-for-Advanced-Settings-of-a/m-p/931015#M266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, it's working as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 19:57:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/How-to-use-Get-View-instead-of-Get-VM-for-Advanced-Settings-of-a/m-p/931015#M266</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-03-01T19:57:09Z</dc:date>
    </item>
    <item>
      <title>How to use Get-View instead of Get-VM for Advanced Settings of a VM</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/How-to-use-Get-View-instead-of-Get-VM-for-Advanced-Settings-of-a/m-p/931013#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question related with the advanced settings of a VM and how to use Get-View instead of Get-VM for this particular case:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Get-VM * | Get-AdvancedSetting -Name "scsi*sharing" | Select Entity, Name, Value&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea is to use:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Get-View -ViewType VirtualMachine | Where {-not $_.Config.Template} | Where {$_.Advanced.Setting -eq "scsi*sharing"} | Select Entity, Name, Value&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;but as far as I can see there is nothing for advance configuration of "VirtualMachine" here: &lt;A href="https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FVirtualMachine.html" title="https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FVirtualMachine.html"&gt;https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FVirtualMachine.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also took a look at &lt;A href="https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html" title="https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html"&gt;https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html&lt;/A&gt; but I cannot figure it out how to use "extraConfig&lt;SPAN class="footnote-ref" title="Need not be set"&gt;&lt;/SPAN&gt;" in the PowerCLI script to extract this particular information for "SCSI Sharing".&lt;/P&gt;&lt;P&gt;There is information how to use the API to add or change advanced key in .vmx file of a VM here: &lt;A href="http://blogs.vmware.com/PowerCLI/2008/09/changing-vmx-fi.html" title="http://blogs.vmware.com/PowerCLI/2008/09/changing-vmx-fi.html"&gt;http://blogs.vmware.com/PowerCLI/2008/09/changing-vmx-fi.html&lt;/A&gt; but still it is not clear for me how to use this just to extract information without changing anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 13:14:41 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/How-to-use-Get-View-instead-of-Get-VM-for-Advanced-Settings-of-a/m-p/931013#M264</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2015-02-28T13:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Installing driver vib with get-esxcli</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Installing-driver-vib-with-get-esxcli/m-p/1231604#M35685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither do I.&lt;BR /&gt;I spent several minutes to figured out that and I thought it would be a good idea if I share this here. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;I don't know if this is the right place but: also there is another interesting fact: "boolean maintenancemode" doesn't work (I set it to $true). I put two hosts in maintenance mode but the script above patched all hosts in the cluster without skipping the hosts which are not in maintenance mode. The version of the vCenter Server is "&lt;SPAN&gt;vCenter Server 5.1 Update 2a&lt;/SPAN&gt;", ESXi "&lt;SPAN&gt;ESXi 5.1 Patch 5&lt;/SPAN&gt;" (all hosts), PowerCLI 5.8 Release 1 (I also tried with PowerCLI 5.1 Release 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to express my gratitude here for the information you have shared.&lt;/P&gt;&lt;P&gt;This information saved me a couple of hours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 12:07:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Installing-driver-vib-with-get-esxcli/m-p/1231604#M35685</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2014-11-13T12:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Installing driver vib with get-esxcli</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Installing-driver-vib-with-get-esxcli/m-p/1231602#M35683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a simple script which can save a lot of time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;$hosts = Get-Cluster "Public Cluster" | Get-VMHost&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;foreach($vihost in $hosts){&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp; $esxcli = get-vmhost $vihost | Get-EsxCli&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt; $esxcli.software.vib.update($null,$false,$false,$false,$false,$true,$null,$null,"/vmfs/volumes/DATASTORE/VMware_locker_tools-light_5.1.0-2.44.2191751.vib")&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;}&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;P.S. Please, have in mind that when you have a vib file you have to specify "string[] viburl" and leave "string[]&amp;nbsp; vibname" empty (the example provided by LucD is not entirely correct).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 11:43:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Installing-driver-vib-with-get-esxcli/m-p/1231602#M35683</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2014-11-13T11:43:22Z</dc:date>
    </item>
    <item>
      <title>Virtualize IE6 and JInitiator for kVASy</title>
      <link>https://communities.vmware.com/t5/ThinApp/Virtualize-IE6-and-JInitiator-for-kVASy/m-p/1752754#M4797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Here is the procedure on virtualization of Internet Explorer 6 and JInitiator 1.3.1.26 concerning the work with kVASy (this might be useful for other applications as well):&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;1. Start "Prescan" from ThinApp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;2. Install JInitiator 1.3.1.26;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;3. Start kVASy and accept all dependencies (certificates, site popups, etc.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;4. From &lt;SPAN lang="BG"&gt;„jdk-1_5_0_22-windows-i586-p.exe“ take &lt;/SPAN&gt;jvm.dll and put it into "C:\Program Files\Oracle\JInitiator 1.3.1.26\bin\hotspot" replacing the old jvm.dll file;&lt;BR /&gt;5. In &lt;SPAN lang="BG"&gt;„&lt;/SPAN&gt;C:\Program Files\Oracle\JInitiator 1.3.1.26&lt;SPAN lang="BG"&gt;“ create new folder &lt;/SPAN&gt;“Cache”;&lt;BR /&gt;6. Go to JInitiator's Settings =&amp;gt; tab "Cache", choose "Clear JAR Cache" and change path to "C:\Program Files\Oracle\JInitiator 1.3.1.26\Cache&lt;SPAN lang="BG"&gt;". At the end click on "Apply";&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="BG" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;7. Start "Postscan" with option "Include an entry point for a fully virtualized Internet Explorer";&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN lang="BG"&gt;8. In "&lt;/SPAN&gt;&lt;SPAN lang="BG"&gt;&lt;SPAN lang="BG"&gt;&lt;SPAN lang="BG"&gt;isolation_full HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main&lt;/SPAN&gt;" add the following two rows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="BG" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Value=Check_Associations&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="BG" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;REG_SZ~No#2300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;9. Install JInitiator 1.3.1.26 locally on the machine that you will use kVASy (e.g. Master Image) and follow the steps from 4 to 6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;10. Create a file with name "deployment.config" in "C:\Program Files\Oracle\JInitiator 1.3.1.26\lib" and add this two rows:&lt;BR /&gt;&lt;SPAN lang="BG"&gt;deployment.system.config=file\:C\:/Windows/Sun/Java/Deployment/deployment.properties&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN lang="BG"&gt;deployment.system.config.mandatory=false&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN lang="BG"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN lang="BG"&gt;You can try few configuration (e.g. without "deployment.system.config.mandatory=false" or deployment.system.config.mandatory=true);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;11. In "C:\&lt;SPAN lang="BG"&gt;Windows&lt;/SPAN&gt;\&lt;SPAN lang="BG"&gt;Sun&lt;/SPAN&gt;\&lt;SPAN lang="BG"&gt;Java&lt;/SPAN&gt;\&lt;SPAN lang="BG"&gt;Deployment&lt;/SPAN&gt;" create a file "deployment.properties" and add: "-Dsun.java2d.noddraw=true".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Now your machine is ready for deploying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;P.S. If you want to use kVASy or other application with JInitiator 1.3.1.26 in IE 8, 9 or 10 the only thing you have to do is to take jvm.dll file from &lt;SPAN lang="BG"&gt;„jdk-1_5_0_22-windows-i586-p.exe“&lt;/SPAN&gt; and put it in "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;C:\Program Files\Oracle\JInitiator 1.3.1.26\bin\hotspot" and follow steps 10 and 11.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 19:05:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/Virtualize-IE6-and-JInitiator-for-kVASy/m-p/1752754#M4797</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2013-06-12T19:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: IE 6 Isolation for ActiveX Controls</title>
      <link>https://communities.vmware.com/t5/ThinApp/IE-6-Isolation-for-ActiveX-Controls/m-p/2576004#M6416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you tell me how to merge two packages in to one?&lt;/P&gt;&lt;P&gt;Should I merge registry files (HKEY_CURRENT_USER.txt; HKEY_LOCAL_MACHINE.txt; HKEY_USERS.txt) or only I have to add entries in package.ini? Is there any special steps that I have to follow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 09:04:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/IE-6-Isolation-for-ActiveX-Controls/m-p/2576004#M6416</guid>
      <dc:creator>haripetrov</dc:creator>
      <dc:date>2013-03-26T09:04:33Z</dc:date>
    </item>
  </channel>
</rss>

