Determine the appropriate set of privileges for common tasks in vCenter Server


 

1.4l
 
Determine the appropriate set of privileges for common tasks in vCenter Server

A role is a predefined set of privileges.
Privileges define individual rights that a user requires to perform actions and read properties.

When you assign a principal (user or group) permissions, you pair the principal with a role and associate that pairing with an inventory object.

A single user might have different roles for different objects in the inventory.


The roles created on a host are separate from the roles created on a vCenter Server system. When you manage a host using vCenter Server, the roles created through vCenter Server are available. If you connect directly to the host using the vSphere Client, the roles created directly on the host are available.

Privilege

The right to perform a specific action, e.g. power on a VM, change a configuration value, or create a task

Role

A collection of privileges

Object

The entity on which roles are applied, e.g. VM, host, folder, cluster, etc

Principal

The individual or set of individuals to which privileges or roles are granted

Permissions

The application of a role to a user/group for an object


 
 

Task

Required Privileges

Applicable Role

Create a virtual machine

On the destination folder or datacenter:

Virtual Machine.Inventory.Create

Virtual Machine.Configuration.Add New Disk
(if creating a new virtual disk)

Virtual Machine .Configuration.Add Existing Disk
(if using an existing virtual disk)

Virtual Machine.Configuration.Raw Device
(if using a RDM or SCSI pass-through device)

Virtual Machine Administrator

On the destination host, cluster, or resource pool:
Resource.Assign Virtual Machine to Resource Pool

Virtual Machine Administrator

On the destination datastore or folder containing a datastore:
Datastore.Allocate Space

Datastore Consumer or Virtual Machine Administrator

On the network that the virtual machine will be assigned to:
Network.Assign Network

Network Consumer or Virtual Machine Administrator

Deploy a virtual machine from a template

On the destination folder or datacenter:

Virtual Machine.Inventory.Create

Virtual Machine.Configuration.Add New Disk

Virtual Machine Administrator

On a template or folder of templates:
Virtual Machine.Provisioning.Deploy Template

Virtual Machine Administrator

On the destination host, cluster or resource pool:
Resource.Assign Virtual.Machine to Resource Pool

Virtual Machine Administrator

On the destination datastore or folder of datastores:
Datastore.Allocate Space

Datastore Consumer or Virtual Machine Administrator

On the network that the virtual machine will be assigned to:
Network.Assign Network

Network Consumer or Virtual Machine Administrator

Take a virtual machine snapshot

On the virtual machine or a folder of virtual machines:
Virtual Machine.State.Create Snapshot

Virtual Machine Power User or Virtual Machine Administrator

On the destination datastore or folder of datastores:
Datastore.Allocate Space

Datastore Consumer or Virtual Machine Administrator

Move a virtual machine into a resource pool

On the virtual machine or folder of virtual machines:

Resource.Assign Virtual Machine to Resource Pool

Virtual Machine.Inventory.Move

Virtual Machine Administrator

On the destination resource pool:
Resource.Assign Virtual Machine to Resource Pool

Virtual Machine Administrator

Install a guest operating system on a virtual machine

On the virtual machine or folder of virtual machines:

Virtual Machine.Interaction.Answer Question

Virtual Machine.Interaction.Console Interaction

Virtual Machine.Interaction.Device Connection

Virtual Machine.Interaction.Power Off

Virtual Machine.Interaction.Power On

Virtual Machine.Interaction.Reset

Virtual Machine.Interaction.Configure CD Media
(if installing from a CD)

Virtual Machine.Interaction.Configure Floppy Media (if installing from a floppy disk)

Virtual Machine.Interaction.Tools Install

Virtual Machine Power User or Virtual Machine Administrator

On a datastore containing the installation media ISO image:
Datastore.Browse Datastore (if installing from an ISO image on a datastore)

Virtual Machine Power User or Virtual Machine Administrator

Migrate a virtual machine with vMotion

On the virtual machine or folder of virtual machines:

Resource.Migrate

Resource.Assign Virtual Machine to Resource
Pool
 (if destination is a different resource pool from the source)

Datacenter Administrator or Resource Pool Administrator or Virtual Machine Administrator

On the destination host, cluster, or resource pool (if different from the source): Resource.Assign Virtual Machine to Resource Pool

Datacenter Administrator or Resource Pool Administrator or Virtual Machine Administrator

Cold migrate (relocate) a virtual machine

On the virtual machine or folder of virtual machines:

Resource.Relocate

Resource.Assign Virtual Machine to Resource Pool (if destination is a different resource pool from the source)

Datacenter Administrator or Resource Pool Administrator or Virtual Machine Administrator

On the destination host, cluster, or resource pool (if different from the source): Resource.Assign Virtual Machine to Resource Pool

Datacenter Administrator or Resource Pool Administrator or Virtual Machine Administrator

On the destination datastore (if different from the source):
Datastore.Allocate Space

Datastore Consumer or Virtual Machine Administrator

Migrate a Virtual Machine with Storage vMotion

On the virtual machine or folder of virtual machines: Resource.Migrate

Datacenter Administrator or Resource Pool Administrator or Virtual Machine Administrator

On the destination datastore: Datastore.Allocate Space

Datastore Consumer or Virtual Machine Administrator

Move a host into a cluster

On the host: Host.Inventory.Add Host to Cluster

Datacenter Administrator or Virtual Machine Administrator

On the destination cluster:Host.Inventory.Add Host to Cluster

Datacenter Administrator or Virtual Machine Administrator

 

References:

  • http://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.dcadmin.doc_41/vsp_dc_admin_guide/
    managing_users_groups_roles_and_permissions/c_managing_users_groups_roles_and_permissions.html
  • http://communities.vmware.com/docs/DOC-11409