{"id":451,"date":"2013-02-27T15:18:10","date_gmt":"2013-02-27T20:18:10","guid":{"rendered":"http:\/\/rajdude.com\/blog\/?p=451"},"modified":"2013-06-10T11:41:11","modified_gmt":"2013-06-10T15:41:11","slug":"install-guide-for-scvmm-2012-sp1","status":"publish","type":"post","link":"https:\/\/rajdude.com\/blog\/install-guide-for-scvmm-2012-sp1\/","title":{"rendered":"Install guide for SCVMM 2012 SP1"},"content":{"rendered":"<p>I found quite a few tutorials online for SCVMM 2012 install but nothing useful for 2012 SP1. Most of those people had installed VMM 2012 on Server 2008. The thing is, this newer version is supported only on Windows Server 2012. I am documenting my trials and tribulations <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-winkingsmile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Winking smile\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/02\/wlEmoticon-winkingsmile.png\"> here.<\/p>\n<p><!--more--><\/p>\n<p>My steps:<\/p>\n<p>The official documentation is <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610610.aspx\" target=\"_blank\">here<\/a>. I started with installing a VM with Windows 2012 Server Standard Edition.{I am re-doing the VMM 2012 installation on a physical server. I am updating this posting as I go along with the new installation.}<\/p>\n<p><strong>Pre-installation considerations:<\/strong><\/p>\n<p><u>Install VMM on a physical server<\/u><\/p>\n<p>Update June 2013: <\/p>\n<blockquote>\n<p>After I installed VMM on a VM and used it for a couple of months, I have come to the conclusion that this is not a good idea\u2026I mean to have VMM managing the host on which it is running.<\/p>\n<p>Running VMM on a VM inside the host it is managing is a supported configuration. However Microsoft says that do not do anything to the VM running VMM..like try to migrate it or something. I have ran into rather strange behavior from VMM which leads me to believe that this whole idea is not good. Keep it simple\u2026  <\/p>\n<p>I think it is best to have VMM on a separate physical server.<\/p>\n<\/blockquote>\n<p><u>Install and configure Cluster<\/u><\/p>\n<p>If you plan to eventually setup a cluster IMHO it is best to setup the cluster BEFORE you install VMM in your enterprise. Of course you can use VMM to setup the cluster. However if you are just starting out with clustering and VMM it is best to take it one step at a time.<\/p>\n<p><font size=\"5\"><u><strong><\/strong><\/u><\/font>&nbsp;<\/p>\n<p><font size=\"5\"><u><strong>Installing the pre-requisites:<\/strong><\/u><\/font><\/p>\n<p>I need to take care of the system requirements first. Looked at the requirements <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610562.aspx\" target=\"_blank\">here<\/a>. Looks like I need to install Windows AIK (WAIK) and Windows ADK and SQL Server.<\/p>\n<p><strong>WAIK installation<\/strong><\/p>\n<p>The WAIK setup complained that it needs .NET. I downloaded it. However I found out that there is no need. Server 2012 includes .NET Framework as a \u201cFeature\u201d which you can install. You just need the OS installation disk (which is referred below as D:\\ drive). Here is what you need to do:<\/p>\n<p>Server manager &gt;&gt; Add Roles and feature &gt;&gt; Next 3 times &gt;&gt; Select .NET Framework 3.5 &gt;&gt; next &gt;&gt; click \u201cSpecify an alternate source path\u201d &gt;&gt; D:\\sources\\sxs &gt;&gt; OK &gt;&gt; Install<\/p>\n<p>After that I started WAIK installation again. This time WAIK did not complain about .NET missing. <\/p>\n<p><strong>Windows ADK<\/strong><\/p>\n<p>The second requisite is the ADK. I downloaded it, it is a tiny download at 1MB but it will download more on the fly. With the options I checked it said the space needed is around 3 GB.<\/p>\n<p>In the setup wizard, I choose the defaults but unchecked the last option \u201cMicrosoft SQL server 2012 Express\u201d because I will be installing the full version later on (for SCVMM). Unchecking it also unchecks \u201cWindows Assessment Services\u201d. I was not sure if I really need it. More info on this feature is <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/hh825491.aspx\" target=\"_blank\">here<\/a>.<\/p>\n<p>By the way, the installation of ADK goes very, very slow. I think my installation took hours! Note: on the physical server, it took less than an hour. strange.<\/p>\n<p>So now that we have ADK and AIK installed the last thing in the software requirement section is SQL Server.<\/p>\n<p><strong>SQL Server installation<\/strong><\/p>\n<p>Since I am running Server 2012 I will install SQL Server 2012 SP1 Standard Edition.<\/p>\n<p>In the additional info section <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610574.aspx\" target=\"_blank\">it says<\/a>:<\/p>\n<blockquote>\n<p>When you install SQL Server, select the <strong>Database Engine Services<\/strong> and the <strong>Management Tools &#8211; Complete<\/strong> features.<\/p>\n<\/blockquote>\n<p>So I guess this option will come up somewhere in the setup. We shall see\u2026<\/p>\n<p>Steps to install SQL server 2012 SP1:<\/p>\n<ol>\n<li>Insert CD (virtually)\n<li>Run setup\n<li>From the Planning section, run System Configuration Checker (I got no fails, so we are good to go!)\n<li>From the Installation Section, I click on \u201cNew SQL Server stand-alone installation\u201d\n<li>It told me that there are two updates available for SQL server. I let it download them and install them.\n<li>Looks like it runs the \u201cSystem Configuration Checker\u201d itself as a first step.\n<li>It got a warning&nbsp; that the firewall is on. I turned it off and re-run the checker. Everything passed this time.\n<li>Click Next and choose the first option \u201cSQL Server Feature Installation\u201d\n<li>On the next page choose <strong>Database Engine Services<\/strong> and <strong>Management Tools \u2013 Complete.<\/strong>&nbsp; I left the other stuff unchecked\u2026.not sure at this point whether we need it or not. I am not a SQL Server expert <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-sadsmile\" style=\"border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none\" alt=\"Sad smile\" src=\"http:\/\/rajdude.com\/blog\/wp-content\/uploads\/2013\/04\/wlEmoticon-sadsmile.png\">\n<li>I changed the location of the installation to D drive.\n<li>I changed it from default instance to Named Instance, typed SystemCenter there and then it changed the Instance ID automatically to \u201cSYSTEMCENTER\u201d\n<li>I changed the root directory location to D drive.\n<li>I left the service accounts to the defaults.\n<li>I left the Authentication mode to the default \u2013 \u201cWindows authentication mode\u201d and I added the local administrators group to the \u201cSQL server administrators\u201d section.\n<li>Finally we get to the last screen with the \u201cinstall\u201d button. Press it!\n<li>10 minutes later the install process finished successfully.<\/li>\n<\/ol>\n<p><strong>Installing SCVMM<\/strong><\/p>\n<p>Now I can follow the actual SCVMM <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610669.aspx\" target=\"_blank\">deployment guide<\/a><\/p>\n<p><u>Prerequisite: account creation<\/u><\/p>\n<p>First, I created two accounts in AD for SCVMM. One of these accounts is described in the document &#8211; <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg697600.aspx\">Specifying a Service Account for VMM<\/a>. I called the accounts:<\/p>\n<p>(a) SCVMM Service<\/p>\n<p>This is the account under which the VMM service will run on the SVCMM server. I added it to the local administrators group on the VMM server.<\/p>\n<p>(b) SCVMM Admin<\/p>\n<p>This account will be specified inside VMM to manage the hosts. I added it to the local administrators group on the Hyper-V servers \/ hosts.<\/p>\n<p>Note that you cannot use the SCVMM Service account to manage the hosts. I made that mistake in my first installation of VMM and had undesirable results. I created simple domain accounts for these and did NOT give them any special permissions in AD. <\/p>\n<p><u>Prerequisite: Decide on where the encryption keys will be stored<\/u><\/p>\n<p>Since I do not have that kind of control over AD here at work, I am not going to configure the DKM as described in this document <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg697604.aspx\">Configuring Distributed Key Management in VMM<\/a>. I will just store the encryption keys on the computer on which the SCVMM server.<\/p>\n<p><u>Run install.<\/u><\/p>\n<p>Now that those two things are taken care of we can get to the actual installation as described in <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610617.aspx\">Installing System Center 2012 &#8211; Virtual Machine Manager<\/a><\/p>\n<p>Here is what I did, step by step:<\/p>\n<ol>\n<li>Before running setup, I rebooted the VM.\n<li>On the second screen of the setup wizard, I chose the VMM management server. The VMM console is then automatically selected.\n<li>On the next page it asks for the product key. I got it from my MSDN. there is only one key for the whole system center suite.\n<li>I changed the installation&nbsp; location to D drive.\n<li>On the database configuration page, I specified:<\/li>\n<\/ol>\n<blockquote>\n<p>Server name: SCVMM server\u2019s name<\/p>\n<p>Port: blank<\/p>\n<p>Use the following credentials: unchecked<\/p>\n<p>Instance name: SYSTEMCENTER<\/p>\n<p>New database name: VMM<\/p>\n<\/blockquote>\n<ol>\n<li>On the next page where it asks to configure service account &amp; distributed key management, I chose:<\/li>\n<\/ol>\n<blockquote>\n<p>domain account: [entered the credentials of the SCVMM service account created earlier.<\/p>\n<p>Store my keys in Active Directory: unchecked<\/p>\n<\/blockquote>\n<ol>\n<li>I took a screenshot of the next screen showing all the ports. I left them as default.\n<li>I created a new directory D:\\VMM Library\n<li>On the library configuration screen, I changed the \u201cshare Location\u201d to D drive and named it \u201cD:\\VMM Library\u201d . Having it as the default under c:\\programdata did not seem such a good idea to me\u2026since by default c:\\programdata directory is hidden.\n<li>On the final screen, I checked if everything looked OK (it did) and I clicked \u201cInstall\u201d.\n<li>After setup finished, I let it install updates.\n<li>It needed a reboot after the updates. I did it.\n<li>That is it, installation is done.<\/li>\n<\/ol>\n<p><strong>Connecting to the SCVMM console:<\/strong><\/p>\n<p>Although we installed the SCVMM console on the server, for convenience, I also installed it on my own Windows 7 workstation. I had to install .NET 4 (done by the setup, automatically) and PowerShell 3.0 (manually, downloaded <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=34595\" target=\"_blank\">here<\/a> as a part of WMF 3)<\/p>\n<p>I used the procedure in this document <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg610570.aspx\">How to Connect to a VMM Management Server by Using the VMM Console<\/a> to connect to the VMM server remotely, via the console.<\/p>\n<p>When opened the very first time the Console gave me an error, saying that it does not have access to this path: D:\\Program Files\\Microsoft System Center 2012\\Virtual Machine Manager\\bin\\AddInPipeline<\/p>\n<p>I used Explorer to open that path and I got a UAC prompt. I clicked on \u201cgo ahead\u201d give me permissions and I re-opened VMM console. The error did not come back.<\/p>\n<p>Now that we have installed and connected to SCVMM I have writing <a href=\"http:\/\/rajdude.com\/blog\/getting-started-with-scvmm-2012\/\">another document<\/a> on how to quickly start using SCVMM.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found quite a few tutorials online for SCVMM 2012 install but nothing useful for 2012 SP1. Most of those people had installed VMM 2012 on Server 2008. The thing is, this newer version is supported only on Windows Server 2012. I am documenting my trials and tribulations here.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[37,73],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-itsys","tag-sccm-2012","tag-scvmm-2012"],"_links":{"self":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":12,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":546,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions\/546"}],"wp:attachment":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}