<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Damien Caro's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dcaro/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dcaro/feed.xml</link>
    <description>Cloud today and tomorrow !</description>
    <lastBuildDate>Mon, 07 Mar 2016 12:45:13 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Git for Windows 2.6.3 on Win10</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/git263-win10</link>
      <pubDate>Sun, 13 Dec 2015 08:45:57 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/?p=5391</guid>
      <description><![CDATA[I recently had to install Git for Windows version 2.6.3 on my Windows 10 machine.

After...]]></description>
      <content:encoded><![CDATA[I recently had to install Git for Windows version 2.6.3 on my Windows 10 machine.

After installing the product, I hit the following error message every time, I wanted to synchronize a remote repository:
<blockquote>Cloning into 'test'...
fatal: unable to access 'https://xxxx.xxxxx.xxxxx/DefaultCollection/_git/test/': error setting certificate verify locations:
CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none</blockquote>
The error commes from the fact that Git installs on Windows 10 with a configuration file that points to a non existing path.

To fix it, simply look for and edit the file C:\ProgramData\Git\config

Change the line that starts with sslCAInfo and mofidy as follows
<blockquote>[http]
sslCAInfo = C:/Users/&lt;username&gt;/AppData/Local/Programs/Git/mingw64/ssl/certs/ca-bundle.crt</blockquote>
git should  now be working as expected.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Create your Azure image with Debian 7.0</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/create-your-azure-image-with-debian-7-0</link>
      <pubDate>Wed, 03 Dec 2014 08:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2014/12/03/create-your-azure-image-with-debian-7-0/</guid>
      <description><![CDATA[I recently had to create a custom VM based on Debian 7.0.
As Debian is not in the list of the...]]></description>
      <content:encoded><![CDATA[<p>I recently had to create a custom VM based on Debian 7.0.</p>
<p>As Debian is not in the list of the endorsed distributions, if you want to run a Debian based VM in Azure, you have to build it yourself. The whole process is detailed on the following page but some additional guidance my help some folks: <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-generic/">https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-generic/</a></p>
<p>I&#39;m going to walk you through the steps that I took to create my Debian 7.0 image in Azure:</p>
<ol>
<li>Create a virtual machine with hyper-V (or other virtualization tools) and install Debian</li>
<li>Configure the VM</li>
<li>Upload the VHD to azure and create your image</li>
</ol>
<h2>1- Create your VM</h2>
<p>I&#39;ve downloaded the network installation ISO from this location: <a href="https://www.debian.org/distrib/netinst">https://www.debian.org/distrib/netinst</a> (AMD64 version)</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA1.png" alt=" " /></p>
<p>Then you need to create a VM with a <strong>fixed VHD</strong>, I&#39;d recommend to size it at 30 GB to make is fast enough to upload and still large enough to handle any future updates but this is your call at the end of the day. The maximum that you can have is 127 GB. This is how it looks on Hyper-V.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA2.png" alt=" " /></p>
<p>Then proceed with the installation of your distribution of Debian, including the default disk partitioning. In my case, I have selected the default configuration all the way until the selection of roles.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA3.png" alt=" " /></p>
<p>For the selection of roles, I&#39;ve unselected the &quot;<em>Debian desktop environment</em>&quot; and &quot;<em>Print Server</em>&quot; and added the &quot;<em>SSH server</em>&quot;. Once the VM is in Azure, SSH will be the only way to access and configure it so make sure you add this.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA4.png" alt=" " /></p>
<p>Wait until the end of the installation and you are ready to proceed to the next step.</p>
<h2>2- Configure the VM</h2>
<p>&nbsp;</p>
<ul>
<li>First we need to modify the <strong>kernel configuration</strong> to ensure that the console messages are redirected to the first serial port.</li>
</ul>
<p>Edit the <span style="font-family:Consolas;">/etc/default/grub</span> file and modify the <span style="font-family:Consolas;">GRUB_CMDLINE_LINUX</span> parameter as follows:</p>
<p><span style="font-family:Consolas;">GRUB_CMDLINE_LINUX=&quot;console=ttyS0 earlyprintk=ttyS0 rootdelay=300&quot; </span></p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA5.png" alt=" " /></p>
<p>You can find additional information on the configuration of <span style="font-family:Consolas;">grub</span> on this page: <a href="https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html">https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html</a></p>
<ul>
<li>Second we need to install the <strong>Azure Linux Agent</strong>. The official source can be found on github: <a href="https://github.com/Azure/WALinuxAgent">https://github.com/Azure/WALinuxAgent</a></li>
</ul>
<p>Before we need to install git and sudo with the following command lines from a privileged prompt:</p>
<ul>
<li><span style="font-family:Consolas;">apt-get install git &ndash;y </span></li>
<li><span style="font-family:Consolas;">apt-get install sudo -y </span></li>
</ul>
<p>Clone the github repository to the directory you like with: <span style="font-family:Consolas;">git clone <a href="https://github.com/Azure/WALinuxAgent">https://github.com/Azure/WALinuxAgent</a> </span></p>
<p>This should create a WALinuxAgent directory where you have launched the command.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA6.png" alt=" " /></p>
<p>Then you need to copy the <span style="font-family:Consolas;">waagent</span> file to <span style="font-family:Consolas;">/usr/sbin/waagent</span></p>
<p>Change the execution rights and then execute <span style="font-family:Consolas;">/usr/bin/waagent &ndash;install</span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA7.png" alt=" " /></p>
<p>You can see the logs associated to the installation of the Azure Linux Agent in <span style="font-family:Consolas;">/var/log/waagent.log</span></p>
<p>Then modify the <span style="font-family:Consolas;">/etc/waagent.conf</span> file to set the agent parameters as follows:</p>
<ul>
<li><span style="font-family:Consolas;">ResourceDisk.Format=y </span></li>
<li><span style="font-family:Consolas;">ResourceDisk.Filesystem=ext4 </span></li>
<li><span style="font-family:Consolas;">ResourceDisk.MountPoint=/mnt/resource </span></li>
<li><span style="font-family:Consolas;">ResourceDisk.EnableSwap=y </span></li>
<li><span style="font-family:Consolas;">ResourceDisk.SwapSizeMB=2048 ## NOTE: set this to whatever you need it to be. </span></li>
</ul>
<p>Finaly, run the following commands:</p>
<ul>
<li><span style="font-family:Consolas;">sudo waagent -force -deprovision </span></li>
<li><span style="font-family:Consolas;">export HISTSIZE=0 </span></li>
<li><span style="font-family:Consolas;">logout </span></li>
</ul>
<p>and then shutdown the VM.</p>
<h2>3- Upload the disk to Azure and create the image</h2>
<p>Ensure that on the machine where you have created the VM you have the latest Azure powershell cmdelts and run the following:</p>
<p style="background:white;"><span style="font-family:Lucida Console;font-size:9pt;"><span style="color:blue;">Add-AzureVhd</span> <span style="color:navy;">-Destination</span> <span style="color:blueviolet;">https://mystorageaccount.blob.core.windows.net/mycontainer/debianimage.vhd</span> <span style="color:navy;">-LocalFilePath</span> <span style="color:darkred;">&#39;D:\VMs\DEBIAN\debianvhd.vhd&#39; </span></span></p>
<p>&nbsp;</p>
<p>Make sure that you adjust according to your environment the destination url and the local file path. The upload will take some time depending on your network bandwidth.</p>
<p>Once the vhd file has been uploaded, you can create your azure image. Under the &quot;Virtual Machine&quot; section, select the &quot;Images&quot; tab.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA8.png" alt=" " /></p>
<p>Then click &quot;create&quot; and fill the fields. The VHD URL points to the file that you have just uploaded.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA9.png" alt=" " /></p>
<p>&nbsp;</p>
<h2>4- Use the image</h2>
<p>Your image is ready to be used as any supported Azure images from the gallery under &quot;<strong>My Images</strong>&quot; to create a new VM in Azure.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/120314_1258_CreateyourA10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/120314_5F00_1258_5F00_CreateyourA10.png" alt=" " /></p>
<p>&nbsp;</p>
<h2>5- Additional information</h2>
<p>You can get more information on the following links:</p>
<ul>
<li>Create non endorse Linux images for Azure: <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-generic/">https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-generic/</a></li>
<li>Git repository for WALinuxAgent: <a href="https://github.com/Azure/WALinuxAgent">https://github.com/Azure/WALinuxAgent</a></li>
<li>Azure Linux Agent user guide: <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-agent-user-guide/">https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-agent-user-guide/</a></li>
<li>Grub configuration: <a href="https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html">https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html</a></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Hands-free configuration of your VM in Microsoft Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/hands-free-configuration-of-your-vm-in-microsoft-azure</link>
      <pubDate>Tue, 22 Apr 2014 07:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2014/04/22/hands-free-configuration-of-your-vm-in-microsoft-azure/</guid>
      <description><![CDATA[We have recently announced several updates on Microsoft Azure to facilitate the management of your...]]></description>
      <content:encoded><![CDATA[<p>We have recently announced several updates on Microsoft Azure to facilitate the management of your Virtual Machines. One of them is the work done to have a better integration with Chef and Puppet. Microsoft has worked with the editors of those two well-know devops tools to integrate them of our IaaS platform.</p>
<p>With those tools, you have several options:</p>
<ul>
<li>Deploy a supported Linux distribution and use Chef to manage this virtual machine (also called node)</li>
<li>Deploy a Windows virtual machine with the Chef agent installed</li>
<li>Use knife to deploy Virtual Machines in Azure</li>
<li>Integrate in a recipe the configuration of Azure resources</li>
</ul>
<p>In this post, I&#39;ll explain how to use Chef to apply a specific configuration to a Windows machine in Azure using a configuration file. This is done with the three following steps:</p>
<ol>
<li>Create the cookbook (the file that defines what should be applied on the VM)</li>
<li>Create the VM in Azure and indicate to that VM how to get it&#39;s configuration</li>
<li>Monitor the deployment</li>
</ol>
<p>In this example, let&#39;s deploy a Windows VM running Apache. You can use similar a approach to deploy any roles and features or third party applications on you VM.</p>
<h2>The Azure Configuration</h2>
<p>Chef works with a client running on the machine that needs to be configured (a Node) and a Run List either on a Chef Enterprise server or hosted. On Linux, Chef uses SSH to connect to the node and deploy the client. With Windows you can use WinRM to perform the same operation however, the integration of Chef with Microsoft Azure facilitates this process.</p>
<p>In Azure, Chef appears as an extension of the virtual machines. To deploy the client, you only need to select the check boxes as follows.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco1.png" alt=" " /></p>
<p>Before we can actually deploy a VM using that approach, we need to take some preparation steps.</p>
<h2>The configuration file</h2>
<p>Chef uses configuration files, called cookbooks, to apply settings on the system. Here are the steps that we need to perform to create the configuration file that will install Apache, configure it and open the proper Firewall port on the system:</p>
<ol>
<li>
<div>You need to have knife installed on your machine. Go to <a href="https://getchef.com">https://getchef.com</a> to install it on your machine and define your local repository.</div>
<p>&nbsp;</p>
</li>
<li>
<div>Add to your repository the &quot;windows&quot; cookbook that has been developed by OpsCode.</div>
<p>This cookbook that is freely available will facilitate the next steps. Here is where you can access the repository: <a href="https://github.com/opscode-cookbooks/windows">https://github.com/opscode-cookbooks/windows</a>.</p>
<p>&nbsp;</p>
</li>
<li>
<div>Create your own cookbook</div>
<p><span style="font-family:Courier New;">Knife cookbook create MyAzureCookbook </span></p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco2.png" alt=" " /></p>
</li>
<li>
<div>Modify the cookbook that you have just created</div>
<p>Open the <span style="font-family:Courier New;"><strong>MyAzureCookbook\recipes\default.rb</strong></span> file to indicate the steps that needs to be done to configure the system.</p>
<p>&nbsp;</p>
<p>This is how the file will look like (be careful, it is case sensitive):</p>
<p>&nbsp;</p>
<p><span style="font-family:Courier New;"># This line will install Apache2 from the current source on internet<br />windows_package &#39;apache2&#39; do<br />&nbsp;&nbsp;&nbsp;&nbsp;source &#39;https://apache.osuosl.org//httpd/binaries/win32/httpd-2.0.65-win32-x86-openssl-0.9.8y.msi&#39;<br />&nbsp;&nbsp;&nbsp;&nbsp;action :install <br />end<br /></span></p>
<p><span style="font-family:Courier New;"># Copy the configuration file for apache in the right location <br />cookbook_file &#39;C:/Program Files (x86)/Apache Group/Apache2/conf/httpd.conf&#39; do<br />&nbsp;&nbsp;&nbsp;&nbsp;source &#39;httpd.conf&#39;<br />end<br /></span></p>
<p><span style="font-family:Courier New;"># Install Apache as a service on Windows using the command line<br />windows_batch &quot;ApacheAsService&quot; do<br />&nbsp;&nbsp;&nbsp;&nbsp;code &lt;&lt;-EOH<br />&nbsp;&nbsp;&nbsp;&nbsp;&quot;C:\\Program Files (x86)\\Apache Group\\Apache2\\bin\\Apache.exe&quot; -k install<br />&nbsp;&nbsp;&nbsp;&nbsp;EOH<br />end<br /> </span></p>
<p><span style="font-family:Courier New;"># Create the file from a template that will be home page of our site<br />template &quot;C:/Program Files (x86)/Apache Group/Apache2/htdocs/index.html&quot; do<br />&nbsp;&nbsp;&nbsp;&nbsp;source &quot;index.html.erb&quot;&nbsp;&nbsp;&nbsp;&nbsp;<br />end<br /> </span></p>
<p><span style="font-family:Courier New;"># Enable Port 80 on the Firewall of the VM<br />powershell_script &quot;FWPort80&quot; do<br />&nbsp;&nbsp;&nbsp;&nbsp;code &lt;&lt;-EOH <br />&nbsp;&nbsp;&nbsp;&nbsp;New-NetFirewallRule -DisplayName &quot;Allow Apache&quot; -Direction Inbound -Program &quot;C:\\Program Files (x86)\\Apache Group\\Apache2\\bin\\Apache.exe&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;EOH<br />end<br /> </span></p>
<p><span style="font-family:Courier New;"># Ensure that the apache service is started <br />service &quot;Apache2&quot; do<br />&nbsp;&nbsp;&nbsp;&nbsp;action :start <br />end<br /> </span></p>
<p>You also need to create two files:</p>
</li>
</ol>
<ul>
<li>
<div><span style="font-family:Courier New;"><strong>MyAzureCookbook\templates\default\index.html.erb </strong></span></div>
<p style="margin-left:36pt;"><span style="font-family:Courier New;">&lt;html&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp; &lt;body&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt; Welcome to My Demo &lt;/h1&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt; Hello, &lt;%= node[&quot;fqdn&quot;]%&gt; !&lt;/h2&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;P&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This server has &lt;%= node[&quot;kernel&quot;][&quot;cs_info&quot;][&quot;total_physical_memory&quot;].to_i / 1048576 %&gt; MB of memory.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/P&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp; &lt;/body&gt;&nbsp;&nbsp;&nbsp;&nbsp;<br />&lt;/html&gt; </span></p>
</li>
<li>
<div><span style="font-family:Courier New;"><strong>MyAzureCookbook\files\default\httpd.conf </strong></span></div>
<p style="margin-left:36pt;">Copy the default httpd.conf file and modify or verify the following lines:</p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;">ServerRoot &quot;c:/Program Files (x86)/Apache Group/Apache2&quot;<br />ServerAdmin test@demo.com<br />ServerName AzureVM1:80<br /></span></p>
<p>Finally you need to modify the file <span style="font-family:Courier New;"><strong>\MyAzureCookbook\metadata.rb</strong></span> and add at the end</p>
<p><span style="font-family:Courier New;">depends &#39;windows&#39;<br /></span></p>
</li>
</ul>
<ol>
<li>
<div>Upload all the cookbooks to the server.</div>
<p><span style="font-family:Courier New;">knife cookbook upload MyAzureCookbook<br />knife cookbook upload windows </span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco3.png" alt=" " /></p>
<p>If your cookbook has a syntax error, it will be detected at that time.</p>
</li>
</ol>
<p>&nbsp;</p>
<h2>How to deploy a Windows VM</h2>
<p>In the previous steps we have prepared our configuration files, now let&#39;s walk through the deployment itself.</p>
<p>From the Azure management portal start to create a new VM from the Gallery and select a Windows 2012 R2 image.</p>
<p>Define the properties of the VM. In this sample, we&#39;ll use &quot;<strong>AzureVM1</strong>&quot; for the name of the VM and &quot;<strong>azureuser</strong>&quot; for the administrator.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco4.png" alt=" " /></p>
<p>The VM can be associated with an existing cloud service or a new one. Either cases, make sure you add HTTP (port 80) on the endpoints so that the requests can reach the server.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco5.png" alt=" " /></p>
<p>In the last configuration step, you now need to provide two files:</p>
<ul>
<li>
<div><span style="text-decoration:underline;">Client.RB</span>: The client.rb file is more or less the configuration file of the chef client. It has the URL of the server to use to download the recipes, the name of the node that will be used in Chef, the location of the cache of the Chef client.</div>
<p>In the following example, the machine will be represented in Chef with the name of &quot;<strong>AzureVM1</strong>&quot; and it will be attached to the organization called &quot;<strong>dpedemo</strong>&quot;. The name of the node does not need to be identical to the name of the VM. However, doing so makes it easier from a management point of view.</p>
<p style="margin-left:36pt;"><span style="font-family:Courier New;">log_level :info<br />log_location STDOUT<br /><br />chef_server_url <a href="https://api.opscode.com/organizations/dpedemo"><strong>https://api.opscode.com/organizations/dpedemo</strong></a><br />validation_client_name &quot;<span style="color:red;"><strong>dpedemo-validator</strong></span>&quot;<br />client_key &quot;c:/chef/client.pem&quot;<br />validation_key &quot;c:/chef/validation.pem&quot;<br /><br />file_cache_path &quot;c:/chef/cache&quot;<br />file_backup_path &quot;c:/chef/backup&quot;<br />cache_options ({:path =&gt; &quot;c:/chef/cache/checksums&quot;, :skip_expires =&gt; true})<br /><br />node_name &quot;<span style="color:red;"><strong>AzureVM1</strong></span>&quot;<br /></span></p>
</li>
<li><span style="text-decoration:underline;">Validation Key (.PEM)</span>: This file is the validator file that you get from your Chef server or your Chef hosted tenant when you download the starter kit for your organization. In my example, I&#39;ll use the file called &quot;<strong>dpedemo-validator.pem</strong>&quot;. Your file sill look like &quot;&lt;your_organization&gt;-validator.pem&quot;</li>
</ul>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco6.png" alt=" " /></p>
<p>The Run List is the list of recipe that will be used to configure the VM by the Chef client. In this example, we use only one run list but you can add several in the order in which they should be applied.</p>
<p><span style="text-decoration:underline;">Note</span>: You can store you configuration file and your validation keys in a storage account to facilitate the deployment and not rely on the host that you are using to deploy the Node.</p>
<h2>Monitoring the deployment</h2>
<p>During the deployment of the above VM, you will see the following stages of the VM:</p>
<p>The VM is being created and the resources provisioned:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco7.png" alt=" " /></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco8.png" alt=" " /></p>
<p>Once the VM has been deployed, the process goes to deploying the extensions. This is when the Chef client is being deployed.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco9.png" alt=" " /></p>
<p>The Chef client registers the node and you can see it appearing in the Chef administration tool. The Cookbook that we have specified in the run list on the Azure portal is reported in the run list on the Chef administration tool.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco10.png" alt=" " /></p>
<p>On the Azure portal, in the dashboard of the VM you can verify that the Chef client has correctly executed the recipe by looking at the extension status.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco11.png" alt=" " /></p>
<p>Finally, let&#39;s try to access the cloud service.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/042214_1035_Handsfreeco12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/042214_5F00_1035_5F00_Handsfreeco12.png" alt=" " /></p>
<h2>Conclusion</h2>
<p>There are other options to deploy a desired configuration to a Windows Virtual Machine which we will cover in additional posts. However, if you have already invested in Chef from Opscode and already developed several recipe and cookbooks, this is a way to leverage your investments while doing devops on Windows Azure.</p>
<h2>Additional resources</h2>
<p>To learn more about the various technologies that we have covered in this post, you can visit the following sites.</p>
<p>Windows Azure:</p>
<ul>
<li>General information on Azure: <a href="https://azure.microsoft.com/">https://azure.microsoft.com/</a></li>
<li>Deploy Azure Virtual machine : <a href="https://azure.microsoft.com/en-us/documentation/services/virtual-machines/">https://azure.microsoft.com/en-us/documentation/services/virtual-machines/</a></li>
<li>Managing the Windows firewall with powershell : <a href="https://technet.microsoft.com/en-us/library/jj554908.aspx">https://technet.microsoft.com/en-us/library/jj554908.aspx</a></li>
</ul>
<p>Chef / Opscode:</p>
<ul>
<li>Screen casts on Chef : <a href="https://learnchef.opscode.com/screencasts/fundi-webinar-week-1/">https://learnchef.opscode.com/screencasts/fundi-webinar-week-1/</a></li>
<li>Creating your first cookbook : <a href="https://learnchef.opscode.com/create-your-first-cookbook/">https://learnchef.opscode.com/create-your-first-cookbook/</a></li>
<li>Creating Windows cookbooks : <a href="https://blog.postmarkapp.com/post/74863816767/using-chef-on-windows-is-easier-than-you-think">https://blog.postmarkapp.com/post/74863816767/using-chef-on-windows-is-easier-than-you-think</a></li>
</ul>
<p>MSOpenTechnologies:</p>
<ul>
<li><a href="https://msopentech.com/">https://msopentech.com/</a></li>
<li>Using chef to manager azure resources : <a href="https://msopentech.com/blog/2014/03/31/using-chef-to-manage-azure-resources/">https://msopentech.com/blog/2014/03/31/using-chef-to-manage-azure-resources/</a></li>
<li>List of content on Chef project : <a href="https://msopentech.com/opentech-projects/chef/">https://msopentech.com/opentech-projects/chef/</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>The Year 2014 in the Clouds</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/the-year-2014-in-the-clouds</link>
      <pubDate>Sun, 12 Jan 2014 23:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2014/01/12/the-year-2014-in-the-clouds/</guid>
      <description><![CDATA[As we are entering 2014, it&#39;s a good time to step back and look back for a moment and imagine...]]></description>
      <content:encoded><![CDATA[<p>As we are entering 2014, it&#39;s a good time to step back and look back for a moment and imagine how the IT will look like in the coming months. Don&#39;t expect me to share any secret being baked at Microsoft at this time, I&#39;m just looking ahead with an IT Pro perspective.</p>
<h2>Products and industry trends.</h2>
<p>I believe that 2013 will be remembered as the year in which the traditional release cycles accelerated.</p>
<p>Microsoft has released the SP1 then the R2 version of <strong>System Center</strong> and <strong>Windows Server</strong> just about one year after launching the previews version. Many new services for Azure have been made available like <strong>Windows Azure Active Directory</strong>, the long waited <strong>IaaS</strong> (Infrastructure as a Service) and several hybrid services like <strong>Windows Azure Backup</strong> or <strong>Hyper-V recovery Manager</strong>. This list is just a brief overview of the major updates that have been made available during the last year.</p>
<p>I&#39;m impressed by the speed at which the new services and updates are released and it is not going to slow down in 2014. The approach that we have followed over the last decades consisted of getting a new version of a system (an application, a management suite or simply a new operating system), validating it in the corporate environment then planning a massive deployment. That usually became the company standard for few years.</p>
<p>This approach is not compatible anymore with today&#39;s business requirements. The current needs are about constant evolution. The IT must be able to deliver new services constantly. The idea of having a stable environment for few years is more an exception than the common ground. This does not means that the IT should become less reliable, the IT of the future will have to handle continuous changes, starting with the infrastructure.</p>
<p>Is a continuous change of the infrastructure really compatible with reliability? 10 years ago, I probably would have a more mitigate answer, but today, the new building blocks of the IT simply have this characteristic at their foundation. For example you can evolve a virtual machine from Hyper-V 2012 to Hyper-V 2012 R2 with no downtime, you can also consider Active Directory with continuous upgrade approach since the beginning.</p>
<p>One of the secrets of continuous change is automation. The cloud approach has driven the maturity of automation during the recent years because it brings the human intervention at a more valued level: the creation of the automation pieces. With automation the OS becomes a commodity and scaling in or out an application is not an issue anymore.</p>
<p>The IT teams will need to adjust their organizations to handle those changes in the proper way:</p>
<ul>
<li>The IT needs to consider more that failure is part of the software. They will need to put in place structures and processes that mitigate the impact of the failures whatever environment they chose to run on.</li>
<li>IT Pros will need to learn this new approach of systems management and deployment.</li>
<li>Root cause analysis of the crash of an OS will not be necessary anymore.</li>
</ul>
<p>This new approach requires to learn how to implement highly automated systems at the risk of struggling with more work to perform with less resources and less time. The job will undergo a certain transformation that not only includes those news technical skills but also includes a good understanding of the company business.</p>
<h2>The transformation of the job</h2>
<p>As the business needs of the enterprises evolves, so does the IT teams. Today, the business will go to a public cloud providers to build the solutions that the traditional IT cannot offer or built, creating a Shadow IT (<a href="https://en.wikipedia.org/wiki/Shadow_IT">https://en.wikipedia.org/wiki/Shadow_IT</a>). According to Forrester, shadow IT is already happening in your companies, you just not know about it &hellip; yet. The main driver for that is that the IT departments do not answer the business needs.</p>
<p>The IT department can try to resisting to this change and may try to use their authority (block access to the providers, write a policy, etc.) but it will only make things worse. A better approach is to embrace the change and leverage the knowledge gained by running and managing applications on-premises. This added value should help getting the application aligned with the company&#39;s requirement like privacy, backup and recovery policies. Change has always happened in the IT industry and today, the role is evolving from managing servers to managing clouds and delivering the best possible service to the business.</p>
<p>I believe that 2014 is at the inflexion point for this transformation. This is the moment to jump on the train and evolve your skills. There are some regulation requirements, complexities, network limitations, etc. that will limit the evolution to a full public cloud environment and will require a coexistence between a public environment and on-premises resources. However the pressure to be more efficient in managing the local resources will be higher and the Private Cloud is the way to go. We will then see the development of a hybrid model that interconnects the private and public environments.</p>
<p>Implementing a private cloud and understanding the hybrid model takes time and requires new competencies. They are rare on the market today and it&#39;s a good time to gain them. For example, the MCSE Private Cloud certification (<a href="https://www.microsoft.com/learning/en-us/private-cloud-certification.aspx">https://www.microsoft.com/learning/en-us/private-cloud-certification.aspx</a>) is one of the assets to prove your ability to deploy and manage a Private Cloud. It could be one of your objectives for this new calendar year.</p>
<p>The IT Pros have to give the right framework to the business teams so that the latter can evolve at the right pace while following the company policies. This approach will help reducing the frictions that may exist between the operations teams and the development teams while giving the infrastructure teams a more strategic position. They will have a clearer view on the cost of each application. At the end of the day, what matters to the business is to be able to use a platform that has predictable costs, aligned with the business usage. The evolution to the clouds facilitate this alignment.</p>
<h2>The Microsoft view</h2>
<p>The hybrid model that leverage the benefits of the public cloud with the customizability of the private cloud bring the ability to better follow the business requirement.</p>
<p>Microsoft has a symmetry between its on-premises products and its public cloud services. This means that all our products leverage the knowledge and best practices gained from running and operating them in the public cloud. For example you can take a machine running from your private cloud and move it to Windows Azure and vice-versa. The availability set check box in a VMM Service Template bring the availability group concept from Azure to your datacenter.</p>
<p>Using the same building blocks on both sides makes the hybrid approach simple to implement and reduce the learning curve for any IT Pros that needs to extend the resources from its datacenter. Because of this symmetry, not only at any time you can use windows azure and step back in case the business requirements have evolved but you can also expect a short ROI (Return Over Investment).</p>
<p>The hybrid approach allows to seamlessly port existing application from you datacenter to Azure and back. The backup that is integrated with Windows Server 2012 R2 and System Center DPM 2012 R2 leverage Azure as a location to secure your data off-premises. SQL azure Data sync integrates the on-premises SQL databases with SQL Azure databases by using a granular mechanism that allows you to select with tables and with rows in each table to replicate and more &hellip;</p>
<p>Today you also have appliances like StorSimple that fully integrate the datacenter storage using the traditional interface with Azure and replicate some of the data to the Cloud. It&#39;s another approach of the hybrid scenario that can be implemented.</p>
<p>In 2013, Gartner predicted that nearly 50% of the enterprises will have a hybrid cloud implementation in 2017 as indicated by this article: <a href="https://www.computerweekly.com/news/2240206459/Half-of-large-enterprises-will-have-hybrid-cloud-by-2017-says-Gartner">https://www.computerweekly.com/news/2240206459/Half-of-large-enterprises-will-have-hybrid-cloud-by-2017-says-Gartner</a>.</p>
<p>If you look across the stack, Microsoft is today the only vendor that has this symmetry on so many levels.</p>
<h2>Conclusion</h2>
<p>2014 is going to be another very interesting year!</p>
<p>It is quite clear that hybrid cloud will be a recurring topics. The public cloud consumption is a fact for most organizations today, IT may not yet know about it but in case this is not in the plans yet, they should have a strategy to implement it this year with a framework for its adoption.</p>
<p>The private cloud, if not already in place should be considered with proper diligence to ensure the IT delivers the right services to the businesses with the right timing.</p>
<p>Hybrid will take a bigger place as the usage of the public cloud will grow. The needs for cross-cloud authentication and the requirement to access data across the boundaries of your datacenter will increase. This New Year will bring us a lot of news and several of them will be around the hybrid model.</p>
<p>Happy New Year 2014!</p>]]></content:encoded>
    </item>
    <item>
      <title>Performance tuning guidelines for Windows Server 2012 R2</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/performance-tuning-guidelines-for-windows-server-2012-r2</link>
      <pubDate>Mon, 02 Dec 2013 13:33:25 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/12/02/performance-tuning-guidelines-for-windows-server-2012-r2/</guid>
      <description><![CDATA[If you are deploying Windows Server 2012 R2 and want to get the most out of your existing hardware,...]]></description>
      <content:encoded><![CDATA[<p>If you are deploying Windows Server 2012 R2 and want to get the most out of your existing hardware, this white paper is for you: 
</p><p><a href="https://msdn.microsoft.com/en-us/library/windows/hardware/dn529133.aspx">https://msdn.microsoft.com/en-us/library/windows/hardware/dn529133.aspx</a>
	</p><p>Under one single repository you will find all the registry keys, tools and tips to make your Windows Server 2012 R2 perform at its best! 
</p><p>It does not necessarily mean that the server will improve its performance but it may consume the lowest energy for a give performance rate. By following the guidelines that comes in this white paper, you will obtain performance or energy efficiency gains. The settings that are recommended in this document should be take carefully and always have in considerations what hardware you are using, and your datacenter environment. 
</p><p>It also describes each setting and its potential effect to help you make an informed decision about its relevance to your system, workload, performance, and energy usage goals.
</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 8.1 and Windows Server 2012 R2 RTM</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/windows-8-1-and-windows-server-2012-r2-rtm</link>
      <pubDate>Wed, 11 Sep 2013 09:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/09/11/windows-8-1-and-windows-server-2012-r2-rtm/</guid>
      <description><![CDATA[It’s the big news of this week : Windows 8.1 and Windows Server 2012 R2 are RTM (meaning complete)...]]></description>
      <content:encoded><![CDATA[<p>It’s the big news of this week : Windows 8.1 and Windows Server 2012 R2 are RTM (meaning complete) and available on Technet and MSDN. It was announced on Gug’s blog on monday : <a title="https://blogs.msdn.com/b/stevengu/archive/2013/09/09/download-windows-8-1-rtm-visual-studio-2013-rc-and-windows-server-2012-r2-rtm-today.aspx" href="https://blogs.msdn.com/b/stevengu/archive/2013/09/09/download-windows-8-1-rtm-visual-studio-2013-rc-and-windows-server-2012-r2-rtm-today.aspx">https://blogs.msdn.com/b/stevengu/archive/2013/09/09/download-windows-8-1-rtm-visual-studio-2013-rc-and-windows-server-2012-r2-rtm-today.aspx</a>&#160;</p>  <p>It means that if you are a subscriber you can start downloading the binaries and work on your migration procedures in order to be ready for the General Availability of the products. </p>  <p>It also means that you can start testing some of the new capabilities of Windows Server 2012 R2 in your lab. For example:</p>  <ul>   <li>Enhanced hypervisor with the generation 2 virtual machines</li>    <li>Storage tiering to allow a mix of different type of disks to improve speed while keeping the cost of storage down</li>    <li>New printing capabilities allowing a client to connect to a printer in a branch even if the server is central.</li>    <li>Remote desktop services</li>    <li>…</li> </ul>  <p>You can read more about the new capabilities of Windows Server 2012 R2 at the following locations :</p>  <ul>   <li><a title="https://technet.microsoft.com/en-us/library/dn250019.aspx" href="https://technet.microsoft.com/en-us/library/dn250019.aspx">https://technet.microsoft.com/en-us/library/dn250019.aspx</a>&#160;</li>    <li><a title="https://www.microsoftvirtualacademy.com/training-courses/what-s-new-in-windows-server-2012-r2-jump-start#fbid=TuiffRMNuZx" href="https://www.microsoftvirtualacademy.com/training-courses/what-s-new-in-windows-server-2012-r2-jump-start#fbid=TuiffRMNuZx">https://www.microsoftvirtualacademy.com/training-courses/what-s-new-in-windows-server-2012-r2-jump-start#fbid=TuiffRMNuZx</a></li>    <li>And don’t forget about some of the videos that explain in more details how things works behind the curtains: <a href="https://blogs.technet.com/b/dcaro/archive/2013/06/11/windows-server-2012-r2-first-look.aspx">https://blogs.technet.com/b/dcaro/archive/2013/06/11/windows-server-2012-r2-first-look.aspx</a>&#160;</li> </ul>  <p>The innovation brought by the server are simply enhanced with the new sweet improvements made on the client side with Windows 8.1. Read more about the client improvements at the following locations :</p>  <ul>   <li><a title="https://technet.microsoft.com/en-US/windows/dn140266.aspx" href="https://technet.microsoft.com/en-US/windows/dn140266.aspx">https://technet.microsoft.com/en-US/windows/dn140266.aspx</a></li>    <li><a href="https://www.microsoftvirtualacademy.com/product-training/windows">https://www.microsoftvirtualacademy.com/product-training/windows</a> </li> </ul>  <p>Download those new versions, test them and implement those new features ! </p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Datacenter TCO Analysis Tool</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/microsoft-datacenter-tco-analysis-tool</link>
      <pubDate>Mon, 19 Aug 2013 00:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/08/19/microsoft-datacenter-tco-analysis-tool/</guid>
      <description><![CDATA[You may have missed during the summer the release of this very useful tool: the Microsoft Datacenter...]]></description>
      <content:encoded><![CDATA[<p>You may have missed during the summer the release of this very useful tool: the Microsoft Datacenter TCO Analysis Tool available for free at this location : <a title="https://www.datacentertcotool.com/" href="https://www.datacentertcotool.com/">https://www.datacentertcotool.com/</a></p>  <p>This tool will help you calculate the TCO (Total Cost of Ownership) of deploying a Microsoft Private Cloud vs. a VMware Private Cloud. The tool is very&#160; comprehensive and includes in the equation technical elements like the amount of Gb of storage per VM and non technical data like the salary of the full time employees&#160; </p>  <p>The analysis includes the cost of running systems in a public cloud offering like Windows Azure in the case you want or need to deploy a hybrid solution. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/2438.image_2DF6EDE9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/2438.image_5F00_2DF6EDE9.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/49/99/metablogapi/0830.image_thumb_17EA9F4E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-49-99-metablogapi/0830.image_5F00_thumb_5F00_17EA9F4E.png" width="439" height="321" /></a></p>  <p>I can only encourage you to use this free tool and compare the results : <a title="https://www.datacentertcotool.com/" href="https://www.datacentertcotool.com/">https://www.datacentertcotool.com/</a>&#160;</p>  <p>Enjoy building your cloud !</p>]]></content:encoded>
    </item>
    <item>
      <title>Deploying your lab with System Center 2012 R2</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/deploying-your-lab-with-system-center-2012-r2</link>
      <pubDate>Thu, 11 Jul 2013 08:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/07/11/deploying-your-lab-with-system-center-2012-r2/</guid>
      <description><![CDATA[With the recent availability of the R2 preview of Windows Server 2012 and System Center 2012, I’ve...]]></description>
      <content:encoded><![CDATA[<p>With the recent availability of the R2 preview of Windows Server 2012 and System Center 2012, I’ve decided to rebuild my little demo / lab environment. Here are the most useful links that I had to use. </p>  <ol>   <li>Getting the evaluation versions : System Center 2012 R2 and Windows Server 2012 R2 preview can be downloaded at this location : <a title="https://technet.microsoft.com/evalcenter/dn205295.aspx" href="https://technet.microsoft.com/evalcenter/dn205295.aspx">https://technet.microsoft.com/evalcenter/dn205295.aspx</a>&#160;</li>    <p align="left">Please note that VMM 2012 R2 requires the presence of the Windows ADK which can be downloaded at this location : <a title="https://go.microsoft.com/fwlink/?LinkId=309908" href="https://go.microsoft.com/fwlink/?LinkId=309908">https://go.microsoft.com/fwlink/?LinkId=309908</a>&#160; </p>    <li>System requirements: <a title="https://technet.microsoft.com/en-us/library/dn281935.aspx" href="https://technet.microsoft.com/en-us/library/dn281935.aspx">https://technet.microsoft.com/en-us/library/dn281935.aspx</a>&#160;</li>    <p><u>Note:</u> The self service portal relies on SharePoint 2010 therefore you must install the SSP components on Windows Server 2008 SP1 or Windows Server 2008 R2</p>    <li>All System Center products rely on SQL server to store their data. You can find the compatibility matrix of System Center components and SQL on this page : <a title="https://technet.microsoft.com/en-us/library/dn281933.aspx" href="https://technet.microsoft.com/en-us/library/dn281933.aspx">https://technet.microsoft.com/en-us/library/dn281933.aspx</a></li>    <p>To build my lab, I’ve used the SQL 2012 SP1 version that you can freely download from here : <a title="https://technet.microsoft.com/en-us/evalcenter/hh225126.aspx" href="https://technet.microsoft.com/en-us/evalcenter/hh225126.aspx">https://technet.microsoft.com/en-us/evalcenter/hh225126.aspx</a>&#160;</p> </ol>  <p style="margin-right: 0px;">Now you are ready to proceed with the installation. I’m not going to walk through all the installation steps. </p>  <p style="margin-right: 0px;">When you install SQL, pay attention to the Collation settings. If you are going to be in a pure English configuration the default settings are ok but if you are going to manage a multi-lingual environment, please read the following article : <a title="https://blogs.technet.com/b/servicemanager/archive/2012/05/24/clarification-on-sql-server-collation-requirements-for-system-center-2012.aspx" href="https://blogs.technet.com/b/servicemanager/archive/2012/05/24/clarification-on-sql-server-collation-requirements-for-system-center-2012.aspx">https://blogs.technet.com/b/servicemanager/archive/2012/05/24/clarification-on-sql-server-collation-requirements-for-system-center-2012.aspx</a>&#160;</p>  <p style="margin-right: 0px;">Finally here is the configuration of my lab. All the systems are running in a virtual environment except the host :</p>  <table cellspacing="0" cellpadding="2" width="603" border="1"><tbody>     <tr>       <td valign="top" width="64">System Name</td>        <td valign="top" width="282">Roles / Applications</td>        <td valign="top" width="95">Memory configuration</td>        <td valign="top" width="160">OS Version</td>     </tr>      <tr>       <td valign="top" width="64">DC01</td>        <td valign="top" width="282">Domain Controller         <br />DNS</td>        <td valign="top" width="95">Dynamic         <br />512 Mb – 2 Gb</td>        <td valign="top" width="160">Windows Server 2012 R2 x64</td>     </tr>      <tr>       <td valign="top" width="64">VMM</td>        <td valign="top" width="282">Virtual Machine Manager         <br />Operations Manager          <br />SQL: Database</td>        <td valign="top" width="95">Dynamic         <br />2Gb – 8Gb</td>        <td valign="top" width="160">Windows Server 2012 R2 x64         <br />SQL 2012 SP1</td>     </tr>      <tr>       <td valign="top" width="64">SCSM</td>        <td valign="top" width="282">System Center Service Manager         <br />System Center Orchestrator          <br />SharePoint 2010 SP1 Enterprise          <br />SQL: Database, Analysis Services and Reporting Services</td>        <td valign="top" width="95">Dynamic         <br />2Gb – 8.5Gb</td>        <td valign="top" width="160">Windows Server 2008 R2 SP1 x64</td>     </tr>      <tr>       <td valign="top" width="64">SCSMDW</td>        <td valign="top" width="282">System Center Service Manager Data Warehouse         <br />SQL: Database, Analysis Services and Reporting Services</td>        <td valign="top" width="95">Dynamic         <br />512Mb – 8Gb</td>        <td valign="top" width="160">Windows Server 2012 R2 x64</td>     </tr>      <tr>       <td valign="top" width="64">HOST</td>        <td valign="top" width="282">Hyper-V</td>        <td valign="top" width="95">32 Gb </td>        <td valign="top" width="160">Windows Server 2012 R2 x64</td>     </tr>   </tbody></table>  <p>In my next post I’m going to explain the System Center configuration that I’ve implemented in order to be able to test almost all the components of this R2 release.</p>]]></content:encoded>
    </item>
    <item>
      <title>2013 Gartner Magic Quadrant !</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/2013-gartner-magic-quadrant</link>
      <pubDate>Wed, 10 Jul 2013 07:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/07/10/2013-gartner-magic-quadrant/</guid>
      <description><![CDATA[As we all know in this industry, the Gartner is regularly publishing an update of it’s Magic...]]></description>
      <content:encoded><![CDATA[<p>As we all know in this industry, the Gartner is regularly publishing an update of it’s Magic Quadrant. Recently they published the quadrant for x86 Server Virtualization Infrastructure. and, with no big surprise positioned Microsoft and VMware as Leaders &amp; Visionaries and this year, the position of Microsoft have significantly improved !</p>  <p>The full study is available here : <a title="https://www.gartner.com/technology/reprints.do?id=1-1GJA88J&amp;ct=130628&amp;st=sb" href="https://www.gartner.com/technology/reprints.do?id=1-1GJA88J&amp;ct=130628&amp;st=sb">https://www.gartner.com/technology/reprints.do?id=1-1GJA88J&amp;ct=130628&amp;st=sb</a>&#160;</p>  <p>I regret that the study does not talk much about the hybrid approach and the capacity that the possibility of virtualization platform to deliver it. I believe that hybrid will become more and more used by companies of any size in the future.</p>  <p>In this regards, I think that the Microsoft approach, with a full symmetry between the technologies used to build a private cloud and the ones used in our public cloud services, is unique. No other company has, at this time, a complete offering allowing a customer to move workloads seamlessly from one environment to another, or to deploy and develop a hybrid solution that gets the the compliance and rules from the private cloud while using the elasticity and pay for what you consume of the public cloud.</p>  <p>Happy cloud !</p>]]></content:encoded>
    </item>
    <item>
      <title>Fixing the Security-Kerberos / 4 error</title>
      <link>https://docs.microsoft.com/archive/blogs/dcaro/fixing-the-security-kerberos-4-error</link>
      <pubDate>Thu, 04 Jul 2013 09:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Damien Caro]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dcaro/2013/07/04/fixing-the-security-kerberos-4-error/</guid>
      <description><![CDATA[While I was building my lab environment with the preview of System Center 2012 R2, I’ve encountered...]]></description>
      <content:encoded><![CDATA[<p>While I was building my lab environment with the preview of System Center 2012 R2, I’ve encountered an interesting issue regarding the data warehouse behavior. </p>  <p>Basically, the issue I had was that my Data Warehouse jobs would fail to complete. At the same time, in the event viewer of my systems I had the following error message : </p>  <blockquote>   <p><font face="Consolas">Log Name:&#160;&#160;&#160;&#160;&#160; System       <br /> Source:&#160;&#160;&#160;&#160;&#160;&#160;&#160; Microsoft-Windows-Security-Kerberos        <br /> Event ID:&#160;&#160;&#160;&#160;&#160; 4        <br />Task Category: None        <br />Level:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Error        <br /> Keywords:&#160;&#160;&#160;&#160;&#160; Classic        <br /> User:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A        <br /> Computer:&#160;&#160;&#160;&#160;&#160; SCSMDW.wsdemo.com        <br /> Description:        <br /> The Kerberos client received a <font style="background-color: rgb(255, 255, 0);">KRB_AP_ERR_MODIFIED</font> error from the server <font style="background-color: rgb(255, 255, 0);">smsvc</font>. The target name used was <font style="background-color: rgb(255, 255, 0);">MSOMSdkSvc/SCSMDW</font>. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Ensure that the target SPN is only registered on the account used by the server. This error can also happen if the target service account password is different than what is configured on the Kerberos Key Distribution Center for that target service. Ensure that the service on the server and the KDC are both configured to use the same password. If the server name is not fully qualified, and the target domain (WSDEMO.COM) is different from the client domain (WSDEMO.COM), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.</font>      <br /></p> </blockquote>  <p>In my environment, smsvc is the service account that I’m using for Service Manager. However when I looked at my SPN settings, I had the following :</p>  <blockquote>   <p><font face="Consolas">C:\Users\Administrator.WSDEMO&gt;setspn -Q <font style="background-color: rgb(255, 255, 0);">MSOMSdkSvc/SCSMDW</font>        <br />Checking domain DC=wsdemo,DC=com        <br /><font style="background-color: rgb(255, 255, 0);">CN=SCSMDW,CN=Computers,DC=wsdemo,DC=com</font>        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMSdkSvc/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMSdkSvc/SCSMDW.wsdemo.com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMHSvc/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMHSvc/SCSMDW.wsdemo.com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; TERMSRV/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; TERMSRV/SCSMDW.wsdemo.com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WSMAN/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; WSMAN/SCSMDW.wsdemo.com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; RestrictedKrbHost/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; HOST/SCSMDW        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; RestrictedKrbHost/SCSMDW.wsdemo.com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; HOST/SCSMDW.wsdemo.com</font></p>   <font face="Consolas"></font>    <p><font face="Consolas">Existing SPN found!</font></p> </blockquote>  <p>So the situation is that when the Kerberos client tries to validate the authentication, the information he gets from Active Directory are different than the ones that is in the ticket. </p>  <p><u>Solution applied:</u></p>  <p>To solve this issue, I took the following steps:</p>  <ol>   <li><font face="Consolas"><font face="Segoe UI">Unregister the bad service entry :         <br /></font>setspn –D MSOMSdkSvc/SCSMDW SCSMDW        <br /> Unregistering ServicePrincipalNames for CN=SCSMDW,CN=Computers,DC=wsdemo,DC=com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMSdkSvc/SCSMDW        <br /> Updated object        <br /></font></li>    <li>Register the service entry with the right information :     <br /><font face="Consolas">setspn -A MSOMSdkSvc/SCSMDW smsvc       <br />Checking domain DC=wsdemo,DC=com</font></li>   <font face="Consolas"></font>    <p><font face="Consolas">Registering ServicePrincipalNames for CN=smsvc,OU=ServiceAccounts,OU=demo,DC=wsd       <br />emo,DC=com        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MSOMSdkSvc/SCSMDW        <br /> Updated object</font></p> </ol>  <p>I’ve applied this operation for all the service entries that I have found with this error message. then I’ve restarted my servers to ensure that there was no entry in the cache allthough I think it is not necessary.</p>  <p>If you want to learn more about this error message, you can read the following article : <a href="https://support.microsoft.com/kb/811889">https://support.microsoft.com/kb/811889</a> and this article that explains how the SPN should look like: <a href="https://blogs.technet.com/b/kevinholman/archive/2011/08/08/opsmgr-2012-what-should-the-spn-s-look-like.aspx">https://blogs.technet.com/b/kevinholman/archive/2011/08/08/opsmgr-2012-what-should-the-spn-s-look-like.aspx</a>&#160;</p>  <p>You can download System Center 2012 R2 from this location: <a title="https://technet.microsoft.com/evalcenter/dn205295.aspx" href="https://technet.microsoft.com/evalcenter/dn205295.aspx">https://technet.microsoft.com/evalcenter/dn205295.aspx</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>