VMware VS4-ENT-PL-A - vSphere Enterprise Plus Setup Manual page 34

Setup guide
Table of Contents

Advertisement

vSphere Installation and Setup
Set Database Permissions By Manually Creating Database Roles and the VMW
Schema
By using this recommended method, available with vCenter Server 5.x, the vCenter Server database
administrator can set permissions for vCenter Server users and administrators to be granted through
Microsoft SQL Server database roles.
VMware recommends this method because it removes the requirement to set up the database dbo schema
and db_owner role for vCenter Server users who install and upgrade vCenter Server.
Alternatively, you can assign vCenter Server database permissions by creating and assigning the db_owner
role and letting the vCenter Server installer create the default schema that assigns database user permissions
to that role. See
"Set Database Permissions by Using the dbo Schema and the db_owner Database Role,"
page 35.
Prerequisites
Create the vCenter Server database. See
page 33
Procedure
1
Create the database VCDB and the database schema VMW in VCDB.
2
Assign the default schema VMW to the user [vpxuser].
3
In the vCenter Server database, create the user role VC_ADMIN_ROLE.
4
In the vCenter Server database, grant privileges to the VC_ADMIN_ROLE.
a
Grant the schema permissions ALTER, REFERENCES, and INSERT.
b
Grant the permissions CREATE TABLE, VIEW, and CREATE PROCEDURES.
5
In the vCenter Server database, create the VC_USER_ROLE.
6
In the vCenter Server database, grant the schema permissions SELECT, INSERT, DELETE, UPDATE,
and EXECUTE to the VC_USER_ROLE.
7
Grant the VC_USER_ROLE to the user [vpxuser].
8
Grant the VC_ADMIN_ROLE to the user [vpxuser].
9
In the MSDB database, create the user [vpxuser].
10 In the MSDB database, create the user role VC_ADMIN_ROLE.
11 Grant privileges to the VC_ADMIN_ROLE in MSDB.
a
On the MSDB tables
user [vpxuser].
b
On the MSDB stored procedures
sp_add_jobserver
the role VC_ADMIN_ROLE.
12 In the MSDB database, grant the VC_ADMIN_ROLE to the user [vpxuser].
13 Connect to the vCenter Server database as user [vpxuser] and create the ODBC DSN.
14 Install vCenter Server.
34
"Create a SQL Server Database and User for vCenter Server,"
,
syscategories
sysjobsteps
sp_add_job
,
, and
sp_add_jobschedule
, and
, grant the SELECT permission to the
sysjobs
,
,
sp_delete_job
sp_add_jobstep
, grant the EXECUTE permission to
sp_add_category
on
on
,
,
sp_update_job
VMware, Inc.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vsphere 5.5

Table of Contents