From Athenaeum
Jump to: navigation, search


Migrate a VM from one vCenter server/host to another:

  1. Download and install the ovftool on a client that can reach both servers
  2. ovftool --compress vi:// /mnt/storage/Ubuntu_18.04_x64.ova
  3. ovftool -nw="MGMT" -ds="sea_san_01B_esx1" --name=Ubuntu_18.04_x64 --diskMode=thin /mnt/storage/Ubuntu_18.04_x64.ova vi://

AD and SSO

Set Up



Memory Footprint

More recent memory adjustmentpost.

The VMware VCenter Virtual Appliance comes preconfigured with an absurd amount of ram. If you are running an environment with less than 100 hosts (haha like anyone that knows how to tune VMs has that many hosts) you can reduce its memory footprint from 8gb to 4gb, or lower, using the following java memory tweaks.

For vCenter Server Appliance version (deployed October, 2014), I only had to adjust the vCenter Inventory Service and Profile-Drive Storage Service as described here. Other settings all looked sane/similar to what's described here.

  • Startup script for vCenter Service.
Default: JAVA_OPTS=”$JAVA_OPTS -Xmx1024m -Xms512m -XX:PermSize-128m”. Xmx=max heap; Xms=starting heap.
Tweaked: JAVA_OPTS=”$JAVA_OPTS -Xmx512m -Xms512m -XX:PermSize-128m”.
  • vCenter Server.
Default: -Xmx1024m -XX:MaxPermSize=256m -Dvim.logdir=/var/log/vmware/vpx
Tweaked: -Xmx512m -XX:MaxPermSize=256m -Dvim.logdir=/var/log/vmware/vpx
Default: JVM_OPTS=”-Xss1024K -Xincgc -XX:+ForceTimeHighResolution -XX:PermSize=64M”
Tweaked: JVM_OPTS=”-Xss512M -Xincgc -XX:+ForceTimeHighResolution -XX:PermSize=64M”
  • vCenter Single Sing On.
Default: JVM_OPTS=”$JVM_OPTS -XX:MaxPermSize=256M –Xms2048m –Xmx2048m”
Tweaked: JVM_OPTS=”$JVM_OPTS -XX:MaxPermSize=256M -Xms512m -Xmx512m”
  • vCenter Inventory Service.
  • Profile-Drive Storage Service.

Bacula Client

  • There are no binaries for SUSE so in order to build the bacula client from source you need to add the following repo:

PostgreSQL Backups

  • The binaries are all located at /opt/vmware/vpostgres/1.0/bin
  • The root account is postgresql