Skip to main content
Question

VM Disk Expansion Playbook?

  • December 16, 2019
  • 3 replies
  • 2312 views

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

This topic has been closed for replies.

3 replies

HITESH0801
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • December 16, 2019

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


sandeepmp
Nutanix Employee
Forum|alt.badge.img+19
  • Nutanix Employee
  • December 21, 2019

@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 [to update disk in OS 


Forum|alt.badge.img+2
  • Nutanix Employee
  • August 21, 2020

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: