<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Arnim van Lieshout</title>
	
	<link>http://www.van-lieshout.com</link>
	<description>About virtualization and more</description>
	<lastBuildDate>Wed, 08 May 2013 07:04:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ArnimVanLieshout" /><feedburner:info uri="arnimvanlieshout" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Move/Replace vCloud Director NFS Transfer Server Storage</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/MogLwMnvqv0/</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><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/MogLwMnvqv0" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.van-lieshout.com/2013/05/movereplace-vcloud-director-nfs-transfer-server-storage-3/</feedburner:origLink></item>
		<item>
		<title>Replacing VMware vCenter 5.1 Certificates Made Easy</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/rhS88WTiRHM/</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><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/rhS88WTiRHM" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.van-lieshout.com/2013/04/replacing-vmware-vcenter-5-1-certificates-made-easy/</feedburner:origLink></item>
		<item>
		<title>Versioning and Renaming Elements in vCenter Orchestrator</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/RFfTwmnWyG8/</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><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/RFfTwmnWyG8" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.van-lieshout.com/2013/03/versioning-and-renaming-elements-in-vcenter-orchestrator/</feedburner:origLink></item>
		<item>
		<title>vCenter Orchestrator Configuration Element Attribute Values Missing After Import.</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/p2kRUdjxWW8/</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><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/p2kRUdjxWW8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2013/02/vcenter-orchestrator-configuration-element-missing/</feedburner:origLink></item>
		<item>
		<title>PHD Virtual Backup 6.1</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/7WV8IuGMY3A/</link>
		<comments>http://www.van-lieshout.com/2012/12/phd-virtual-backup-6-1/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 07:44:19 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Backup]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1905</guid>
		<description><![CDATA[PHD Virtual has released a new version of their award-winning data protection software PHD Virtual Backup 6.1. This version adds some major new functionality and enhancements, which include:

Instant Recovery for Full/Incremental Backup Mode
Rollback Recovery
Reporting Enhancements
Job Copy

Instant Recovery for Full/Incremental Backup Mode
With  PHD Virtual Backup version 6.1, PHD Virtual brings Instant recovery to  Full/Incremental [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2011/11/phd-virtual-backup-and-replication-5-3/' rel='bookmark' title='Permanent Link: PHD Virtual Backup and Replication 5.3'>PHD Virtual Backup and Replication 5.3</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/how-sure-is-your-backup/' rel='bookmark' title='Permanent Link: How sure is your backup?'>How sure is your backup?</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><a href="http://www.van-lieshout.com/wp-content/uploads/2012/12/PHD_Virtual_logo.png"><img class="alignleft size-full wp-image-1913" title="PHD_Virtual_logo" src="http://www.van-lieshout.com/wp-content/uploads/2012/12/PHD_Virtual_logo.png" alt="" width="134" height="34" /></a>PHD Virtual has released a new version of their award-winning data protection software PHD Virtual Backup 6.1. This version adds some major new functionality and enhancements, which include:</p>
<ul>
<li>Instant Recovery for Full/Incremental Backup Mode</li>
<li>Rollback Recovery</li>
<li>Reporting Enhancements</li>
<li>Job Copy</li>
</ul>
<h3>Instant Recovery for Full/Incremental Backup Mode</h3>
<p>With  PHD Virtual Backup version 6.1, PHD Virtual brings Instant recovery to  Full/Incremental Backup Mode. This functionality has been introduced in  version 6.0, but was only available with their Virtual Full backup mode.  In version 6.1, PHD Virtual extends the power of PHD Instant Recovery  to include Full/Incremental backup mode as well. Instant Recovery allows  you to start a VM from its backup location and drastically reduce RTO.  After the VM is started, users can either leverage VMware Storage  vMotion or use PHD Motion to move the VM&#8217;s to production storage.</p>
<h3>Rollback Recovery</h3>
<p>I think that Rollback recovery is a major new functionality. It allows you to restore a backup of a VM very quickly. Instead of doing a full restore, rollback recovery allows you to only restore the changed blocks (using <a title="Changed Block Tracking" href="http://kb.vmware.com/kb/1020128" target="_blank">VMware Changed Block Tracking (CBT)</a> information) over the existing VM, effectively rolling back your VM to a previous point in time. This will enhance your RTO because there is generally only about 1-5% of changes occurring in a VM each day.</p>
<p>You might think why you will need Rollback Recovery when you have Instant Recovery available and are able to start a VM from the backup location straight away without waiting for any restore of vmdk files at all. The major difference is that backup files are typically stored on cheaper disks and hence slower performing storage. This kind of storage might not meet your application&#8217;s requirements when using Instant Recovery. Using Rollback Recovery you are able to restore the VM to the application&#8217;s production storage right away with only minimal downtime (depending on the number of changes to the VM).</p>
<h3>Reporting Enhancements</h3>
<p>Reporting enhancement in version 6.1 include:</p>
<ul>
<li><strong>Export Job History</strong><br />
This allows users to export the job history table from PHD Virtual Backup v6.1 UI to Excel in CSV format.</li>
<li><strong>Data Protection Risk Management Report</strong><br />
Gain visibility into your data protection integrity by viewing a list of  all VM’s in the environment, along with information on their sizes,  virtual disks and the date of the last successful backup.</li>
</ul>
<h3>Job Copy</h3>
<p>Spend less time creating and scheduling backup jobs with Job Copy. While it might seem only a small enhancement, the ability to copy a job will greatly accelerate the backup job creation process. There&#8217;s nothing more annoying than having to create a job from scratch every time.</p>
<h3>What&#8217;s New in Version 6.1 Video</h3>
<p>Watch this video to see a demo of the new functionality in PHD Backup 6.1</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="315" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/nW3Om6GLmPg?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="315" src="http://www.youtube.com/v/nW3Om6GLmPg?version=3&amp;hl=en_US" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>To find out more about PHD Virtual Backup go to <a title="PHD Virtual" href="http://phdvirtual.com" target="_blank">http://phdvirtual.com</a></p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2011/11/phd-virtual-backup-and-replication-5-3/' rel='bookmark' title='Permanent Link: PHD Virtual Backup and Replication 5.3'>PHD Virtual Backup and Replication 5.3</a></li>
<li><a href='http://www.van-lieshout.com/2010/03/how-sure-is-your-backup/' rel='bookmark' title='Permanent Link: How sure is your backup?'>How sure is your backup?</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><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/7WV8IuGMY3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2012/12/phd-virtual-backup-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2012/12/phd-virtual-backup-6-1/</feedburner:origLink></item>
		<item>
		<title>vSphere Update Manager Network Connections</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/_CJTGEGFIpg/</link>
		<comments>http://www.van-lieshout.com/2012/03/vsphere-update-manager-network-connections/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:00:40 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1882</guid>
		<description><![CDATA[Recently I was struggling getting vSphere Update Manager to work properly across firewalls. Information for the required firewall ports that need to be opened can be obtained from the following VMware KB articles:
http://kb.vmware.com/kb/1004543
http://kb.vmware.com/kb/1012382
During troubleshooting, some information got me confused and as the saying goes, “a picture is worth a thousand words.”, I decided to craft [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Recently I was struggling getting vSphere Update Manager to work properly across firewalls. Information for the required firewall ports that need to be opened can be obtained from the following VMware KB articles:</p>
<p><a href="http://kb.vmware.com/kb/1004543">http://kb.vmware.com/kb/1004543</a><br />
<a href="http://kb.vmware.com/kb/1012382">http://kb.vmware.com/kb/1012382</a></p>
<p>During troubleshooting, some information got me confused and as the saying goes, “a picture is worth a thousand words.”, I decided to craft a picture from all this information.</p>
<p><a href="http://www.van-lieshout.com/wp-content/uploads/2012/03/Update-Manager.jpg"><img class="alignnone size-full wp-image-1883" title="vCenter Update Manager" src="http://www.van-lieshout.com/wp-content/uploads/2012/03/Update-Manager.jpg" alt="vCenter Update Manager" width="808" height="486" /></a></p>
<p>Table 1 &#8211; vSphere Update Manager network port requirements.</p>
<table border="0" cellspacing="0" cellpadding="0" width="540">
<tbody>
<tr>
<td width="40"><strong>Port</strong></td>
<td width="50"><strong>Protocol</strong></td>
<td width="240"><strong>Source</strong></td>
<td width="210"><strong>Target</strong></td>
</tr>
<tr>
<td>80</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>www.vmware.com   and xml.shavlik.com</td>
</tr>
<tr>
<td>80</td>
<td>TCP</td>
<td>ESXi   Host</td>
<td>vSphere Update Manager</td>
</tr>
<tr>
<td>80</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>vCenter   Server</td>
</tr>
<tr>
<td>80</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>ESXi   Host</td>
</tr>
<tr>
<td>443</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>www.vmware.com   and xml.shavlik.com</td>
</tr>
<tr>
<td>443</td>
<td>TCP</td>
<td>ESXi   Host</td>
<td>vSphere Update Manager</td>
</tr>
<tr>
<td>443</td>
<td>TCP</td>
<td>vCenter   Server</td>
<td>vSphere Update Manager</td>
</tr>
<tr>
<td>902</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>ESXi   Host</td>
</tr>
<tr>
<td>1433</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>Microsoft   SQL Server</td>
</tr>
<tr>
<td>1521</td>
<td>TCP</td>
<td>vSphere Update Manager</td>
<td>Oracle   Database Server</td>
</tr>
<tr>
<td>8084</td>
<td>TCP</td>
<td>vCenter   Server</td>
<td>vSphere Update Manager</td>
</tr>
<tr>
<td>9084</td>
<td>TCP</td>
<td>ESXi   Host</td>
<td>vSphere Update Manager</td>
</tr>
<tr>
<td>9087</td>
<td>TCP</td>
<td>vCenter   Server</td>
<td>vSphere Update Manager</td>
</tr>
</tbody>
</table>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/_CJTGEGFIpg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2012/03/vsphere-update-manager-network-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2012/03/vsphere-update-manager-network-connections/</feedburner:origLink></item>
		<item>
		<title>Restoring the default vCenter Server alarms</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/OcwoRDcpVWk/</link>
		<comments>http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 13:00:10 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1875</guid>
		<description><![CDATA[I&#8217;ve been troubleshooting some vCenter alarms lately, which involved a lot of editing, removing and adding of alarms. After the troubleshooting I wanted to reset everything back to default and ran into VMware KB article 2009166, explaining how to restore the default vCenter Server alarms.
To restore the default vCenter Server alarms you first have to [...]


Related posts:<ol><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>
<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/06/setting-custom-attributes-with-vmware-powercli/' rel='bookmark' title='Permanent Link: Setting custom attributes with VMware PowerCLI'>Setting custom attributes with VMware PowerCLI</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been troubleshooting some vCenter alarms lately, which involved a lot of editing, removing and adding of alarms. After the troubleshooting I wanted to reset everything back to default and ran into <a title="Restoring the default vCenter Server Alarms" href="http://kb.vmware.com/kb/2009166" target="_blank">VMware KB article 2009166</a>, explaining how to restore the default vCenter Server alarms.</p>
<p>To restore the default vCenter Server alarms you first have to delete all existing alarms, including the custom created alarms. Be warned that the restore procedure from the KB article will restore only the default vCenter Server alarms and not the custom created ones.</p>
<h2>Backing up Alarms</h2>
<p>When you&#8217;ve created a lot of custom alarms then <a title="Copying vCenter Server Alarms" href="http://kb.vmware.com/kb/1032660" target="_blank">KB Article 1032660</a> provides a way to backup your alarms by copying the alarms to another (temporary) vCenter server. Using the same procedure you can restore your custom alarms again and guess what? It&#8217;s done using a PowerCLI script <img src='http://www.van-lieshout.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>Deleting Alarms</h2>
<p>As per KB article:<br />
To delete all the existing alarm definitions in the vCenter Server:</p>
<ol>
<li>Log in to the vCenter Server using the vSphere Client.</li>
<li>Click the <strong>Hosts and Clusters </strong>view.</li>
<li>Click the <strong>Alarms</strong> tab.</li>
<li>Click <strong>Definitions</strong>.<strong>Note</strong>: All custom alarms must be manually recreated after they are removed. Ensure to note the custom alarms before removing.</li>
<li>Select all alarms, right-click, and  click <strong>Remove</strong>.</li>
</ol>
<p><strong>Note:</strong> <strong>ALL</strong> vCenter Alarms need to be removed on <strong>ALL</strong> objects, not just only the alarms on the vCenter object.</p>
<h2>Deleting Alarms using PowerCLI</h2>
<p>When you&#8217;ve created alarms on different objects, going through the GUI deleting all of them might be a tedious task. You can easily remove all vCenter Server alarms using PowerCLI with just a one-liner regardless of the object the alarm is defined on.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-AlarmDefinition | %{$_.ExtensionData.RemoveAlarm()}
</pre>
<h2>Restoring the Default Alarms</h2>
<div>As per KB article:<br />
To restore the default vCenter Server alarms, change the alarm version in vCenter Server:</div>
<ol>
<li>Connect to vCenter Server using the vSphere Client.</li>
<li>Click <strong>Administration</strong> &gt; <strong>vCenter Server Settings</strong>.</li>
<li>Click <strong>Advanced Settings</strong>.</li>
<li>Set <span style="font-family: Courier New;">alarm.version</span> to <span style="font-family: Courier New;">0</span>.</li>
<li>Set <span style="font-family: Courier New;">alarms.upgraded</span> to <span style="font-family: Courier New;">false</span>.</li>
<li>Restart the VMware VirtualCenter Server service.</li>
</ol>
<h2>Creating Custom Alarms</h2>
<p>If you&#8217;re interested in creating custom alarms then the document available at <a title="More Fun with vSphere Alarms" href="http://communities.vmware.com/docs/DOC-12145" target="_blank">http://communities.vmware.com/docs/DOC-12145</a> is a great read.</p>


<p>Related posts:<ol><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>
<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/06/setting-custom-attributes-with-vmware-powercli/' rel='bookmark' title='Permanent Link: Setting custom attributes with VMware PowerCLI'>Setting custom attributes with VMware PowerCLI</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/OcwoRDcpVWk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2012/02/restoring-the-default-vcenter-server-alarms/</feedburner:origLink></item>
		<item>
		<title>PowerCLI automation: Create vCenter Notification Email Alarm Action</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/17xzWdMOiSw/</link>
		<comments>http://www.van-lieshout.com/2012/01/powercli-automation-create-vcenter-notification-email-alarm-action/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 13:30:36 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1862</guid>
		<description><![CDATA[Need to configure email notifications on vCenter alarms? This PowerCLI automation script will save you valuable time and configure the alarms for you


Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/12/a-new-powercli-release-and-a-new-year%e2%80%99s-feature/' rel='bookmark' title='Permanent Link: A new PowerCLI release and a New Year’s feature'>A new PowerCLI release and a New Year’s feature</a></li>
<li><a href='http://www.van-lieshout.com/2010/05/powercli-disableenable-ha-and-drs/' rel='bookmark' title='Permanent Link: PowerCLI: Disable/Enable HA and DRS'>PowerCLI: Disable/Enable HA and DRS</a></li>
<li><a href='http://www.van-lieshout.com/2010/06/powercli-reset-cpu-and-memory-limits/' rel='bookmark' title='Permanent Link: PowerCLI: Reset CPU and Memory Limits'>PowerCLI: Reset CPU and Memory Limits</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received a request from a customer recently who wanted to configure all vCenter alarms to send a notification email. This instantly made me decide that PowerCLI was the best way to go rather than wasting a lot of valuable time in the vSphere client configuring the email notification alarms.</p>
<h2>PowerCLI Automation Script:</h2>
<p>I&#8217;ve created a quick and dirty script to do the job that I wanted to share with you. It&#8217;s probably not the fastest or the best optimized script, but it got the job done.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-AlarmDefinition | %{
   $_ | Set-AlarmDefinition -ActionRepeatMinutes (60 * 24);
   $_ | New-AlarmAction -Email -To &quot;vcenteralarms@customer.corp&quot; | %{
      $_ | New-AlarmActionTrigger -StartStatus &quot;Green&quot; -EndStatus &quot;Yellow&quot; -Repeat
      $_ | Get-AlarmActionTrigger | ?{$_.repeat -eq $false} | Remove-AlarmActionTrigger -Confirm:$false
      $_ | New-AlarmActionTrigger -StartStatus &quot;Yellow&quot; -EndStatus &quot;Red&quot; -Repeat
   }
}
</pre>
<p><strong>Line 1:</strong> The script first retrieves all the alarms. You can easily adapt the script to update only a specific alarms by changing this line to include the name of the alarm you want to update like:</p>
<pre class="brush: powershell; title: ; notranslate">Get-AlarmDefinition &quot;Datastore usage on disk&quot;</pre>
<p>or even all datastore alarms with:</p>
<pre class="brush: powershell; title: ; notranslate">Get-AlarmDefinition &quot;Datastore*&quot;</pre>
<p><strong>Line 2:</strong> The script then configures the alarm action repeat frequency to repeat the action every 24 hours. The value must be specified in minutes and the default value is to repeat every 5 minutes.</p>
<p><strong>Line 3:</strong> On this line a new send notification email action is created to send an email to the email address vcenteralarms@customer.corp.</p>
<p><strong>Line 4:</strong> This creates an alarm action trigger when the status changes from &#8220;Green&#8221; to &#8220;Yellow&#8221; or from &#8220;Normal&#8221; to &#8220;Warning&#8221;.</p>
<p><strong>Line 5:</strong> During the creation of the send notification email alarm action, a default alarm action trigger is created. Because there&#8217;s currently no Set-AlarmActionTrigger cmdlet available, I decided that it&#8217;s easier to remove the default trigger rather than trying to change it from &#8220;Once&#8221; to &#8220;Repeat&#8221; by falling back to using the SDK methods. I warned you that it was quick and dirty <img src='http://www.van-lieshout.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong>Line 6:</strong> finally this line creates an alarm action trigger when the status changes from &#8220;Yellow&#8221; to &#8220;Red&#8221; or from &#8220;Warning&#8221; to &#8220;Alert&#8221;.</p>
<p>Have Fun!</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/12/a-new-powercli-release-and-a-new-year%e2%80%99s-feature/' rel='bookmark' title='Permanent Link: A new PowerCLI release and a New Year’s feature'>A new PowerCLI release and a New Year’s feature</a></li>
<li><a href='http://www.van-lieshout.com/2010/05/powercli-disableenable-ha-and-drs/' rel='bookmark' title='Permanent Link: PowerCLI: Disable/Enable HA and DRS'>PowerCLI: Disable/Enable HA and DRS</a></li>
<li><a href='http://www.van-lieshout.com/2010/06/powercli-reset-cpu-and-memory-limits/' rel='bookmark' title='Permanent Link: PowerCLI: Reset CPU and Memory Limits'>PowerCLI: Reset CPU and Memory Limits</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/17xzWdMOiSw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2012/01/powercli-automation-create-vcenter-notification-email-alarm-action/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2012/01/powercli-automation-create-vcenter-notification-email-alarm-action/</feedburner:origLink></item>
		<item>
		<title>Top Bloggers Voting Time Again</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/RViqpgQQ3iM/</link>
		<comments>http://www.van-lieshout.com/2012/01/top-bloggers-voting-time-again/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:29:46 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1857</guid>
		<description><![CDATA[Eric Siebert has opened up another top VMware &#38; virtualization blogs poll over at vSphere-land.com.  Please take a moment and cast your vote  for your favourite 10 bloggers.  It&#8217;ll take only a couple of minutes of your time and you can win a copy of the Train Signal’s new vSphere 5 and View 5 video training courses.
So head on [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/09/voting-time-top-25-vmware-virtualization-blogs/' rel='bookmark' title='Permanent Link: Voting Time! &#8211; Top 25 VMware Virtualization Blogs'>Voting Time! &#8211; Top 25 VMware Virtualization Blogs</a></li>
<li><a href='http://www.van-lieshout.com/2010/09/ranked-27-in-eric-siebert%e2%80%99s-top-vmware-bloggers-survey/' rel='bookmark' title='Permanent Link: Ranked #27 in Eric Siebert’s Top VMware bloggers survey'>Ranked #27 in Eric Siebert’s Top VMware bloggers survey</a></li>
<li><a href='http://www.van-lieshout.com/2010/01/voted-29-top-blogger-on-vsphere-land-com/' rel='bookmark' title='Permanent Link: Voted #29 top blogger on vSphere-land.com'>Voted #29 top blogger on vSphere-land.com</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Eric Siebert has opened up another top VMware &amp; virtualization blogs poll over at <a title="vSphere-land voting" href="http://vsphere-land.com/news/voting-now-open-for-the-top-25-vmware-virtualization-blogs.html" target="_blank">vSphere-land.com</a>.  Please take a moment and cast your vote  for your favourite 10 bloggers.  It&#8217;ll take only a couple of minutes of your time and you can win a copy of the Train Signal’s new <a href="http://www.trainsignal.com/VMware-vSphere-5-Training.aspx" target="_blank">vSphere 5</a> and <a href="http://www.trainsignal.com/VMware-View-5-Essentials-Training.aspx" target="_blank">View 5</a> video training courses.</p>
<p>So head on over to <a href="http://vote.vsphere-land.com/" target="_blank">http://vote.vsphere-land.com</a> to cast your vote and reward the best bloggers for their hard work and dedication by letting them know that you appreciate them. They deserve it!</p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/09/voting-time-top-25-vmware-virtualization-blogs/' rel='bookmark' title='Permanent Link: Voting Time! &#8211; Top 25 VMware Virtualization Blogs'>Voting Time! &#8211; Top 25 VMware Virtualization Blogs</a></li>
<li><a href='http://www.van-lieshout.com/2010/09/ranked-27-in-eric-siebert%e2%80%99s-top-vmware-bloggers-survey/' rel='bookmark' title='Permanent Link: Ranked #27 in Eric Siebert’s Top VMware bloggers survey'>Ranked #27 in Eric Siebert’s Top VMware bloggers survey</a></li>
<li><a href='http://www.van-lieshout.com/2010/01/voted-29-top-blogger-on-vsphere-land-com/' rel='bookmark' title='Permanent Link: Voted #29 top blogger on vSphere-land.com'>Voted #29 top blogger on vSphere-land.com</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/RViqpgQQ3iM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2012/01/top-bloggers-voting-time-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2012/01/top-bloggers-voting-time-again/</feedburner:origLink></item>
		<item>
		<title>PHD Virtual Backup and Replication 5.3</title>
		<link>http://feedproxy.google.com/~r/ArnimVanLieshout/~3/ySLftRPJ4ks/</link>
		<comments>http://www.van-lieshout.com/2011/11/phd-virtual-backup-and-replication-5-3/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 19:10:51 +0000</pubDate>
		<dc:creator>Arnim van Lieshout</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.van-lieshout.com/?p=1844</guid>
		<description><![CDATA[PHD Virtual Backup and Replication 5.3, earlier demonstrated at VMworld 2011 by PHD Virtual, is coming soon. According to PHD Virtual it will be offering even faster backup and restore of virtual machines and new technologies that offer more flexibility for disaster recovery of your virtual environment.
NEW FEATURES

New Job Processing Engine with I/O optimizations
Up to [...]


Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/03/how-sure-is-your-backup/' rel='bookmark' title='Permanent Link: How sure is your backup?'>How sure is your backup?</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/2011/03/vsphere-client-for-ipad/' rel='bookmark' title='Permanent Link: vSphere Client for iPad &#8211; Another step forward in mobile administration'>vSphere Client for iPad &#8211; Another step forward in mobile administration</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHD Virtual Backup and Replication 5.3, earlier demonstrated at VMworld 2011 by PHD Virtual, is coming soon. According to PHD Virtual it will be offering even faster backup and restore of virtual machines and new technologies that offer more flexibility for disaster recovery of your virtual environment.</p>
<h4>NEW FEATURES</h4>
<ul>
<li>New Job Processing Engine with I/O optimizations</li>
<li>Up to 8 Concurrent Data Streams per VBA (Enterprise Edition)</li>
<li>Virtual Machine Replication</li>
<li>Virtual Machine Test Mode</li>
<li>Mass Restore Virtual Machines</li>
<li>Open Export of VM’s from Backup Storage to standard OVF</li>
<li>Tape Friendly Backup Support</li>
</ul>
<p>For more information have a look at the <a title="PHD Virtual Backup and Replication 5.3 Datasheet" href="http://www.phdvirtual.com/pdf/datasheets/PHDVBR53-Datasheet.pdf" target="_blank">PHD5.3 Datasheet</a> or watch the recently released demo video below.<br />
<object style="height: 292px; width: 480px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/Eft4kJnTADQ?version=3&amp;feature=player_detailpage" /><param name="allowfullscreen" value="true" /><embed style="height: 292px; width: 480px;" type="application/x-shockwave-flash" width="100" height="100" src="http://www.youtube.com/v/Eft4kJnTADQ?version=3&amp;feature=player_detailpage" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>


<p>Related posts:<ol><li><a href='http://www.van-lieshout.com/2010/03/how-sure-is-your-backup/' rel='bookmark' title='Permanent Link: How sure is your backup?'>How sure is your backup?</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/2011/03/vsphere-client-for-ipad/' rel='bookmark' title='Permanent Link: vSphere Client for iPad &#8211; Another step forward in mobile administration'>vSphere Client for iPad &#8211; Another step forward in mobile administration</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/ArnimVanLieshout/~4/ySLftRPJ4ks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.van-lieshout.com/2011/11/phd-virtual-backup-and-replication-5-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.van-lieshout.com/2011/11/phd-virtual-backup-and-replication-5-3/</feedburner:origLink></item>
	</channel>
</rss>
