VMware Cloud Community
vgd_nokia
Contributor
Contributor

Extending partition size of all VMs in a VNF in a batch mode.

We want to resize and increase a partition size inside all VMs of a VNF, without editing vm settings individually using vsphere as below,

https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-E1D541D1-DF96-467...

Please note these VMs are already deployed and we dont prefer to undeploy the VMs to make these changes.

We are looking at ways to mass-administer the VMs in bulk. Is there any VMware tool that helps to achieve this as a bulk operation without editing individual VM settings to resize the partition ?

Thanks.

3 Replies
daphnissov
Immortal
Immortal

There are several including PowerCLI and vRealize Orchestrator.

vgd_nokia
Contributor
Contributor

Thanks.

I could there is a Set-HardDisk cmdlet in PowerCLI that seems to support partition resize.

Does resize requires VM to be powered off ?

Reply
0 Kudos
daphnissov
Immortal
Immortal

If you're using a SCSI-based storage adapter, disk extends could be done online. Keep in mind that PowerCLI (and similar automation tools/frameworks) will handle the disk extension from the infrastructure level, but to extend the filesystem inside the guest to use this added space will require additional automation from an in-guest logic perspective.