Question

VM Disk Expansion Playbook?

  • 16 December 2019
  • 2 replies
  • 2499 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


2 replies

Userlevel 4
Badge +5

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

Userlevel 4
Badge +19

@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 

Reply