Windows VMWare vCenter 6.0 to 6.5 VCSA Migration Issues

I encountered a few issues earlier today when trying to use the VMWare migration tool to move from a Windows vCenter 6.0 to a VCSA 6.5 appliance.

The migration first failed with a error that was helpfully detailed by another person here

If you were monitoring the source vCenter server, during the export process, one would notice that an error pops up while compressing the source data. The error presented is generated from Windows creating an archive (zip file), the error reads: “The compressed (zipped) folder is invalid or corrupted.”. The entire migration process halts until you dismiss this message, with the entire migration ultimately failing (at first it appears to continue, but ultimately fails).

The fix for this error is centered around removing VMWare update manager before attempting the migration again. Unfortunately, there are two common errors I encountered trying to accomplish that uninstall process —

These errors are fairly cryptic, but you can resolve it by carefully reading the vminst.log file generated by the uninstaller (Located in %temp%). We can see the following lines –

The uninstall process is looking for two things that don’t exist on the local system, a firewall rule and a system DSN (ODBC connector used to connect to the VUM database)

The resolution is as follows –

  • Create temporary firewall rule that matches the uninstall script (run from admin command prompt)
    • add rule name=”vmware-update-temp” dir=in localport=8084 protocol=TCP action=allow
  • Create temporary 32bit system DSN that matches the uninstall script name “VMware vSphere Update Manager” on your old vCenter/VUM server.
  • Disable VUM Database in your SQL server (Right click > set offline)

 

After completing the above steps, re-run the migration wizard and your 6.0 > 6.5 VCSA migration should complete without errors!

Cheap environmental monitoring with Raspberry Pi/Grafana/InfluxDB

I’ve been working on practicing my Python skills by working on getting various temperature statistics from my home server room into Influxdb, Then charting them with Grafana. It’s pretty amazing what you can do with a minimal investment of parts, and a little time. It’s also a chance to get down and dirty on some basic hardware circuit design. Here’s a little overview of a simple project I did to create a very cheap Server Room Temperature Monitor. Continue reading “Cheap environmental monitoring with Raspberry Pi/Grafana/InfluxDB”

Setting up and troubleshooting Palo Alto U-Turn NAT with multiple Virtual Router Instances

At times you may encounter a need to have U-Turn NAT in place on your firewall to allow internal devices to access resources you host (Such as a web-server) in the same Datacenter, by using their public address. Palo Alto has a great KB article here on the subject.  Setting this up is a significant amount of work when used in a environment that is designed for multi-tenancy through the use of Virtual Routers on the PA Firewall. Below are some of my challenges and solutions. Continue reading “Setting up and troubleshooting Palo Alto U-Turn NAT with multiple Virtual Router Instances”