Book Image

Hyper-V Network Virtualization Cookbook

By : Ryan Boud
Book Image

Hyper-V Network Virtualization Cookbook

By: Ryan Boud

Overview of this book

Table of Contents (16 chapters)
Hyper-V Network Virtualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Deploying the required service accounts


This recipe will provide you with the steps required to deploy the required service accounts to the correct servers. It will assist you with your evaluation of Virtual Machine Manager before deploying into a production environment. For the purpose of the Service Accounts, please read Appendix, Planning Virtual Machine Manager.

Getting ready

It is assumed you have access to Active Directory to create and populate Security Groups and to create and link Group Policy Objects.

How to do it…

The following diagram shows you the high-level steps involved in this recipe and the tasks required to complete this recipe:

The following screenshot shows how the Active Directory Organization Units (OUs) are structured for this recipe:

The list of accounts that will be used is as follows:

Account name

Use

Username

VMM Service Account

Running VMM services and accessing resources

SVC_VMMSrvc

VMM Agent Run As Account

Managing Hyper-V Hosts and Infrastructure Servers

SVC_VMMAgntRA

VMM SQL Server Account

Running VMM SQL Server instance

SVC_VMMSQLEng

VMM SQL Server Agent Account

Running VMM SQL Server Agent for a SQL instance

SVC_VMMSQLAgnt

VM Domain Join Run As Account

Joining new VMs to the domain

SVC_VMMJoinDom

VMM Installation Account

The account used to install VMM

Install_VMM

Now perform the following steps:

  1. Create the user accounts for VMM.

  2. The user accounts for SQL are shown in the following screenshot:

  3. The groups for Hyper-V Servers and VMM Servers are shown in the following screenshot:

  4. A new Group Policy Object (GPO) needs to be created and linked to the Hyper-V OU.

  5. Click on the Details tab and select User configuration settings disabled from the GPO Status dropdown, as shown in the following screenshot:

  6. Right-click on the GPO name under the Hyper-V OU and click on Edit. Navigate to Computer Configuration | Preferences | Control Panel Settings | Local Users and Groups. Right-click and navigate to New | Local Group.

  7. Make sure the Action field is set to Update, Group name is set to Administrators (built-in), and you have added SVC_VMMAgntRA to the Members section.

  8. Click on OK to close the New Local Group Properties dialog.

  9. Close the Group Policy Management Editor window.

  10. In the Group Policy Management MMC, right-click on the OU where the GPO has been deployed and click on Group Policy Update. This triggers a remote Group Policy Update on the Hyper-V hosts.

This completes this recipe. The required service accounts with the necessary permissions have been scoped and deployed correctly.

How it works…

By adding the required Service Accounts to the Group Policy Objects, it ensures that these accounts have sufficient privileges to run and manage the VMM installation.