VM Disk Expansion Playbook? | Nutanix Community
Skip to main content

Hi All,

 

New here so I’m not sure this is the right place.  Is there playbook or way to automate disk expansion?  Can it expand the disk then trigger powershell to expand in the vm? 

 

Thank you,
Doug

Hello @ke_dkropp 
Need to look around on how to expand the disk in the VM, but you can update the virtual disk by using the API. 
https://www.nutanix.dev/reference/prism_element/v2/api/virtual-disks/put-virtual-disks-updatevirtualdisk


@ke_dkropp 

As of now , we dont have any default playbook in Prism Pro X-Play for vm disk add.

However you can create a custom playbook for the same.

Playbook → Manual trigger → Entity : VM → Rest API  to add disk to selected vm. You need to script that] → Powershell/SSH wto update disk in OS 


With both PC and PE on 5.17 AOS version and greater, we can now use Playbooks to expand the VM disk size automatically.

 

Check out this video:

Â