Difference between revisions of "VCSA"

From Athenaeum
Jump to: navigation, search
m (1 revision imported)
Line 1: Line 1:
[[Category: vmware]]
[[Category: vmware]]
Migrate a VM from one vCenter server/host to another:
# Download and install the ovftool on a client that can reach both servers
# ovftool --compress vi://vcsa-nexus.mgmt.nexus.systems/LabvCenter01/vm/Templates/Ubuntu_18.04_x64 /mnt/storage/Ubuntu_18.04_x64.ova
# ovftool -nw="MGMT" -ds="sea_san_01B_esx1" --name=Ubuntu_18.04_x64 --diskMode=thin /mnt/storage/Ubuntu_18.04_x64.ova vi://vcsa-nexus.mgmt.nexus.systems/Colo03/host/SEA-CLUSTER-01/colo-vmhost02.mgmt.tsafe.systems
==AD and SSO==
==AD and SSO==

Latest revision as of 17:57, 18 August 2020


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://vcsa-nexus.mgmt.nexus.systems/LabvCenter01/vm/Templates/Ubuntu_18.04_x64 /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://vcsa-nexus.mgmt.nexus.systems/Colo03/host/SEA-CLUSTER-01/colo-vmhost02.mgmt.tsafe.systems

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.
Default: wrapper.java.maxmemory=3072
Tweaked: wrapper.java.maxmemory=1024
  • Profile-Drive Storage Service.
Default: wrapper.java.maxmemory=1024
Tweaked: wrapper.java.maxmemory=512

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