Python SDK based script which provides vsan health information about controller and driver. Python <scriptname> -i <VC-IP> -c <vsan cluster name> -u <VC username> -p <VC Password> To run this script, you need to download the python vsan API's and put them under the python path. The API's are available for download at https://code.vmware.com/web/sdk/6.6.1/vsan-python Python <scriptname> -i <VC-IP> -c <vsan cluster name> -u <VC username> -p <VC Password> To run this script, you need to download the python vsan API's and put them under the python path. The API's are available for download at https://code.vmware.com/web/sdk/6.6.1/vsan-python #Apache2.0 #Python #vSAN #vSANManagementSDKforPython
vsan_health.py
This script is a modification of the vsanapisamples.py script that is included with the vSAN Management SDK for python. The syntax for the script is: python vsanapicapacity.py -s vCenterServer -u 'vsphere username' -p 'password' -- cluster ClusterName *Humanize is required to properly format the capacity reporting: https://pypi.python.org/pypi/humanize #Apache2.0 #Python #Pyvmomi #vSANManagementSDKforPython #vSAN #Capacity
Virtual-SAN-6-2-Capacity---Total-and-Free-from-vCenter.py
2 Comments - no search term matches found in comments.
Each host has one 50G SSD and two 100G SSD Preconditions: Please make sure your vSAN's license allows for vSAN Stretched Clustering (if greater than 2 nodes) The cluster has vSAN turned on with or without disks claimed There are no fault domains configured There is no witness VM deployed There is no witness host added The witness host contain available SSD/HDDs Case1: Create a streched cluster with two fault domains f1 and f2 with virtual witness host python stretchedCluster.py -s <VCENTERSERVER> -u administrator@vsphere.local -p **** --preferdomain f1 --seconddomain f2 --ovfurl 'http://server/VMware-VirtualSAN-Witness-6.0.0.update02-3620759.ovf' --witness-vmhost <ESXIHOST> --witness-datastore vsanDatastore --witness-vmname witness --witness-vmpassword **** --witnessdc VSAN-DC --witness-vmdatacenter VSAN-DC Case2: Create streched cluster with two fault domains f1 and f2 with physical witness host python stretchedCluster.py -s <VCENTERSERVER> -u administrator@vsphere.local -p **** --preferdomain f1 --seconddomain f2 --witnesshost <WITNESSHOST> --witnesshost-user root --witnesshost-pwd **** --witnessdc VSAN-DC #StretchedCluster #Witness #vSANManagementSDKforPython #2Node #Python #Apache2.0 #vSAN
stretchedCluster.py
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 #vSANManagementSDKforPython #deployment #Python #vSAN #Deploy #Apache2.0
vsanDeploy.py
1 Comment - no search term matches found in comments.
#OtherPlatform #MIT #Python #vSAN #vSphere
python_vsan_sdk_monitoring-master.zip
Case1: Upgrade from On-Disk Format Version 2 to Version 3 python vsanDeploy.py -s <VCENTERSERVER> -u user -p password --cluster <CLUSTER> Case2: Upgrade from On-Disk Format Version 2 to Version 3 with reduced redundancy python vsanDeploy.py -s <VCENTERSERVER> -u user -p password --cluster <CLUSTER> -- reduceredundancy Case3: Upgrade from On-Disk Format Version 2 to Version 3 and enable Deduplication and Compression python vsanDeploy.py -s <VCENTERSERVER> -u user -p password --cluster <CLUSTER> -- enabledc #upgrade #Pyvmomi #On-DiskFormat #vSANManagementSDKforPython #VSAN-FS #Python #vSAN #Apache2.0
vsanUpgrade.py
Can either operate on a cluster in a VCF instance or an individual host. #MIT #ESXi #Python #vSphere #vSAN #vSphere
esxi_certtool-master.zip
Export VMware vSAN metrics to InfluxDB vsanmetrics vsanmetrics is a tool written in Python for collecting usage and performance metrics and health status from a VMware vSAN cluster and translating them in InfluxDB's line protocol
vsanmetrics-master.zip
More details available at: https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.virtualsan.doc/GUID-47ABB4AE-98D7-4373-A61B-4DB72875A6DD.html #performance #vSAN #Python #VirtualSANManagementSDKforPython #Apache2.0 #diagnostics
vsanperfdiagnose-master.zip
Categories: batch other perl php powershell puppet python ruby shell Licensing The MIT License (MIT) Copyright (c) 2015 www.virtuallyghetto.com !...#vGhetto #MIT #vSphereManagementSDK #Python #vSAN
find_vsan_storage_ctrl_queue_depth.py