Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am nvpnathan on github.
  • I am nvpnathan (https://keybase.io/nvpnathan) on keybase.
  • I have a public key whose fingerprint is 97C1 1649 1169 2E07 8CE4 8873 5574 AF57 222C 63F6

To claim this, I am signing this object:

View VDSSec.PS1
############################################
# Configuration Settings #
############################################
$switchName="NSBU-SE-VIO-VDS"
$promiscuous=$true
$forgedTransmits=$true
$macChanges=$true
###################################################
# Shouldn't need to edit anything below this line #
View CreateLocalDatastores
# 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"
View esxcloud-installation-export-config.yaml
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
View photon-platform.yaml
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
View harbor output
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
View Install vCenter
# 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"
View photon1.1.1.yaml
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:
View docker meetup.md
View docker binding to ipv6.md

sysctl -p

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

sysctl net.ipv6.bindv6only=0