tag:blogger.com,1999:blog-64076832433725870762024-03-21T09:19:40.338+00:00Virtual AffinityMike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6407683243372587076.post-65273983819506690702013-08-06T19:53:00.000+01:002013-08-06T19:57:48.180+01:00SPF Part 7 - Register Service Management Automation with Windows Azure Pack<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">In the last post we installed Service Center 2012 R2 - Service Management Automation. In this post we'll register it with the Windows Azure Pack management site.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in this series are </span><br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span> </span></li>
</ul>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Registration</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Unfortunately I forgot to get screenshots for this step, so it's going to be a bit short, but basically, start up the management site on the Windows Azure Pack management server (VAMGT01 in our environment), and navigate to <a href="https://vamgt01:30091/#Workspaces/SystemCenterAdminExtension/quickStart">https://vamgt01:30091/#Workspaces/SystemCenterAdminExtension/quickStart</a>.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">From there, click the link directly underneath "Register Service Management Automation for VM Clouds" and enter the url for System Mangement Automation endpoint we installed on VASCM01, i.e. <a href="https://vascm01:9090/">https://vascm01:9090</a>.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Once that's complete, it should look like below.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmked1C7u7N5BcYH7ycHUrp0_rZFz2HVtfFlDrLd6vBRIkrrhtllUp-zJuh6-mGZCX02poy7JZUR2ntG9fmhikT2iMo8QpqJSXw_5qTeck7Pl9ip-MIhBgJRlLCirpGDJMIFTKi6q7OYQ/s1600/SMA+Register+10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmked1C7u7N5BcYH7ycHUrp0_rZFz2HVtfFlDrLd6vBRIkrrhtllUp-zJuh6-mGZCX02poy7JZUR2ntG9fmhikT2iMo8QpqJSXw_5qTeck7Pl9ip-MIhBgJRlLCirpGDJMIFTKi6q7OYQ/s320/SMA+Register+10.png" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"> </span>Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com1tag:blogger.com,1999:blog-6407683243372587076.post-86061359445914941022013-08-06T19:39:00.000+01:002013-08-06T19:54:48.044+01:00SPF Part 6 - Installing System Management Automation<h2>
</h2>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">In the previous few posts we installed System Center 2012 R2 Service Provider Foundation and registered it with the Windows Azure Pack admin site. Now that's complete we also need to install and register another additional System Service Center 2012 R2 component, namely Service Management Automation. </span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in this series are: </span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span> </span></li>
</ul>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">System Prerequisites</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Having installed all the prerequisites for Virtual Machine Manager and Service Provider Foundation, there's still one more system feature we need to install on VASCM01 for Service Management Automation, as follows:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;"> </span><code>
Add-WindowsFeature -Name "Web-Url-Auth"
</code>
<br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">We also need to create another app pool account:</span><span style="font-family: Arial,Helvetica,sans-serif;"></span>
<br />
<pre><code>
New-ADUser -Name "SMAAppPool" -SamAccountName "SMAAppPool" -DisplayName "SMA App Pool Service Account" -Enabled $true -ChangePasswordAtLogon $false -AccountPassword (ConvertTo-SecureString "mypassword" -AsPlainText -force) -PasswordNeverExpires $true
$admins = [ADSI]"WinNT://./Administrators,group"
$admins.Psbase.Invoke("Add",([ADSI]"WinNT://VA/SMAAppPool").Path)
New-ADGroup -Name "SMAAdminSiteUsers" -SamAccountName "SMAAdminSiteUsers" -GroupCategory "Security" -GroupScope "Global" -DisplayName "SMA Admin Site Users" -Path "CN=Users,DC=va,DC=local" -Description "Members of this group can access the SMA Admin Site"
Add-ADGroupMember -Identity "SMAAdminSiteUsers" -Members "Domain Admins" </code></pre>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;"></span><span style="font-family: Arial,Helvetica,sans-serif;">Installing</span></h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGTnuGvyHtZv6lD9N4L6u0Yoyocm3TvZkC-ZTE7Y4fA7EOk0ZuHJB0VI0q33tLIcXAWVlnlCqlAT6885emRM8qljVWihUvhlC-IqeehpuRPWTZep8G8EHsw6cocodfPuGfiRPrL_4Ll_g/s1600/SC2012R2+SMA+-+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGTnuGvyHtZv6lD9N4L6u0Yoyocm3TvZkC-ZTE7Y4fA7EOk0ZuHJB0VI0q33tLIcXAWVlnlCqlAT6885emRM8qljVWihUvhlC-IqeehpuRPWTZep8G8EHsw6cocodfPuGfiRPrL_4Ll_g/s320/SC2012R2+SMA+-+01.png" width="300" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_S_Y9noAf96U_fjASJZiGAanaPon9PlvrXKWQVPRu18lmU1gdWrYArSHWQFTIou9JFYV3Qw2RjpEOP7-g4VsSk2372o8rJ34o0RK-FPn5tbvN06P38-nCRkNaxsIIRqbVG__0sl8golI/s1600/SC2012R2+SMA+-+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_S_Y9noAf96U_fjASJZiGAanaPon9PlvrXKWQVPRu18lmU1gdWrYArSHWQFTIou9JFYV3Qw2RjpEOP7-g4VsSk2372o8rJ34o0RK-FPn5tbvN06P38-nCRkNaxsIIRqbVG__0sl8golI/s320/SC2012R2+SMA+-+02.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgYq1RJhJ8RZuB_Y3dQ19QuNfee5p-Gafth419zbfVPhIiAxQu7H6JDW015TQKTY705sIR8_L9k5iKfunpAYyGAOe9V_9hLATFSP_6jFeVSr6ZEnc8TFmeWUY9N-w3_KMDnTEzvF-HYUs/s1600/SC2012R2+SMA+-+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgYq1RJhJ8RZuB_Y3dQ19QuNfee5p-Gafth419zbfVPhIiAxQu7H6JDW015TQKTY705sIR8_L9k5iKfunpAYyGAOe9V_9hLATFSP_6jFeVSr6ZEnc8TFmeWUY9N-w3_KMDnTEzvF-HYUs/s320/SC2012R2+SMA+-+03.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGsYdVuJOALbMFL_AAhkBChz7oAY8tPg1suN2MQO0CD51yi-c1cjVfrvOihhW56GHMhWRKFsFldSgN6BUXqurKtDFyCboZ7djQpmFi6c6FC_8oPGnCao4H-r17_g240_1Rh3lgqRjyDo/s1600/SC2012R2+SMA+-+04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGsYdVuJOALbMFL_AAhkBChz7oAY8tPg1suN2MQO0CD51yi-c1cjVfrvOihhW56GHMhWRKFsFldSgN6BUXqurKtDFyCboZ7djQpmFi6c6FC_8oPGnCao4H-r17_g240_1Rh3lgqRjyDo/s320/SC2012R2+SMA+-+04.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Tpx1nvrUg4tIyXkNxh5W2ZQdkGzW_Wi-6GgFERIF8SgHageZ5k0kNAaHuYdzXv2ue_KaZgw5kwp6c-UFVKP5fboqKF93Mx5QZghNXy-tU9Y2Y3fyuVy781H7LlzVDjIzwJHRhYAlWZA/s1600/SC2012R2+SMA+-+05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Tpx1nvrUg4tIyXkNxh5W2ZQdkGzW_Wi-6GgFERIF8SgHageZ5k0kNAaHuYdzXv2ue_KaZgw5kwp6c-UFVKP5fboqKF93Mx5QZghNXy-tU9Y2Y3fyuVy781H7LlzVDjIzwJHRhYAlWZA/s320/SC2012R2+SMA+-+05.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKvHQg-eIHQn4PxbJpzRX1GfeArWyTum66tcXKR1q-l1oOLi8HjkamoGYt2z707HdpOyomcQl0_CywU_yAKqRDsHNXoYCH4Nsq330219SmfdbjwxHbAZq2v2ZPjLJgExl8r-qtky2DGgg/s1600/SC2012R2+SMA+-+06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKvHQg-eIHQn4PxbJpzRX1GfeArWyTum66tcXKR1q-l1oOLi8HjkamoGYt2z707HdpOyomcQl0_CywU_yAKqRDsHNXoYCH4Nsq330219SmfdbjwxHbAZq2v2ZPjLJgExl8r-qtky2DGgg/s320/SC2012R2+SMA+-+06.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfzY7qAOn1lBQw7iksOxWqPnuSm1YUJ-FWARLdULjBbOsyKkh9VkdiUkyeXcsW7svt_TjkkPcjSC899uXNJ-ibYkGMYZS7fAnlYoHUzRCMHIe_UetQP8t3zl81uCPCNVfWgmpprJpRbA/s1600/SC2012R2+SMA+-+07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfzY7qAOn1lBQw7iksOxWqPnuSm1YUJ-FWARLdULjBbOsyKkh9VkdiUkyeXcsW7svt_TjkkPcjSC899uXNJ-ibYkGMYZS7fAnlYoHUzRCMHIe_UetQP8t3zl81uCPCNVfWgmpprJpRbA/s320/SC2012R2+SMA+-+07.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr8qHt2gdnBWl8Xt6BxGtPzn4ZAQ1Qf6s4Ybwrc0PmEQKTL3VJ36L8sFflJLIaC-9SY9Lz4akSmY6PpVinl5tWmI4DV1BIQD6jotOQ9Z9_xPHMq5yWPdLJrrXiJiYsMLsuqQLRE_GFBUo/s1600/SC2012R2+SMA+-+08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr8qHt2gdnBWl8Xt6BxGtPzn4ZAQ1Qf6s4Ybwrc0PmEQKTL3VJ36L8sFflJLIaC-9SY9Lz4akSmY6PpVinl5tWmI4DV1BIQD6jotOQ9Z9_xPHMq5yWPdLJrrXiJiYsMLsuqQLRE_GFBUo/s320/SC2012R2+SMA+-+08.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiodMF3j0nzszAgDJl-0lLGSt4xrWjzbNKTlTMaeae3zcF31hNGDjuu-qg9Sf5Zz_VA0eFVXuEHQwQuBbsfZAxGvZElz82chvLai1pyi-uQCL4BRWxjIJjLWrJL-PYZb3HU5Aj3fM8yWhA/s1600/SC2012R2+SMA+-+09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiodMF3j0nzszAgDJl-0lLGSt4xrWjzbNKTlTMaeae3zcF31hNGDjuu-qg9Sf5Zz_VA0eFVXuEHQwQuBbsfZAxGvZElz82chvLai1pyi-uQCL4BRWxjIJjLWrJL-PYZb3HU5Aj3fM8yWhA/s320/SC2012R2+SMA+-+09.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr31jHoBZWOu3k6aR_J_O3jh6DmS_GlFTILPyQkQezEMjvjqJCgJiYDElhSTQnZVsBJ2NYsWkQple4oLUyfOUYxGgHA5qjKBkmdi8lg6EN6RzZFG7bqMHiKziHB5ux92yrZNi9B7QgpCA/s1600/SC2012R2+SMA+-+10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr31jHoBZWOu3k6aR_J_O3jh6DmS_GlFTILPyQkQezEMjvjqJCgJiYDElhSTQnZVsBJ2NYsWkQple4oLUyfOUYxGgHA5qjKBkmdi8lg6EN6RzZFG7bqMHiKziHB5ux92yrZNi9B7QgpCA/s320/SC2012R2+SMA+-+10.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxti_Bv_FMQb1P_rIlKeHWBbosxFrlL78nPPFaVUFLbc7x1Nu8Vvd9qJYam6ayY4uV7v7ynmmMBpl7G8MSIGOYy3rgLIyYmyzpK9dcmRt2NSyzs_KI0dR7JD5O5NMc1QsB4daEpb0HdTM/s1600/SC2012R2+SMA+-+11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxti_Bv_FMQb1P_rIlKeHWBbosxFrlL78nPPFaVUFLbc7x1Nu8Vvd9qJYam6ayY4uV7v7ynmmMBpl7G8MSIGOYy3rgLIyYmyzpK9dcmRt2NSyzs_KI0dR7JD5O5NMc1QsB4daEpb0HdTM/s320/SC2012R2+SMA+-+11.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGATSKn87UClSBGmnayn9mv2awWm4Ul1Bh5h6_rtPjYHzOWiowmVXAr3eLnIGIDkXZfeWV1mFp6BoAOYP7SXdGW6Ju2ioI_JjS1OL75A-rxIms3gQHTFKkR7nh8WGQU0304Ael8pM5mU/s1600/SC2012R2+SMA+-+12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGATSKn87UClSBGmnayn9mv2awWm4Ul1Bh5h6_rtPjYHzOWiowmVXAr3eLnIGIDkXZfeWV1mFp6BoAOYP7SXdGW6Ju2ioI_JjS1OL75A-rxIms3gQHTFKkR7nh8WGQU0304Ael8pM5mU/s320/SC2012R2+SMA+-+12.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCDO0y3zMwBWKu9-7f6VYHuuseFMNqcPeu75cW8JnIVX6QitOuZc0X0ope5F1bKRu-ud3BexPTiXQSAVHpgMKjN-Bota7pNwfRZ2DJ1ka0UNnUS2zACzAGwMvUiuZyw83qfZmN4s_hk9s/s1600/SC2012R2+SMA+-+13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCDO0y3zMwBWKu9-7f6VYHuuseFMNqcPeu75cW8JnIVX6QitOuZc0X0ope5F1bKRu-ud3BexPTiXQSAVHpgMKjN-Bota7pNwfRZ2DJ1ka0UNnUS2zACzAGwMvUiuZyw83qfZmN4s_hk9s/s320/SC2012R2+SMA+-+13.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzP_8C5j00ExM9sXChlaVwFLpLTQhnYXayZZMiXCYe_PZSL3vIc_zYRg6iPe36PGcabRqAYdrDt4eBpqk0JqBe2J04AjLeqJ_t9BvgsbkNL9AabIXrs-xNLFD-Nlo0RahQiVJan-iQMM8/s1600/SC2012R2+SMA+-+14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzP_8C5j00ExM9sXChlaVwFLpLTQhnYXayZZMiXCYe_PZSL3vIc_zYRg6iPe36PGcabRqAYdrDt4eBpqk0JqBe2J04AjLeqJ_t9BvgsbkNL9AabIXrs-xNLFD-Nlo0RahQiVJan-iQMM8/s320/SC2012R2+SMA+-+14.png" width="320" /></a></div>
Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com1tag:blogger.com,1999:blog-6407683243372587076.post-25043093962906238022013-07-29T22:24:00.000+01:002013-08-06T19:54:42.200+01:00SPF Part 5 - Registering the Service Provider Foundation Endpoint<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">This is the final step in registering the System Center 2012 R2 Service Provider Framework endpoint with the Azure Pack management server. Compared to the previos steps, it's a much smaller piece of work so it should be over quickly.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in this series are </span><br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span></span> </span></li>
</ul>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Configuring</span></h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgPaQ1L5HIxAw3kQnpgNRxt-OhmRZ3nRI_UJ3zhHuKjOaIddYdOf6-ikS4Fnz2ayAKWCu05Q62T1_HGDH9879gxoEWGwpdmqHZ4Xv15CN8X25i8toUrvWHRS1JDw0ld6iecbUrhm46zEQ/s1600/SPF+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgPaQ1L5HIxAw3kQnpgNRxt-OhmRZ3nRI_UJ3zhHuKjOaIddYdOf6-ikS4Fnz2ayAKWCu05Q62T1_HGDH9879gxoEWGwpdmqHZ4Xv15CN8X25i8toUrvWHRS1JDw0ld6iecbUrhm46zEQ/s320/SPF+01.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMjOhZEzUemzuS50QX4A8qn8LuxlgVjIe53zg6HxRzWLL5iV0RmbGF4CeEp44Iqp3JCG1jN_3re16w23kHWOCpuNSSFRNllUju_lSZ4I0vRFV4jFeGM-01z1OVTvHjX5TJCiukoPX5JdI/s1600/SPF+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMjOhZEzUemzuS50QX4A8qn8LuxlgVjIe53zg6HxRzWLL5iV0RmbGF4CeEp44Iqp3JCG1jN_3re16w23kHWOCpuNSSFRNllUju_lSZ4I0vRFV4jFeGM-01z1OVTvHjX5TJCiukoPX5JdI/s320/SPF+02.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTBPegj8PXZRd2UWWh8-O_009pBCVMzxN5P9C1XBbP4b4cHZ6B7180sRiuFyFpASdMqd75A3etAiy6ZUStfrdE8kJwGsSJVSavbgR5CiXRKzxkIFbMo4UO032rtNFsZ0skxIDbJ91AzSg/s1600/SPF+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTBPegj8PXZRd2UWWh8-O_009pBCVMzxN5P9C1XBbP4b4cHZ6B7180sRiuFyFpASdMqd75A3etAiy6ZUStfrdE8kJwGsSJVSavbgR5CiXRKzxkIFbMo4UO032rtNFsZ0skxIDbJ91AzSg/s320/SPF+03.png" width="320" /></a></div>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Troubleshooting</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Note: <span style="color: red;">The username is potentially case-sensitive</span>. We had a few problems here registering the endpoint, and we used the following troubleshooting steps as follows to try to identify the problem. However, once we used the correct case in the username (i.e."va\Administrator" instead of "va\administrator") the endpoint registered successfully. We're not sure if this was just a concidence, but since it resolved the issue we were unable to investigate further.</span></span>
<br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">First, enable Failed Request Tracing in IIS on the Service Provider Framework server (VASCM01 in this case). Configure a tracing rule for the SPF website in Internet Information Services Manager, for all content with status codes 200-999 and for all providers. Then, enable Failed Request Tracing from the Actions pane for the SPF website.</span></span></li>
</ul>
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Next, try to configure the endpoint again in the Azure Pack management server. If this still fails, check the failed request trace log folder on the SPF server ("%SystemDrive%\inetput\logs\FailedReLogFiles\W3SVC2" by default). This should contain some "fr######.xml" files. Open the highest-numberer file in Internet Explorer and check if you see the following error:</span></span>
<pre><code>
MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName - ManagedPipelineHandler
Notification - EXECUTE_REQUEST_HANDLER
HttpStatus - 401
HttpReason - Unauthorized
HttpSubStatus - 0
ErrorCode - The operation completed successfully. (0x0)
</code></pre>
<br />
</li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">
Check the "Compact View" on the trace, and check the RequestURL in the first trace event is "https://vascm01.va.local:8090/SC2012R2/Admin/Microsoft.Management.Odata.svc/"
</span>
<br />
<br />
</li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">
Open Event Viewer and check the "Event Viewer -> Application and Services Logs -> Microsoft -> Windows -> ManagementOdataService -> Operational channel" log. We saw an error logged with the following details:
</span>
<pre><code>
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-ManagementOdataService" Guid="{60B4C807-9E58-40D0-A608-9A60DFFDD6B9}" />
<EventID>4004</EventID>
<Version>1 </Version>
<Level>2</Level>
<Task>2</Task>
<Opcode>11</Opcode>
<Keywords>0x8000000000000008&lt/;Keywords>
<TimeCreated SystemTime="2013-07-29T20:39:07.612582900Z" />
<EventRecordID>18</EventRecordID>
<Correlation ActivityID="{7212F460-8C7E-0000-C85B-13727E8CCE01}" />
<Execution ProcessID="2392" ThreadID="3568"/>
<Channel>Microsoft-Windows-ManagementOdataService/Operational
<Computer>VASCM01.va.local
<Security UserID="S-1-5-20" />
</System>
- <EventData>
<Data Name="userName">va\Administrator</Data>
<Data Name="authenticationType">Basic</Data>
</EventData>
</Event>
</code></pre>
<br />
</li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">On the Azure Pack management server, open Internet Explorer and try to navigate to the url in the error (i.e. "https://vascm01.va.local:8090/SC2012R2/Admin/Microsoft.Management.Odata.svc/"). This should load an document containing an OData xml document as per the screenshot below.</span></li>
</ul>
<div style="text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"> </span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoPkRu1dfEQTtDdPqk_9k55SNtp1b6dYNzwBe_Ar72orvM4Ug-VYOK3luByOVRkBaG8KL8EaXxI8bOplpgWqqyS8Y9wuyMBvtBoHT8eD16U65t7J0hPkmNAWfMazx8vbY-aPX9oei1S9E/s1600/SPF+20.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoPkRu1dfEQTtDdPqk_9k55SNtp1b6dYNzwBe_Ar72orvM4Ug-VYOK3luByOVRkBaG8KL8EaXxI8bOplpgWqqyS8Y9wuyMBvtBoHT8eD16U65t7J0hPkmNAWfMazx8vbY-aPX9oei1S9E/s320/SPF+20.png" width="320" /></a>
</div>
<ul>
</ul>
Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com3tag:blogger.com,1999:blog-6407683243372587076.post-9941528971085736672013-07-29T21:19:00.002+01:002013-08-06T19:54:31.301+01:00SPF Part 4 - Installing Service Provider Foundation 2012 R2<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">This post documents the last major piece of installation for the System Center 2012 R2 Service Provider Foundation. </span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in this series are: </span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span> </span> </span></li>
</ul>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Prerequisites</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">
<span style="font-family: Arial,Helvetica,sans-serif;">Service Provider Foundation is a
component of System Center 2012 R2 Orchestrator. If you haven't already
unpacked this from the System Center 2012 R2 Preview download, run
"SC2012_R2_PREVIEW_SCO.exe"</span><span style="font-family: Arial,Helvetica,sans-serif;"> now to prepare the installation source.</span> </span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Disable Internet Explorer Enhanced Security Configuration</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Disable IE Enhanced Security Configuration using a script to from this <a href="http://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell">Stack Overflow post</a>.
This is required as the System Center 2012 R2 Orchestrator installer
displays the landing page an IE control, which will warn if enhanced
security is enabled.
</span></span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
function Disable-InternetExplorerESC
{
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}
function Enable-InternetExplorerESC
{
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 1
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 1
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been enabled." -ForegroundColor Green
}
function Disable-UserAccessControl
{
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 00000000
Write-Host "User Access Control (UAC) has been disabled." -ForegroundColor Green
}
Disable-InternetExplorerESC</code>
</span></span></pre>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">System Prerequisites</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Service Provider Foundation has
some additional prerequisites above and beyond those we've already installed for Virtual
Machine Manager. These are listed in the Service Provider Foundation installer as
follows:
</span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Operating System - Windows Server 2012 R2</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS Version 7.5 or grater</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS Management Scripts and Tools role service</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS Security Basic Authentication</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS Security Windows Authentication</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS Application Development ASP.NET 4.5</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">
<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=29306">
WCF Data Services 5.0 for OData V3
</a>
</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">.Net Features 4.5 WCF Services HTTP Activation</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">
<a href="http://www.microsoft.com/en-gb/download/details.aspx?id=30683">
ASP.NET MVC 4 RC
</a>
</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Management OData IIS Extension</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Virtual Machine Manager 2012 R2 Administrator Console</span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif;">
We've already satisfied the first two and the last one, so we need to run some scripts to install the rest.
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
Add-WindowsFeature "Web-WebServer" -IncludeManagementTools
Add-WindowsFeature "Web-Scripting-Tools"
Add-WindowsFeature "Web-Basic-Auth"
Add-WindowsFeature "Web-Windows-Auth"
Add-WindowsFeature "Web-Asp-Net45"
Add-WindowsFeature "NET-WCF-HTTP-Activation45"
Add-WindowsFeature "ManagementOdata"
</code> </span></pre>
<span style="font-family: Arial,Helvetica,sans-serif;">This will leave two components
remaining - "WCF Data Services 5.0 for OData V3" and "ASP.NET MVC 4 RC".
These can be downloaded from the links in the list above. It's not
clear how to script the WCF Data Services install, so we'll just do that
the old fashioned way for now, but MVC 4 can be installed using the
commands below.
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code>
md c:\logs
set downloads=\\nas1\downloads\Microsoft
"%downloads%\Desktop Software\ASP.NET MVC 4\AspNetMVC4Setup.exe" /quiet</code>
</span></pre>
<span style="font-family: Arial,Helvetica,sans-serif;">
</span>
<br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Domain Objects</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Run the following script to create some Active Directory user groups to manage security permissions for the Service Provider Foundation web services:</span>
<br />
<pre><code>
Add-WindowsFeature -Name "RSAT-AD-PowerShell"
New-ADGroup -Name "SPFAdminSiteUsers" -SamAccountName "SPFAdminSiteUsers" -GroupCategory "Security" -GroupScope "Global" -DisplayName "SPF Admin Site Users" -Path "CN=Users,DC=va,DC=local" -Description "Members of this group can access the SPF Admin Site"
New-ADGroup -Name "SPFProviderSiteUsers" -SamAccountName "SPFProviderSiteUsers" -GroupCategory "Security" -GroupScope "Global" -DisplayName "SPF Provider Site Users" -Path "CN=Users,DC=va,DC=local" -Description "Members of this group can access the SPF Provider Site"
New-ADGroup -Name "SPFVMMSiteUsers" -SamAccountName "SPFVMMSiteUsers" -GroupCategory "Security" -GroupScope "Global" -DisplayName "SPF VMM Site Users" -Path "CN=Users,DC=va,DC=local" -Description "Members of this group can access the SPF VMM Site"
New-ADGroup -Name "SPFUsageSiteUsers" -SamAccountName "SPFUsageSiteUsers" -GroupCategory "Security" -GroupScope "Global" -DisplayName "SPF Usage Site Users" -Path "CN=Users,DC=va,DC=local" -Description "Members of this group can access the SPF Usage Site"
Add-ADGroupMember -Identity "SPFAdminSiteUsers" -Members "Domain Admins"
Add-ADGroupMember -Identity "SPFProviderSiteUsers" -Members "Domain Admins"
Add-ADGroupMember -Identity "SPFVMMSiteUsers" -Members "Domain Admins"
Add-ADGroupMember -Identity "SPFUsageSiteUsers" -Members "Domain Admins"
</code>
</pre>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing Service Provider Foundation</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Navigate to the folder you unpacked SCO2012_R2_PREVIEW_SCO.exe into, and launch </span><span style="font-family: Arial,Helvetica,sans-serif;">SetupOrchesrator.exe, then follow the installation wizard as per below:</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-Ea5IO2ebJfhMkO0pIXACBy7ZUCcKWuBrthjyYaLwtN5Gb68jkY9o-OQpYB8zSfkvZV7gTDBNa2LcMTDQrdW_QbLIX7keeZeVeWVuy38qxlij4nKm8zBWIbQ7AkTvoTOWOzNh35IFaZA/s1600/SC2012R2+SPF+-+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-Ea5IO2ebJfhMkO0pIXACBy7ZUCcKWuBrthjyYaLwtN5Gb68jkY9o-OQpYB8zSfkvZV7gTDBNa2LcMTDQrdW_QbLIX7keeZeVeWVuy38qxlij4nKm8zBWIbQ7AkTvoTOWOzNh35IFaZA/s320/SC2012R2+SPF+-+01.png" width="300" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinwdBSjqyWG4xLJv7aLlp_L90G-bE0YPKPYbuEEbSC0b0QpJZ2CgbtSvYLcm21OFxxVMqkKIBENaMIfbwtNUdeB83VfEtggjl-RBr5YUO3BK4vJ_-ktbsIPZMNFdpHgo0xAobcdw41UgQ/s1600/SC2012R2+SPF+-+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinwdBSjqyWG4xLJv7aLlp_L90G-bE0YPKPYbuEEbSC0b0QpJZ2CgbtSvYLcm21OFxxVMqkKIBENaMIfbwtNUdeB83VfEtggjl-RBr5YUO3BK4vJ_-ktbsIPZMNFdpHgo0xAobcdw41UgQ/s320/SC2012R2+SPF+-+02.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPvrvPUaAL6lT3fCGFgKWpRyhpOG2NIWOseqKDZybkw-WOrdHnlEmNzHRMrS9UUbiKMXqUwtpmAAqpISw5YGVOA79NI-y4hwt0x_TXwL_BF-dERZCauFNHrFy6zmuGxJZanWXXD01pWX8/s1600/SC2012R2+SPF+-+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPvrvPUaAL6lT3fCGFgKWpRyhpOG2NIWOseqKDZybkw-WOrdHnlEmNzHRMrS9UUbiKMXqUwtpmAAqpISw5YGVOA79NI-y4hwt0x_TXwL_BF-dERZCauFNHrFy6zmuGxJZanWXXD01pWX8/s320/SC2012R2+SPF+-+03.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC08ijBKEyilmcG-F74TAuOXb4vuyoP_IdOjIV_oW6bXl4W57I7toniUJ31SzXdheRr19-9Y8TxNJlMpMcDTwTJnMOzRnt3XayAxC7UEVfjYnvFbHW0_5yRK6dsRLQZuM0bQc7LOfTf-0/s1600/SC2012R2+SPF+-+04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC08ijBKEyilmcG-F74TAuOXb4vuyoP_IdOjIV_oW6bXl4W57I7toniUJ31SzXdheRr19-9Y8TxNJlMpMcDTwTJnMOzRnt3XayAxC7UEVfjYnvFbHW0_5yRK6dsRLQZuM0bQc7LOfTf-0/s320/SC2012R2+SPF+-+04.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfC5_zFN26Pes1PyF9TH7_NqHQs6Geu1G8Ck49-ifScbTG1HTTzhzqAzcfItJshusTYIjidD7VhRMQJx6bsGDpmnJQuQ_KN0ml-_5fsi30V2VGOJ71diXfFn2NObuJvufNap3aPZhENrE/s1600/SC2012R2+SPF+-+05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfC5_zFN26Pes1PyF9TH7_NqHQs6Geu1G8Ck49-ifScbTG1HTTzhzqAzcfItJshusTYIjidD7VhRMQJx6bsGDpmnJQuQ_KN0ml-_5fsi30V2VGOJ71diXfFn2NObuJvufNap3aPZhENrE/s320/SC2012R2+SPF+-+05.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6qHZV2W91RaG1poeCB0-4Jzr7QOgjvfoGkllzctoKGuTP17Q5KvnsOfCJoP1QXSHykJnZAEZ1Ifan3hgI7ZgtrLEYcB_0hhMu7lmw3_ZD_NDBWhi065JHjxexZ70Ky14psJzzCgQW1Z8/s1600/SC2012R2+SPF+-+06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6qHZV2W91RaG1poeCB0-4Jzr7QOgjvfoGkllzctoKGuTP17Q5KvnsOfCJoP1QXSHykJnZAEZ1Ifan3hgI7ZgtrLEYcB_0hhMu7lmw3_ZD_NDBWhi065JHjxexZ70Ky14psJzzCgQW1Z8/s320/SC2012R2+SPF+-+06.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">On the next page for the "<b>Admin web service</b>", change the security groups to the "va\SPFAdminSiteUsers"
group we created earlier. Leave the application pool credentials to Network Service, although we'd specify individual domain groups and
users for these purposes in a full production environment.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjov20o3DfQfj4BUt9UeQaZ87oqM_WRgk3eYJTWLYZzRMfaG9ec9Zj-6iWzAjGefA0sNetHx4tNUn-E9CHqewIY4I0mWvLssxmzQy4VPMgTo3p72tPQQTMXxjLCUCNrk2OMDEhcK7uRi4c/s1600/SC2012R2+SPF+-+07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjov20o3DfQfj4BUt9UeQaZ87oqM_WRgk3eYJTWLYZzRMfaG9ec9Zj-6iWzAjGefA0sNetHx4tNUn-E9CHqewIY4I0mWvLssxmzQy4VPMgTo3p72tPQQTMXxjLCUCNrk2OMDEhcK7uRi4c/s320/SC2012R2+SPF+-+07.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">
Do the same for the "<b>Provider web service</b>":
</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR4vYu3KmgUwJ1DsGgHNbVLYCVLYKFcwooi_179vTYYU7KKSR2bJhvlZ4q_CLtXki2xn-l4R0hhpHqZmIw1eBRht6NrjgBtiBzzJ_qbiYQiRaXAznvLeogGlz2529DBTMiIKdQZF_lpZY/s1600/SC2012R2+SPF+-+08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR4vYu3KmgUwJ1DsGgHNbVLYCVLYKFcwooi_179vTYYU7KKSR2bJhvlZ4q_CLtXki2xn-l4R0hhpHqZmIw1eBRht6NrjgBtiBzzJ_qbiYQiRaXAznvLeogGlz2529DBTMiIKdQZF_lpZY/s320/SC2012R2+SPF+-+08.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">And the "<b>VMM web service</b>":</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLhyCkaiFV0tyytk6U6FpYkyQeZ2sJAlNIzM42SqMjqeG6uWheFGMrwMx7IImVQ_B7HVrSJHHXEvVtbO-LvEiuFKy36ZdqpDz7CIUBm7quL6BVqQiZgSKbM7YnavwefWLGFD6WLt4RjqA/s1600/SC2012R2+SPF+-+09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLhyCkaiFV0tyytk6U6FpYkyQeZ2sJAlNIzM42SqMjqeG6uWheFGMrwMx7IImVQ_B7HVrSJHHXEvVtbO-LvEiuFKy36ZdqpDz7CIUBm7quL6BVqQiZgSKbM7YnavwefWLGFD6WLt4RjqA/s320/SC2012R2+SPF+-+09.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">
And finally, the "<b>Usage web service</b>":</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNb2KpeQB0-koCA21xHNjaGXTiCNALuvb2pkkDsAKPlNJsQP1i4ivDIrxAGghjmb8L7ZUbeRi1Kn9IQqq52sBtGWhyphenhyphenp8BwPLiKDMD_nbzYH6F6UBVCwyUWzVJQMGBsh8sgSqvMk9z2XqQ/s1600/SC2012R2+SPF+-+10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNb2KpeQB0-koCA21xHNjaGXTiCNALuvb2pkkDsAKPlNJsQP1i4ivDIrxAGghjmb8L7ZUbeRi1Kn9IQqq52sBtGWhyphenhyphenp8BwPLiKDMD_nbzYH6F6UBVCwyUWzVJQMGBsh8sgSqvMk9z2XqQ/s320/SC2012R2+SPF+-+10.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji5kq00FHbzNR-unuBag91Dr4uXvlcTY3Pva3yF1GCLYvCr0DEmiWJo1KRqujsKxI5jOYnKB6c-AHYTIWvJh6fNU82vTFscTIYHVn8cLhuuxoRdq997i3fiqZf_559rxY3OTL5_0dolrM/s1600/SC2012R2+SPF+-+11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji5kq00FHbzNR-unuBag91Dr4uXvlcTY3Pva3yF1GCLYvCr0DEmiWJo1KRqujsKxI5jOYnKB6c-AHYTIWvJh6fNU82vTFscTIYHVn8cLhuuxoRdq997i3fiqZf_559rxY3OTL5_0dolrM/s320/SC2012R2+SPF+-+11.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj12pH4fKZlC5F_rzEshhrjwQ3D3wHhtgYYkEfc65XcyLTnzit9LGHoe-16p0ozm_gs6RndIJuGFdZG-Z3xwEVbuBdajAlavUjQO7z0nQoOhtgweYrasBjMVM2WLsajp6aPY8r6PnXtb7o/s1600/SC2012R2+SPF+-+13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj12pH4fKZlC5F_rzEshhrjwQ3D3wHhtgYYkEfc65XcyLTnzit9LGHoe-16p0ozm_gs6RndIJuGFdZG-Z3xwEVbuBdajAlavUjQO7z0nQoOhtgweYrasBjMVM2WLsajp6aPY8r6PnXtb7o/s320/SC2012R2+SPF+-+13.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOJ-UVQg7PVqVYgyc50jY77xNRXISbckBZZNMI3IisT3fqH-37pfUnO2eqm8Xsg7qnaCnp0Yiy3yglAlBCMAVZBwAYyoQaZT8LmZUoGsRkQ7p-gK8jaGTa3QcFgmxFymTsh_G_SzaYxvI/s1600/SC2012R2+SPF+-+14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOJ-UVQg7PVqVYgyc50jY77xNRXISbckBZZNMI3IisT3fqH-37pfUnO2eqm8Xsg7qnaCnp0Yiy3yglAlBCMAVZBwAYyoQaZT8LmZUoGsRkQ7p-gK8jaGTa3QcFgmxFymTsh_G_SzaYxvI/s320/SC2012R2+SPF+-+14.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji8l44pSJrTjw1RB4m87gObruJ52ImvwC4Qm_ZaULz3h8cMyIEwBmiDptDdxVHeVdUvu3kUfEBnwjhyphenhyphensp-AXcXN0E9nvzv-vOHMaas5cPVqz5bHEL60X9PT4MRExhCaWuzXWNhykDlU5A/s1600/SC2012R2+SPF+-+12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji8l44pSJrTjw1RB4m87gObruJ52ImvwC4Qm_ZaULz3h8cMyIEwBmiDptDdxVHeVdUvu3kUfEBnwjhyphenhyphensp-AXcXN0E9nvzv-vOHMaas5cPVqz5bHEL60X9PT4MRExhCaWuzXWNhykDlU5A/s320/SC2012R2+SPF+-+12.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">This completes installation of the System Center 2012 R2 Service Provider Foundation. The final step in the next post will be to register the Service Provider Foundation endpoint with the Azure Pack mangement site.</span><br />
<br />Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com0tag:blogger.com,1999:blog-6407683243372587076.post-45577025835589925632013-07-29T18:32:00.000+01:002013-08-06T19:54:25.118+01:00SPF Part 3 - Installing Virtual Machine Manager 2012 R2<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Continuing the adventure of trying to get the Virtual Machine Cloud working with the Azure Pack, we need to install Virtual Machine Manager for System Center 2012 R2. This post will lead us through the process of installing the prereequisites and then Virtual Machine Manager itself.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in the series are:</span><br />
<br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span> </span> </span></li>
</ul>
<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Downloading</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://technet.microsoft.com/en-us/evalcenter/dn205295.aspx?CR_CC=200142594">Service Center 2012 R2</a> is currently available as a free 180 day trial from the <a href="http://technet.microsoft.com/en-us/evalcenter">TechNet Evaluation Center</a>. Once you've registered and downloaded the payload you'll have a set of *.exe files which unpack individual parts of Service Center 2012 R2. Run "SC2012_R2_PREVIEW_SCVMM.exe" and specify a folder to unpack to.</span><br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Prerequisites</span></h2>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">
Configure SQL Server Instance
</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">
For the sake of seeing what databases get created where, we're going
to run each separate component of the environment in a separate database
instance on our SQL Server. The first thing we'll do to is create a new
database instance for Virtual Machine Manager.
<br />
<br />
To do this, get a remote desktop session to the SQL Server
(VASQL01.va.local in this case) and run the SQL Server 2012 setup program
again. At the SQL Server Installation Center dialog, click
"Installation" and then "New SQL Server stand-alone installation or add
featires to an existing installation". Step through the wizard as per
normal, selecting the following options on the appropriate dialogs:
<br />
</span><br />
<ul><span style="font-family: Arial,Helvetica,sans-serif;">
<li>
<b>Installation Type</b> - select "Perform a new installation of SQL Server 2012"
</li>
<li>
<b>Feature Selection</b> - check "Database Engine Services"
</li>
<li>
<b>Instance Configuration</b> - specify the named instance as "VAVMMDB"
</li>
<li>
<b>Database Engine ConfigurationI</b> - select "Mixed Mode" authentication, specify an sa password, and add Domain Admins to the SQL Server administrator list.
</li>
</span></ul>
<span style="font-family: Arial,Helvetica,sans-serif;">
Finally, we'll bind the new instance to a static port and open that port in the Windows Firewall to allow incoming connections.
<br />
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
$key = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.VAVMMDB\MSSQLServer\SuperSocketNetLib\Tcp\IPAll"
Set-ItemProperty -Path $key -Name "TcpDynamicPorts" -Value ""
Set-ItemProperty -Path $key -Name "TcpPort" -Value "1435"
New-NetFirewallRule -DisplayName "VASQL01\VAVMMDB Database Engine" -Direction Inbound -Protocol TCP -LocalPort 1435 -Action Allow
Restart-Service "MSSQL`$VAVMMDB"
</code></span></pre>
<span style="font-family: Arial,Helvetica,sans-serif;">
</span>
<br />
<h3>
</h3>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Virtual Machine Configuration</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Virtual
Machine Manager requires at least 4000Mb of RAM allocated to the host
machine in order to install, and the installer will refuse to install if
you have below this threshold, so make sure your VM has at least that
much RAM before you start.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Windows Server 2012 R2</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Service Center 2012 R2 requires Windows Server 2012 R2, which you can find instructions for in a previous post - <a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html">Installing Windows Server 2012 R2</a>. Once we've got the base virtual machine installed, run the following scripts to rename the computer and join to the domain:</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;"></span></span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code> Rename-Computer "VASCM01"
Restart-Computer</code></span></pre>
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code> </code></span></pre>
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code> New-NetIPAddress -IPAddress 192.168.100.175 -InterfaceAlias "Ethernet" -DefaultGateway 192.168.100.254 -AddressFamily IPv4 -PrefixLength 24
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses @("192.168.100.170", "192.160.100.80")
$username = "VA\Administrator"
$password = "myPassword"
$passwordSecure = ConvertTo-SecureString $password -AsPlainText -Force
$credential = new-object System.Management.Automation.PSCredential($username, $passwordSecure)
Add-Computer -DomainName "va.local" -Credential $credential
Restart-Computer</code></span></pre>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Windows Assessment and Deployment Toolkit</span></h3>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">See the <a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html">Installing Windows Assessment and Deployment Toolkit 8.1 Preview</a> post for details of how to download and install the ADK.</span><br />
<br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">SQL Server Utilities</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">To install the SQL Server Command Line Utilities for SQL Server
2008 R2 or SQL Server 2012. This is part of the SQL Server 2012 Feature
Pack and can be downloaded from <a href="http://go.microsoft.com/fwlink?linkid=253555">http://go.microsoft.com/fwlink?linkid=253555</a>.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">To find the links, expand the "Install Instructions" section of the page and scroll down
to the "Microsoft SQL Server 2012 Command Line Utilities"
link. Note: You'll also need to download and install the "Microsoft
SQL Server 2012 Native Client" as a prerequisite to the command line
utilities. To install them, use the following commands:
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
md c:\logs
set msiexec=%SystemRoot%\System32\msiexec.exe
set downloads=\\nas1\downloads\Microsoft\Server Software\SQL Server 2012 Feature Pack\x64
"%msiexec%" /i "%downloads%\sqlncli.msi" /norestart /passive /l*v "c:\logs\sqlncli.log" IACCEPTSQLNCLILICENSETERMS=YES
"%msiexec%" /i "%downloads%\SqlCmdLnUtils.msi" /norestart /passive /l*v "c:\logs\SqlCmdLnUtils.log"
shutdown /r /t0
</code></span></pre>
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code></code></span></pre>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Domain Objects</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">
Finally, we'll
also need to run a couple of scripts to create a domain
account for the Virtual Machine Manager service and an Active Directory container to store encryption keys:
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
Import-Module ServerManager
Add-WindowsFeature -Name "RSAT-AD-PowerShell"
New-ADUser -Name "VMM Service" -SamAccountName "VMMService" -DisplayName "VMM Service Account" -Enabled $true -ChangePasswordAtLogon $false -AccountPassword (ConvertTo-SecureString "mypassword" -AsPlainText -force) -PasswordNeverExpires $true
$admins = [ADSI]"WinNT://./Administrators,group"
$admins.Psbase.Invoke("Add",([ADSI]"WinNT://VA/VMMService").Path)
New-ADOrganizationalUnit -Name "Encryption Keys"</code>
</span></pre>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Virtual Machine Manager</span></h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkPx5VF9mHzgRxaT41t_Q183rqfDnT7CZbPjvout1J-747rZakZXMlFA4Q0BCwOOddUxax0O98ePRDpZHItxAPcybrJs_V5IurSVuPA7yFLCSc-VUiF2KCWE51lKv4YIlFAPkzNfICb10/s1600/SC2012VMM+-+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="229" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkPx5VF9mHzgRxaT41t_Q183rqfDnT7CZbPjvout1J-747rZakZXMlFA4Q0BCwOOddUxax0O98ePRDpZHItxAPcybrJs_V5IurSVuPA7yFLCSc-VUiF2KCWE51lKv4YIlFAPkzNfICb10/s320/SC2012VMM+-+01.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDbu4b_ZBaZ7UBooxFCF-0S3RSneROp9GB9Im6R_gNXCaNJ4MI16rW-K9i35fHRs1TXXOYGs0JtajU2sd2alOKJ2NMWlPZ5AnR06G7UBrWbkCbnERhO_Vk2iv-AmWTq68Clun2d_6sBJw/s1600/SC2012VMM+-+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDbu4b_ZBaZ7UBooxFCF-0S3RSneROp9GB9Im6R_gNXCaNJ4MI16rW-K9i35fHRs1TXXOYGs0JtajU2sd2alOKJ2NMWlPZ5AnR06G7UBrWbkCbnERhO_Vk2iv-AmWTq68Clun2d_6sBJw/s320/SC2012VMM+-+02.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD0XQZbhLplazFouS7AfUyvLb9cvT25putbM1Axu5RGLhVX1KyE56zaN_qjG6J_VVAjUfHsjlWQzuCWpAmuEt-C3D8SQzwQU1qPA9jV775oAd6tMyM_GSsUyQjS0rwxLgx-h9zX-w7KOw/s1600/SC2012VMM+-+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD0XQZbhLplazFouS7AfUyvLb9cvT25putbM1Axu5RGLhVX1KyE56zaN_qjG6J_VVAjUfHsjlWQzuCWpAmuEt-C3D8SQzwQU1qPA9jV775oAd6tMyM_GSsUyQjS0rwxLgx-h9zX-w7KOw/s320/SC2012VMM+-+03.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXi6HB3XbozSMoE5AHu0hyKdXi1lUZauR-0pgr27yaF3NL_i7j7R-Y8wT78tr05cx1TGYIJrx93AglP-Y-lCwSUU8jjP85AzkVFCT-ZuE_Kf3L3pMqXIfd9190Em0J_f3JmGUixsO02i4/s1600/SC2012VMM+-+04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXi6HB3XbozSMoE5AHu0hyKdXi1lUZauR-0pgr27yaF3NL_i7j7R-Y8wT78tr05cx1TGYIJrx93AglP-Y-lCwSUU8jjP85AzkVFCT-ZuE_Kf3L3pMqXIfd9190Em0J_f3JmGUixsO02i4/s320/SC2012VMM+-+04.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFX-1qF2uAOZ9ZZsdBIpv56MIaxM1z4DmDbN_5KMkFniB5a7nj6uC12ufg94A0VuO4JJMoKs54i4rfXWU6Qs0KU49Eapx1VlxjbaBEnz3dsQZhJTK-Pa2XfJvUuyQg0i7m2HSFXYyxK34/s1600/SC2012VMM+-+05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFX-1qF2uAOZ9ZZsdBIpv56MIaxM1z4DmDbN_5KMkFniB5a7nj6uC12ufg94A0VuO4JJMoKs54i4rfXWU6Qs0KU49Eapx1VlxjbaBEnz3dsQZhJTK-Pa2XfJvUuyQg0i7m2HSFXYyxK34/s320/SC2012VMM+-+05.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxdU94QuxwIhEjPzRoesNRnrt1bsGOP9M5Af3GjlrHc7O1hB59TqVI-yU4tuj1KydbxYewJMLBQK0F3k3oJMp094JZ2vo_ecnr2xKpqE49tz-bizXejlPaD_dtYnmmrp9U4sj-BECA4rc/s1600/SC2012VMM+-+06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxdU94QuxwIhEjPzRoesNRnrt1bsGOP9M5Af3GjlrHc7O1hB59TqVI-yU4tuj1KydbxYewJMLBQK0F3k3oJMp094JZ2vo_ecnr2xKpqE49tz-bizXejlPaD_dtYnmmrp9U4sj-BECA4rc/s320/SC2012VMM+-+06.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGaEiFtbocGGpIhsA35HDpzt1lxEppq0PAMUwPLzyaoHH3Y3WnuC3xn5dTn590ONks1IwGenIprc9nm51Dewm0gum5ARw4lz_8s5hDgf062yhcqsQK1KvONl8ITSUtNhmC2rIV0HtobaA/s1600/SC2012VMM+-+07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGaEiFtbocGGpIhsA35HDpzt1lxEppq0PAMUwPLzyaoHH3Y3WnuC3xn5dTn590ONks1IwGenIprc9nm51Dewm0gum5ARw4lz_8s5hDgf062yhcqsQK1KvONl8ITSUtNhmC2rIV0HtobaA/s320/SC2012VMM+-+07.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqcLiXuu-4N01mG3_6Fl_MnEzEYhO0q0aHeo2o1CUJdYpM1DvCTsZpEGBW7ddod6YaOmq7TmLdZERccsPy-rrX2PWviNiQ2P6Mtq2Me9sq6V9Q7Fa1cM4IJB-DQvO40RZYT8qaeIITFMQ/s1600/SC2012VMM+-+08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqcLiXuu-4N01mG3_6Fl_MnEzEYhO0q0aHeo2o1CUJdYpM1DvCTsZpEGBW7ddod6YaOmq7TmLdZERccsPy-rrX2PWviNiQ2P6Mtq2Me9sq6V9Q7Fa1cM4IJB-DQvO40RZYT8qaeIITFMQ/s320/SC2012VMM+-+08.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGSYblHKrpAYRvcL2pozgZpxPsIEtQm-4SYmPxLerYL7jBMx5br8o3G_4WBWbNDhX5KirCMeZn8s3fOciq_m4l0U284FOBte37KglYiHxJaFr6UW92EcmhqaF2L6cfoVXCtVPLSILWUS8/s1600/SC2012VMM+-+09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGSYblHKrpAYRvcL2pozgZpxPsIEtQm-4SYmPxLerYL7jBMx5br8o3G_4WBWbNDhX5KirCMeZn8s3fOciq_m4l0U284FOBte37KglYiHxJaFr6UW92EcmhqaF2L6cfoVXCtVPLSILWUS8/s320/SC2012VMM+-+09.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP_HRH8vwUzFEZx0tQ3TVuJVXRbbBjYZfsdvSxNj9VKKsN_N2Nxn_XlJRnRHeVXOeT9_dYYSAv-oUBnqKNQXE9yZBTqj8S0qI9RLvO8kwYe43rQrBNbFq0g7XbrOHbDaKdEd0ZwtQwaY0/s1600/SC2012VMM+-+10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP_HRH8vwUzFEZx0tQ3TVuJVXRbbBjYZfsdvSxNj9VKKsN_N2Nxn_XlJRnRHeVXOeT9_dYYSAv-oUBnqKNQXE9yZBTqj8S0qI9RLvO8kwYe43rQrBNbFq0g7XbrOHbDaKdEd0ZwtQwaY0/s320/SC2012VMM+-+10.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgePSPVgk01sERfQAQDyrLfOM1bWURrP4jOKg1Su2And2-EPwfINpca3IezxpnXjvhPOSPnKCNFihbmNQgzu8QoS_Fz8HOeKh5oJOL2YfU0ZI6F6F8D-gVOUqVUN9wvZ7DdHfhp-2zkvI0/s1600/SC2012VMM+-+11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgePSPVgk01sERfQAQDyrLfOM1bWURrP4jOKg1Su2And2-EPwfINpca3IezxpnXjvhPOSPnKCNFihbmNQgzu8QoS_Fz8HOeKh5oJOL2YfU0ZI6F6F8D-gVOUqVUN9wvZ7DdHfhp-2zkvI0/s320/SC2012VMM+-+11.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqkN1tm9Rq-VmSovTohKpGcjzJqgdoQvekPRiW1X9D9KQ6zs6hogpcPiLDGqxEkixJo4_00g_cNVgq9_ujnAni5DRx_xpq3ikaehd7xT7OEeW0ezwDbIYto-57EysU32AFxcfpPV6dTpY/s1600/SC2012VMM+-+12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqkN1tm9Rq-VmSovTohKpGcjzJqgdoQvekPRiW1X9D9KQ6zs6hogpcPiLDGqxEkixJo4_00g_cNVgq9_ujnAni5DRx_xpq3ikaehd7xT7OEeW0ezwDbIYto-57EysU32AFxcfpPV6dTpY/s320/SC2012VMM+-+12.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCepJwNXs7f-pIMWBVM1muvMYYJdObXAV-BZIS_jPZrnVYBQbE29f94sPTtR5vRN9ZLbiSNAiL_3InRjErUyCeSO_zyleOLIYFXhew3pJBXRS0HZb5h5vsu2-n9GSOx8Pm8o5zMAoTOT4/s1600/SC2012VMM+-+13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCepJwNXs7f-pIMWBVM1muvMYYJdObXAV-BZIS_jPZrnVYBQbE29f94sPTtR5vRN9ZLbiSNAiL_3InRjErUyCeSO_zyleOLIYFXhew3pJBXRS0HZb5h5vsu2-n9GSOx8Pm8o5zMAoTOT4/s320/SC2012VMM+-+13.png" width="320" /></a></div>
<br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">The full warning on the final wizard page reads as follows:</span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">The Service Principal Name (SPN) could not be registered in Active Directory Domain Services (AD DS) for the VMM management server.<br /><br />1) Use setspn.exe to create SPN for vmmserver using following command "C:\Windows\system32\setspn.exe -S SCVMM/VASCM01.va.local va\VMMService".<br /><br />2) Add SPN values to following registry key "Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup\VmmServicePrincipalNames".<br /><br />3) Run "C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\setup\ConfigureSCPTool.exe -install" to configure SCP.<br /><br />If SPN and SCP are not registered, VMM consoles on other computers will not be able to connect to this VMM management server and deploying a Hyper-V host to a bare-metal computer will not work.</span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">
</span>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Running Virtual Machine Manager</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">To start Virtual Machine Manager, click the Start button (which is back in Windows Server 2012 R2), click the white "down arrow", and then click "Virtual Machine Manager Console" under the "Microsoft System Center 2012 R2" section.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">To make it quicker to launch in future, you can also right-click Virtual Machine Manager Console and click the "Pin to Start" icon or "Pin to taskbar" icon.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsk1DFjrpM5iUff1L-U7-CsHnGH3241WPu14RnC2KbD4AGxozcHgDLIH1kWi-Sqwe5DlE-mdC677hEkbsxb_p8cXaXhptvICCCHmZNlbSHK69emThW9IOtSLAHUhbb0Xs440liLEXPq1k/s1600/SC2012VMM+-+14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsk1DFjrpM5iUff1L-U7-CsHnGH3241WPu14RnC2KbD4AGxozcHgDLIH1kWi-Sqwe5DlE-mdC677hEkbsxb_p8cXaXhptvICCCHmZNlbSHK69emThW9IOtSLAHUhbb0Xs440liLEXPq1k/s320/SC2012VMM+-+14.png" width="300" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBL-tJWUqL8hqepJg6Ths4NOJSWOyxufXcMgAgzYMX6R1mCNpRE1425CqUkWGNjGRojPSiSCAH6elciqwOrHy_Ld9X0FF7g7XyvsJ4xCcjN2E6m0kNwHhns6RflnjGXs57Tw6Hr2tkHcU/s1600/SC2012VMM+-+15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBL-tJWUqL8hqepJg6Ths4NOJSWOyxufXcMgAgzYMX6R1mCNpRE1425CqUkWGNjGRojPSiSCAH6elciqwOrHy_Ld9X0FF7g7XyvsJ4xCcjN2E6m0kNwHhns6RflnjGXs57Tw6Hr2tkHcU/s320/SC2012VMM+-+15.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">We still don't have any resources to add to Virtual Machine Manager - that's coming a bit later. The next step will be to install Service Center 2012 R2 Service Provider Foundation, which we'll do in th enext post.
</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
</span>Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com0tag:blogger.com,1999:blog-6407683243372587076.post-18512768435286199812013-07-29T17:48:00.000+01:002013-08-06T19:54:17.256+01:00SPF Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Overview</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">This post is part 2 of a series describing how to instal Service Provider Foundation 2012 R2 for registration in the Windows Azure Pack. In this post we'll be documenting the installation for the Windows Assessment and Deplotment Tookit 8.1 for Windows.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif;">Other posts in the series are:</span><br />
<br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span></span> </span></li>
</ul>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Prerequisites</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">The Windows ADK 8.1 Preview needs the .Net Framework 4.5 installed as a prerequisite</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"><code>Add-WindowsFeature AS-NET-Framework</code></span></pre>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Downloading </span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">
The download from the <a href="http://www.microsoft.com/en-gb/download/details.aspx?id=39306">Windows Assessment and Deployment Kit (Windows ADK) for windows 8.1 Preview</a>
page is a 1.3Mb kicker which downloads a much larger 3.4Gb payload.
However, the installer allows the creation of an admin install point,
which we're going to do as we may need to rebuild the server one or more
times while we work.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Note that version 8.1 of the toolkit is designed for Windows Server 2012 R2. </span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">To do this, download the adksetup.exe file from
the page above, and walk through the following steps:<br />
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjL3noh5g8OiZzhnQUmoH3SY-uu4trjf8HQW3HKhutcaIJJDapa68RbzRDXWSx_XuPnCC2cLsr7wC9ULB39KvLk0C6WQRJik1L1JL2jxwXpzN9NOhl3Lpj_30c0OG2RPkHxtJTWkBhwEE/s1600/ADK+-+02.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjL3noh5g8OiZzhnQUmoH3SY-uu4trjf8HQW3HKhutcaIJJDapa68RbzRDXWSx_XuPnCC2cLsr7wC9ULB39KvLk0C6WQRJik1L1JL2jxwXpzN9NOhl3Lpj_30c0OG2RPkHxtJTWkBhwEE/s320/ADK+-+02.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGLkMB8-qJWUJmqci3rSO1XyrOjsHlIYz8ougyNqf78Utam8ai9QEqbbKsF9kHyFsU2jFlijzssnLpT-SgIt5HPInKly3PCpcpkTNd6nBCFFHaTCo8m5uJgwPUQE1wXrdR9r2zMeYPP8/s1600/ADK+-+03.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGLkMB8-qJWUJmqci3rSO1XyrOjsHlIYz8ougyNqf78Utam8ai9QEqbbKsF9kHyFsU2jFlijzssnLpT-SgIt5HPInKly3PCpcpkTNd6nBCFFHaTCo8m5uJgwPUQE1wXrdR9r2zMeYPP8/s320/ADK+-+03.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkZW2hlqmWXsS5FTSbEvUNmxvpnJk8N01Bl6_C1Em_8wypmJACcm7yNKk_cTdfATy3ZKmzT3tpdJTc-dBAFQ6sxKALGNP28cAbmzP_gIxAbjMubTFcJyDl1r0BbHgPqEK8FmtES7blnU/s1600/ADK+-+04.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkZW2hlqmWXsS5FTSbEvUNmxvpnJk8N01Bl6_C1Em_8wypmJACcm7yNKk_cTdfATy3ZKmzT3tpdJTc-dBAFQ6sxKALGNP28cAbmzP_gIxAbjMubTFcJyDl1r0BbHgPqEK8FmtES7blnU/s320/ADK+-+04.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAHnjRHD3Vz1Bxc6hYU8eZVlaLWf8WZQ7_x3WkdlMblml_VdKwY9v8was7MLZLpUEx3Nvh0wYpU8wwLx2h10WkoaLw_rjU-B62xaHtUIs_P7_s86TicUVaJLKBaWVhyJTgyEZe30tpXM/s1600/ADK+-+05.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAHnjRHD3Vz1Bxc6hYU8eZVlaLWf8WZQ7_x3WkdlMblml_VdKwY9v8was7MLZLpUEx3Nvh0wYpU8wwLx2h10WkoaLw_rjU-B62xaHtUIs_P7_s86TicUVaJLKBaWVhyJTgyEZe30tpXM/s320/ADK+-+05.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
</span>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing </span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">When the download has completed, locate the folder you selected to download to, and
run adksetup.exe again. It will detect that the files are already stored
locally and install from there. When prompted for the components to
install, select "Deployment Tools" and "Windows Preinstallation
Environment (Windows PE)".
<br />
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCJ1zrT_ICQzEDPtAcW7njOHxdIN_x6O2gOUGZlYApIIEPddPIGBEkQs0utzRU6-LTtF6ySi8kLZGhroncbZpK9xu5GL-MHcov358kKPPJX74Qogi5dE-h-KGgS_dtS-qKPNhyphenhyphenAn1a80A/s1600/ADK+-+06.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCJ1zrT_ICQzEDPtAcW7njOHxdIN_x6O2gOUGZlYApIIEPddPIGBEkQs0utzRU6-LTtF6ySi8kLZGhroncbZpK9xu5GL-MHcov358kKPPJX74Qogi5dE-h-KGgS_dtS-qKPNhyphenhyphenAn1a80A/s320/ADK+-+06.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguX5f6aVz-kPUBK9DFjZaUESsfrHOgD1U_RiJUZkfpzK1sznflWHATsw9LBXFbqqOdFSlS99T8YymPy062jr1Z7rQovGd_LsfmYn_mU4C-DvViY9q_vUcbApOa3BBz8UspihNWR2wrDog/s1600/ADK+-+07.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguX5f6aVz-kPUBK9DFjZaUESsfrHOgD1U_RiJUZkfpzK1sznflWHATsw9LBXFbqqOdFSlS99T8YymPy062jr1Z7rQovGd_LsfmYn_mU4C-DvViY9q_vUcbApOa3BBz8UspihNWR2wrDog/s320/ADK+-+07.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjUiuH1772oCrIrsX_kZ179YMaWDbR4j3EFdoRjKZB2bjvlFchXJ6a2ePoeywFFOohKfFwrln-TgVc3g0YE6HoYtj9AXjnsa55XhyaqaNHUosbA6a3r8AUEeQ1poWMY0LJ1ai2LVr7sgY/s1600/ADK+-+08.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjUiuH1772oCrIrsX_kZ179YMaWDbR4j3EFdoRjKZB2bjvlFchXJ6a2ePoeywFFOohKfFwrln-TgVc3g0YE6HoYtj9AXjnsa55XhyaqaNHUosbA6a3r8AUEeQ1poWMY0LJ1ai2LVr7sgY/s320/ADK+-+08.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjssQrPMkb91hWqq7ljPzlfajnqkGfUvk_LBeLL_u-uKwr98bl9AayNPgXPyF5h1Nr37ykrumx_0ivqKqDkrm3qzow_WHTKOjm80ToO4l3e5ZfLMOUUPl63spVKiKUTQFN2_zD6wMDp2xg/s1600/ADK+-+09.png" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjssQrPMkb91hWqq7ljPzlfajnqkGfUvk_LBeLL_u-uKwr98bl9AayNPgXPyF5h1Nr37ykrumx_0ivqKqDkrm3qzow_WHTKOjm80ToO4l3e5ZfLMOUUPl63spVKiKUTQFN2_zD6wMDp2xg/s320/ADK+-+09.png" width="320" />
</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;">
<br />
Alternatively, the following commands perform the same installation:
</span><br />
<pre><span style="font-family: Arial,Helvetica,sans-serif;"> <code>
md c:\logs
set downloads=\\nas1\downloads\Microsoft\Server Software\Windows ADK
"%downloads%\adksetup.exe" /ceip off /norestart /quiet /features OptionId.DeploymentTools OptionId.WindowsPreinstallationEnvironment /log "c:\logs\adksetup.log"
</code>
</span></pre>
<span style="font-family: Arial,Helvetica,sans-serif;">
(see <a href="http://msdn.microsoft.com/en-us/library/hh825494.aspx#CMDLINE">Installing the Windows ADK</a> for the complete list of adksetup command line options)
</span>Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com0tag:blogger.com,1999:blog-6407683243372587076.post-51928565900751573772013-07-29T12:59:00.000+01:002013-08-06T19:54:09.704+01:00SPF Part 1 - Installing Windows Server 2012 R2 Preview<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Overview</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">The Virtual Machine Cloud service in the Azure Pack requires at least one System Center 2012 R2 Service Provider Foundation server to be installed to manage the underlying Hyper-V hosts. This in itself requires Service Center 2012 R2 Virtual Machine Manager, which in turn requires components from the Windows Assessment and Deployment Toolkit 8.1 Preview, and all of these require Windows Server 2012 R2 Preview.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Because of the amount of dependencies required to install Service Provider Foundation, we've split it into a number of posts, as follows:</span><br />
<ul>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-server-2012-r2.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 1 - Installing Windows Server 2012 R2 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-2-installing-windows.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 2 - Installing Windows Assessment and Deployment Toolkit 8.1 Preview</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-3-installing-virtual-machine.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 3 - Installing Virtual Machine Manager 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-4-installing-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 4 - Installing Service Provider Foundation 2012 R2</span></a></li>
<li><a href="http://virtualaffinity.blogspot.co.uk/2013/07/spf-part-5-registering-service-provider.html"><span style="font-family: Arial, Helvetica, sans-serif;">Part 5 - Registering Service Provider Foundation with Windows Azure Pack</span></a></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-6-installing-system-management.html">Part 6 - Installing System Management Automation</a></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://virtualaffinity.blogspot.co.uk/2013/08/spf-part-7-register-service-management.html">Part 7 - Register Service Management Automation with Windows Azure Pack</a> </span></span> </span></li>
</ul>
<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Downloading</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://technet.microsoft.com/en-us/evalcenter/dn205286">Windows Server 2012 R2</a> is currently available as </span><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"> a </span>free 180 day trial from the <a href="http://technet.microsoft.com/en-us/evalcenter">TechNet Evaluation Center</a>. Once you've registered and downloaded the ISO image we're ready to go.</span><br />
<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Installing</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">The installation steps are more or less identical to Windows Server 2012 SP1. The only difference is the <a href="http://en.wikipedia.org/wiki/Siamese_fighting_fish">Betta Fish</a> on the boot screen, which is traditionally used in preview (beta) versions of Windows operating systems.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPjwI01WtdBJnKCriXoPyCmiAjLjYSACtaX2NYdQ2z9YeogzSFPgebUO_QxROngszIKhfin_PQf4NUiKCtpJaKIpLhTA0TNXsjoLileWAop16xbpyHfqGvkV-U8-bTz0WAQfBWqoNh9r0/s1600/Win2012R2+-+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPjwI01WtdBJnKCriXoPyCmiAjLjYSACtaX2NYdQ2z9YeogzSFPgebUO_QxROngszIKhfin_PQf4NUiKCtpJaKIpLhTA0TNXsjoLileWAop16xbpyHfqGvkV-U8-bTz0WAQfBWqoNh9r0/s320/Win2012R2+-+01.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMzQm4spgNWjZLC2zPyIHjdOWgMhi8C3Bt9f7zK3xJrpWwIHGaZRrf6E7XuXf3nov1lmHfGJoRSgyaxSjsclWv6Ebh2ko7RgEh2Vd9f4m19jPtXJFjDjW5shNdDiTP9hiDpzTfCHKlfGA/s1600/Win2012R2+-+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMzQm4spgNWjZLC2zPyIHjdOWgMhi8C3Bt9f7zK3xJrpWwIHGaZRrf6E7XuXf3nov1lmHfGJoRSgyaxSjsclWv6Ebh2ko7RgEh2Vd9f4m19jPtXJFjDjW5shNdDiTP9hiDpzTfCHKlfGA/s320/Win2012R2+-+02.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoubqTl1KXOcMVMWYODYUz7Jtf0TaLA6sYcnI8dwJc5RtderM-hAqzRFd03NHvDRr7xX-cZmFZ6oKMpOxugnvj7_dEeFrs5Zlb2co3tFcpPAu8tFUgJic53ufyA6t62f5H0GjjA9g7KmU/s1600/Win2012R2+-+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoubqTl1KXOcMVMWYODYUz7Jtf0TaLA6sYcnI8dwJc5RtderM-hAqzRFd03NHvDRr7xX-cZmFZ6oKMpOxugnvj7_dEeFrs5Zlb2co3tFcpPAu8tFUgJic53ufyA6t62f5H0GjjA9g7KmU/s320/Win2012R2+-+03.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_lZRBOog5ah-jBZ-OXIOVtT0TOxJPbhEtTz7fI36ViJsZu8aReeKRSBLNhNCzmwGblw5tzxMuZPz6xVjdZA7ww1Omd6jNrHxxV9UEdbmQnDIBtmn-Sg5heUZj922LDdH4699DT8GeJko/s1600/Win2012R2+-+04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_lZRBOog5ah-jBZ-OXIOVtT0TOxJPbhEtTz7fI36ViJsZu8aReeKRSBLNhNCzmwGblw5tzxMuZPz6xVjdZA7ww1Omd6jNrHxxV9UEdbmQnDIBtmn-Sg5heUZj922LDdH4699DT8GeJko/s320/Win2012R2+-+04.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiBrFx6suddPL36nvyljfAFVQp4D8JCfUaxRMX5r4BMKWEI8XVi9BQ3Cy-J9ZLz9rCBCULSACtKHPI8JrOR4VnWSKDAJNshkJq_QBIA6cNnIl21Rg30s_mjdbcqd2adksoGsaSphbwO7A/s1600/Win2012R2+-+05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiBrFx6suddPL36nvyljfAFVQp4D8JCfUaxRMX5r4BMKWEI8XVi9BQ3Cy-J9ZLz9rCBCULSACtKHPI8JrOR4VnWSKDAJNshkJq_QBIA6cNnIl21Rg30s_mjdbcqd2adksoGsaSphbwO7A/s320/Win2012R2+-+05.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqfw-hA8h39AfDJ-jfGJOSW8GwCKcA3pqOuhr51TAEIao13qhZxlsJvabfriYRhJJqdPZ2qOW_my8sUA_L9rhLuKxImDk0Vc8I8abufoLGbc9ftAeSL3Vssjt13FXBXIW5AxT0vup8Dz0/s1600/Win2012R2+-+06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqfw-hA8h39AfDJ-jfGJOSW8GwCKcA3pqOuhr51TAEIao13qhZxlsJvabfriYRhJJqdPZ2qOW_my8sUA_L9rhLuKxImDk0Vc8I8abufoLGbc9ftAeSL3Vssjt13FXBXIW5AxT0vup8Dz0/s320/Win2012R2+-+06.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1nJfkXXybbZVDcaDXCa1asvDU16qY4vHdWDJiQgUg-8VJNLD1Gr703Fx8DJ_EW_8uj3wcu-Wfbdz2MyX009u4A54W_Tm36YXd46NZljN9rrx3eHafgJ-aTglwqsxB8HwyKUoNRvo4XAc/s1600/Win2012R2+-+07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1nJfkXXybbZVDcaDXCa1asvDU16qY4vHdWDJiQgUg-8VJNLD1Gr703Fx8DJ_EW_8uj3wcu-Wfbdz2MyX009u4A54W_Tm36YXd46NZljN9rrx3eHafgJ-aTglwqsxB8HwyKUoNRvo4XAc/s320/Win2012R2+-+07.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEillFNZr3LxETucjBnrb-oIfXYW6Qv6bM4jXwW5EtalGfXEn95cuDhCsaoxE9nwNsgnG0bG9hyphenhyphenO_5b9JEZpkkA8lxsX_InCEOPvogsmKo4hdDoP_vb0JqBgXPsTPMlA1ss_6y7r57cG5ok/s1600/Win2012R2+-+08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEillFNZr3LxETucjBnrb-oIfXYW6Qv6bM4jXwW5EtalGfXEn95cuDhCsaoxE9nwNsgnG0bG9hyphenhyphenO_5b9JEZpkkA8lxsX_InCEOPvogsmKo4hdDoP_vb0JqBgXPsTPMlA1ss_6y7r57cG5ok/s320/Win2012R2+-+08.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlPi7L17hXxJaTGFBcb0hB4B2D8wOhbtmGUcrZnKwch6d2RkxAjxktUNVI-WaJCTXG3t1_Tj0wxZzWio9VgiHJ3XnrkJ-KFTsUiAfkE9ZM1N2d96QD_LwlQPfUaHL2DgoFBYQ26xfy2Cc/s1600/Win2012R2+-+09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlPi7L17hXxJaTGFBcb0hB4B2D8wOhbtmGUcrZnKwch6d2RkxAjxktUNVI-WaJCTXG3t1_Tj0wxZzWio9VgiHJ3XnrkJ-KFTsUiAfkE9ZM1N2d96QD_LwlQPfUaHL2DgoFBYQ26xfy2Cc/s320/Win2012R2+-+09.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhopCiaIzendWvBNk8lf3hEO6Mfj5zqnpV5yAPzb9EaX1WpDBkVBVwQAAH3QdTcupKxJbvgEkwg1qHnbVvNf-7yzNfTJj_X5VlGkqrMnH0ANnYND3Z9f_IR31DNp74kPbc7wM88e88PqU/s1600/Win2012R2+-+10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhopCiaIzendWvBNk8lf3hEO6Mfj5zqnpV5yAPzb9EaX1WpDBkVBVwQAAH3QdTcupKxJbvgEkwg1qHnbVvNf-7yzNfTJj_X5VlGkqrMnH0ANnYND3Z9f_IR31DNp74kPbc7wM88e88PqU/s320/Win2012R2+-+10.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirHOdA75XTRL-thx4Cj4Xl5IiJlLlODQfzA0D1zczHmwA5PBYLixqaBZPWsTl7KkRpHeyt2tiFi-MlfmvXCOCSk55o3MsWNxvQJjrUz0KonFm9n3zJTN0VVcj4D_-YyHYGxdCedwf5fQo/s1600/Win2012R2+-+11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirHOdA75XTRL-thx4Cj4Xl5IiJlLlODQfzA0D1zczHmwA5PBYLixqaBZPWsTl7KkRpHeyt2tiFi-MlfmvXCOCSk55o3MsWNxvQJjrUz0KonFm9n3zJTN0VVcj4D_-YyHYGxdCedwf5fQo/s320/Win2012R2+-+11.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj_R0wrk4uUci3rA04npaUdR6zyr0sK7MMVnCvEJVxIPTqI7lzzdii2MpQJ2ztrm51J1iXqTzsPmEZVs6Nc-ImdJ4K17A5Wc12UMhQFjWkgy6ZPKFPM_xFuYBHRWdSnfTleogjHaBTaKo/s1600/Win2012R2+-+12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj_R0wrk4uUci3rA04npaUdR6zyr0sK7MMVnCvEJVxIPTqI7lzzdii2MpQJ2ztrm51J1iXqTzsPmEZVs6Nc-ImdJ4K17A5Wc12UMhQFjWkgy6ZPKFPM_xFuYBHRWdSnfTleogjHaBTaKo/s320/Win2012R2+-+12.png" width="320" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyJkb9UWqWuLRWfHGhJPMH5rQACgUE5Hu19rCr5CbFI274m0WrJDitBqHmpUlxe6geURdShWrbIKIhMR1Ntk1ip16iolqKkKgTBbfQi0tuFxlKzPEAcdh7AUgNOVrVUvvmek7RYmSJSg/s1600/Win2012R2+-+13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyJkb9UWqWuLRWfHGhJPMH5rQACgUE5Hu19rCr5CbFI274m0WrJDitBqHmpUlxe6geURdShWrbIKIhMR1Ntk1ip16iolqKkKgTBbfQi0tuFxlKzPEAcdh7AUgNOVrVUvvmek7RYmSJSg/s320/Win2012R2+-+13.png" width="320" /></a></div>
<br />
<br />Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com1tag:blogger.com,1999:blog-6407683243372587076.post-56632203108511623922013-07-03T19:26:00.001+01:002013-07-27T12:26:39.496+01:00Installing Windows Azure Pack on Multiple Virtual Machines<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Introduction </span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Last time we looked at installing the Windows Azure Pack for Windows Server "Express" edition on a single VM. We only got as far as installing the management utilities because we didn't have any cloud resources to assign to the machine.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">In this post we're going to start to build out a full environment to run the Windows Azure Pack in.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span>
<br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">First Steps</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Before we start to look at the Windows Azure Pack installation we need to spin up a new Active Directory domain to host all of the security objects, as it's going to get tricky if all our VMs are member servers. We also need to build a dedicated SQL Server to move data storage off of the Service Management box.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Domain Controller </span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Create a new VM and install a fresh Windows Server 2012 instance, and assign a fixed IP address to the primary network card. You can use the following PowerShell commands to rename it and assign <span style="font-size: small;">a static address:</span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><br /></span>
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">New-NetIPAddress -IPAddress 192.168.100.170 -InterfaceAlias "Ethernet" -DefaultGateway 192.168.100.254 -AddressFamily IPv4 -PrefixLength 24</span></span></span></span></span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">Rename-Computer "VADOM01"<br />Restart-Computer </span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Next promote it to a domain controller. Note that dcpromo has been deprecated in Windows Server 2012 in favour of PowerShell cmdlets, so start <span style="font-size: small;">a </span>PowerShell command prompt and run the following commands:<br /> </span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Import-Module ServerManager</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature AD-Domain-Services </span></span><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">-IncludeManagementTools</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Import-Module ADDSDeployment</span></span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$domainName = "va.local"</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$netbiosName = "VA" </span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$adminPassword = "mypassword"</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$adminPasswordSecure = </span></span><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">ConvertTo-SecureString $adminPassword </span></span><br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"> -AsPlainText -Force</span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">Install-ADDSForest -DomainName $domainName -DomainNetBIOSName $netbiosName -SafeModeAdministratorPassword $adminPasswordSecure -ForestMode Win2012 -DomainMode Win2012 -Force</span></span><br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><br /></span></span>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-size: small;">This will create a new Active Directory forest and automatically reboot the server when the installation is complete.</span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-size: small;">Se</span>e <a href="http://technet.microsoft.com/en-us/library/hh974719.aspx">AD DS Deployment Cmdlets in Windows PowerShell</a> for help with these commands. </span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">SQL Server</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Create another VM, assign a fixed IP address again<span style="font-size: small;">, and join it to the new domain</span></span><span style="font-family: Arial,Helvetica,sans-serif;">:</span>
<br />
<h2>
</h2>
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Rename-Computer "VASQL01"<br />Restart-Computer</span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">New-NetIPAddress
-IPAddress 192.168.100.171 -InterfaceAlias "Ethernet" -DefaultGateway
192.168.100.254 -AddressFamily IPv4 -PrefixLength 24</span></span></span></span></span></span><br />
<pre>Set-DnsClientServerAddress <span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">-InterfaceAlias "Ethernet"</span></span></span></span></span></span> -ServerAddresses @("192.168.100.170", "192.160.100.80")</pre>
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"></span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><br /></span></span>
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$username = "VA\Administrator"</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$password = "mypassword"</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$passwordSecure = ConvertTo-SecureString $password -AsPlainText -Force</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$credential = </span></span><code>new-object System.Management.Automation.PSCredential($username, $passwordSecure)</code><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"> </span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-Computer -DomainName "va.local" -Credential $credential</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Restart-Computer</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Then install the .Net Framework 3.5. You need to have the Windows Server 2012 disc available (or mount the iso image to your VM) because the installation files aren't deployed onto the local hard disk by default:</span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Import-Module ServerManager</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Net-Framework-Core -Source "D:\sources\sxs"</span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Once
that's done we're going to configure the instance to run on a static port, and we'll also need to open the local firewall to allow inbound
connections to the SQL Server instance. The SQL Server service will need a restart after we've configured it for the changes to take effect.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">The script below was </span><span style="font-family: Arial,Helvetica,sans-serif;">adapted from <a href="http://ryanmangansitblog.wordpress.com/2013/05/01/powershell-script-for-sql-firewall-rules/">Ryan Mangan's IT Blog</a>.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> </span><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"> </span></span><br />
<pre><code>$key = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.VAMGTDB\MSSQLServer\SuperSocketNetLib\Tcp\IPAll"</code></pre>
<pre><code>Set-ItemProperty -Path $key -Name "TcpDynamicPorts" -Value ""
</code></pre>
<pre><code>Set-ItemProperty -Path $key -Name "TcpPort" -Value "1434"
</code><code>
</code></pre>
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">New-NetFirewallRule -DisplayName "VASQL01\VAMGTDB Database Engine" -Direction Inbound -Protocol TCP -LocalPort 1434 -Action Allow</span></span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Restart-Service "MSSQL`$VAMGTDB" </span></span><br />
<h3>
</h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Now we can install SQL Server
2012. Use the default settings for each dialog, except where listed below: </span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;"><b>Feature Selection</b> - check "Database Engine Services" and "Management Tools - Complete"</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;"><b>Instance Configuration</b> - select "Named instance" and enter "VAMGTDB"</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;"><b>Database Engine Configuration</b> - select "Mixed Mode" authentication, specify an sa password, and add Domain Admins to the SQL Server administrator list.</span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">The
Windows Azure Pack wants to use a SQL login when we configure it, hence the Mixed Mode authentication. In addition, we're going to isloate the databases for each service into separate instances for the time being to ensure there's no conflicts with multiple services sharing the same instance. There's nothing explicitly stated in th eAzure Pack documentation that requires or recommends this, but we're playing safe while we install it the first time around.</span><br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Management Portal</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Create another new VM, join it to the domain and install the Windows Azure Pack for Windows Server Express edition. This will be the starting point for the administration components. We'll split this out into separate VMs for "internal" and "customer facing" features later so that we can better secure critical features such as the Admin API and Tenant API.</span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Rename-Computer "VAMGT01"<br />Restart-Computer</span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">New-NetIPAddress
-IPAddress 192.168.100.172 -InterfaceAlias "Ethernet" -DefaultGateway
192.168.100.254 -AddressFamily IPv4 -PrefixLength 24</span></span></span></span></span></span><br />
<br />
<pre>Set-DnsClientServerAddress <span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">-InterfaceAlias "Ethernet"</span></span></span></span></span></span> -ServerAddresses @("192.168.100.170", "192.160.100.80")</pre>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">
</span></span><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"> </span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$username = "VA\Administrator"</span></span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$password = "myPassword"</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$passwordSecure = ConvertTo-SecureString $password -AsPlainText -Force</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">$credential = </span></span><code>new-object System.Management.Automation.PSCredential($username, $passwordSecure)</code><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"> </span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-Computer -DomainName "</span></span><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">va.local</span></span>" -Credential $credential</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Restart-Computer</span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Next, use </span><span style="font-family: Arial,Helvetica,sans-serif;">the <a href="http://virtualaffinity.blogspot.co.uk/2013/07/installing-windows-azure-pack-for_5038.html">instructions from last time</a> to install the Windows Azure Pack "Express" edition on the management machine. When it comes to configuring the SQL Instance to use for management data, enter the name of the VM we build in the previous step, and enter a fully qualified domain name for the server.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Note that if you try to access the </span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Service </span>Management Portal immediately afterwards you'll get this rather stark error message, which is because the account you installed with needs to be in an additional local security group called "MgmtSvc Operators":</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVkaX-Dcig_s_tqRqvcQy62_LdkMBXu_lQQrhjGitoLgd8hvC4bHon9JdVX-q42dPWkgjUeDBDUiIh3eno5m06KzlXFMar6VR3Hs3Sd9IuRGVasbYBeGXTHjhEsbpjTz3EciymwgwYYfk/s1024/SMAPI_Access_Denied.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVkaX-Dcig_s_tqRqvcQy62_LdkMBXu_lQQrhjGitoLgd8hvC4bHon9JdVX-q42dPWkgjUeDBDUiIh3eno5m06KzlXFMar6VR3Hs3Sd9IuRGVasbYBeGXTHjhEsbpjTz3EciymwgwYYfk/s320/SMAPI_Access_Denied.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Access Denied - The user does not have permissions to access the Service Management API</td></tr>
</tbody></table>
<span style="font-family: Arial,Helvetica,sans-serif;">The fix is pretty simple - just log off and back on again to get the new security group added to your account. In a production environment you'd want membership of this group to be managed via Active Directory, but we'll come back to that another day.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">After logging off and back on again you should be able to get to the home page for the Service Management Admin Site (MgmtSvc-AdminSite in IIS).</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhL2iwFxaoEvTlNHRrQRYhMcUrV6JfPeLILKIzGyXWsYe2NYXPjuM1itfaymWkRwl_ysu56-CzMoNOD1fhuYoBt_4AVLoMTgv4devwFRgYW2_J_FtdcnmR_eFDBcPI-WPeyfaGcJyHeA/s320/SMP_Homepage_Blank.png" style="margin-left: auto; margin-right: auto;" width="320" /></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Service Management Portal home page</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h2 class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;">Summary</span></h2>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">We've started to build</span> up a full infrastructure to host the Windows Azure Pack for Windows Server on, including an Active Directory domain, a dedicated SQL Server and a management server which is running all of the management sites and APIs, as per below:</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzPvGTjqozjwT4VJuHy52yIOWHXLJNfNHETkuE_ODsQMp9zeLERAn0RJMX43N2k7-DaaDiYLo9M2Utbk_VmDIRJyMcXyT5p1KiKGDmiA0Y_IyvTZwDEyKgZr0-73O0Kk-VQMvkHe8xQO0/s854/Network_Diagram.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzPvGTjqozjwT4VJuHy52yIOWHXLJNfNHETkuE_ODsQMp9zeLERAn0RJMX43N2k7-DaaDiYLo9M2Utbk_VmDIRJyMcXyT5p1KiKGDmiA0Y_IyvTZwDEyKgZr0-73O0Kk-VQMvkHe8xQO0/s320/Network_Diagram.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;">We still don't have any resources to connect to the Service Management Portal, but that's coming next, and we'll eventually need to separate out the individual sites onto separate boxes in order to satisfy security best practice.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;">The next step will be to install and configure a Web Site Cloud and connect it up to the Service Management Portal.</span></div>
Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com3tag:blogger.com,1999:blog-6407683243372587076.post-32614310280577612212013-07-01T19:07:00.000+01:002013-08-06T19:08:31.320+01:00Installing Windows Azure Pack for Windows Server<h2>
</h2>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Introduction</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">At TechEd 2013, Microsoft announced the preview release of their upcoming <a href="http://www.microsoft.com/en-us/server-cloud/windows-azure-pack.aspx">Windows Azure Pack for Windows Server</a>. This is a set of management components that run on top of Windows Server 2012 and provide a Private Cloud experience identical to the public Azure offering.The two main scenarios we can see where this will be used are:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;">ISPs spinning up a new Azure-like cloud hosting experience for customers, without having to develop their own management and instrumentation services to run their datacentres.</span> </li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Infrastructure teams in large IT departments offering metered self-service provisioning to </span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">in-house </span>application development projects. The two key benefits here over hosted cloud services are that (i) </span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">it avoids </span>issues with, for example, PICS and FSA certification for public cloud hosting providers since the service is still provided from in-house equipment, and (ii) it allows IT teams to charge the application owners on a pro-rata basis for the cost of infrastructure services that they consume, moving away from cost-centre based Cap-Ex toward project-based Op-Ex.</span><span style="font-family: Arial,Helvetica,sans-serif;"> </span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif;">We're very excited about all of the new opportunities the Azure Pack presents, so we wanted to set up a test lab to see what the Azure Pack looks like, and how it works.</span><br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Finding the Downloads</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">First off, finding the download is a bit of a wild goose chase. Hitting the Windows Azure Pack home page doesn't give you any immediate clues about where to get the installer from. However, having a poke around for a few minutes reveals the location:</span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Go to Windows Azure Pack home page at <a href="http://www.microsoft.com/en-us/server-cloud/windows-azure-pack.aspx">http://www.microsoft.com/en-us/server-cloud/windows-azure-pack.aspx</a></span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Click “Try It”</span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif;">This will bring you to the Windows Azure Pack for Windows Server landing page on the TechNet Library (a shortcut to the same location is <a href="http://technet.microsoft.com/en-us/library/dn296435.aspx">http://technet.microsoft.com/en-us/library/dn296435.aspx</a>). From there you’ll find that the Azure Pack comes in two flavours – a single-machine “Express” version and the full version.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span> <span style="font-family: Arial,Helvetica,sans-serif;">To install the Express version, click the</span><span style="font-family: Arial,Helvetica,sans-serif;"> "</span><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://go.microsoft.com/?linkid=9832690">Install Windows Azure Pack: Portal and API Express - Preview</a>" link on that page to trigger a download, or click the <a href="http://www.microsoft.com/web/downloads/platform.aspx">Install Windows Azure Pack - Preview components on multiple machines</a> for the full preview.</span><br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing Windows Azure Pack</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Since the full preview requires a minimum of 7 (yes, seven) separate virtual machines to run, we’re going to start this proof of concept using the Express version which can run most of the management services on a single VM for testing. Once we’ve got a handle on what the product actually looks like we’ll go back and plan out a full-scale deployment for production use.<br /><br />We’re going to start with a fresh Windows Server 2012 Standard VM. We’re not going to connect it to a domain at this point because at this point we want to make sure it doesn’t try to make unexpected changes to our production domain’s Active Directory forest.</span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">So here we go... </span></span><br />
<h2>
</h2>
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Web Platform Installer</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">The first thing you’ll see when you click the Express link is a download for a 93.6KB file – this is a bootstrap installer which uses the Web Platform Installer 4.5 to download and run the main Windows Azure Pack installers.<br /><br />Note that the bootstrap will also download and install the Web Platform Installer 4.5 if it isn’t already on your server, but you can download it manually from the link below if you want to put it on a local redistribution point and install it from there:<br /><br /><a href="http://download.microsoft.com/download/7/0/4/704CEB4C-9F42-4962-A2B0-5C84B0682C7A/WebPlatformInstaller_amd64_en-US.msi">http://download.microsoft.com/download/7/0/4/704CEB4C-9F42-4962-A2B0-5C84B0682C7A/WebPlatformInstaller_amd64_en-US.msi</a><br /><br />Once the Web Platform Installer has started you can click the “Items to be Installed” link at the bottom of the first screen to see a rather large list of dependencies that the Windows Azure Pack needs, as follows:</span><br />
<ul>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Portal and API Express – Preview</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Admin API – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Tenant API – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Tenant Public API – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Admin Site – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Tenant Authentication Site – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Admin Authentication Site – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Tenant Site – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack: Platform Component(s) – Preview (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – ETW Manifests (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Admin API (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Usage Extension (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Web App Gallery Extension (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – SQL Server Extension (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – MySQL Extension (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Monitoring Extension (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Configuration Site (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Tenant API (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Tenant Public API (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Admin Site (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Tenant Authentication Site (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Admin Authentication Site (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – Tenant Site (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Execute ASP.Net IIS Registration tool (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: ASP.NET 4.5 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">URL Rewrite 2.0 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Static Content (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: .NET Extensibility 4.5 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Request Filtering (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: ISAPI Extensions (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: ISAPI Filters (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Default Document (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Windows Authentication (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Dynamic Content Compression (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Static Content Compression (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Basic Authentication (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: WAS Process Model (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: WAS .NET Environment (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">.NET 3.5 for Windows 8 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: Management Console (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">.NET 4.5 Extended with ASP.NET for Windows 8 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">ASP.NET MVC 4 Language Packs Installer (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">ASP.NET MVC 4 Installer (VS 2010)-Default Locale (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">ASP.NET Web Pages 2 (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Microsoft Visual C++ 2010 SP1 Redistributable Package (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">MySQL Connector/Net (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">Windows Azure Pack – PowerShell API (Dependency)</span></li>
<li><span style="font-family: Arial,Helvetica,sans-serif;">IIS: WAS Configuration API (Dependency)</span></li>
</ul>
<br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing Operating System Components</span></h3>
<h4>
</h4>
<span style="font-family: Arial,Helvetica,sans-serif;">I want to try to script as much of this installation as possible, so I’ll start by picking off the operating system components using PowerShell.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Import-Module ServerManager</span></span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Server -IncludeManagementTools</span></span><br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Asp-Net</span><span style="font-size: x-small;"> -Source D:\sources\sxs</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Net-Ext -Source D:\sources\sxs</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Asp-Net45</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Net-Ext45</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-ISAPI-Ext</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-ISAPI-Filter</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Mgmt-Console</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Basic-Auth</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Windows-Auth</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">Add-WindowsFeature Web-Dyn-Compression</span></span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">That should knock out about a dozen of the dependencies. If you restart the Express installer and go back to the “Items to be Installed” page you’ll see all of the “IIS” dependencies have gone as they’re now installed.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing Supporting Software</span></h3>
<h4>
</h4>
<span style="font-family: Arial,Helvetica,sans-serif;">On that same “Items to be installed” page you’ll notice there’s a “Direct Download Link” for a lot of the components. You can either let the Web Platform Installer handle all of these for you, or if like me you prefer to install from a local file share rather than pulling files down from the internet, you can pre-stage a local distribution folder with the packages using the direct download links.<br /><br />Once downloaded, we can install some more prerequisites:<br /><br /><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">md c:\logs<br />set msiexec=%SystemRoot%\System32\msiexec.exe<br />set downloads=\\nas1\downloads\Microsoft\Server Software\Windows Azure Pack\WAP_Downloads</span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%downloads%\vcredist_x64.exe" /log "c:\logs\vcredist_x64.log" /norestart /passive<br />"%downloads%\vcredist_x86.exe" /log "c:\logs\vcredist_x86.log" /norestart /passive<br />"%downloads%\AspNetMVC4Setup.exe" /log "c:\logs\mvc4_2010.log" /norestart /passive<br />"%msiexec%" /i "%downloads%\rewrite_amd64_en-US.msi" /norestart /passive /l*v "c:\logs\urlrewrite20.log"</span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%msiexec%" /i "%downloads%\mysql-connector-net-6.5.4.msi" /norestart /passive /l*v "c:\logs\mysql_connector.log"</span></span></span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Installing Azure Pack Components</span></h3>
<h4>
</h4>
<span style="font-family: Arial,Helvetica,sans-serif;">If you look in the “Items to be installed” again now, you should just see the items prefixed with “Windows Azure Pack”, and the IIS Registration Tool, so let’s begin installing them as well.<br /><br /><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">md c:\logs<br />set msiexec=%SystemRoot%\System32\msiexec.exe<br />set downloads=</span></span></span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">\\nas1\downloads\Microsoft\Server Software\Windows Azure Pack\WAP_Downloads</span></span></span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"></span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%msiexec%" /i "%downloads%\MgmtSvc-EventSources.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-EventSources.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-AdminAPI.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-AdminAPI.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-TenantAPI.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-TenantAPI.log"</span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%msiexec%" /i "%downloads%\MgmtSvc-TenantPublicAPI.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-TenantPublicAPI.log"</span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%msiexec%" /i "%downloads%\MgmtSvc-Usage.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-Usage.log"</span></span></span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">"%msiexec%" /i "%downloads%\MgmtSvc-WebAppGallery.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-WebAppGallery.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-SQLServer.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-SQLServer.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-MySQL.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-MySQL.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-Monitoring.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-Monitoring.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-ConfigSite.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-ConfigSite.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-AdminSite.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-AdminSite.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-AuthSite.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-AuthSite.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-WindowsAuthSite.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-WindowsAuthSite.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-TenantSite.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-TenantSite.log"<br />"%msiexec%" /i "%downloads%\MgmtSvc-PowerShellAPI.msi" /norestart /passive /l*v "c:\logs\MgmtSvc-PowerShellAPI.log"</span></span><br /><br />Once these have all been installed, the “Items to be installed” page in the Web Platform Installer will be blank, and will show “0 items to be installed”.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Disable IE Enhanced Security</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;">If you're going to access the administration sites from the local server you'll need to disable IE Enhanced Security Configuration first. Ideally, you'd use a separate administation workstation, but the PowerShell to disable it is on the server is as follows, thanks to <a href="http://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell">a Stack Overflow post</a>:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<br />
<pre><code>function Disable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}
function Enable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 1
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 1
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been enabled." -ForegroundColor Green
}
function Disable-UserAccessControl {
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 00000000
Write-Host "User Access Control (UAC) has been disabled." -ForegroundColor Green
}</code></pre>
<pre><code> </code></pre>
<pre><code>Disable-InternetExplorerESC</code></pre>
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Configuring Windows Azure Pack</span></h2>
<h2>
</h2>
<span style="font-family: Arial,Helvetica,sans-serif;">The Web Platform Installer will automatically open the configuration site in a web browser. However if you’ve installed the components from a script you’ll need to navigate here yourself.<br /><br />To do this, open a browser and enter “<a href="https://localhost:30101/">https://localhost:30101/</a>” into the address bar (note – this goes to the MgmtSvc-ConfigSite site created in IIS by the installers). You’ll probably get a certificate warning, in which case just click "Continue to this website (not recommended)" to proceed.<br /> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRoe52WviIfSPCINbKhExYNGJJFwJGwDmMZhBwN53p8YwAwq9_-ut1nMhu-I82lnK1njxFYjTSXJX1h2Lb0xmd41uo1g_YhLugQ09uLDWQUllKOqvt5M7J_6VxuBECRULQbzmlsyndWEI/s1024/IE_Certificate_Warning.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRoe52WviIfSPCINbKhExYNGJJFwJGwDmMZhBwN53p8YwAwq9_-ut1nMhu-I82lnK1njxFYjTSXJX1h2Lb0xmd41uo1g_YhLugQ09uLDWQUllKOqvt5M7J_6VxuBECRULQbzmlsyndWEI/s320/IE_Certificate_Warning.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;">If you've installed the Azure Pack on a member server you may be asked to provide Windows credentials....</span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRHxSdz7NauT56yUiYl2m3x8MEfFABB1Oe0eeP9rC__9yZB9tGcy0UJpfOrvoT-sM0kabDGNf3FVUcDSN3cOb-7RDlAfPZTseuGYVWp_CZL2Ten19lKQoXtzJMCh3SDzt_SD2RaK79J_o/s439/IE_Authentication.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRHxSdz7NauT56yUiYl2m3x8MEfFABB1Oe0eeP9rC__9yZB9tGcy0UJpfOrvoT-sM0kabDGNf3FVUcDSN3cOb-7RDlAfPZTseuGYVWp_CZL2Ten19lKQoXtzJMCh3SDzt_SD2RaK79J_o/s320/IE_Authentication.png" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span><span style="font-family: Arial,Helvetica,sans-serif;">…before being shown a splash screen</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlS4c4My0hs1L0itW-wSEOdSP3tb8kGE_Leo8Trcv-B9n5A-76t5jpU6TEjaM45NCs3cOIK9ASwHcllErZ88H1z3vB6APAl69rDmVy2Wq9yg2jVvf5NKO7XwLUsg-vriOMfLVQP9BbCLE/s1024/SMP_SplashScreen.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlS4c4My0hs1L0itW-wSEOdSP3tb8kGE_Leo8Trcv-B9n5A-76t5jpU6TEjaM45NCs3cOIK9ASwHcllErZ88H1z3vB6APAl69rDmVy2Wq9yg2jVvf5NKO7XwLUsg-vriOMfLVQP9BbCLE/s320/SMP_SplashScreen.png" width="320" /></a></span></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br />The splash screen will auto-refresh after a few seconds to show the configuration page.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Configuration Page 1</span></h3>
<h3>
</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/--IqX2eFePk0/UdF8ARV3tbI/AAAAAAAAAEw/y77WatMQ5Xk/s1024/SMP_SplashScreen.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a><br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgju1ONpZl9dLtn_wDlf_EO5CvP8jNrrLhzDX3SX1moszDG8L-0F5bQCap0F3pgxsBEcXOvmfeBUwVqasoW0B_C8yhhPrmA40XkCvi7aKPNdV4A3pS7s9_CJ5ATJQwjJICoUAiNy9b2efY/s1024/SMP_Config_Page1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgju1ONpZl9dLtn_wDlf_EO5CvP8jNrrLhzDX3SX1moszDG8L-0F5bQCap0F3pgxsBEcXOvmfeBUwVqasoW0B_C8yhhPrmA40XkCvi7aKPNdV4A3pS7s9_CJ5ATJQwjJICoUAiNy9b2efY/s320/SMP_Config_Page1.png" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />At this point we need a SQL Server instance to store configuration data. As this is an exploratory install, I’ll just install “SQL Server 2012 Express with Tools” on the same server - see <a href="http://www.microsoft.com/en-gb/download/details.aspx?id=29062">http://www.microsoft.com/en-gb/download/details.aspx?id=29062</a> for the downloads. I won’t document the full installation here, but just keep clicking “Next” to accept the default options and you will be more or less ok.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">The only thing to watch for is to enable “SQL Authentication” otherwise you’ll get the warning below when you try to configure the passphrase in the Configuration Site.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdwNbYyMUFre55NoehxdaUrW38egbx9fk_M0HV0D9XakvMIEJawciSZBqdU0fsQhBcHS1ZoZFZrlJRIiorX9gMhow0CZi7RQ78LLeQa-UYgzBSMpNlVs5r_3j8_Fi4S3tdxOlbbGYTr40/s407/SMP_Config_Page1_Error.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdwNbYyMUFre55NoehxdaUrW38egbx9fk_M0HV0D9XakvMIEJawciSZBqdU0fsQhBcHS1ZoZFZrlJRIiorX9gMhow0CZi7RQ78LLeQa-UYgzBSMpNlVs5r_3j8_Fi4S3tdxOlbbGYTr40/s320/SMP_Config_Page1_Error.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">If you see this message, all is not lost - just follow the instructions at <a href="http://msdn.microsoft.com/en-us/library/ms188670.aspx">http://msdn.microsoft.com/en-us/library/ms188670.aspx</a> to enable SQL Authentication on your instance.</span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Configuration Page 2</span></h3>
<h3>
</h3>
<span style="font-family: Arial,Helvetica,sans-serif;">The next step wants the internet-facing domain name for the server. Our test machine isn’t actually going to be exposed externally, so I’ll just accept the default value and hope for the best.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVuTO9mgmya6wWFG9CrLFYH3v6t735VTc2hdRDedK6zhALanFqYUQFdKUySo58T5J2sMlk-UM8RHwE5JFfH9ofUdA092kIgGOQY9IaKO4IsaOWHM65ZWY0vMtxz4WJP_jx66eks-7m46s/s1024/SMP_Config_Page2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVuTO9mgmya6wWFG9CrLFYH3v6t735VTc2hdRDedK6zhALanFqYUQFdKUySo58T5J2sMlk-UM8RHwE5JFfH9ofUdA092kIgGOQY9IaKO4IsaOWHM65ZWY0vMtxz4WJP_jx66eks-7m46s/s320/SMP_Config_Page2.png" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"></span><br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Configuration Page 3</span></h3>
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Step 3 is simply a confirmation page showing the features that will be configured. Click the “tick” icon in the bottom right of the screen to start the configuration process.</span></span><span style="font-family: Arial,Helvetica,sans-serif;"> </span><br />
<h3>
</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfqg3F7wS-pyhftuYNej8dsmbkxJ0s9neTuFip36iP0biju3wvYaTz50dJkxOJFlWdC-0hpfbzkAc8ZubiihZfeLkxXMtuVW_6dAt1U-MjtYvmgUFPLBOETxwdtQy5Gp7DFy1F2aSYFD0/s1024/SMP_Config_Page3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfqg3F7wS-pyhftuYNej8dsmbkxJ0s9neTuFip36iP0biju3wvYaTz50dJkxOJFlWdC-0hpfbzkAc8ZubiihZfeLkxXMtuVW_6dAt1U-MjtYvmgUFPLBOETxwdtQy5Gp7DFy1F2aSYFD0/s320/SMP_Config_Page3.png" width="320" /></a></div>
<br />
<br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">When it’s done you should hopefully see something like this:</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span> <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfTWy5WjifeUyk1nVD7l09cKvZCfF7yQN2MWS5Q_cKwNcQVjbUtS2SFPELDJdJDSzdgBExJQg6UBtr5IMA-6TiJ1XC09-pA8-5Jzm5Q_jnT-gmM2V2xc8yqptF3IdAh1VSCF7vqw8bOgA/s1024/SMP_Config_Done.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfTWy5WjifeUyk1nVD7l09cKvZCfF7yQN2MWS5Q_cKwNcQVjbUtS2SFPELDJdJDSzdgBExJQg6UBtr5IMA-6TiJ1XC09-pA8-5Jzm5Q_jnT-gmM2V2xc8yqptF3IdAh1VSCF7vqw8bOgA/s320/SMP_Config_Done.png" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />Click the tick again to get taken to the Service Management Portal on </span><span style="font-family: Arial,Helvetica,sans-serif;"><a href="https://localhost:30091/"><span style="font-family: Arial,Helvetica,sans-serif;">https://localhost:30091/</span></a> (which is the MgmtSvc-AdminSite site in IIS). You’ll need to skip the certificate error and log in again, but once you’ve done that you’ll get presented with a 5-step tour.</span><br />
<br />
<h3>
<span style="font-family: Arial,Helvetica,sans-serif;">Service Management Portal Tour</span></h3>
<h3>
</h3>
<span style="font-family: Arial,Helvetica,sans-serif;">If you’ve worked with the public Azure Management Portal then the interface for the Service Management Portal will have a familiar layout. For those that haven’t, the screenshots below will show the tour for you.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw-a44qFJhpAn6si9lQAlJnQhs0dyfFyvc1-zdTv7KyghCxmIzKYcUwVSK2cvzDfhPOIDv-DHsgy_QNBPwvDxm3fXSxx3UfWpBrIZgmwWDMsB3OZwp7D_ZkAw4WFxpoy3FNz2gvMDCA5k/s1024/SMP_Tour_Page1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw-a44qFJhpAn6si9lQAlJnQhs0dyfFyvc1-zdTv7KyghCxmIzKYcUwVSK2cvzDfhPOIDv-DHsgy_QNBPwvDxm3fXSxx3UfWpBrIZgmwWDMsB3OZwp7D_ZkAw4WFxpoy3FNz2gvMDCA5k/s200/SMP_Tour_Page1.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1aCxkrZrQv5wTyF0ITUmhH-FNEibi89MQYditvGJpW4hM2cRiYDz52SHAUpzeslBU5L4wkODaMJlxXT8OcruVzA0-SfdSZj1d0whnuDvuUncvpxMfw_VereK2X4yxVvfKH4IJ1Cb2VVE/s1024/SMP_Tour_Page2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1aCxkrZrQv5wTyF0ITUmhH-FNEibi89MQYditvGJpW4hM2cRiYDz52SHAUpzeslBU5L4wkODaMJlxXT8OcruVzA0-SfdSZj1d0whnuDvuUncvpxMfw_VereK2X4yxVvfKH4IJ1Cb2VVE/s200/SMP_Tour_Page2.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhHkC2RwU4H5De1MZuuo6hnChJZeLqL5tYDOj7vlqeWFO4jfGQlpC-roQU_54GXSyOrJyE0oaGgfR0Xw9orln0c49Qomvekjd1Ym9vWW1ZRRIEbZMuSmAtxmIsOsRfwXfO_8FR7GzWMNs/s1024/SMP_Tour_Page3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhHkC2RwU4H5De1MZuuo6hnChJZeLqL5tYDOj7vlqeWFO4jfGQlpC-roQU_54GXSyOrJyE0oaGgfR0Xw9orln0c49Qomvekjd1Ym9vWW1ZRRIEbZMuSmAtxmIsOsRfwXfO_8FR7GzWMNs/s200/SMP_Tour_Page3.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieCHtrzA1rbrb7PSvhUp90Mp32IIINX8PaiooIAuLLcZTccY0x5O6oyzglPrQ0Jh0j9hL7nOVjb2VJMusHckINLkJZXcSQFsd9e6s9pgD3t_dVlbirDtxsZ5jmZgmLMeSuhWIi7x80Yc0/s1024/SMP_Tour_Page4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieCHtrzA1rbrb7PSvhUp90Mp32IIINX8PaiooIAuLLcZTccY0x5O6oyzglPrQ0Jh0j9hL7nOVjb2VJMusHckINLkJZXcSQFsd9e6s9pgD3t_dVlbirDtxsZ5jmZgmLMeSuhWIi7x80Yc0/s200/SMP_Tour_Page4.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh18WNn2A_e5G2MguACIiUsaNJAZb4YQ3qbGkDvak6Jv4b_03soYrBUQ3ntG6MNQM5jIDwaXhPKmsM82d7skD4te3-DZ3t3IfX5wEsEAk60neyRxB1mOU_gyKZrgMJQHNV9_XjisFdOJ5o/s1024/SMP_Tour_Page5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh18WNn2A_e5G2MguACIiUsaNJAZb4YQ3qbGkDvak6Jv4b_03soYrBUQ3ntG6MNQM5jIDwaXhPKmsM82d7skD4te3-DZ3t3IfX5wEsEAk60neyRxB1mOU_gyKZrgMJQHNV9_XjisFdOJ5o/s200/SMP_Tour_Page5.png" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial,Helvetica,sans-serif;">Once you've seen the tour and clicked the tick on the final page, you'll eventually get to the Serviec Management Portal.</span></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><br /></span> <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsJwmTqDQ0KqW85gsIVaSmjualIraxqja-kY_p0VBwZhkELeZp7KKBY2T3z-ub-J2L0nOnY9vErLu2seGp5bSc8k7fwZx1o1x4JyjtzyAog1KRxxuM_NcQqu-BqJQSVCHEnpM7-gMu8zc/s1024/SMP_Default_AllItems.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsJwmTqDQ0KqW85gsIVaSmjualIraxqja-kY_p0VBwZhkELeZp7KKBY2T3z-ub-J2L0nOnY9vErLu2seGp5bSc8k7fwZx1o1x4JyjtzyAog1KRxxuM_NcQqu-BqJQSVCHEnpM7-gMu8zc/s320/SMP_Default_AllItems.png" width="320" /></a></div>
<br />
<span style="font-family: Arial,Helvetica,sans-serif;">If you've installed the Express version of the Azure Pack like we did, then you won't be able to do much more right now because you won't yet have provisioned any </span><span style="font-family: Arial,Helvetica,sans-serif;">Web Site Clouds, VM Clouds or Service Bus Clouds to connect up to it for tenant usage. We'll decribe how to do this in later posts.</span><br />
<h2>
<span style="font-family: Arial,Helvetica,sans-serif;">Summary</span></h2>
<span style="font-family: Arial,Helvetica,sans-serif;">In this post we’ve installed the Express version of the Windows Azure Pack for Windows Server on a standalone member server. We installed it from a distribution point on a file server using command lines rather than letting the Web Platform Installer pull files down from the internet in order to control exactly which versions of files get deployed.<br /><br />We then installed a SQL Express instance and configured the Service Management Portal to use this instance to store configuration data.<br /><br />That’s quite a lot done already, but we still need to install and configure define the back-end resources that are available to customers through the self-service customer site.<br /><br />Next time, we’ll start to build out the single server Express installation into the full product across multiple virtual machines..</span>Mike Claytonhttp://www.blogger.com/profile/08514844773715827893noreply@blogger.com1