vCAC 6 series – Part 7 – Post Installation tasks

Verify IaaS Services

After installation, the system administrator verifies that the IaaS services are running. If the services are running, the installation is a success.

  • From the Windows desktop of the IaaS machine, select Administrative Tools > Services.
  • Locate the following services and verify that their status is Started.
  • VMware DEM – Orchestrator – DEO
  • VMware DEM – Worker – DEM
  • VMware vCloud Automation Center Agent Agent name
  • VMware vCloud Automation Center Service
  • Close the Services window.
Provide the Infrastructure License

After installation, the IaaS administrator logs into the vCloud Automation Center console and provides a license for the Infrastructure components.


  • Navigate to the vCloud Automation Center Appliance console by using its fully qualified domain name (
  • Accept the certificate.
  • Log in to the vCloud Automation Center console as IaaS administrator.
  • Click the Infrastructure tab.
  • Navigate to Infrastructure > Licensing.
  • Click Add License.
  • Type the VMware license code in the License key text box.
vCAC license

vCAC license

 Update certificates

Configuring Windows Service to Access the IaaS Database

If the SQL database is installed on a separate host from the Manager Service, database access from the Manager Service must be enabled. If the user name under which the Manager Service will run is the owner of the database, no action is required. If the user is not the owner of the database, the system administrator must grant access. In my scenario, DB owner for vCAC is LAB\artur and Manage services runs under LAB\ap-vcac .

IaaS services

IaaS services

DB owner

DB owner


  • Download package from
  • Navigate to the Database subdirectory within the directory where you extracted the installation zip archive.
  • Extract the archive to a local directory.
  • Log in to the database host as a user with the sysadmin role in the SQL Server instance.
  • Edit VMPSOpsUser.sql and replace all instances of $(Service User) with user (from Step 3) under which the Manager Service will run.
  • Do not replace ServiceUser in the line ending with WHERE name = N’ServiceUser’).
  • Open SQL Server Management Studio.
  • Select the database (vCAC by default) in Databases in the left-hand pane.
  • Click New Query.
  • The SQL Query window opens in the right-hand pane.
  • Paste the modified contents of VMPSOpsUser.sql into the query window.
  • Click Execute.
-- Make sure that the VRM manager service
-- can execute the Windows Workflow Foundation stored procedures.

DECLARE @Use_Windows_Authen CHAR(1)

exec sp_addrolemember 'state_persistence_users', 'Vrm_Manager'

-- Make sure that the VRM manager service
-- can execute the Task Execution stored procedures.
-- exec sp_addrolemember 'Task_Manager', 'Vrm_Manager'

/****** Object:  User [ServiceUser]    Script Date: 06/07/2007 10:34:38 ******/
/* The ServiceUser user allows ManagerService.exe access to SPs */

/* If login does not exist then create it */

SELECT @Use_Windows_Authen = '$(UseWindowsAuthentication)'

IF @Use_Windows_Authen = 'true'
	IF NOT EXISTS (SELECT * FROM sys.syslogins WHERE name='$(ServiceUser)')

/* If ServiceUser does not exist then create it */
IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'ServiceUser')
	CREATE USER ServiceUser FOR LOGIN [$(ServiceUser)]
/* If Vrm_Manager role does not exist then add this role */
IF NOT EXISTS( SELECT 1 FROM [dbo].[sysusers] WHERE name=N'Vrm_Manager' and issqlrole=1 )
	EXEC sp_addrole N'Vrm_Manager'
-- add ServiceUser as a member of Vrm_Manager role
exec sp_addrolemember 'Vrm_Manager', 'ServiceUser'
-- add ServiceUser as a member db_owner role
exec sp_addrolemember 'db_owner', 'ServiceUser'

Of course, there is also workaround 🙂 change user under which services running on to db owner 🙂

vCloud Automation Center 6.0 series
0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from

You have Successfully Subscribed!

Pin It on Pinterest