Installing System Center Virtual Machine Manager 2012 R2 a Standalone Server in Windows Server 2012 R2 Step by Step Guide

Thanks to: http://www.msserverpro.com/

Virtual Machine Manager(VMM) is a component of System Center 2012 R2 that manages solution for the virtualized data center, enabling you to create and deploy virtual machines and services to private clouds by configuring and managing your virtualization hosts, networking and storage resources. In System Center 2012 R2, a VMM Server can support up to 1,000 hosts and 25,000 virtual machines. This is my first article on VMM server so I start from the Installation. In our lab, you will install VMM Management Server and SQL Server Database on different computers. The VMM architecture and lab details are given below.
VMM Architecture
Lab environment:
Computer Name: KTM-DC1-2K12.msserverpro.com
Server Roles: Domain Controller and DNS Server
Operating System: Windows Server 2012 R2
Computer Name: KTM-VMM-2K12.msserverpro.com
Server Roles: VMM Management Server and Console
Operating System: Windows Server 2012 R2
Computer Name: KTM-DB1-2K12.msserverpro.com
Server Roles: SQL Server Database (SQL Server 2012 with SP1 Database Engine Services)
Operating System: Windows Server 2012 R2
What is the new Distributed Key Management (DKM) feature in Microsoft System Center Virtual Machine Manager (VMM) 2012 and how does it benefit the security of the VMM configuration data?
The VMM database contains sensitive information, such as product keys and administrator passwords. To protect the contents of this database, VMM uses encryption. By default, the cryptographic keys needed to access the encrypted data are stored locally on the VMM server. However, in a clustered VMM server setup, both cluster nodes might need to access the same encryption keys, so the keys can't be stored on a single cluster node. That's why Microsoft introduced the DKM feature in VMM 2012. Instead of storing the keys locally on the server, DKM lets you store them in a special container named VMMDKM in Active Directory (AD).
You can configure DKM when you're installing a VMM management server with the Virtual Machine Manager Setup Wizard. On the Configure service account and distributed key management page of the wizard, you simply need to select the Store my keys in Active Directorycheck box and provide the location of the DKM container in AD. For example, if your domain is named windowsitpro.net, you'd specify CN=VMMDKM,DC=windowsitpro,DC=net. If the account you're using to install VMM has permission to create new containers in AD, the VMM installation will automatically create the VMMDKM container. If that's not the case, make sure that you manually create the container in AD before starting the VMM installation. (You can use ADSI Edit to create it.) Also make sure that the account with which you're installing VMM has full control permission to the VMMDKM container. 
System Requirements: VMM Management Server:
Hardware requirements (Managing up to 150 hosts)
Hardware componentMinimumRecommended
ProcessorPentium 4.2 GHz (x64)Dual-Processor, Dual-Core , 2.8 GHz (x64) or greater
RAM2 GB4 GB
System Requirements: VMM Database Server:
Hardware requirements (Managing up to 150 hosts)
Hardware componentMinimumRecommended
ProcessorPentium 4.2 GHz (x64)Dual-Core 64, 2 GHz
RAM2 GB4 GB
Prerequisites:
  1. In Active Directory, Create a SCVMM service accounts for VMM Management Server and VMM Database Server.
  2. In Active Directory, Create Container for Distributed Key Management
  3. The VMM Management server and VMM Database server must be member of an Active Directory domain.
  4. Choose Windows Update settings, Run Windows Updates, and then Install latest Windows Updates on these servers.
  5. Install the SQL Server Database Engine for VMM implementation, when you Install SQL Server, select the Database Engine Services and the Management Tools- Complete features.
  6. Configure SQL Server Roles to SCVMM Service Account.
  7. Add SCVMM Service account to Local Administrators members in VMM Management Server.
  8. Installing VMM dependencies on the SCVMM server, install the Windows Assessment and Deployment Kit (ADK) for Windows 8.1, select the Deployment Tools and the Windows Preinstallation Environment features and install Microsoft SQL Server 2012 Feature Pack, SQL Server Command Line Utilities and Microsoft SQL Server 2012 Native Client.
  9. Installing a VMM management server
Step 1: In Active Directory, Create a SCVMM Service Account for VMM Management Server:
  1. In Server Manager, click Tools, and then click Active Directory Users and Computers. In Active Directory User and Computers console, expand msserverpro.com, Right-click ServiceAccounts OU, point to New, and then click User.1
  2. In the New Object- User dialog box, in First name, type vmmsvc, in Full name, type SCVMM Service Account, in User login name, type vmmsvc and click Next.2
  3. In Password and Confirm password, type P@ssw0rd. Select the Password never expires check box, and then click Next.3
  4. Click Finish.4

Step 2: In Active Directory, Create Container for Distributed Key Management:
  1. On KTM-DC1-2K12, Log in as Domain Administrator, In Server Manager, click Tools, and then click ADSI Edit.1
  2. On the ADSI Edit page, Right-click on ADSI Edit and select Connect to..2
  3. On the Connection Settings dialog box, select Default naming context and click OK.3
  4. Expand Default naming context [KTM-DC1-2K12.msservepro.com], Right-click on DC=msserverpro.com,DC=com and select New and then click Object..4
  5. On the Create Object dialog box, click container and then click Next.5
  6. On the Create Object dialog box, in the Value textbox, type VMMDKM and then click Next.6
  7. On the Create Object dialog box, Click Finish.7
  8. On the ADSI Edit page, Right-click on CN=VMMDKM and select Properties.8
  9. On the CN=VMMDKM Properties dialog box, Click Security Tab and then click Advanced.9
  10. On the Advanced Security Settings for VMMDKM dialog box, select Domain Admins and then click Edit.10
  11. On the Permission Entry for VMMDKM dialog box, in the Applies to drop-down menu, select This object and all descendant objects .In Permissions section make sure Full control check box is selected and click OK.11
  12. On the Advanced Security Settings for VMMDKM dialog box, Click on Add.12
  13. On the Permission Entry for VMMDKM dialog box, click on Select a principal. On the Select User, Computer, Service Account, or Group dialog box, type SCVMM Service Account (vmmsvc@msserverpro.com) and click OK.13
  14. On the Permission Entry for VMMDKM dialog box, in the Applies to drop-down menu, select This object and all descendant objects. In Permissions section, click on Full control and click OK.14
  15. On the Advanced Security Settings for VMMDCK dialog box, click OK.15
  16. On the CN=VMMDKM Properties dialog box, click Attribute Editor tab, select distinguishedName and click View. On the String Attribute Editor box, please note the distinguishedName Value: CN=VMMDKM,DC=msserverpro,DC=com and click OK. We need this value during installation of SCVMM.16
Step 3: The VMM Management Server and VMM Database Server must be member of an Active Directory Domain:
KTM-VMM-2K12
KTM-DB1-2K12
Step 4: Choose Windows Update settings, Run Windows Updates, and then Install latest Windows Updates on these servers:

Windows Updates 1
WindowsUpdate 2
WindowsUpdate 3
WindowsUpdate 4
WindowsUpdate 5
Step 5: Install SQL Server for VMM implementation, when you Install SQL Server, select the Database Engine Services and the Management Tools- Complete features:
  1. Log on KTM-DB1-2K12, double-click SQLServer setup drive and wait for SQL Server Setup to start. In the SQL Server Installation Center window, click on the Installation tab, and then click New SQL Server stand-alone installation or add features to an existing installation from the list of available options and wait for SQL Server setup to start.1
  2. On the Setup Support Rules window, click OK.2
  3. On the Product Updates window, check Include SQL Server product updates and click Next.3
  4. On the Setup Support Rules page, click Show details and read the installation checklist and check to make sure the status for items have Passed. Note any warnings that are listed and click Next.4
  5. On the Product Key window, click Next.5
  6. On the License Terms page, check I accept the license terms and click Next.6
  7. On the Setup Role page, ensure that SQL Server Feature Installation is selected and click Next.7
  8. On the Feature Selection page, under the Instance Features check Database Engine ServicesFull-Text and Semantic Extractions for SearchReporting Services –Native, and Management Tools-Basic and Complete (for running queries and configuring SQL services) and click Next. Here, I am going to setup a shared SQL Server for other System Center components.88i
  9. On the Installation Rules page, click Show details, note the list of rules and the status of each rule and click Next.9
  10. On the Instance Configuration page, ensure that Default instance is selected and click Next.10
  11. On the Disk Space Requirements page, click Next.11
  12. On the Server Configuration page, click the Account Name field for the SQL Server Agent row and select <<Browse…>>from the drop-down list. In the Select User, Computer, Service Account, or Group window, in the Enter the object name to select (Examples): dialog box type sqladmin, click Check Names and click OK. Do the same process for SQL Server Database Engine and SQL Server Reporting Services. Click the Collation tab, ensure that SQL_Latin1_General_CP1_CI_ASis selected and click Next.1212i12ii
  13. On the Database Engine Configuration page, on the Server Configuration tab, in the Authentication Mode section, ensure that Windows authentication mode is selected. Click Add Current User, this will add the user MSSERVERPRO\administrator (Administrator) to the list of Administrators. Click Add .In the Select User, Computer, Service Account, or Group window, in the Enter the object name to select (Examples): dialog box type sqladmin, click Check Names and click OK. Then Click Next.1313i13ii
  14. On the Reporting Services Configuration window, ensure that Install and configure is selected and click Next.14
  15. On the Error Reporting page, click Next.15
  16. On the Installation Configuration Rules page, Show details, review the list of rules, and click Next.16
  17. On the Ready to Install page, review the summary and click Install.17
  18. On the SQL Server 2012 Setup page, Installation Progress begin…18
  19. On the Complete page, verify Your SQL Server 2012 installation completed successfully with product updates and click Close.19
Step 6: Configure SQL Server Roles to VMM Service Account:
  1. In KTM-DB1-2K12, Open SQL Server Management Studio, In the Connect to Server window, ensure that Server Type is set to Database Engine. In the Server name test box, ensure KTM-DB1-2K12. In the Authentication drop-down list, select Windows Authentication, and click Connect.1
  2. In object Explorer, expand Security, Right-click Logins and the click New Login..2
  3. In the Login-New window, click Search..3
  4. In the Select User or Group window, click Locations..4
  5. In the Locations window, select Entire Directory and then click OK.5
  6. In the Select User, Computer, Service Account, or Group window, in the Enter the object name to select (Examples): dialog box type vmmsvc, click Check Names and click OK.6
  7. In the Login-New window, verify MSSERVERPRO\vmmsvc in Login name.7
  8. In the Login-New window, click Server Roles under Select a page, in Server role check dbcreatorprocessadmin, and securityadmin . Then click OK.8
Step 7: Add SCVMM Service account to Local Administrators members in VMM Management Server:
  1. In VMM Server, KTM-VMM-2K12, Open Computer Management.1
  2. In Computer Management window, expand Local Users and Groups, click Groups > Double-click Administrators, add scvmm service account (vmmsvc@msserverpro.com) and click OK.2
Step 8: Installing VMM dependencies on the SCVMM server:
  • Install the Windows Assessment and Deployment Kit (ADK) for Windows 8.1,
  • Install Microsoft SQL Server 2012 Feature Pack, SQL Server Command Line Utilities and Microsoft SQL Server 2012 Native Client.
  1. In VMM Server, KTM-VMM-2K12, download Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1 update from Microsoft site, http://www.microsoft.com/en-us/download/details.aspx?id=399821
  2. To begin ADK setup double-click on adksetup.2
  3. In the Windows Assessment and Deployment Kit for Windows 8.1 window, select Install the Windows Assessment and Deployment Kit for Windows 8.1 to this computer and click Next.3
  4. In the Join the Customer Experience Improvement Program (CEIP) window, select Yes and then click Next.4
  5. In the License Agreement page, click Accept.5
  6. In the Select the features you want to install window, select Deployment Tools and Windows Preinstallation Environment (Windows PE) and click Install.6
  7. In the Windows Assessment and Deployment Kit for Windows 8.1 window, Installing features… begin.7
  8. In the Welcome to the Windows Assessment and Deployment Kit for Windows 8.1! window, click Close.8
  9. Download Microsoft SQL Server 2012 SP1 Feature Pack from Microsoft site, http://www.microsoft.com/en-us/download/details.aspx?id=355809
  10. In the Choose the download you want window, check ENU\x64\sqlncli.msi and ENU\x86\SqlCmdLnUtils.msi and click Next to download.10
  11. To begin sqlncli.msi setup, double-click sqlncli.11
  12. In the Welcome to the Installation Wizard for SQL Server 2012 Native Client window, click Next.12
  13. In the License Agreement window, select I accept the terms in the license agreement and click Next.13
  14. In the Feature Selection window, click Next.14
  15. In the Ready to Install the Program window, click Install.15
  16. In the Completing the SQL Server 2012 Native Client installation window, click Finish.16
  17. To begin SqlCmdLnUtils.msi, double-click SqlCmdLnUtils.17
  18. In the Welcome to the Installation Wizard for Microsoft SQL Server 2012 Command Line Utilities window, click Next.18
  19. In the License Agreement window, select I accept the terms in the license agreement and click Next.19
  20. In the Ready to Install the Program window, click Install.20
  21. In the Completing the Microsoft SQL Server 2012 Command Line Utilities installation window, click Finish.21
Step 9: Installing VMM Management Server:

  1. In VMM Server, KTM-VMM-2K12, to start the Virtual Machine Manager Setup wizard, on your installation media, double-click setup.exe. In the Virtual Machine Manager 2012 window, select Install. This starts the VMM Setup wizard.1
  2. Virtual Machine Manager Setup begin..2
  3. On the Select features to install page, select the VMM management server check box, which automatically also
    selects VMM Console and then click Next.3
  4. On the Product registration information page, provide the organization information and then click Next.4
  5. On the Please read this license agreement page, review the license agreement, select the I have read, understand, and agree with the terms of the license agreement check box, and then click Next.5
  6. On the Customer Experience Improvement Program (CEIP) page, select the Yes, I am willing to participate in the Customer Experience Improvement Program check box, and then click Next.6
  7. On the Microsoft Update page, select the On (recommended) and then click Next.7
  8. On the Installation location page, use the default location and then click Next.8
  9. On Prerequisites page, wizard run Checking for required prerequisite hardware and software.9
  10. On the Database configuration page, in the Server name box, type KTM-DB1-2K12, which is the name of database server, select the Use the following credentials check box, in the User name and domains field, type msserverpro\vmmsvc and Password field, type P@ssw0rd. In the Instance name field, click the drop-down arrow, and then click MSSQLSERVER. In the Select an existing database or create a new database area, use the default New database VirtualManagerDB, and then click Next.10
  11. On the Configure service account and distributed key management page, in the User name and domain field, type msserverpro\vmmsvc , and in the Password: field, type P@ssw0rd. In the Distributed Key Management section, select Store my keys in Active Directory check box, type CN=VMMDKM,DC=msserverpro,DC=com and then click Next.11
  12. On the Port configuration page, do not make any changes and then click Next.12
  13. On the Library configuration page, select the Create a new library share and change the default Share location path to D:\MSSCVMMLibrary and then click Next.13
  14. In the Installation summary page, review the text and then click Install.14
  15. The Installing features will now run for several minutes.15
  16. On the Setup completed successfully page, click Close.16
  17. On the Desktop, click the Virtual Machine Manager Console icon. In the Connect to Server pop-up window, verify that the Server name field is set to localhost:8100 and select Use current Microsoft Windows session identity and then click Connect.17
  18. Wait for the Virtual Machine Manager console to open.18


Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

How to Setup and Configure Your Own GitLab Server on Ubuntu 20.04