VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 15 Results Sample Stretched Cluster
  • Enable Stretched Cluster AZ Locality

    Contributor Glenn Sizemore

    Configure a VMConAWS Stretched Cluster for reduced availability by creating the necessary tags, compute, and storage policies to pin a workload in one AZ or the other.  See Managing AZ Locality withi ...
    VMware Cloud on AWS PowerShell
    Download

    100 Downloads

    0 Comments

    Updated 2 years ago

  • VCF on VxRail Stretch Cluster

    Contributor Virti Shah

    For script usage, please refer to the 'VMware Cloud Foundation on Dell EMC VxRail Admin Guide'.
    VMware Cloud Foundation VxRail Python
    Download

    458 Downloads

    0 Comments

    Updated 1 year ago

  • VCF on VxRail Stretch Cluster

    Contributor Virti Shah

    \r\nFor script usage, please refer to the \'VMware Cloud Foundation on Dell EMC VxRail Admin Guide\'.<\/div>\r\n<\/div>\r\n
    VMware Cloud Foundation VxRail Python
    Download

    273 Downloads

    0 Comments

    Updated 11 months ago

  • VCF on VxRail Stretch Cluster

    Contributor VCF VMware

    Stretch cluster automation script to execute Stretching the cluster and Expansion of a stretched cluster workflows for VMware Cloud Foundation on Dell EMC VxRail SKU using Public API.For script usage, ...
    VMware Cloud Foundation VxRail Python
    Download

    153 Downloads

    0 Comments

    Updated 20 days ago

  • VCF on VxRail Stretch Cluster

    Contributor Chitiz Gupta

    For script usage, please refer to the 'VMware Cloud Foundation on Dell EMC VxRail Admin Guide'.
    VxRail VMware Cloud Foundation Python
    Download

    386 Downloads

    0 Comments

    Updated 1 year ago

  • PowerCLI Port of RVC command vsan.stretchedcluster.witness_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Witness information for a 2 Node or Stretched vSAN Cluster. Information included is: Cluster Name Witness Host Name Witness Uuid Witness IP Addre ...
    VMware PowerCLI PowerShell
    Download

    381 Downloads

    0 Comments

    Updated 3 years ago

  • PowerCLI Port of RVC command vsan.cluster_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Cluster information for a vSAN Cluster. Information included is: Host configurations vSAN Witness Host configuration (if Stretched Cluster or 2 N ...
    VMware PowerCLI PowerShell
    Download

    436 Downloads

    0 Comments

    Updated 3 years ago

  • PowerCLI Port of RVC command vsan.health.cluster_repair_immediately

    Contributor Jase McCarty

    This script will invoke the process to repair any vSAN Objects that need to be repaired. This is typically used when the 60 minute (default) Repair Timer has not expired, but an administrator would li ...
    VMware PowerCLI PowerShell
    Download

    323 Downloads

    0 Comments

    Updated 3 years ago

  • 2 Node Forced Warm Cache for Hybrid vSAN

    Contributor Jase McCarty

    This script forces reads to occur across both hosts in a 2 Node vSAN configuration. More information on the how and why, can be found here: https://blogs.vmware.com/virtualblocks/2016/04/18/2node-read ...
    VMware PowerCLI PowerShell
    Download

    427 Downloads

    0 Comments

    Updated 4 years ago

  • PowerCLI vSAN Witness Deployment

    Contributor Jase McCarty

    This script deploys a vSAN 6.0/6.5/6.7/& 6.7 P01 Witness Appliance. It will: Configure networking Add the vSAN Witness to vCenter Allows either Management (vmk0) or vmk1 to have vSAN Traffic tagged ( ...
    VMware PowerCLI PowerShell
    Download

    1014 Downloads

    0 Comments

    Updated 3 years ago