//:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Reference: http://vthinkbeyondvm.com/drs-rules-part-ii-how-to-create-vm-vm-affinity-rules-using-vsphere-api/ //:: # Description: Script to create DRS VM-VM affinity/anti-affinity rules //::# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners///:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Reference: http://vthinkbeyondvm.com/drs-rules-part-ii-how-to-create-vm-vm-affinity-rules-using-vsphere-api/ //:: # Description: Script to create DRS VM-VM affinity/anti-affinity rules //::# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ //:: # Author: Vikas Shitole //:: # Product/Feature: vCenter Server/DRS //:: # Reference: http://vthinkbeyondvm.com/drs-rules-part-ii-how-to-create-vm-vm-affinity-rules-using-vsphere-api/ //:: # Description: Script to create DRS VM-VM affinity/anti-affinity rules //::# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ #vSphereManagementSDK #Java #vThinkBeyondVM.com #drs #MIT #vSpherejavasdk
CreateDRSVMVMRules.java
This script can be run against a vSAN Stretched Cluster to create Host Groups and VM Groups. The script requires PowerCLI 6.5.1, released 4/20/2017 and has been tested against vSAN 6.6. Using PowerCLI 6.5.1, this could still be used against vSAN 6.1/6.2/6.5 Stretched Clusters. VM's that...
Vsan-StretchedClusterDrsRules.ps1
What this script does: Report on DRS cluster VMs and its assciated VM-VM affinity/anti affinity rules. Author: Vikas Shitole www.vThinkBeyondVM.com #drs #powercli #VMwarePowerCLI #PowerShell #vSphereManagementSDK #vSphere #vSphereAPI #MIT
FindRulesForVMInCluster.ps1
# Author: Vikas Shitole # Website: www.vThinkBeyondVM.com # Product: vCenter server/vSphere DRS rules # Description: Python script to get associated DRS rules for a Virtual Machine (from DRS cluster) # Reference: http://vthinkbeyondvm.com/pyvmomi-tutorial-how-to-get-all-the-core-vcenter-server-inventory-objects-and-play-around/ # How to setup pyVmomi environment?
getDRSRules.py
//:: # Author: Vikas Shitole //:: # Product/Feature: vCenter Server/DRS //:: # Description: Script to edit VM VM DRS affinity rules //:# Reference: http://vthinkbeyondvm.com/how-to-edit-drs-vm-vm-affinity-rules-using-vsphere-api-bit-tricky-solution/ //:# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Description: Script to edit VM VM affinity rules //:# Reference: http://vthinkbeyondvm.com/how-to-edit-drs-vm-vm-affinity-rules-using-vsphere-api-bit-tricky-solution/ //:# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-ste #Java #vSphereManagementSDK #drs #vThinkBeyondVM.com #vSpherejavasdk #MIT
EditVmVmDrsRule.java
This vRealize Orchestrator package creates a Dynamic Type (DT) for the management of vSphere Cluster DRS VM Affinity, Anti-Affinity rules and VMGroup to HostGroup Affinity and Anti-Affinity rules. Once the DT namespace created, you can use the provided workflows to create a custom resource within vRealize Automation – Cloud Assembly to manage the DRS rules in a Cloud Template
dynamictypes-vCenterDrsRules.package
2 Comments - no search term matches found in comments.
//:: # Author: Vikas Shitoleff//:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Description: Script to find all the rules associated with all the VMs in the DRS cluster //::# Reference: http://vthinkbeyondvm.com/how-to-get-all-drs-rules-associated-with-each-vm-in-a-drs-cluster-using-api-interesting-api-in-vsphere-6-0/ //:# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ //:: # Author: Vikas Shitole //:: # Product/Feature: vCenter Server/DRS //:: # Description: Script to find all the rules associated with all the VMs in the DRS cluster //::# Reference: http://vthinkbeyondvm.com/how-to-get-all-drs-rules-associated-with-each-vm-in-a-drs-cluster-using-api-interesting-api-in-vsphere-6-0/ //:# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Description: Script to find all the rules associated with all the VMs in the DRS cluster //::# Reference: http://vthinkbeyondvm.com/how-to-get-all-drs-rules-associated-with-each-vm-in-a-drs-cluster-using-api-interesting-api-in-vsphere-6-0/ //:# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ #MIT #vSpherejavasdk #vThinkBeyondVM.com #vSphereManagementSDK #drs #Java
FindRulesForVMsInCluster.java