Skip to content

Instantly share code, notes, and snippets.

Install Photon Platform

*Open Putty

  • Scroll down to photon-installer.corp.local
  • Double-click to ssh into Photon Installer VM
    • Password is changeme
  • Run the command photon-setup platform install -config install.yaml

sysctl -p

sysctl net.ipv6.conf.all.forwarding=1

sysctl net.ipv6.bindv6only=0

compute:
hypervisors:
vlab-esx-80:
hostname: "vlab-esx-80.vballin.com"
ipaddress: "192.168.79.80"
dns: "192.168.64.101"
credential:
username: "root"
password: "netmanftw"
vlab-esx-90:
# ESX Start Host deployment Settings
$ESXIP = "192.168.79.120"
$ESXUser = "root"
$ESXPWD = "VMware1!"
# VCSA Configuration
$VCSACDDrive = "D:\"
$SSODomainName = "vballin.com"
$VCNAME = "vlab-vcsa"
$VCUser = "Administrator@$SSODomainName"
photon cluster show 70fe8e6a-2aa0-467c-9219-a111530c21bc
Cluster ID: 70fe8e6a-2aa0-467c-9219-a111530c21bc
Name: habor01
State: READY
Type: HARBOR
Worker count: 0
Extended Properties: map[netmask:255.255.255.0 dns:192.168.110.10 master_ip:192.168.110.20 ca_cert:-----BEGIN CERTIFICATE-----
MIIFzzCCA7egAwIBAgIJAKFFEoupMchdMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRIwEAYDVQQHDAlQYWxvIEFsdG8x
DzANBgNVBAoMBlZNd2FyZTEbMBkGA1UECwwSVk13YXJlIEVuZ2luZWVyaW5nMRgw
hosts:
- address_ranges: 192.168.79.80
username: root
password: netmanftw
usage_tags:
- MGMT
- CLOUD
metadata:
MANAGEMENT_DATASTORE: vLab-NFS-DS-SSD
MANAGEMENT_PORTGROUP: mgmt-net
hosts:
- metadata:
MANAGEMENT_DATASTORE: datastore1
MANAGEMENT_PORTGROUP: VM Network
MANAGEMENT_NETWORK_NETMASK: 255.255.255.0
MANAGEMENT_NETWORK_DNS_SERVER: 10.113.61.110
MANAGEMENT_NETWORK_GATEWAY: 192.168.110.1
MANAGEMENT_VM_IPS: 192.168.110.20
address_ranges: 192.168.110.4
username: root
# Setup array with hosts
$computehosts = @(
"10.172.156.85",
"10.172.156.84",
"10.172.156.89"
);
$mgmthost2 = "10.172.156.86"
$mgmthost3 = "10.172.156.91"
############################################
# Configuration Settings #
############################################
$switchName="NSBU-SE-VIO-VDS"
$promiscuous=$true
$forgedTransmits=$true
$macChanges=$true
###################################################
# Shouldn't need to edit anything below this line #