📜 ⬆️ ⬇️

Bare Metal Deployment - how to look at one of the most interesting innovations of System Center Virtual Machine Manager 2012 RC closer

In the near future, there will be a release of the updated System Center product line from Microsoft, but the possibilities of some of them can be tested already now, for example System Center Virtual Machine Manager 2012 RC. The prefix RC hints that everything should already work almost as in the final release, and we decided to look at the product closer in the laboratory of DEPO Computers .

A complete list of VMM2012 features can be easily found on official resources, but one of the innovations should especially please people who are planning to deploy and maintain an ever-growing private cloud, called Bare Metal Deployment. With this feature, VMM2012 finds servers on the network that you plan to put it under its control, self-fills in Windows, configures everything you need and takes it. Exceptionally clearly this process is shown in the figure below:


')
But at the moment there are a couple of nuances that somewhat complicate the deployment of the tool, and we will tell about them.

So let's get down to setting it up. We will need a domain controller, DHCP, VMM2012, WDS and tambourines. The server that will be handed over to VMM2012 should have IPMI 1.5 or 2.0 support (SMASH is also supported in RC, and other popular controllers are planned to be added in the final version). If everything is ready - proceed.

First we create a 'Run As Account' for IPMI (the 'Settings'> 'Create Run As Account' items), the default is User name: ADMIN, Password: ADMIN.



Moving on to the next step - creating a VHD for the future host. To do this, we need to install Windows Server 2008R2 on a virtual machine and run the sysprep program. After that, disconnect the VHD from the machine and send it to the library.

Next, create a profile for the host where VMM will be deployed: click on 'Library Profiles'> 'Create Host Profile'.



In the 'OS Image' tab we add the created image, in the remaining tabs we select the necessary one depending on our own preferences.

Now you need to specify the PXE server with which the installation will be performed. You can add it by clicking 'Fabric'> 'Servers'> 'PXE Servers'.



Windows Server 2008r2 with the Windows Deployment Services role is used as a PXE server. How to configure it, you can read here .

You do not need to add a WinPE image to WDS, VMM does it yourself (for this purpose, AIK2.0 is present in the VMM2012 installation requirements, although it doesn’t say that it must be English - VMM2012 refers to the Administrator account, and Russian AIK this account is called Administrator).

Now you can move on to deploying a Hyper-V host (extracting harvested tambourines). Open the 'Fabric' tab and select the 'Add Resources'> 'Hyper-V Hosts and Clusters' items.



In the window that opens, select the last item - 'Physical computers to be provisioned as virtual machine hosts'. Next, choose an account for managing IPMI and the protocol itself.



In the 'Discovery Scope' window, specify the IPMI adapter address or address range to search.



In the 'Provisioning options' window, we indicate the group in which the host and the profile we created for it will be located.



Window 'Deployment customization' - specify the name of the host (pay attention to the SMBIOS ID).



VMM2012 RC has a problem with correctly detecting SMBIOS ID, as a result of which Job completes with an error:



And in the server console it will be like this:



With what SMBIOS ID the server actually accesses PXE can be viewed in the VMM2012 server log (items 'Application and Services Logs'> 'VM Manager').



Start the deployment of the host and copy the SMBIOS ID after it appears in the log. We return to the server on which we live the VMM2012 console, cancel the previous work and re-launch the add host wizard, reach the 'Summary' tab and, without completing the wizard, press the 'View Script' button.



We find there the wrong ID.



Replace it with the correct one from the VMM log, save the contents of the notepad to a convenient place and close the deployment wizard.

Now we start PowerShell from the VMM2012 console and execute the saved script. Now, if everything is correct, VMM2012 must complete all the procedures for deploying the hypervisor on the host and adding it to itself.

Let's hope that in the final version there will be no confusion with the SMBIOS ID, since the product as a whole is interesting, convenient and compared to VMM 2008 R2 has many new useful features.

Masamasa ,
Systems Engineer DEPO Computers

Source: https://habr.com/ru/post/130580/


All Articles