WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Improved VM Storage Policy (Profile-driven storage) privileges in vSphere 8.x

06.26.2023 by William Lam // 2 Comments

A couple of weeks ago I had noticed a few internal folks were asking about missing Profile-driven storage privileges in vSphere 8.x when referring to 2nd party VMware documentation asking for two privileges called "Profile-driven storage update" and "Profile-driven storage view" which no longer exists in vSphere 8.x when compared to the vSphere 7.x documentation.

At first, I thought this was purely a rename issue as the underlying feature of these privileges has always been known as VM Storage Policies, which is even used in the vSphere 7.x UI and has been around for quite some time. It looks like in earlier releases, the vSphere UI label for the privilege was still using the older name.

Here is a a screenshot of a vSphere 7.x environment where you can see the original two privilege names:


Here is a a screenshot of a vSphere 8.x environment, which now actually lists seven privileges, which has lead to some additional confusion.


Furthermore, it looks like these additional VM Storage Policy privileges have also not been updated in the vSphere 8.x documentation, which is currently a known issue and only references the renamed privileges.

[Read more...]

Categories // Automation, vSphere, vSphere 8.0 Tags // vm storage policy, vSphere 8.0

Feedback on default behavior for VM Storage Policy

06.05.2018 by William Lam // 1 Comment

Today, the vCenter REST (vSphere Automation) APIs currently does not support the use of VM Storage Policies when relocating (vMotion, Cross Datacenter vMotion & Storage vMotion) or cloning an existing Virtual Machine. Customers have provided feedback that this is something that they would like to see get added to the current REST APIs and while this is being looked at, there were a couple of open questions from Engineering.

The following 2-question survey below is to help us understand what the "default" behavior should be when a Virtual Machine is being relocated or cloned within a vCenter Server and a VM Storage Policy is NOT specified when using the APIs. The reason for this is that our existing APIs for relocate and clone today are very flexible and not everything needs to be specified as part of the relocate or clone API specification. However, due to this flexibility, you may observe different behaviors and we would like to understand what the default behavior should be when some of these paraemters are not specified. In the case where you want to be explicit, you can always specify the VM Storage Policy, but the survey is to understand when it is not specified.

Survey: https://goo.gl/forms/aQjVTly2MmVHeRsp1

Thank you  for taking the time to provide your feedback, this will help us build an easy and robust API when dealing with relocate and clone operations using the vCenter REST APIs.

Categories // Automation, vSphere Tags // clone, relocate, spbm, vm storage policy, vm storage profile

Minimum permissions to view VM Storage Policies

01.19.2017 by William Lam // Leave a Comment

Any way to allow vCenter users to see #SPBM policies without using global permissions?
No pol visible w/cluster level permissions #vmware

— Aaron Patten (@Jedimt) January 18, 2017

I saw this question from Aaron yesterday while scrolling through my Twitter timeline and after answering it, I figure I write a quick blog post about it in case this comes up in the future.

There are two specific privileges around managing VM Storage Policies: Update and View as shown in the screenshot below. If you only want to allow users to be able to see all the available VM Storage Policies that have been defined, then you just need to create a new Role with only the "View" privilege.

Secondly, it is important to note that VM Storage Policies are defined and managed at a vCenter Server level. This means that when you assign the permission, it needs to be applied at the root vCenter Server level (you do not have to propagate it down wards if you do not wish to show the rest of the vSphere Inventory). Global permissions are not required, but if you have multiple vCenter Servers which are all part of the same SSO Domain, you may want to consider this if users are allowed to login to any one of the vCenter Servers.

Once you have assigned the permission to either the user or group, then you can have them login using either the vSphere Web Client or using the SBPM APIs and you will now be able to view all defined VM Storage Policies.

Categories // Uncategorized Tags // spbm, vm storage policy, vm storage profile

  • 1
  • 2
  • 3
  • …
  • 5
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...