Skip to content

(C) Workload Domain Patterns

Brendan O'Connor edited this page Feb 5, 2024 · 21 revisions

Pattern C-01: vCenter Server

Prerequisites:

  • Download the vCenter Server ISO from vmware.com (example: VMware-VCSA-all-8.0.0-20519528.iso).
  • Create a folder on the physical host's datastore and upload the ISO to the folder
  • Pattern B-01D

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script.

python3 build-e2ep-vcsa.py

Pattern C-01A: Create a Datacenter

Prerequisites:

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script.

python3 build-e2ep-vcsa-create-datacenter.py DATACENTERNAME

Example:

python3 build-e2ep-vcsa-create-datacenter.py TESTDC01

Pattern C-01B: Create a Datacenter using config file

Prerequisites:

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script.

python3 build-e2ep-vcsa-create-datacenter-with-config.py

Pattern C-01C: Add an ESXi host to vCenter

Prerequisites:

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script.

python3 build-e2ep-add-esxi-host.py <IP ADDRESS OF ESXI HOST>

Pattern C-01D: Add Physical ESXi host to vCenter using config file

Prerequisites:

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script.

python3 build-e2ep-add-physical-host-using-config.py

Pattern C-01E: Snapshot a virtual machine

Prerequisites:

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/vcsa/ repo.

cd /usr/local/e2e-patterns/vcsa/

Step 2: run the build script using the following parameters.

python3 build-e2ep-snapshot-vm.py VMNAME SNAPSHOTNAME

Pattern C-02: NSX Manager

Warning: This Pattern is old and in the process of being updated.

Prerequisites:

  1. Download the NSX OVA from vmware.com (example: nsx-unified-appliance-3.2.1.2.0.20541216.ova).
  2. Pattern B-01 must be completed.
  3. Pattern C-01 must be completed.
  • Expected runtime: 30min

Step 1: using the Master Controller, navigate to the /usr/local/e2e-patterns/nsx/ repo.

cd /usr/local/e2e-patterns/nsx/

Step 2: run the build script. Use the -p parameter if you've pre-staged the NSX node controller and want to skip the node controller build. Otherwise use the -a parameter.

python3 build-e2ep-nsx-manager.py -a

OR

python3 build-e2ep-nsx-manager.py -p

NOTE: during the runtime, if you have NOT entered the -p parameter, you will be prompted to download NSX OVA to the NSX node controller after it has been deployed. The script will pause until this action is completed. When completed, hit Enter and the script will resume. If you have used the -p parameter the prompt is skipped.