Sample Exchange

 View Only

Deploy vSAN 6.2 using the vSAN Management SDK for Python 

Jul 21, 2016 04:54 PM

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:

  1. Please make sure your vSAN's license contains All-Flash if deploying All-Flash
  2. The cluster does not have vSAN turned on
  3. 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 


#vSANManagementSDKforPython
#deployment
#Python
#vSAN
#Deploy
#Apache2.0

Statistics
0 Favorited
1 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
py file
vsanDeploy.py   11 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Comments

May 22, 2019 01:47 AM

is there a way to remove passing arguments and use variables instead i am trying to automate this though a work flow i have.

Related Entries and Links

No Related Resource entered.