Deploy vSAN 6.2 using the vSAN Management SDK for Python
This file includes sample code to configure a vSAN cluster.
Before running this script, please make sure you have a vCenter Server, Cluster, and a proper vSAN license.
The code has been tested with the following configuration
Testbed: One cluster with four hosts. Each host has one 50G SSD and two 100G SSD
Preconditions:
- Please make sure your vSAN's license contains All-Flash if deploying All-Flash
- The cluster does not have vSAN turned on
- The hosts are part of a vsphere Cluster
Case1: Create a vSAN cluster
python vsanDeploy.py -s <VCENTERSERVER> -u user -p password --cluster CLUSTER --allflash --vmknic vmkX --vsanlicense
Sign in to be able to add comments.
Comments 1
2719005674 3 years ago
is there a way to remove passing arguments and use variables instead i am trying to automate this though a work flow i have.