<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arnim van Lieshout</title>
	<atom:link href="http://www.van-lieshout.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.van-lieshout.com</link>
	<description>About virtualization and more</description>
	<lastBuildDate>Wed, 07 May 2014 17:30:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMworld 2014 Public Session Voting</title>
		<link>http://www.van-lieshout.com/2014/05/vmworld-2014-public-session-voting/</link>
		<comments>http://www.van-lieshout.com/2014/05/vmworld-2014-public-session-voting/#comments</comments>
		<pubDate>Wed, 07 May 2014 17:30:38 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[VMworld]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=2062</guid>
		<description><![CDATA[If you are planning to attend VMworld 2014 than it&#8217;s probably good to  know that you can have a voice in what sessions are being accepted.  This unique conference concept called Public Session Voting is now open.
This year Viktor van den Berg (@viktoriousss, www.viktorious.nl)  and I submitted a session proposal. If you [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2014/02/nlvmug-conference-2014-%e2%80%93-march-6-%e2%80%93-den-bosch/' rel='bookmark' title='Permanent Link: NLVMUG Conference 2014 – March 6 – Den Bosch'>NLVMUG Conference 2014 – March 6 – Den Bosch</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2013/12/vcloud-automation-center-creating-state-change-workflows/' rel='bookmark' title='Permanent Link: vCloud Automation Center &#8211; Creating State Change Workflows'>vCloud Automation Center &#8211; Creating State Change Workflows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you are planning to attend VMworld 2014 than it&#8217;s probably good to  know that you can have a voice in what sessions are being accepted.  This unique conference concept called <a title="VMworld 2014 Public Session Voting" href="http://www.vmworld.com/voting.jspa" target="_blank">Public Session Voting</a> is now open.</p>
<p>This year Viktor van den Berg (<a title="viktoriousss" href="http://www.van-lieshout.com/wp-admin/twitter.com/viktoriousss" target="_blank">@viktoriousss</a>, <a title="www.viktorious.nl" href="http://www.viktorious.nl" target="_blank">www.viktorious.nl</a>)  and I submitted a session proposal. If you want to learn how vCloud  Automation Center (vCAC) and vCenter Orchestrator (vCO) can be used in  tandem to get the most out of your cloud implementation and effectively  reduce Virtual Machine provisioning time, then <a title="Vote for Session #1575 Today!" href="http://www.vmworld.com/voting.jspa" target="_blank">vote</a> for our session now!</p>
<h3>1575 &#8211; It Takes Two to Tango: Optimize Virtual Machine Provisioning Using vCloud Automation Center and vCenter Orchestrator</h3>
<blockquote><p>Do you want to learn how to integrate vCloud Automation  Center (vCAC)  with your existing IP address management solution (IPAM)  or  Configuration Management Database (CMDB) system? Do you want to know  how  to extend functionality and add custom virtual machine actions  (2nd day  operations) on existing machines deployed in vCloud Automation  Center?  Join Arnim van Lieshout and Viktor van den Berg in this  interactive  session and learn how vCenter Orchestrator (vCO) can help  to maximize  the benefit of a vCloud Automation Center implementation.  vCloud  Automation Center provides a self-service portal and different  options  for automated service delivery, application deployment,  policy-based  governance and resource management. vCenter Orchestrator  is further  integrated in vCAC version 6 and is playing an important  role in virtual  machine provisioning and the Advanced Service Designer.  Although vCAC  offers a broad out of the box feature set, the use of  vCenter  Orchestrator is recommended when you want to: &#8211; Customize and  integrate  the virtual machine provisioning process with existing  systems; &#8211; Create  custom actions on deployed virtual machines in vCAC  using the Advanced  Service Designer. Based on real-life examples and  best practices Arnim  and Viktor will show how to achieve these  customizations using both  Infrastructure as a Service (IAAS)  extensibility workflows and the  Advanced Service Designer. If cloud  automation is on your roadmap, be  sure to attend this session.</p></blockquote>
<p>We will appreciate your vote, but most importantly vote for the content YOU would like to hear at VMworld 2014!</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2014/02/nlvmug-conference-2014-%e2%80%93-march-6-%e2%80%93-den-bosch/' rel='bookmark' title='Permanent Link: NLVMUG Conference 2014 – March 6 – Den Bosch'>NLVMUG Conference 2014 – March 6 – Den Bosch</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2013/12/vcloud-automation-center-creating-state-change-workflows/' rel='bookmark' title='Permanent Link: vCloud Automation Center &#8211; Creating State Change Workflows'>vCloud Automation Center &#8211; Creating State Change Workflows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2014/05/vmworld-2014-public-session-voting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NLVMUG Conference 2014 – March 6 – Den Bosch</title>
		<link>http://www.van-lieshout.com/2014/02/nlvmug-conference-2014-%e2%80%93-march-6-%e2%80%93-den-bosch/</link>
		<comments>http://www.van-lieshout.com/2014/02/nlvmug-conference-2014-%e2%80%93-march-6-%e2%80%93-den-bosch/#comments</comments>
		<pubDate>Thu, 20 Feb 2014 12:05:50 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[vCAC]]></category>
		<category><![CDATA[VMUG]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=2049</guid>
		<description><![CDATA[After some smaller VMware Usergroup meetings in 2013, it’s now time for some serious business: on March 6, the NLVMUG Conference 2014 will take place in  Congrescentrum 1931 Den Bosch, The Netherlands.

The NLVMUG Conference 2014 is an annual full-day conference organized  by the Dutch VMUG customer council and supported by the international vmug.com organization.  The NLVMUG [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2009/09/dutch-vmug-2009-december-11th-2009/' rel='bookmark' title='Permanent Link: Dutch VMUG 2009 &#8211; December 11th 2009'>Dutch VMUG 2009 &#8211; December 11th 2009</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2011/05/living-the-dream/' rel='bookmark' title='Permanent Link: Living the dream'>Living the dream</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After some smaller VMware Usergroup meetings in 2013, it’s now time for some serious business: on March 6, the <a href="http://www.vmug.com/p/cm/ld/fid=4585" target="_blank">NLVMUG Conference 2014</a> will take place in  <a href="http://www.1931.nl" target="_blank">Congrescentrum 1931</a> Den Bosch, The Netherlands.</p>
<p><a href="http://www.van-lieshout.com/wp-content/uploads/2014/02/featured-vmug-615x403.jpg"><img class="size-full wp-image-2051 alignnone" title="featured-vmug-615x403" src="http://www.van-lieshout.com/wp-content/uploads/2014/02/featured-vmug-615x403.jpg" alt="" width="615" height="403" /></a></p>
<p>The NLVMUG Conference 2014 is an annual full-day conference organized  by the Dutch VMUG customer council and supported by the international <a href="http://www.vmug.com" target="_blank">vmug.com</a> organization.  The NLVMUG Conference offers a diverse program:</p>
<ul>
<li>3 parallel tracks focusing on End User Computing, Software Defined Datacenter and Cloud Operations &amp; Management;</li>
<li>Meet the experts;</li>
<li>The one and only Genius Bar;</li>
<li>Social media room;</li>
</ul>
<p>…and of course an event full of VMUG members!</p>
<p>VMware’s CMO Brian Gammage is responsible for the keynote; other  presenters are a.o. Duco Jaspers, Joep Piscaer, Jan Willem Lammers,  Gabrie van Zanten, Eric Sloof, Arnim van Lieshout and yours truly.</p>
<p>Read on to learn about the session Arnim and I will run at the NLVMUG conference!</p>
<h2>vCAC 6.0 UnLeashed – Arnim &amp; Viktor</h2>
<p>Arnim van Lieshout and Viktor van den Berg invite you to join their  session about vCloud Automation Center 6.0 at the NLVMUG Conference  2014.  Arnim (senior consultant at VMware) and Viktor (senior consultant  at PQR) will teach you everything about vCAC 6.0 you wanted to know but  didn’t dare ask.</p>
<p>In our session you will learn about available vCAC features,  including vCO integration, the Advanced Service Designer and IAAS based  provisioning. Based on real-life requirements Arnim &amp; Viktor will  show you how to configure a multi -tenant self-service portal based on  vCAC. You will learn how to use and configure multi-machine blueprints,  and how to customize the vCAC workflows using vCenter Orchestrator. We  will also demo the Advanced Service Designer.</p>
<p>We hope to meet you at March 6th in Den Bosch.</p>
<h2>More information &amp; registration</h2>
<p>The full agenda for the NLVMUG Conference 2014 is provided on <a href="http://www.vmug.com/p/cm/ld/fid=4590" target="_blank">www.nlvmug.com</a>. Registration is available <a href="http://www.vmug.com/p/cm/ld/fid=4591" target="_blank">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2009/09/dutch-vmug-2009-december-11th-2009/' rel='bookmark' title='Permanent Link: Dutch VMUG 2009 &#8211; December 11th 2009'>Dutch VMUG 2009 &#8211; December 11th 2009</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2011/05/living-the-dream/' rel='bookmark' title='Permanent Link: Living the dream'>Living the dream</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2014/02/nlvmug-conference-2014-%e2%80%93-march-6-%e2%80%93-den-bosch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vCloud Automation Center &#8211; Creating State Change Workflows</title>
		<link>http://www.van-lieshout.com/2013/12/vcloud-automation-center-creating-state-change-workflows/</link>
		<comments>http://www.van-lieshout.com/2013/12/vcloud-automation-center-creating-state-change-workflows/#comments</comments>
		<pubDate>Thu, 19 Dec 2013 09:35:12 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCAC]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=2027</guid>
		<description><![CDATA[One of the cool features of vCloud Automation Center (vCAC) is the ability to extend functionality by creating new or customizing existing workflows. VMware provides 6 state change workflows by default that you can customize using the vCloud Automation Center Designer. This tool includes a library of activities that serve as building blocks for your [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-2-installation-preparation/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 2 – Preparing the Installation'>vCloud Automation Center Part 2 – Preparing the Installation</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the cool features of vCloud Automation Center (vCAC) is the ability to extend functionality by creating new or customizing existing workflows. VMware provides 6 state change workflows by default that you can customize using the vCloud Automation Center Designer. This tool includes a library of activities that serve as building blocks for your custom workflows. The most powerful activities are the ones that enable you to invoke external scripts, being either PowerShell or SSH or invoking vCenter Orchestrator (vCO) workflows.</p>
<p>The default state change workflows that are available are available to you are:</p>
<ul>
<li>BuildingMachine</li>
<li>MachineProvisioned</li>
<li>MachineRegistered</li>
<li>UnprovisionMachine</li>
<li>MachineDisposing</li>
<li>MachineExpired</li>
</ul>
<p>To create new workflows, you need a vCAC Development Kit license. The workflow generator plugin guides you in creating different types of workflows and helps you create the supporting configuration files for each type of workflow. Using the workflow generator wizard, you can create new workflows in Visual Studio for the above states plus the following states:</p>
<ul>
<li>On</li>
<li>Off</li>
</ul>
<p>For more information about vCAC workflows see also chapter 2 of the <a href="http://www.vmware.com/pdf/vcac-52-extensibility-guide.pdf" target="_blank">vCAC Extensibility Guide</a>. If you&#8217;re interested in an example of creating a new state change workflow using the workflow generator in Visual Studio, my colleague <a href="https://twitter.com/elastic_skies" target="_blank">Omer Kushmaro</a> over at <a href="http://elasticskies.com/" target="_blank">ElasticSkies.com</a> has written <a href="http://elasticskies.com/creating-running-vcac-workflows-state/" target="_blank">an excellent article</a> on how to create a new workflow that is triggered in the &#8220;On&#8221; state.</p>
<h2>The Challenge</h2>
<p>My challenge was a bit different as I wanted to be able to run a vCO workflow right after a user has requested a new machine, but before the machine was queued for approval. I already identified &#8220;Requested&#8221; as the state that I wanted to run my workflow in using the extensibility guide, but quickly found that this state is not available in the Visual Studio workflow generator. So I needed a smart workaround for this problem. The following procedure allows you to create a new state change workflow that can run in any available state without using Visual Studio.</p>
<p>Wait a minute, did you just say without the hassle of installing Visual Studio?</p>
<p>Yes, that&#8217;s correct. No Visual Studio required using this method!</p>
<p><strong>NOTE:</strong> Before you continue, please note that this new method still requires a valid vCAC Development Kit license. Without this license you will be unable to install the workflow in the model manager.</p>
<h2>The Solution</h2>
<ol>
<li>Install the vCAC Designer if not already done so</li>
<li>Start the vCAC Designer and load an existing workflow from the Model Manager using the Load button. In this example I will use the &#8220;WFStubMachineProvisioned&#8221; workflow.<br />
<img src="http://www.van-lieshout.com/wp-content/uploads/2013/12/121813_2254_vCloudAutom1.png" alt="" /></li>
<li>Press the Save button to export the workflow and save it to a file. I saved it as &#8220;WFStubMachineRequested.xaml&#8221;</li>
<li>Open the saved file in the text editor of your choice and replace ALL occurrences of &#8220;MachineProvisioned&#8221; with &#8220;MachineRequested&#8221;</li>
<li>Save the file again</li>
<li>Use the CloudUtil.Exe utility located in the C:\Program Files (x86)\VMware\vCAC\Design Center folder to install the workflow in the Model Manager. Use the following command syntax, where –f specifies the filename and –n specifies the name of the workflow:
<pre> CloudUtil.exe Workflow-Install -f WFStubMachineRequested.xaml –n WFStubMachineRequested</pre>
</li>
<li>Next step is to create a &#8220;WFStubMachineRequested.xml&#8221; configuration file. You can use the &#8220;ExternalWFStubs.xml&#8221; file that contains the configuration for the 6 standard available workflows as an example or copy the one I&#8217;ve created at the end of this article</li>
<li>Specify the state that you want to run your workflow in by changing the value of the &lt;MasterWFStateCriteria&gt; tag. In my case I&#8217;ve changed this to &#8220;Requested&#8221;<br />
<img src="http://www.van-lieshout.com/wp-content/uploads/2013/12/121813_2254_vCloudAutom2.png" alt="" /></li>
<li>Specify the Custom Property that you want to use to enable the workflow in the &lt;Property&gt; tag. I&#8217;ve specified this as &#8220;ExternalWFStubs.MachineRequested&#8221;</li>
<li>Specify the name of the workflow that you want to run using the &#8220;WorkflowName&#8221; argument in the &lt;WorkflowArguments&gt; tag. This name needs to be exactly the same as the name you used to import the workflow into the Model Manager using the CloudUtil.Exe tool earlier. I&#8217;ve used &#8220;WFStubMachineRequested&#8221;</li>
<li>Specify the failure state that the machine will go into when something goes wrong in your workflow. Because nothing has been configured when hitting the &#8220;Requested&#8221; state yet, I&#8217;ve selected &#8220;Disposing&#8221; as the failure state to dispose the machine</li>
<li>Save the file. I&#8217;ve saved the file as &#8220;WFStubMachineRequested.xml&#8221;</li>
<li>Copy the file to C:\Program Files (x86)\VMware\vCAC\Server\ExternalWorkflows\xmldb folder on the vCAC server</li>
<li>Restart the VMware vCloud Automation Center Service</li>
<li>After the service is restarted, click the Load button in the vCAC Designer and verify that you can now load the new workflow<br />
<img src="http://www.van-lieshout.com/wp-content/uploads/2013/12/121813_2254_vCloudAutom3.png" alt="" /></li>
<li>Use the vCAC Designer to add custom code to the new workflow. I&#8217;ve added the &#8220;InvokeVcoWorkflow&#8221; activity to call a vCO workflow named &#8220;WFStubMachineRequested&#8221;<br />
<img src="http://www.van-lieshout.com/wp-content/uploads/2013/12/121813_2254_vCloudAutom4.png" alt="" /></li>
<li>Save the workflow in the Model Manager by pressing the Send button</li>
<li>The only thing that&#8217;s left to do now is enabling the workflow by adding the custom property to a blueprint<br />
<img src="http://www.van-lieshout.com/wp-content/uploads/2013/12/121813_2254_vCloudAutom5.png" alt="" /></li>
</ol>
<p>You&#8217;re not limited to creating only one single state change workflow that is triggered in a specific state, but you can add additional workflows for the same state if required. Those workflows would typically be triggered simultaneously. If there is however a dependency between workflows that are triggered in the same state, you can leverage the priority attribute. Workflows are run in order of priority, meaning that the highest priority workflows run before the 2<sup>nd</sup> highest priority workflows, etc. You can find this attribute in the XML configuration file.</p>
<p>Example XML configuration file:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;plugins xmlns=&quot;http://dynamicops.com/schemas/externalwf&quot;&gt;
  &lt;plugin fullName=&quot;DynamicOps.External.RepositoryWorkflows.InvokeRepositoryWorkflow&quot; priority=&quot;1&quot;&gt;
    &lt;MasterWFStateCriteria&gt;Requested&lt;/MasterWFStateCriteria&gt;
    &lt;MasterWFTypeFullNameCriteria&gt;*&lt;/MasterWFTypeFullNameCriteria&gt;
    &lt;ExecuteWhen&gt;PreActivityExecution&lt;/ExecuteWhen&gt;
    &lt;AssemblyPath&gt;[ExternalWorkflowsDirectory]\DynamicOps.External.RepositoryWorkflows.dll&lt;/AssemblyPath&gt;
    &lt;AllPropertiesExist&gt;
      &lt;Property&gt;ExternalWFStubs.MachineRequested&lt;/Property&gt;
    &lt;/AllPropertiesExist&gt;
    &lt;WorkflowArguments&gt;
      &lt;NameValue name=&quot;WorkflowName&quot;&gt;WFStubMachineRequested&lt;/NameValue&gt;
      &lt;NameValue name=&quot;WorkflowTimeout&quot;&gt;00:30:00&lt;/NameValue&gt;
      &lt;NameValue name=&quot;FailureState&quot;&gt;Disposing&lt;/NameValue&gt;
    &lt;/WorkflowArguments&gt;
  &lt;/plugin&gt;
&lt;/plugins&gt;
</pre>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-2-installation-preparation/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 2 – Preparing the Installation'>vCloud Automation Center Part 2 – Preparing the Installation</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/12/vcloud-automation-center-creating-state-change-workflows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vCloud Automation Center Part 2 – Preparing the Installation</title>
		<link>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-2-installation-preparation/</link>
		<comments>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-2-installation-preparation/#comments</comments>
		<pubDate>Thu, 22 Aug 2013 15:36:35 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCAC]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1999</guid>
		<description><![CDATA[Installing vCloud Automation Center (vCAC) requires some preparation. Although you can potentially install all components including the database on one single server, this isn&#8217;t an approach that&#8217;s suitable for production use. I would recommend installing all components on one single server for quick product evaluation purpose only. If you are planning to test-drive the product [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/moving-your-virtual-center-sql-database-beware/' rel='bookmark' title='Permanent Link: Moving your Virtual Center SQL database &#8211; Beware!'>Moving your Virtual Center SQL database &#8211; Beware!</a></li>
<li><a href='http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/' rel='bookmark' title='Permanent Link: Move/Replace vCloud Director NFS Transfer Server Storage'>Move/Replace vCloud Director NFS Transfer Server Storage</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Installing vCloud Automation Center (vCAC) requires some preparation. Although you can potentially install all components including the database on one single server, this isn&#8217;t an approach that&#8217;s suitable for production use. I would recommend installing all components on one single server for quick product evaluation purpose only. If you are planning to test-drive the product for production implementation, then I would recommend installing the product more production-like and separating duties on multiple boxes.</p>
<p>My recommendation for production-like testing includes at least the following three boxes:</p>
<ul>
<li><strong>Database server</strong><br />
In a typical production scenario you&#8217;ll probably have dedicated database servers. Therefore I always recommend a dedicated database server for testing purposes as well. This will not get you into remote database problems on the production install, but will reveal early problems regarding the use of a remote database.</li>
<li><strong>Web server</strong><br />
For scalability reasons you might want to test webserver scalability using external load balancers. Installing the web components on a separate server allows you to do so during testing phase.</li>
<li><strong>vCAC server</strong><br />
For scalability reasons you might want to test installing a 2<sup>nd</sup> vCAC manager service and external load balancers. This server will also contain the Distributed Execution Manager (DEM) Orchestrator, DEM worker and required Agents. If you&#8217;re looking into scaling it out a bit more, you might want to install the DEM worker and agents on a separate box as well.</li>
</ul>
<h2>Preparing the Database Server</h2>
<p>According to the <a href="http://partnerweb.vmware.com/comp_guide2/sim/interop_matrix.php">VMware Product Interoperability Matrix</a>, Only certain versions of Microsoft SQL Server 2008 and 2012 are supported. Make sure that you use a supported version of Microsoft SQL Server for your installation.</p>
<p>The database server has the following requirements:</p>
<ul>
<li>
<div><strong>TCP/IP protocol enabled for MSSQL Database Instance</strong><br />
In order to connect to the database remotely, TCP/IP needs to be enabled as protocol for the SQL Server database instance hosting the vCAC database:</div>
<ul>
<li>Open <em><strong>SQL Server Configuration Manager</strong></em> under <em><strong>Microsoft SQL Server</strong></em> <span style="font-family: Wingdings;">&#8211;&gt; </span><em><strong>Configuration Tools</strong></em></li>
<li>In the tree pane, click <em><strong>SQL Server Network Configuration</strong></em><span style="font-family: Wingdings;"> &#8211;&gt; </span><strong><em>Protocols for</em> </strong><em>MyInstanceName</em></li>
<li>In the results pane, verify that, under the <em><strong>Status</strong></em> column, <em><strong>Enabled</strong></em> appears next to the name of the TCP/IP protocol</li>
<li>In the tree pane, click <em><strong>SQL Native Client Configuration</strong></em><span style="font-family: Wingdings;"> &#8211;&gt; </span><em><strong>Client Protocols</strong></em></li>
<li>In the results pane, verify that, under the <em><strong>Status</strong></em> column, <em><strong>Enabled</strong></em> appears next to the name of the TCP/IP protocol</li>
<li>In the tree pane, click <em><strong>SQL Server Services</strong></em></li>
<li>In the results pane, right-click <em><strong>SQL Server</strong></em> (<em>MyInstanceName</em>), and then click <em><strong>Restart</strong></em></li>
</ul>
</li>
<li>
<div><strong>Microsoft Distributed Transaction Coordinator Service (MS DTC) enabled</strong><br />
<strong> </strong>This service is responsible for coordinating transactions that span multiple systems. To enable this service use the following procedure:</div>
<ul>
<li>Open <strong><em>Component Services</em></strong> from <em><strong>Administrative Tools</strong></em></li>
<li>In the tree pane, click <strong><em>Component Services</em> &#8211;&gt; </strong><strong><em>Computers</em> &#8211;&gt; </strong><strong><em>My Computer</em> &#8211;&gt; </strong><em><strong>Distributed Transaction Coordinator</strong></em></li>
<li>In the results pane, right click on <em><strong>Local DTC</strong></em> and select <em><strong>Properties</strong></em></li>
<li>Select the <em><strong>Security</strong></em> tab</li>
<li>Select <em><strong>Network DTC Access</strong></em>, <em><strong>Allow Remote Clients</strong></em>, <em><strong>Allow Remote Administration</strong></em>, <em><strong>Allow InBound</strong></em>, and <em><strong>Allow OutBound</strong></em> (Leave everything else as is)</li>
<li>Select <em><strong>OK</strong></em></li>
</ul>
</li>
<li><strong>No firewalls between Database Server and the Web server or vCAC Server, or ports opened as described in Firewall Configuration<br />
</strong>Both the Web Server and the vCAC Server need communication to the database. Besides opening the firewall for SQL server traffic (by default port 1433), you must also enable Microsoft Distributed Transaction Coordinator Service (MS DTC) communication between all servers in the deployment. More detailed instructions for enabling DTC through a firewall can be found in <a href="http://support.microsoft.com/kb/250367">KB 250367<br />
</a>Apart from 3<sup>rd</sup> party firewalls, don&#8217;t forget the Windows Firewall on the server. You need to disable or configure that as well <img src='http://www.van-lieshout.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<ul></ul>
<li><strong>If you&#8217;re using SQL Server Express, the SQL Server Browser service must be running</strong><br />
Make sure that you set the startup option for the SQL Server Browser service to automatic and start the service</li>
</ul>
<p>If you want to install the SQL Server Management Studio, you&#8217;ll also need to add the .Net Framework 3.5.1 feature using Server Manager.</p>
<h2>Preparing the Web Server</h2>
<p>The web server has the following requirements:</p>
<ul>
<li>
<div><strong>Microsoft .NET Framework 4.5 needs to be installed<br />
</strong>.Net Framework is available at <a href="http://msdn.microsoft.com/en-us/vstudio/aa496123">http://msdn.microsoft.com/en-us/vstudio/aa496123</a><br />
Make sure that you install .Net framework before installing IIS. If you fail to do so, .Net is not registered properly with IIS. To fix that use the following procedure:</div>
<ul>
<li>Open a command line on the server as administrator</li>
<li>Change directories into your .Net 4.5 directory (most likely C:\Windows\Microsoft.NET\Framework\v4.0.30319)</li>
<li>Type <em><strong>aspnet_regiis.exe -i</strong></em> and press enter</li>
<li>Type <em><strong>iisreset</strong></em> and press enter</li>
</ul>
</li>
<li>
<div><strong>IIS Server Role installed</strong><br />
Currently only Microsoft Internet Information Services (IIS) 7.5 is supported. IIS Server role must be installed with the following Role Services using Server Manager (More information on installing IIS can be found <a href="http://www.iis.net/learn/install/installing-iis-7/installing-iis-7-and-above-on-windows-server-2008-or-windows-server-2008-r2">here</a>):</div>
<ul>
<li>Static Content</li>
<li>Default Document</li>
<li>HTTP Redirection (required for vCAC Self-Service Portal)</li>
<li>ASP.NET</li>
<li>ISAPI Extensions</li>
<li>ISAPI Filter</li>
<li>Windows Authentication</li>
</ul>
</li>
<li>
<div><strong>IIS Authentication configuration</strong><br />
After installing IIS, you&#8217;ll need to do some configuration within IIS:</div>
<ul>
<li>Open <em><strong>Internet Information Services (IIS) Manager</strong></em></li>
<li>In the tree pane, expand the <em><strong>&lt;machine name&gt;</strong></em>, <em><strong>Sites</strong></em>, to reach the <em><strong>Default Web Site</strong></em></li>
<li>In the results pane, double click on <em><strong>Authentication</strong></em></li>
<li>Disable <em><strong>Anonymous Authentication</strong></em></li>
<li>Enable <em><strong>Windows Authentication</strong></em></li>
<li>
<div>Highlight <em><strong>Windows Authentication</strong></em> and click on <em><strong>Providers</strong></em> under Actions on the right hand side</div>
<ul>
<li>Remove <em><strong>Negotiate</strong></em> from the <em><strong>Enabled Providers</strong></em> list</li>
<li>Add <em><strong>Negotiate</strong></em> back into the list, making sure it is the first provider in the list. (This is necessary due to a bug in IIS)</li>
<li>Both <em><strong>Negotiate</strong></em> and <em><strong>NTLM</strong></em> providers should be enabled</li>
</ul>
</li>
<li>
<div>Open <em><strong>Advanced Settings</strong></em> (above Providers)</div>
<ul>
<li>In the drop down box for <em><strong>Extended Protection</strong></em> change it to <em><strong>Accept</strong></em> and then change it back to <em><strong>Off</strong></em> again</li>
<li><em><strong>Kernel-Mode Authentication</strong></em> should be <em><strong>enabled</strong></em></li>
<li>Click <em><strong>OK</strong></em>. (This is necessary due to a bug in IIS)</li>
</ul>
</li>
</ul>
</li>
<li>
<div><strong>Windows Process Activation Service installed<br />
</strong> the following procedure to add the Windows Process Activation Service feature:</div>
<ul>
<li>Open <em><strong>Server Manager</strong></em></li>
<li>
<div>Expand the <em><strong>Windows Process Activation Service</strong></em> feature</div>
<ul>
<li>Select <em><strong>Process Model</strong></em>, <em><strong>.Net Environment</strong></em>, <em><strong>Configuration APIs</strong></em></li>
</ul>
</li>
<li>
<div>Expand the .Net Framework 3.5.1 Features</div>
<ul>
<li>Select both <em><strong>.Net Framework 3.5.1</strong></em> and <em><strong>WCF Activation</strong></em></li>
<li>Make sure that both <em><strong>HTTP Activation</strong></em> and <em><strong>Non-HTTP Activation</strong></em> is selected</li>
</ul>
</li>
<li>Complete the installation of the Windows Features</li>
</ul>
</li>
<li><strong>Microsoft Distributed Transaction Coordinator Service (MS DTC) enabled</strong><br />
This service is responsible for coordinating transactions that span multiple systems. For detailed instructions on enabling MS DTC see the Database Server section previously</li>
</ul>
<ul>
<li><strong>No firewalls between Database Server and the Web server or vCAC Server, or ports opened as described in Firewall Configuration<br />
</strong>Besides opening the firewall for SQL server traffic (by default port 1433), you must also enable Microsoft Distributed Transaction Coordinator Service (MS DTC) communication. For more details see the Database Server section previously</li>
</ul>
<ul>
<li>
<div><strong>Log on as a batch job right</strong><br />
This right is required for the domain user that you are planning to use as the IIS application pool identity for the Model Manager Web Service. I would recommend using a separate service account. To add the Log on as a batch job right:</div>
<ul>
<li>Open <em><strong>Local Security Policy</strong></em> from <em><strong>Administrative Tools</strong></em></li>
<li>In the tree pane, expand <em><strong>Local Policies</strong></em>, then select <em><strong>User Rights Assignment</strong></em></li>
<li>Double-click <em><strong>Log on as a batch job</strong></em></li>
<li>Click <em><strong>Add User or Group</strong></em></li>
<li>Add the user that will be used to run the IIS Application pool identity for the Model Manager Web Service</li>
<li>Click <em><strong>OK </strong></em><strong> </strong></li>
</ul>
</li>
<li>
<div><strong>Log on as a service right</strong><br />
The domain user that you are planning to use as the IIS application pool identity for the Model Manager Web Service requires the Log on as a service right</div>
<ul>
<li>Open <em><strong>Local Security Policy</strong></em> from <em><strong>Administrative Tools</strong></em></li>
<li>In the tree pane, expand <em><strong>Local Policies</strong></em>, then select <em><strong>User Rights Assignment</strong></em></li>
<li>Double-click <em><strong>Log on as a service</strong></em></li>
<li>Click <em><strong>Add User or Group</strong></em></li>
<li>Add the user that will be used to run the IIS Application pool identity for the Model Manager Web Service</li>
<li>Click <em><strong>OK</strong></em></li>
</ul>
</li>
</ul>
<h2>Preparing the vCAC Server</h2>
<p>In my installation setup, the vCAC server will be hosting both the vCAC manager service as well as the DEM Orchestrator service. See the vCAC installation guide for specific server requirements if you want to separate those services on different boxes. The vCAC server has the following requirements:</p>
<ul>
<li><strong>Must be installed on Windows Server 2008 R2 SP1</strong><br />
Currently only Windows Server 2008 R2 SP1 is supported for vCAC installations</li>
</ul>
<ul>
<li><strong>Windows PowerShell Version 2.0</strong><br />
PowerShell 2.0 gets automatically installed with Windows 2008 R2</li>
</ul>
<ul>
<li><strong>Server should be joined to a domain to allow for use of active directory users </strong><strong> </strong><strong> </strong></li>
</ul>
<ul>
<li><strong>Microsoft .NET Framework 4.5 needs to be installed<br />
</strong>.Net Framework is available at <a href="http://msdn.microsoft.com/en-us/vstudio/aa496123">http://msdn.microsoft.com/en-us/vstudio/aa496123</a><br />
If you&#8217;re installing all components on a single box, make sure that you install .Net framework before installing IIS. For more information see the Web Server section previously</li>
</ul>
<ul>
<li><strong>IIS Server Role installed</strong><br />
IIS Server role must be installed prior to installing the Manager Service as it uses IIS to present itself. IIS can be installed with the default options</li>
</ul>
<ul>
<li><strong>Secondary Logon service needs to be running</strong><br />
Open <em><strong>Services.msc</strong></em> and start the <em><strong>Secondary Logon</strong></em> service. This only needs to be running during the installation process<br />
Make sure that you also set the startup type of the Secondary Logon service to <em><strong>Automatic</strong></em> to keep it running persistently across reboots</li>
</ul>
<ul>
<li><strong>Microsoft Distributed Transaction Coordinator Service (MS DTC) enabled</strong><br />
This service is responsible for coordinating transactions that span multiple systems. For detailed instructions on enabling MS DTC see the Database Server section previously</li>
</ul>
<ul>
<li><strong>No firewalls between Database Server and the Web server or vCAC Server, or ports opened as described in Firewall Configuration<br />
</strong>Besides opening the firewall for SQL server traffic (by default port 1433), you must also enable Microsoft Distributed Transaction Coordinator Service (MS DTC) communication. For more details see the Database Server section previously</li>
</ul>
<ul>
<li><strong>Manager Service&#8217;s time should match the database&#8217;s time<br />
</strong>As with many other VMware products Time is very crucial. Therefore make sure that you configure all servers using the same single time source<strong><br />
</strong></li>
</ul>
<p>To ensure that you have satisfied all prerequisites, run the vCAC Prerequisite Checker tool before installing any of the vCAC components. Installing the vCAC components will be discussed in the next Part.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/' rel='bookmark' title='Permanent Link: vCloud Automation Center Part 1 &#8211; Components Overview'>vCloud Automation Center Part 1 &#8211; Components Overview</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/moving-your-virtual-center-sql-database-beware/' rel='bookmark' title='Permanent Link: Moving your Virtual Center SQL database &#8211; Beware!'>Moving your Virtual Center SQL database &#8211; Beware!</a></li>
<li><a href='http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/' rel='bookmark' title='Permanent Link: Move/Replace vCloud Director NFS Transfer Server Storage'>Move/Replace vCloud Director NFS Transfer Server Storage</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-2-installation-preparation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vCloud Automation Center Part 1 &#8211; Components Overview</title>
		<link>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/</link>
		<comments>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/#comments</comments>
		<pubDate>Mon, 19 Aug 2013 07:35:31 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCAC]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1987</guid>
		<description><![CDATA[Last year VMware acquired DynamicOps and their product called DynamicOps Cloud Automation Center (DCAC). DynamicOps originally started as part of the Credit Suisse&#8217;s Global Research and Development Group in 2005 to help the company address the operational and governance challenges of rolling out virtualization technology. After VMware acquired DynamicOps, the product has been rebranded to [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/' rel='bookmark' title='Permanent Link: Replacing VMware vCenter 5.1 Certificates Made Easy'>Replacing VMware vCenter 5.1 Certificates Made Easy</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/moving-your-virtual-center-sql-database-beware/' rel='bookmark' title='Permanent Link: Moving your Virtual Center SQL database &#8211; Beware!'>Moving your Virtual Center SQL database &#8211; Beware!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last year VMware acquired DynamicOps and their product called DynamicOps Cloud Automation Center (DCAC). DynamicOps originally started as part of the Credit Suisse&#8217;s Global Research and Development Group in 2005 to help the company address the operational and governance challenges of rolling out virtualization technology. After VMware acquired DynamicOps, the product has been rebranded to vCloud Automation Center (vCAC) and has recently been updated with the release of version 5.2.</p>
<p>Since the release of vCAC I&#8217;ve always wanted to find time to look at this new product in our portfolio, but I haven&#8217;t managed to do so until recently. vCAC allows internal IT departments to create provisioning blueprints and provision these blueprints to either VMware vSphere, Microsoft Hyper-V, External cloud providers like AmazonEC2 and even physical machines using one single provisioning process.  Apart from the out of the box functionality vCAC offers great extensibility to support end-to-end provisioning. Using so called workflow stubs, allow you to hook into the provisioning process at different stages to insert your customizations. Extensibility options include writing your own workflows in vCAC Designer and/or calling out to external systems like vCO or running PowerShell scripts.</p>
<p>Enough said, first things first. Let&#8217;s have a look at the architecture. The vCAC environment can be divided into 3 main parts:</p>
<ul>
<li>The vCAC core components</li>
<li>The integration and distributed execution components</li>
<li>The provisioning infrastructure.</li>
</ul>
<h2>vCAC core</h2>
<p>vCAC core part contains the following sub-components:</p>
<h3>Web Server</h3>
<p>There are three webserver services that can either be installed together on the same webserver or installed separately, distributed across multiple webservers. The vCAC web services are designed for Microsoft IIS and therefore need to be installed on a Microsoft IIS Web Server.</p>
<ul>
<li><strong>Administration Portal Web Site<br />
</strong>The Administration portal provides the administration user interface to vCAC and communicates directly with the Model Manager. The portal can be reached via <a>https://&lt;webserver_name&gt;/vCAC</a>.</li>
<li><strong>Reports Web Site<br />
</strong>The reports web site provides access to vCAC reports, available through a link in the vCAC administration console or at via <a>https://&lt;webserver_name&gt;/vCACReports</a>.</li>
<li><strong>Model Manager Web Services<br />
</strong>The Model Manager manages core vCAC and custom models. The Model Manager provides services and utilities for persisting, versioning, securing and distributing the different elements of the model and for communicating with the vCAC portal website and Distributed Execution Managers (DEMs).</li>
</ul>
<h3>vCAC server</h3>
<p>The vCloud Automation Center service (commonly called the Manager Service) coordinates communication between vCAC agents, the vCAC database, Active Directory and SMTP. The Manager Service communicates with the portal website through the Model Manager. The system hosting the Manager Service is typically called the vCAC Server.</p>
<h3>SQL server</h3>
<p>vCAC requires a Microsoft SQL Server database to maintain information about the machines it manages and its own elements and policies. This database is typically created during vCAC installation, but can also be created manually before the vCAC installation.</p>
<h2>Integration and distributed execution</h2>
<p>The components in this part are the interface between the vCAC core components and the provisioning infrastructure.</p>
<h3>Distributed Execution Manager</h3>
<p>The Distributed Execution Manager (DEM) comes in two flavors. Each DEM instance can perform either as an Orchestrator or as a Worker.</p>
<ul>
<li><strong>DEM Orchestrator<br />
</strong>The DEM orchestrator works as a manager responsible for monitoring the DEM workers and responsible for scheduling workflows on those DEM workers. By preprocessing the workflows, it decides which worker needs to pick up a certain workflow to execute, as multiple workers can have different functionalities or skills as it&#8217;s called inside vCAC. If a worker loses connection, the DEM orchestrator puts its workflows back in the queue for another DEM worker to pick up.</li>
<li><strong>DEM Worker<br />
</strong>The DEM worker is responsible for executing workflows</li>
</ul>
<h3>vCAC Agent</h3>
<p>vCAC agents are used to interact with external system. There are different types of agents, each having specific functions, like agents that interact with hypervisors, agents that allow vCAC to run scripts in guests as part of the provisioning process, agents that interact with virtual desktop solutions or WMI agents that enable vCAC to collect data from Windows machines.</p>
<h2>Provisioning Infrastructure</h2>
<p>The provisioning Infrastructure  is the environment that you want to provision blueprints to. This can be  either one or a combination of the following:</p>
<ul>
<li>
<div>Hyperisors:</div>
<ul>
<li>VMware ESX(i)</li>
<li>Windows Hyper-V</li>
<li>RedHat KVM</li>
<li>Citrix XenServer</li>
</ul>
</li>
<li>
<div>Hypervisor Management</div>
<ul>
<li>VMware vCenter Server</li>
<li>Microsoft SCVMM</li>
</ul>
</li>
<li>
<div>Hardware Management:</div>
<ul>
<li>Dell iDRAC</li>
<li>HP iLO</li>
<li>Cisco UCS Manager</li>
</ul>
</li>
<li>
<div>Cloud:</div>
<ul>
<li>VMware vCloud Director</li>
<li>Amazon Web Services Elastic Cloud Computing (EC2)</li>
</ul>
</li>
</ul>
<p>It might sound massively complex when you&#8217;re looking into vCAC for the first time, but as soon as you understand the different components and where they fit, it&#8217;s getting a lot simpler. I&#8217;ve created a small conceptual diagram showing the above-mentioned components</p>
<p><img src="http://www.van-lieshout.com/wp-content/uploads/2013/08/081813_1356_Part1vCloud1.png" alt="" /></p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/' rel='bookmark' title='Permanent Link: Replacing VMware vCenter 5.1 Certificates Made Easy'>Replacing VMware vCenter 5.1 Certificates Made Easy</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/moving-your-virtual-center-sql-database-beware/' rel='bookmark' title='Permanent Link: Moving your Virtual Center SQL database &#8211; Beware!'>Moving your Virtual Center SQL database &#8211; Beware!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/08/vcloud-automation-center-part-1-vcac-components-overview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vCenter Single Sign On (SSO) is an authentication proxy</title>
		<link>http://www.van-lieshout.com/2013/08/vcenter-single-sign-on-sso-is-an-authentication-proxy/</link>
		<comments>http://www.van-lieshout.com/2013/08/vcenter-single-sign-on-sso-is-an-authentication-proxy/#comments</comments>
		<pubDate>Thu, 15 Aug 2013 14:51:37 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1977</guid>
		<description><![CDATA[I’ve been in numerous discussions regarding vCenter Single Sign On (SSO) where mostly people didn’t fully understand the functionality of SSO.
Let me make this statement:
SSO is an authentication proxy.

The function of SSO is to act as a single proxy in your VMware environment to verify user credentials against security providers. When configuring SSO, you configure [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/' rel='bookmark' title='Permanent Link: Replacing VMware vCenter 5.1 Certificates Made Easy'>Replacing VMware vCenter 5.1 Certificates Made Easy</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I’ve been in numerous discussions regarding vCenter Single Sign On (SSO) where mostly people didn’t fully understand the functionality of SSO.</p>
<p>Let me make this statement:<strong><br />
SSO is an authentication proxy.<br />
</strong></p>
<p>The function of SSO is to act as a single proxy in your VMware environment to verify user credentials against security providers. When configuring SSO, you configure SSO with every security provider that needs to authenticate users. Besides the proxy function you can also define internal SSO users. These users are located inside the SSO database. Whenever you are successfully authenticated by SSO, you receive a security token that let&#8217;s you connect to other vSphere components without providing your password again, hence Single Sign On.</p>
<p>There are three kind of users that can be used:</p>
<ol>
<li>Internal system users, referenced with the @system-domain domain</li>
<li>Local users. These are local Windows users defined on the SSO server</li>
<li>LDAP users. These users are located in external LDAP databases, like openLDAP, Active Directory.</li>
</ol>
<p>Let me make another statement:<br />
<strong>You do not set permissions for resources in SSO </strong></p>
<p>Permissions are still set on the resources (for instance vCenter Server). Nothing changed for that. So if a user needs to be granted permission to vCenter, you add the user on the vCenter server and assign permissions as you used to do before. Additionally you are now able to add permissions to @system-domain users.</p>
<p>Let me finally make this last statement:<br />
<strong>You can have multiple SSO installations in your environment</strong></p>
<p>The fact that it&#8217;s called Single Sign On does not necessarily mean that you can only deploy one instance of SSO in your complete environment. Every vCenter installation requires an SSO instance, but there&#8217;s nothing wrong with installing a separate SSO instance for every vCenter Server in your environment. As a matter of fact, installing multiple SSO instances makes the environment less complex, does not create dependencies between vCenter Server environments and therefore simplifies future upgrades.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/' rel='bookmark' title='Permanent Link: Replacing VMware vCenter 5.1 Certificates Made Easy'>Replacing VMware vCenter 5.1 Certificates Made Easy</a></li>
<li><a href='http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/' rel='bookmark' title='Permanent Link: Versioning and Renaming Elements in vCenter Orchestrator'>Versioning and Renaming Elements in vCenter Orchestrator</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/08/vcenter-single-sign-on-sso-is-an-authentication-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move/Replace vCloud Director NFS Transfer Server Storage</title>
		<link>http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/</link>
		<comments>http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/#comments</comments>
		<pubDate>Wed, 08 May 2013 07:04:33 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1960</guid>
		<description><![CDATA[In a multi-cell vCloud Director installation, all cells need access to a shared spooling area, also known as NFS transfer server storage. When you need to move or replace the NFS transfer server storage because the current presented NFS share is too small or maybe it got lost because of a crash, you can simply [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/11/vcloud-director-offerings-are-coming/' rel='bookmark' title='Permanent Link: vCloud Director offerings are coming'>vCloud Director offerings are coming</a></li>
<li><a href='http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/' rel='bookmark' title='Permanent Link: Restoring the default vCenter Server alarms'>Restoring the default vCenter Server alarms</a></li>
<li><a href='http://www.van-lieshout.com/2009/01/unable-to-login-to-your-esx-server/' rel='bookmark' title='Permanent Link: Unable to login to your ESX server'>Unable to login to your ESX server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In a multi-cell vCloud Director installation, all cells need access to a shared spooling area, also known as NFS transfer server storage. When you need to move or replace the NFS transfer server storage because the current presented NFS share is too small or maybe it got lost because of a crash, you can simply provide a new share to the vCloud Director cells.</p>
<p>The following procedure shows you how to replace the NFS transfer server storage:</p>
<h2>Create NFS share</h2>
<p>First you need to export a share on the new NFS server. The procedure might be different depending on the type of NFS server you&#8217;re using. RedHat version 5.7 has been used in the following procedure.</p>
<p>1. Create a directory to export:</p>
<pre>mkdir /nfs/vCD-Transfer</pre>
<p>2. Export the NFS directory. Add the following line to /etc/exports:</p>
<pre>/nfs/vCD-Transfer &lt;accesslist&gt;   (rw,no_root_squash)</pre>
<p><strong>Note: </strong>Replace &lt;accesslist&gt; with the ip addresses of your VCD cells or allow a specific network like 10.1.1.0/24</p>
<p>3. Restart NFS service:</p>
<pre>service nfs restart</pre>
<h2>Mount NFS share on VCD cells</h2>
<p>When the new NFS share is ready</p>
<p>1. Unmount the current NFS share:</p>
<pre>umount /opt/vmware/vcloud-director/data/transfer</pre>
<p>2. Modify /etc/fstab and make sure the following line is present and matching your NFS server IP and directory:</p>
<pre>&lt;nfsip&gt;:/nfs/vCD-Transfer /opt/vmware/vcloud-director/data/transfer nfs rw,soft,_netdev 0 0</pre>
<p><strong>Note: </strong>Replace &lt;nfsip&gt; with the ip addresses of your NFS server</p>
<p>3. Mount the NFS share:</p>
<pre>mount -a</pre>
<p>4. Verify that the permissions on the transfer directory are set to 750 (drwxr-x&#8212;). If not change it:</p>
<pre>chmod 750 /opt/vmware/vcloud-director/data/transfer</pre>
<p>5. Verify that both the user and group on the transfer folder are set to vcloud. If not change it:</p>
<pre>chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer</pre>
<p>6. Restart VCD cell:</p>
<pre>service vmware-vcd restart</pre>
<p><strong>Note 1:</strong> Be aware that (in a production environment) tasks could be active on the cell. Restarting the cell this way will break any running tasks. You might want to quiesce the cell first as described in <a href="http://kb.vmware.com/kb/2034994">http://kb.vmware.com/kb/2034994</a></p>
<p><strong>Note 2:</strong> You&#8217;ll notice a warning in the cell.log log file indicating that the cell is unable to verify that the other cells share the same spooling area. This is normal at this stage as the other cells haven&#8217;t been updated with the new NFS share yet. Just make sure that you update all cells. When a VCD cell starts it writes a marker file onto the spooling area to verify that the spooling area is writable and checks all other marker files to verify that it&#8217;s sharing the spooling area with all other cells.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/11/vcloud-director-offerings-are-coming/' rel='bookmark' title='Permanent Link: vCloud Director offerings are coming'>vCloud Director offerings are coming</a></li>
<li><a href='http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/' rel='bookmark' title='Permanent Link: Restoring the default vCenter Server alarms'>Restoring the default vCenter Server alarms</a></li>
<li><a href='http://www.van-lieshout.com/2009/01/unable-to-login-to-your-esx-server/' rel='bookmark' title='Permanent Link: Unable to login to your ESX server'>Unable to login to your ESX server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replacing VMware vCenter 5.1 Certificates Made Easy</title>
		<link>http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/</link>
		<comments>http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 05:23:47 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1954</guid>
		<description><![CDATA[The release of vCenter 5.1 added more components and therefore more certificates into the mix. Using CA signed certificates increase security, but the process of updating these certificates is currently very tedious and error prone.
VMware announced the general availability of vCenter Certificate Automation Tool 1.0. This tool provides an automated mechanism to replace certificates in [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2011/01/brocade-network-advisor-vmware-vcenter-plug-in/' rel='bookmark' title='Permanent Link: Brocade Network Advisor Management Plug-in for VMware vCenter'>Brocade Network Advisor Management Plug-in for VMware vCenter</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
<li><a href='http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/' rel='bookmark' title='Permanent Link: Restoring the default vCenter Server alarms'>Restoring the default vCenter Server alarms</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The release of vCenter 5.1 added more components and therefore more certificates into the mix. Using CA signed certificates increase security, but the process of updating these certificates is currently very tedious and error prone.</p>
<p><a title="Introducing the vCenter Certificate Automation Tool 1.0" href="http://blogs.vmware.com/kb/2013/04/introducing-the-vcenter-certificate-automation-tool-1-0.html" target="_blank">VMware announced</a> the general availability of vCenter Certificate Automation Tool 1.0. This tool provides an automated mechanism to replace certificates in the following components of the vCenter management platform:</p>
<ol>
<li>vCenter Server</li>
<li>vCenter Single Sign On</li>
<li>vCenter Inventory Service</li>
<li>vSphere Web Client</li>
<li>vCenter Log Browser</li>
<li>vCenter Orchestrator (VCO)</li>
<li>vSphere Update Manager (VUM)</li>
</ol>
<p>The corresponding KB article can be found at: <a title=" Deploying and using the SSL Certificate Automation Tool" href="http://kb.vmware.com/kb/2041600" target="_blank">http://kb.vmware.com/kb/2041600</a></p>
<p>This tool is fully supported by VMware as well.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2011/01/brocade-network-advisor-vmware-vcenter-plug-in/' rel='bookmark' title='Permanent Link: Brocade Network Advisor Management Plug-in for VMware vCenter'>Brocade Network Advisor Management Plug-in for VMware vCenter</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
<li><a href='http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/' rel='bookmark' title='Permanent Link: Restoring the default vCenter Server alarms'>Restoring the default vCenter Server alarms</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Versioning and Renaming Elements in vCenter Orchestrator</title>
		<link>http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/</link>
		<comments>http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 05:15:09 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Orchestrator]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1941</guid>
		<description><![CDATA[During the development cycle of a workflow, your workflow can change drastically whenever you add new functionalities. Therefore a good practice is saving different versions of your workflow. One way to achieve this is by utilizing the built-in versioning functionality. As a best practice, always increase the version number of your workflow when making changes [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/' rel='bookmark' title='Permanent Link: vCenter Orchestrator Configuration Element Attribute Values Missing After Import.'>vCenter Orchestrator Configuration Element Attribute Values Missing After Import.</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-data-recovery/' rel='bookmark' title='Permanent Link: VMware vCenter Data Recovery'>VMware vCenter Data Recovery</a></li>
<li><a href='http://www.van-lieshout.com/2012/01/powercli-automation-create-vcenter-notification-email-alarm-action/' rel='bookmark' title='Permanent Link: PowerCLI automation: Create vCenter Notification Email Alarm Action'>PowerCLI automation: Create vCenter Notification Email Alarm Action</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>During the development cycle of a workflow, your workflow can change drastically whenever you add new functionalities. Therefore a good practice is saving different versions of your workflow. One way to achieve this is by utilizing the built-in versioning functionality. As a best practice, always increase the version number of your workflow when making changes and don&#8217;t forget to write a decent comment describing the last changes. Although this enables you to revert back to the saved versions using the &#8220;version history&#8221;, it doesn&#8217;t allow you to have a peak at that version. Therefore I often find it more convenient keeping a copy of the workflow or action for reference and backup. This way you can easily open a saved version without impacting the current version and risking the loss of any changes.</p>
<p>Note: Pressing the &#8220;Revert&#8221; button in the editor or History Version Inspector, does <strong>NOT</strong> prompt you, but reverts to the last saved or the selected version state instantly.</p>
<h2>Workflow Elements</h2>
<p>Making a copy of the workflow or action for backup is easy. Right-click on the item and select &#8220;Duplicate …&#8221;. But be careful when duplicating workflows or actions; every element in vCenter Orchestrator is identified by an internal ID. This allows you to have multiple items with the same name, even in the same folder. Because of this ID, you can&#8217;t simply replace a workflow by putting a copy in the original folder using the same name.</p>
<p>When a workflow is called from within another workflow, the linked workflow is referenced by its ID. Renaming the linked workflow doesn&#8217;t break the link in the parent workflow. When you want to replace the linked workflow with another copy or version, you have to change the linked workflow element in the parent workflow to point to the replacement. Suppose that you have a main workflow called &#8216;wfMain&#8217; referencing a sub-workflow &#8216;wfSub&#8217;. Figure 1 shows a graphical representation of this workflow.</p>
<div class="wp-caption alignnone" style="width: 574px"><img src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga1.png" alt="" width="564" height="189" /><p class="wp-caption-text">Figure 1</p></div>
<p>When you want to create a duplicate of &#8216;wfSub&#8217; to develop new functionality without affecting users using the current workflow, you create a duplicate and call that &#8216;wfSub_v2&#8242;. After adding new functionality you want your users to use this new version of the workflow.  You rename &#8216;wfSub&#8217; to &#8216;wfSub_v1&#8242; and then rename  &#8216;wfSub_v2&#8242; to &#8216;wfSub&#8217;. When viewing the main workflow, you&#8217;ll see that the name of the referenced sub-workflow has changed to &#8216;wfSub_v1&#8242; according to the rename operations. This is because the sub-workflow is linked by ID. What happened under the surface in vCO is that the new copy got a new internal ID and is not linked to the parent workflow &#8216;wfMain&#8217;. Figure 2 shows that the referenced workflow has been changed. Note that the name of the workflow element didn&#8217;t change.</p>
<div class="wp-caption alignnone" style="width: 489px"><img src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga2.png" alt="" width="479" height="213" /><p class="wp-caption-text">Figure 2</p></div>
<p>When you have multiple linked workflows, replacing workflows can be a tedious task as there is no direct reference back or back-link to any parent workflow. The only option is using the search feature of the client to search for references as shown in Figure 3. Therefore avoid having a production version and a &#8216;development&#8217; version of the same workflow or action on one server.</p>
<div class="wp-caption alignnone" style="width: 528px"><img src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga3.png" alt="" width="518" height="198" /><p class="wp-caption-text">Figure 3</p></div>
<p>A best practice is running a separate development instance of vCO. This way you can develop new functionalities on the development server and, when finished, synchronize the new version to the production instance. By synchronizing content between vCO instances, the synchronized items on both the source and destination instance have the same internal ID. This saves you from replacing and relinking workflows. But be careful that you keep developing in the same &#8216;master&#8217; workflow and only make duplicates for backup.</p>
<p>Tip: Make a duplicate of your workflow or action after every significant change. I always append the version number to the element&#8217;s name for easy reference.</p>
<h2>Action Elements</h2>
<p>Now let&#8217;s do the same operation on an action element. Let&#8217;s add an action element to the &#8216;wfMain&#8217; workflow called &#8216;getMyObject&#8217;. Figure 4 shows the new workflow.</p>
<div class="wp-caption alignnone" style="width: 528px"><img class=" " src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga4.png" alt="" width="518" height="89" /><p class="wp-caption-text">Figure 4</p></div>
<p>Now when you rename the action called &#8216;getMyObject&#8217; to &#8216;getMyObject_v2&#8242;, you&#8217;ll notice that the reference of the action element didn&#8217;t changed. In fact the workflow is unable to run because it can&#8217;t find the referenced element &#8216;getMyObject&#8217;. When running a workflow validation, you&#8217;ll receive an error stating that a referenced element could not be found as shown in Figure 5.</p>
<div class="wp-caption alignnone" style="width: 530px"><img class=" " src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga5.png" alt="" width="520" height="136" /><p class="wp-caption-text">Figure 5</p></div>
<p>This is because action elements are referenced by path (their location in the action library tree). Opening the action element and viewing the &#8216;Scripting&#8217; tab as shown in Figure 6 can validate this.</p>
<div class="wp-caption alignnone" style="width: 528px"><img class=" " src="http://www.van-lieshout.com/wp-content/uploads/2013/03/032213_0909_Versioninga6.png" alt="" width="518" height="55" /><p class="wp-caption-text">Figure 6</p></div>
<p>Now create a new copy of the action element and give it the original name (&#8216;getMyObject&#8217;). When you run the validation process again, everything is fixed.</p>
<p>Unlike workflow elements, there is no option to relink an action element to another action. So you&#8217;ll have to replace the action element with a new one. This also means that you have to bind all input and output parameters again as well as setting the exception binding if any.</p>
<h2>Conclusion</h2>
<p>So before you start renaming elements, think twice. As a best practice never rename elements. If you want to keep some versions of an element as a backup while working on a solution, remember that you create a backup of the current element and keep editing in the original version and not the copy. Also make sure that you update the version number after every change, because this version number is the only parameter being evaluated by vCO when determining the elements that need to be copied to the remote server during synchronization.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/' rel='bookmark' title='Permanent Link: vCenter Orchestrator Configuration Element Attribute Values Missing After Import.'>vCenter Orchestrator Configuration Element Attribute Values Missing After Import.</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-data-recovery/' rel='bookmark' title='Permanent Link: VMware vCenter Data Recovery'>VMware vCenter Data Recovery</a></li>
<li><a href='http://www.van-lieshout.com/2012/01/powercli-automation-create-vcenter-notification-email-alarm-action/' rel='bookmark' title='Permanent Link: PowerCLI automation: Create vCenter Notification Email Alarm Action'>PowerCLI automation: Create vCenter Notification Email Alarm Action</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vCenter Orchestrator Configuration Element Attribute Values Missing After Import.</title>
		<link>http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/</link>
		<comments>http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/#comments</comments>
		<pubDate>Mon, 04 Feb 2013 12:44:24 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Orchestrator]]></category>
		<category><![CDATA[vCO]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1928</guid>
		<description><![CDATA[When importing a package on a vCenter Orchestrator (vCO) server in my lab I noticed that the values of the attributes inside the Configuration Elements (CE) were missing. At first I thought that it was because of the different version of vCO. (I exported the package as a backup from a vCO 4.2.1 and imported [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2009/07/export-and-import-customization-profiles-using-powershell/' rel='bookmark' title='Permanent Link: Export and import customization profiles using Powershell'>Export and import customization profiles using Powershell</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/unattended-upgrade-of-hp-management-agents/' rel='bookmark' title='Permanent Link: Unattended upgrade of HP management agents'>Unattended upgrade of HP management agents</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When importing a package on a vCenter Orchestrator (vCO) server in my lab I noticed that the values of the attributes inside the Configuration Elements (CE) were missing. At first I thought that it was because of the different version of vCO. (I exported the package as a backup from a vCO 4.2.1 and imported it into a 5.1 vCO server), but I witnessed the same behavior when importing the package to vCO 4.2.1.</p>
<p>When searching the web for this phenomenon I couldn’t find any information describing this behavior until I caught eye on a blog post on the VMware vCenter Orchestrator blog: <a title="Configuration Elements revisited" href="http://blogs.vmware.com/orchestrator/2012/02/configuration-elements-revisited.html" target="_blank">http://blogs.vmware.com/orchestrator/2012/02/configuration-elements-revisited.html</a></p>
<p>Somewhat hidden in the bottom text of the article the difference between exporting a single Configuration Element and exporting a Configuration Element as part of a package is explained:</p>
<blockquote><p>Nevertheless there is a small difference with exporting a single configuration element, the difference is that <strong>in that case the values of the attributes are not exported</strong>! In another words, if you import a package containing a configuration element into another vCO, the configuration element attribute values are not set.</p></blockquote>
<p>I was not aware of this and it kind of makes sense if you use Configuration Elements solely to hold vCO server specific information. But in my case, Configuration Elements have been used to store global information about the environment.</p>
<p>Also I’ve been saving the exported package as an extra kind of backup, next to the database backup, but actually being useless for the CE’s as I’ve discovered now.</p>
<h2>The Configuration Element Content</h2>
<p>Let’s have a closer look at the exported packages. First have a look at the Configuration Element when exported as a single configuration item. The CE is exported as an XML file. From the XML you see that the exported CE is called ‘CE1’ with three attributes called ‘att0’, ‘att1’ and ‘att2’. The &lt;value&gt; tag contains the value of each of the attributes. For instance attribute ‘att0’ is of type ‘string’ and has a value of “This is a Test”.</p>
<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?&gt;
&lt;config-element id="828080808080808080808080808080808180808001359849118679aebf2a6a5a5"  version="0.0.0" &gt;
&lt;display-name&gt;&lt;![CDATA[CE1]]&gt;&lt;/display-name&gt;
&lt;atts&gt;
&lt;att name='att0' type='string' read-only='false' &gt;&lt;value encoded='n'&gt;&lt;![CDATA[This is a Test]]&gt;&lt;/value&gt;
&lt;description&gt;&lt;![CDATA[att0_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;att name='att1' type='boolean' read-only='false' &gt;&lt;description&gt;&lt;![CDATA[att1_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;att name='att2' type='number' read-only='false' &gt;&lt;value encoded='n'&gt;&lt;![CDATA[123.0]]&gt;&lt;/value&gt;
&lt;description&gt;&lt;![CDATA[att2_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;/atts&gt;
&lt;/config-element&gt;</pre>
<p>When we look at the same Configuration Element when exported as part of an Orchestrator package, you see that the &lt;value&gt; tag is omitted from the XML content.</p>
<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?&gt;
&lt;config-element id="828080808080808080808080808080808180808001359849118679aebf2a6a5a5"  version="0.0.0" &gt;
&lt;display-name&gt;&lt;![CDATA[CE1]]&gt;&lt;/display-name&gt;
&lt;atts&gt;
&lt;att name='att0' type='string' read-only='false' &gt;&lt;description&gt;&lt;![CDATA[att0_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;att name='att1' type='boolean' read-only='false' &gt;&lt;description&gt;&lt;![CDATA[att1_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;att name='att2' type='number' read-only='false' &gt;&lt;description&gt;&lt;![CDATA[att2_desc]]&gt;&lt;/description&gt;
&lt;/att&gt;
&lt;/atts&gt;
&lt;/config-element&gt;</pre>
<h2>Work Arounds</h2>
<p>To work around this behavior of vCenter Orchestrator, I found two options:</p>
<ol>
<li>Export all Configuration Elements independently</li>
<li>Synchronize the package to the server using the vCO synchronization option.</li>
</ol>
<h3><strong>Option1: Export</strong></h3>
<p>When exporting a single Configuration Element, the values are exported as shown earlier in this post. Export all Configuration Elements separately as a single exported configuration item. Use this option when you want to create a backup or when there’s no network connectivity to the destination vCO server.</p>
<h3><strong>Option2: Synchronize</strong></h3>
<p>Use this option when you have network connectivity to your destination vCO server. This is the easiest and recommended option to copy content from one server to the other.</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2009/07/export-and-import-customization-profiles-using-powershell/' rel='bookmark' title='Permanent Link: Export and import customization profiles using Powershell'>Export and import customization profiles using Powershell</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/vmware-vcenter-server-heartbeat/' rel='bookmark' title='Permanent Link: VMware vCenter Server Heartbeat'>VMware vCenter Server Heartbeat</a></li>
<li><a href='http://www.van-lieshout.com/2009/03/unattended-upgrade-of-hp-management-agents/' rel='bookmark' title='Permanent Link: Unattended upgrade of HP management agents'>Unattended upgrade of HP management agents</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
