<?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>danejeffrey.com &#187; VMware</title>
	<atom:link href="http://danejeffrey.com/blog/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://danejeffrey.com/blog</link>
	<description>Good ways to break things.</description>
	<lastBuildDate>Fri, 03 Sep 2010 03:27:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMware Converter Plug-In Fails To Install &#8211; vCenter 4.0 U1</title>
		<link>http://danejeffrey.com/blog/2010/08/27/vmware-converter-plug-in-fails-to-install-vcenter-4-0-u1/</link>
		<comments>http://danejeffrey.com/blog/2010/08/27/vmware-converter-plug-in-fails-to-install-vcenter-4-0-u1/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 07:34:57 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[converter]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=385</guid>
		<description><![CDATA[Was getting error &#8220;Unable to Connect to Remote Server&#8221; when trying to install the Converter plug-in from vSphere Client. The plug-in name and description were also appearing as just &#8220;converter&#8221; as opposed to &#8220;vCenter Converter&#8221; as it should be. The vCenter server had been recently setup and connected to an existing database which previously had [...]]]></description>
			<content:encoded><![CDATA[<p>Was getting error &#8220;Unable to Connect to Remote Server&#8221; when trying to install the Converter plug-in from vSphere Client. The plug-in name and description were also appearing as just &#8220;converter&#8221; as opposed to &#8220;vCenter Converter&#8221; as it should be. The vCenter server had been recently setup and connected to an existing database which previously had Converter installed and the plug-in available from vCenter.</p>
<p>Checked in the vCenter database for details on the plug-ins available. The table in question is [VPX_EXT_CLIENT], the field [EXT_ID] will tell you which plug-in each row refers to. In this case it is the com.vmware.converter row. Noticed that the [URL] field had spaces in it (the field read: http://<server>:80/vmc/VMware Converter Client.exe). Changed the spaces to %20 (since this is a HTTP service) so the field read: http://<server>:80/vmc/VMware%20Converter%20Client.exe), retried the download from vSpher Client, all worked well.</p>
<p>I figure the plug-in&#8217;s details were updated in the database when the Converter service was installed on the new vCenter service but not sure why it ended up like that. So, put the database entry back to it&#8217;s original format (i.e. spaces instead of %20&#8217;s) and went to another client that did not have the Converter plug-in installed. Interestingly, it could see the correct name and description and could download and install the plug-in&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/08/27/vmware-converter-plug-in-fails-to-install-vcenter-4-0-u1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Site Recovery Manager with EMC RecoverPoint SRA &#8211; Server Migration (32-bit to 64-bit OS)</title>
		<link>http://danejeffrey.com/blog/2010/08/26/vmware-site-recovery-manager-with-emc-recoverpoint-sra-server-migration-32-bit-to-64-bit-os/</link>
		<comments>http://danejeffrey.com/blog/2010/08/26/vmware-site-recovery-manager-with-emc-recoverpoint-sra-server-migration-32-bit-to-64-bit-os/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 07:13:15 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[srm]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=374</guid>
		<description><![CDATA[Followed this KB article on migrating an existing SRM instance to a new server. A few hiccups, however.
This SRM implementation was using EMC RecoverPoint. To get the RecoverPoint SRA installed, SRM had to already be installed. However, couldn&#8217;t install SRM because it&#8217;s services would not start since the existing database it was connecting to expected [...]]]></description>
			<content:encoded><![CDATA[<p>Followed this <a href="http://kb.vmware.com/kb/1008426">KB article</a> on migrating an existing SRM instance to a new server. A few hiccups, however.</p>
<p>This SRM implementation was using EMC RecoverPoint. To get the RecoverPoint SRA installed, SRM had to already be installed. However, couldn&#8217;t install SRM because it&#8217;s services would not start since the existing database it was connecting to expected the SRA to be available. Resolution was along the lines of the following:</p>
<p>*Make sure you have a backup copy of the database or use a temporary database (I used backup/restore method as opposed to a temp DB)*</p>
<ol>
<li>Make sure the Site Recovery Manager Server service on the old server is stopped.</li>
<li>Backup the known good copy of the database</li>
<li>Run the SRM installer on the new 64-bit server, when prompted select the DSN (you created a 32-bit DSN, right?) to the existing database (choose to maintain the contents / do not overwrite)</li>
<li>Complete the installer</li>
<li>This is where it got funky. The Site Recovery Manager Server service fails to start so checked the logs located at %ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Site Recovery Manager\Logs (open the current .log file)</li>
<li>The prompt at the installer will have the Retry and Cancel options. If you choose Cancel it will rollback the install and leave the database in an unhealthy state &#8211; this is where our backup is going to come in handy.</li>
<li>Once the rollback completes, start the install again and complete the exact same steps (this time it will not prompt you about overwriting the existing database as it doesn&#8217;t believe the database has vaild data). Allow the install to go through &#8211; it will finish this successfully this time.</li>
<li>Now, install the EMC RecoverPoint SRA. It will install successfully since SRM is now installed.</li>
<li>Uninstall SRM (just step through the uninstaller, don&#8217;t check the box about removing the database contents &#8211; not that it will matter as we will be restoring our known good copy anyway).</li>
<li>Restore the backup of the database choosing to overwrite the database.</li>
<li>Install SRM and this time it will prompt regarding the existing database &#8211; select to use the existing database.</li>
<li>The installer will still fail this time as well, but checked the log this time and found the following:</li>
<pre class="brush:plain">
[2010-08-26 15:34:40.560 03192 verbose 'PrimarySanProvider'] Loading Array Manager 'array-manager-4353' from DB object
[2010-08-26 15:34:40.560 03192 warning 'DrServiceInstance'] Initializing service content: (dr.san.fault.ManagementSystemNotFound) {
   dynamicType = <unset>,
   faultCause = (vmodl.MethodFault) null,
   name = "C:/Program Files/VMware/VMware vCenter Site Recovery Manager/scripts/SAN/array-type-recoverpoint",
   msg = "",
}
[2010-08-26 15:34:40.560 03192 error 'App'] Application error: dr.san.fault.ManagementSystemNotFound. Shutting down ...
[2010-08-26 15:34:40.560 01788 info 'App'] [serviceWin32,421] vmware-dr service stopped
</pre>
<li>The problem here is that the old server was 32-bit windows and therefore installed everything to C:\Program Files\&#8230; but our new server is 64-bit and SRM installs to C:\Program Files (x86)\&#8230;</li>
<li>The array manager script path is actually stored in the database. Find the table [pds_arraymanagere] and update the field [scriptpath] to reflect the correct (x86) directory.</li>
<li>Hit Retry and the service should start correctly.</li>
</ol>
<p>Still needed to re-pair the sites in SRM but this was the biggest hurdle in migrating the server. Also, reading that process back, the whole thing could have been done in a few different ways.Anyway, this was a bit of a worst case scenario but ultimately it worked out well.<br />
Note: This <a href="http://kb.vmware.com/kb/1006750">KB article</a> does exist, bubt it is for two specific scenarios as hihlighted in the article, not this situation</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/08/26/vmware-site-recovery-manager-with-emc-recoverpoint-sra-server-migration-32-bit-to-64-bit-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Old Snapshots &#8211; VMware vSphere PowerCLI</title>
		<link>http://danejeffrey.com/blog/2010/07/06/finding-old-snapshots-vmware-vsphere-powercli/</link>
		<comments>http://danejeffrey.com/blog/2010/07/06/finding-old-snapshots-vmware-vsphere-powercli/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 01:26:30 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=335</guid>
		<description><![CDATA[Because it&#8217;s a pain to check all VM&#8217;s for outstanding snapshots from the VI Client, this script is useful for listing any VM&#8217;s that have outstanding snapshots and when they were created. Referenced mostly from here [vSphere PowerCLI Blog]
Connect-VIServer vcenter-server.domain.com
$vms = Get-VM
$mybool = $False
foreach ($vm in $vms){
$snap = Get-Snapshot -VM $vm
if ($snap){
$mybool = $True
Write-Host "VM [...]]]></description>
			<content:encoded><![CDATA[<p>Because it&#8217;s a pain to check all VM&#8217;s for outstanding snapshots from the VI Client, this script is useful for listing any VM&#8217;s that have outstanding snapshots and when they were created. Referenced mostly from <a href="http://blogs.vmware.com/vipowershell/2010/02/get-your-popcorn-ready-sample-trainsignal-powercli-video.html">here</a> [vSphere PowerCLI Blog]</p>
<pre class="brush:ps">Connect-VIServer vcenter-server.domain.com
$vms = Get-VM
$mybool = $False
foreach ($vm in $vms){
$snap = Get-Snapshot -VM $vm
if ($snap){
$mybool = $True
Write-Host "VM Name: " $vm.Name " Snapshot Name: " $snap.Name " Created: " $snap.Created
}
}
exit</pre>
<p>In the above code the $mybool variable is used to keep track if any VM&#8217;s have snapshots or not. The purpose of this code was to send an email if any VM&#8217;s had snapshots. So, you could replace <code>Write-Host</code> with a string variable and write the output to that then send it via email to alert someone. You can also use the <code>$snap.Size</code> property to determine how big the VM&#8217;s snapshots have grown which is a good indicator on how long it will take to commit them back the the parent disk, if that is your aim.</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/07/06/finding-old-snapshots-vmware-vsphere-powercli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Favourite Topic (or Yet Another Lesson in Snapshot-ology)</title>
		<link>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/</link>
		<comments>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 07:18:17 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[vcb]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=307</guid>
		<description><![CDATA[Another snapshot post. Who new snapshots could be this awesome.
Again, the situation is VCB failing to remove the snapshot it took of a VM when the backup job that kicked it off failed (because of lack of disk space in this case).
First, vcbSnapshot was used to try and remove it via the VCB proxy manually. [...]]]></description>
			<content:encoded><![CDATA[<p>Another snapshot post. Who new snapshots could be this awesome.</p>
<p>Again, the situation is VCB failing to remove the snapshot it took of a VM when the backup job that kicked it off failed (because of lack of disk space in this case).</p>
<p>First, vcbSnapshot was used to try and remove it via the VCB proxy manually. For one reason or another, this failed and a Consolidate Helper- 0 snapshot is left behind. In the VI Client, it will show no snapshots in Snapshot Manager but a check of the VMDK targets show that the VM is indeed pointing to delta disks.</p>
<p>Tried taking a new snapshot manually to confirm the .vmsd file is not corrupt. The chain appeared good. Used:<br />
<code>vmare-cmd <vm_name>.vmx removesnapshots</code><br />
and received the error:<br />
<code>unable to access file <unknown> since it is locked</code></p>
<p>While looking into the problem, found these excellent resources for the undocumented vmkfstools -D switch which dumps file info to /var/log/vmkernel. It can be used to identify the owner of a file lock which could be causing the above error when trying to commit back the snapshot delta files:</p>
<p><a href="http://vi3.org/download/guides/english/vi3/StoppingaVMandReleasingFiles.pdf">http://vi3.org/download/guides/english/vi3/StoppingaVMandReleasingFiles.pdf</a><br />
<a href="http://blog.core-it.com.au/?p=477">http://blog.core-it.com.au/?p=477</a></p>
<p>In this case, however, I didn&#8217;t go through the process &#8211; instead took the coward&#8217;s way out and used: <code>service mgmt-vmware restart</code> on the host that the VM was running on and then used vmware-cmd to commit the snapshots &#8211; worked fine this time.</p>
<p>So, I would expect that if I had used the -D switch on the VMDK&#8217;s attached to the VM, the owner would have eventually been the ESX Host Agent which would be locking the file on behalf of the VCB request. Must remember to go through the process next time to find out for sure&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/04/29/my-favourite-topic-or-yet-another-lesson-in-snapshot-ology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Consolidated Backup (VCB) 1.5 Update 2 / U2 Released</title>
		<link>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/</link>
		<comments>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 10:21:19 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vcb]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=291</guid>
		<description><![CDATA[VMware Consolidate Backup (VCB) 1.5 U2 was released March 11, 2010. Release notes here. The release looks to be only fixes / resolved issues. Most (all?) known issues remain, didn&#8217;t take a look at it in depth. 
Since data protection vendors are starting to release vStorage API for Data Protection products (Veeam Backup &#038; Replication, [...]]]></description>
			<content:encoded><![CDATA[<p>VMware Consolidate Backup (VCB) 1.5 U2 was released March 11, 2010. Release notes <a href="http://www.vmware.com/support/vsphere4/doc/vsp_vcb_15_u2_rel_notes.html">here</a>. The release looks to be only fixes / resolved issues. Most (all?) known issues remain, didn&#8217;t take a look at it in depth. </p>
<p>Since data protection vendors are starting to release <a href="http://www.vmware.com/products/vstorage-apis-for-data-protection/">vStorage API for Data Protection</a> products (Veeam Backup &#038; Replication, Symantec NetBackup 7), VCB would likely begin to be phased out in many environments. Not that the vStorage API is a replacement for VCB as such, but it could be a good fit in many environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2010/03/20/vmware-consolidated-backup-vcb-1-5-update-2-u2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
