Skip to content

sreenivasmrpivot/control-plane-nsxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Control Plane onto NSX-T

This repo contains scripts and terraform configurations to deploy a control plane, opsmanager and PKS to NSX-T. It assumes that NSX-T has been installed and configured with a T0 Router.

Setup Variables

cat > .envrc <<EOF
export PEZ_PASSWORD=<password>
export PEZ_JUMPBOX=
export PIVNET_TOKEN=<pivnet_token>
export VSPHERE_PASSWORD=<password>
export VSPHERE_USER=administrator@vsphere.local
export OPSMAN_SSH_PASSWORD=<password>
export OPSMAN_USER=admin
export OPSMAN_PASSWORD=<password>
export OPSMAN_DECRYPTION_PASSPHRASE=<password>
export NSXT_USER=admin
export NSXT_PASSWORD=<password>
export ENVIRONMENT_NAME=sandbox
EOF

Run the following source command to set the environment variables into your shell or install direnv to do this automatically.

source .envrc

Control Plane

  • Run ./scripts/init.sh to install required tools
  • Create a Resource pool in the Cluster called control-plane
  • Create a VM and Template folder under Datacenter called control-plane-vms
  • Update ./versions.yml to use latest versions
  • Update ./control-plane/vars/$ENVIRONMENT_NAME/terraform.tfvars
  • run ./scripts/terraform-control-plane-apply.sh - this will create the infrastructure required in NSX-T for a control-plane, mainly the T1 router.
  • Update opsman.yml and director.yml in the control-plane vars directory.
  • Run ./scripts/download-opsman.yml
  • Run ./scripts/deploy-opsman.yml
  • Verify that the opsmanager is online and accessible.
  • Run ./scripts/download-control-plane.sh to download releases control plane from pivnet
  • Finally run ./scripts/deploy-control-plane.sh to deploy the control plane.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors