VMware Cloud Community
cvinod
Contributor
Contributor

REST API query

Hello,

I am little new to the API docs...so pl pardon my rather naive query.

Are there VSAN API's that exist that can do the following : (haven't been able to spot them in the docs...perhaps i am looking in the wrong sections)

  1. RAID5 to RAID6 conversion of a vmdk object

  1. Disabling object level checksums

  1. Trigger a re-balance upon cluster growth 

Thanks

Vinod

Reply
0 Kudos
3 Replies
TheBobkin
Champion
Champion

Hello Vinod,

a. RAID5 to RAID6 conversion of a vmdk object

b. Disabling object level checksums

Via the API, these could both be configured via application of a Storage Policy with these attributes or the specific variables that you want to apply:

VosSetVsanObjectPolicy(setVsanObjectPolicy):

http://pubs.vmware.com/vsphere-6-0/index.jsp#com.vmware.vsan.apiref.doc/vim.cluster.VsanObjectSystem...

c. Trigger a re-balance upon cluster growth

Rebalance:

VsanRebalanceCluster(rebalanceCluster):

http://pubs.vmware.com/vsphere-6-0/index.jsp?topic=%2Fcom.vmware.vsan.apiref.doc%2Fvim.cluster.VsanV...

Bob

Reply
0 Kudos
cvinod
Contributor
Contributor

Thanks Bob ! 

Vinod

Reply
0 Kudos
TheBobkin
Champion
Champion

Happy to help.

If you come up with any useful scripts or snippets that you can share with the Community please do share, others may find these helpful (either directly or for comparison/examples).

Bob

Reply
0 Kudos