I have been playing with the Technical Preview of Windows Server and SCVMM and thought in this post I would document the configuration and deployment process involved for my two node HA SCVMM sandbox install.
The first thing to do is sort the couple of prerequisites that are required for the build.
Next, build two cluster nodes with Windows Technical Preview Server.
System Center 2012 R2 servers
Hard drive space (min)
Hard drive space (rec)
VMM Management Server (Less than 150 users)
Pentium 4, 2 GHz (x64)
Pentium 4, 1 GHz CPU
In addition I have assigned two NICs:
- NIC1 Cluster Network
- NIC2 Production Network
Once the two servers have been built, on each node:
1. Install Windows Server Technical Preview
2. Configure NIC1 with a private IP for inter cluster communication
3. Configure NIC2 with a production IP for communication to the rest of the production network
4. Rename the server
5. Join the server to domain
6. Add the Failover Clustering feature
7. Download the Windows Assessment and Deployment Kit for windows 8.1 and install the Deployment Tools and Windows Preinstallation Environment Features
8. Add the SCVMM service account to the local administrator group
Configure SCVMM Failover Cluster:
The next part of the deployment is to create the two node SCVMM cluster.
1. Open Failover Cluster Manger, right click on Failover Cluster Manager in the left window and select Create Cluster from the popup menu. This starts up the Create Cluster Wizard
2. Step through the wizard adding the nodes that will be part of the cluster, the cluster name and then confirm the cluster configuration before clicking the Next button
3. Once the cluster has been created, its possible to open it up in Failover Cluster Manger to check that the resource is up and there are no cluster events that need resolving.
Configuring Distributed Key Management in VMM:
NOTE: We need to configure the DKM because VMM is being installed in HA and its possible that the service may failover to another node in the cluster, under this scenario the second node also requires access to the encryption key to be able to access the VMM database. Therefore we need to store it in a central location such as a container in AD DS.
1. Open ADSI Edit (adsiedit.msc)
2. Right-click the ADSI Edit object, select Connect To, generally leave the default connection settings and click OK to connect to the Default Naming Context
3. Expand the connection object and then right click the domain’s container. Select New, then Object which opens the Create Object wizard
4. Select Container from object list, then click next before giving it a value of VMMDKM
5. Click Finish
When installing SCVMM we will require the DN of the container we have just created. It’s probably worth making note of this whilst we are still in ADSI Edit.
For Example: CN=VMMDKM,DC=contoso,DC=com
The final step to this is to give the service account created for VMM the required permissions on this container. Right click the CN=VMMDKM container you just created and select properties. Select the security tab and give the VMM Service account created earlier (in this example SVC_VMM) Full control on this object and all descendant objects.
Pre-create the VMM database:
1. Open up SQL Management Studio
2. Create a new database with the following settings:
- Name: VirtualManagerDB
- Collation: Latin1_General_100_CI_AS, but aligned with the specific SQL Server instance collation
3. Grant db_owner permissions for this database to the VMM service account
4. Grant SQL Server Roles for the VMM Service account of:
1. The first thing to do is extract the SCVMM Technical Preview .exe to a local folder location. I have used C:\Source\SCVMM_TP or similar. Open the folder and locate Setup.exe and run it
2. When the VMM installer splash screen appears, select the Install option which will begin the installation wizard
3. Select VMM management server. At this point the installer detects that the node is part of a cluster and asks if SCVMM should be installed in HA. Obviously select Yes then Next
4. On the next screen add your Name, Organisation Name and Product Code and click Next
5. On the next screen tick the box to say you have read the license agreement then Next
6. On the next screen yes or no to the Customer Experience Improvement Program (DEIP) then Next
7. Select the installation location and Next
8. Review any issues with prerequisite checks and then Next
9. Fill in the remote database information on the next screen with the details of the database created in the previous step, then click Next
10. On the next screen fill in the cluster resource name users will connect to the SCVMM cluster and then Next
11. Configure the service account and distributed key management then select Next
12. Accept the default ports unless you have a requirement to change any
13. No need to select a SCVMM Library as we are installing SCVMM in HA and need to complete this after our install. Click Next
14. Review installation summary and then click Install.
Essentially installing SCVMM on Node 2 is a rinse and repeat of the install steps on Node 1. The main difference is that as long as when the install is run, the cluster install option is again selected, node 2 will automatically pick up the DB settings, the service account, DKM and port details. Only the service account password will be required during the install on this node.
That’s it for this post!
At this point, the basic deployment of an HA SCVMM server has been complete, but I still need to configure and assign a SCVMM Library and then configure SCVMM ready to begin building the Hyper-V environment.
If anyone notices any mistakes, please don’t hesitate to let me know so I can resolve them, thanks.