<?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>David Markley &#187; VMware</title>
	<atom:link href="http://www.davidmarkley.com/tag/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.davidmarkley.com</link>
	<description>Official Website of Me</description>
	<lastBuildDate>Fri, 12 Feb 2010 16:57:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMware Server 2 on CentOS 5.4</title>
		<link>http://www.davidmarkley.com/vmware/vmware-server-2-on-centos-5-4</link>
		<comments>http://www.davidmarkley.com/vmware/vmware-server-2-on-centos-5-4#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:47:04 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[5.4]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[crashing]]></category>
		<category><![CDATA[glibc]]></category>
		<category><![CDATA[glibc-common]]></category>
		<category><![CDATA[hostd]]></category>
		<category><![CDATA[vmware server]]></category>

		<guid isPermaLink="false">http://www.davidmarkley.com/?p=84</guid>
		<description><![CDATA[Well, I&#8217;m sure that there are many people that are running VMware Server 2 on CentOS 5. After all, it&#8217;s one of the major Host OSes that VMware recognizes. Popularity notwithstanding, there is a major bug that can bring your VM screamer to a hault.
CentOS 5.4 has a new glibc package that essentially breaks VMware [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;m sure that there are many people that are running VMware Server 2 on CentOS 5. After all, it&#8217;s one of the major Host OSes that VMware recognizes. Popularity notwithstanding, there is a major bug that can bring your VM screamer to a hault.</p>
<p>CentOS 5.4 has a new <em>glibc</em> package that essentially breaks VMware Server&#8217;s <em>hostd</em> process. There are many posts out there regarding the issues, and various means of fixing them. However, I am just going to summarize info I&#8217;ve found out there on the net, and hopefully you should be able to follow very easily and get your VMs back up and running.</p>
<h2>PROBLEM:</h2>
<p>VMware Server 2 (<em>hostd</em>) crashes on CentOS 5 after upgrading to the latest releases of <em>glibc</em> and <em>glibc-common</em></p>
<p><strong><span style="text-decoration: underline;"><span style="color: #0000ff;">NOTE ON SOLUTIONS:</span></span> </strong>There are two methods to solve this. The first requires downgrading the libraries system-wide. This should be fine if you only use the CentOS host as a VMware Server Host and nothing else. However, if you are in doubt whether your other applications, etc. on that host will run on a slightly older version of glibc, please use SOLUTION METHOD 2 as it will only affect VMware, and essentially tell VMware Server where to look for the correct libraries it needs.</p>
<p><em><strong><span style="color: #ff0000;">Disclaimer:</span> </strong></em>I am not responsible for you rendering your server useless. When in doubt, don&#8217;t upgrade to CentOS 5.4&#8230; Although, you probably already did that, and this is why you&#8217;re here.<em><strong><br />
</strong></em></p>
<h2>SOLUTION METHOD 1:</h2>
<p><strong>Step 1:</strong> Go to /etc/yum.repos.d and copy the file CentOS-Base.repo to CentOS53-Base.repo</p>
<p><strong>Step 2:</strong> In <em><span style="text-decoration: underline;">CentOS53-Base.repo</span></em>, rename all the packages to reflect the 5.3 version. So, change:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>base<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>base53<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>updates<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>updates53<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>addons<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>addons53<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>extras<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>extras53<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>centosplus<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>centosplus53<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>contrib<span style="color: #7a0874; font-weight: bold;">&#93;</span> --<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #7a0874; font-weight: bold;">&#91;</span>contrib53<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p><strong>Step 3:</strong> In <em><span style="text-decoration: underline;">CentOS53-Base.repo</span></em>, replace all instances of <strong><em>release=$releasever</em></strong> with <strong><em>release=5.3</em></strong></p>
<p><strong>Step 4:</strong> Now, downgrade the glibc and glibc-common libraries by running the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum downgrade glibc glibc-common</pre></div></div>

<p><strong>Step 5:</strong> To avoid any problems with future upgrades/updates, it would be best to exclude them from the list of available updates on yum. Add the following to your /etc/yum.conf file:</p>
<p style="padding-left: 30px;">
<pre>exclude=glibc glibc-common glibc-devel glibc-headers glibc-utils nscd</pre>
<p><strong>Step 6:</strong> Reboot the server, and now re-run /usr/bin/vmware-config.pl to reconfigure with downgraded glibc libraries.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware-config.pl</pre></div></div>

<p><strong>Step 7:</strong> (Optional) Run the following command to make sure future upgrades/updates will not download the updated glibc* libraries.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum list glibc<span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

<p><span style="color: #0000ff;"><strong>Now,</strong> if you have other applications installed on CentOS, and you don&#8217;t want to worry about any issues with future use of glibc on your server, please follow the next method to manually link VMware hostd process to use the older glibc libraries.</span></p>
<h2>SOLUTION METHOD 2:</h2>
<p>(Make sure you are logged in as root for these steps)</p>
<p><strong>Step 1:</strong> Install the latest 2.0.2 VMware Server package and run the configuration. It will crash, but just ignore this for now.</p>
<p><strong>Step 2:</strong> Run the following command, and make note of the response.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">arch</span></pre></div></div>

<p><strong>Step 3:</strong> Run the following commands, and replace any instance of {ARCH} with the result of Step 2:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>vmwareglibc
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>vmwareglibc
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>mirror.centos.org<span style="color: #000000; font-weight: bold;">/</span>centos<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5.3</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>ARCH<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000; font-weight: bold;">/</span>CentOS<span style="color: #000000; font-weight: bold;">/</span>glibc-<span style="color: #000000;">2.5</span>-34.<span style="color: #7a0874; font-weight: bold;">&#123;</span>ARCH<span style="color: #7a0874; font-weight: bold;">&#125;</span>.rpm
rpm2cpio glibc-<span style="color: #000000;">2.5</span>-34.<span style="color: #7a0874; font-weight: bold;">&#123;</span>ARCH<span style="color: #7a0874; font-weight: bold;">&#125;</span>.rpm <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cpio</span> <span style="color: #660033;">-ivd</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc.so.6
<span style="color: #c20cb9; font-weight: bold;">mv</span> lib64<span style="color: #000000; font-weight: bold;">/</span>libc-2.5.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc.so.6<span style="color: #000000; font-weight: bold;">/</span>libc.so.6</pre></div></div>

<p><strong>Step 4:</strong> Open the VMware <em>hostd</em> process script for editing.</p>
<pre>vim /usr/sbin/vmware-hostd</pre>
<p><strong>Step 5:</strong> At line 372, before the program is called, insert two empty lines and add the following:</p>
<pre>export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH</pre>
<p>Before Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #ff0000;">&quot;@@VMWARE_NO_MALLOC_CHECK@@&quot;</span> = <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
     <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MALLOC_CHECK_</span>=<span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DEBUG_CMD</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$binary</span>&quot;</span> <span style="color: #ff0000;">&quot;$@&quot;</span></pre></div></div>

<p>After Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #ff0000;">&quot;@@VMWARE_NO_MALLOC_CHECK@@&quot;</span> = <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
     <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">MALLOC_CHECK_</span>=<span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LD_LIBRARY_PATH</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc.so.6:<span style="color: #007800;">$LD_LIBRARY_PATH</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DEBUG_CMD</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$binary</span>&quot;</span> <span style="color: #ff0000;">&quot;$@&quot;</span></pre></div></div>

<p><strong><span style="color: #0000ff;">NOTE: </span></strong>In Step 3, the wget command may in the future be this as 5.3 repositories are taken off of the main CentOS Mirrors:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>vault.centos.org<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5.3</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>ARCH<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000; font-weight: bold;">/</span>CentOS<span style="color: #000000; font-weight: bold;">/</span>glibc-<span style="color: #000000;">2.5</span>-34.<span style="color: #7a0874; font-weight: bold;">&#123;</span>ARCH<span style="color: #7a0874; font-weight: bold;">&#125;</span>.rpm</pre></div></div>

<p>Either method you use should get you the desired end result: VMware Server 2 running on CentOS 5.4</p>
<p>Be sure to comment if this helped you. Thanks.</p>
<p><strong><span style="color: #ff6600;">2/11/2010 UPDATE:</span></strong> A bug exists to where if you&#8217;re on the VMware Host server and trying to access the VMware Web Access UI with HTTPS via Firefox you will simply see a blank screen. Instead, use http://&lt;HOST_IP_ADDRESS&gt;:8222/ui</p>
<p><span style="color: #ff6600;"><strong>2/12/2010 UPDATE:</strong></span> Firefox 3.6 does not work with the Remote Console Plugin &#8211; you must use 3.5.7 or earlier, Internet Explorer, or use the VI Client. &#8211; <a href="http://communities.vmware.com/message/1475897#1475897" target="_blank">VMware Communities Thread</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmarkley.com/vmware/vmware-server-2-on-centos-5-4/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>VMware vSphere Client not working on Windows 7</title>
		<link>http://www.davidmarkley.com/vmware/vmware-vsphere-client-not-working-on-windows-7</link>
		<comments>http://www.davidmarkley.com/vmware/vmware-vsphere-client-not-working-on-windows-7#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:54:26 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[clients.xml]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[vsphere]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.davidmarkley.com/?p=68</guid>
		<description><![CDATA[Error parsing the server "SERVER IP" "clients.xml" file]]></description>
			<content:encoded><![CDATA[<h3><strong><span style="color: #ff0000;">UPDATE:</span> vSphere Client supports Windows 7 as of vSphere 4.0 Update 1. If you aren&#8217;t running vSphere 4 Update 1 or later, following the below will allow you to function until you are able to upgrade.</strong></h3>
<p>Well, I finally took the plunge on my workstation and installed Windows 7 Professional 64-bit. I really am impressed with the usability. And, like the improvements that have been made. I have been on the Beta on one of my home machines, so I&#8217;m not entirely new to the Windows 7 look and feel.</p>
<p>My company is heavily into VMware virtualization, management and disaster recovery, and as such I use VMware vSphere\Infrastructure Client all the time. However, I got some strange errors when I tried to log in to one of our vCenter Servers. I realized that the vSphere Client was not supported on Windows 7, and so I started to do some digging. Here is a result of things I&#8217;ve found, and this should help get you going&#8230;</p>
<h2><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong><span style="text-decoration: underline;"><strong>PROBLEM:</strong></span></strong></span></span></h2>
<p><span style="color: #000000;"><strong>Error parsing the server &#8220;SERVER IP&#8221; &#8220;clients.xml&#8221; file</strong></span></p>
<p><span style="color: #000000;"><strong><br />
</strong></span></p>
<p><strong><span style="color: #993300;"> </span></strong></p>
<h2><span style="color: #008000;"><span style="text-decoration: underline;"><strong>SOLUTION:</strong></span></span></h2>
<p><strong><span style="color: #993300;">Note: I&#8217;m running the 64 bit version of Windows 7, so any reference to &#8220;Program Files (x86)&#8221; should be referenced as &#8220;Program Files&#8221; if you are running 32 bit Windows 7.</span></strong></p>
<p><span style="color: #ff0000;"><strong>Step 1.</strong></span> Download the following file: <a href="http://www.davidmarkley.com/uploads/2009/11/system_dll.zip">System.dll</a> (this file is a .zip file)</p>
<p><strong><span style="color: #ff0000;">Step 2.</span></strong> Once downloaded, unzip the file into the directory:</p>
<p style="padding-left: 30px;"><strong>C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib</strong></p>
<p><em>If the &#8220;<strong>Lib</strong>&#8221; directory does not exist, then create it and drop in the DLL file.</em></p>
<p><strong><span style="color: #ff0000;">Step 3.</span></strong> Next, we want to edit the <strong>&#8220;VpxClient.exe.conf&#8221;</strong> file which can be found in the <strong>C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher</strong> directory and add the following three lines just before the end <strong>&lt;/configuration&gt;</strong> tag:</p>
<p style="padding-left: 30px;"><strong>&lt;runtime&gt;</strong><br />
<strong>&lt;developmentMode developerInstallation=&#8221;true&#8221;/&gt;</strong><br />
<strong>&lt;/runtime&gt;</strong></p>
<p><a href="http://www.davidmarkley.com/uploads/2009/11/vpxclient.exe.config.png" rel="lightbox[68]"><img class="aligncenter size-full wp-image-78" title="VpxClient.exe.config" src="http://www.davidmarkley.com/uploads/2009/11/vpxclient.exe.config.png" alt="VpxClient.exe.config" width="462" height="309" /></a></p>
<p><strong><span style="color: #ff0000;">Step 4.</span></strong> Now we have to create a system environment variable for Windows.  Right-click on &#8220;Computer&#8221; and go to &#8220;Properties&#8221;. Now click on the &#8220;Advanced System Settings&#8221; option:</p>
<p style="text-align: center;"><a href="http://www.davidmarkley.com/uploads/2009/10/AdvancedSystemSettings.png" rel="lightbox[68]"><img class="aligncenter size-medium wp-image-79" title="Advanced System Settings" src="http://www.davidmarkley.com/uploads/2009/10/AdvancedSystemSettings-272x300.png" alt="Advanced System Settings" width="272" height="300" /></a></p>
<p>Now, go into the &#8220;System Properties&#8221; box and click the &#8220;Advanced&#8221; tab and then click &#8220;Environment Variables&#8221;</p>
<p style="text-align: center;"><a href="http://www.davidmarkley.com/uploads/2009/10/EnvironmentVariables.png" rel="lightbox[68]"><img class="size-full wp-image-80 aligncenter" title="Environment Variables" src="http://www.davidmarkley.com/uploads/2009/10/EnvironmentVariables.png" alt="Environment Variables" width="341" height="379" /></a></p>
<p>Now create a new <strong>&#8220;System&#8221;</strong> variable called<strong> &#8216;DEVPATH&#8217;</strong> and assign the following variable value:</p>
<p style="text-align: left; padding-left: 30px;"><strong>%ProgramFiles(x86)%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib</strong></p>
<p style="text-align: left;"><em>(again, making note that it would be %ProgramFiles%  instead of %ProgramFiles(x86)% if you are on 32 bit Windows 7)</em><br />
<strong> </strong></p>
<p style="text-align: center;"><a href="http://www.davidmarkley.com/uploads/2009/10/NewEnvVar.png" rel="lightbox[68]"><img class="size-full wp-image-81 aligncenter" title="NewEnvVar" src="http://www.davidmarkley.com/uploads/2009/10/NewEnvVar.png" alt="NewEnvVar" width="567" height="122" /></a></p>
<p><strong><span style="color: #ff0000;">Done!</span></strong> You will probably have to reboot your Windows machine to make sure the DEVPATH variable is loaded. Also, some people may have to &#8220;Run as Administrator&#8221; in order for this workaround to work properly.</p>
<p><span style="text-decoration: underline;">Note</span>: This workaround bypasses the normal .NET Framework loading mechanism so that assembly versions in the DEVPATH folder are no longer checked. Handle with care.</p>
<p>Sources: <a title="ftubio @ VMware Communities" href="http://communities.vmware.com/message/1261343#1261343" target="_blank">ftubio @ VMware Communities</a>, <a href="http://xtravirt.com/running-vmware-vsphere-client-windows-7" target="_blank">Xtravirt</a>, <a href="http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7" target="_blank">TechHead</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmarkley.com/vmware/vmware-vsphere-client-not-working-on-windows-7/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMware Server 2 on Linux Host with Parallel Port Passthrough</title>
		<link>http://www.davidmarkley.com/vmware/vmware-server-2-on-linux-host-with-parallel-port-passthrough</link>
		<comments>http://www.davidmarkley.com/vmware/vmware-server-2-on-linux-host-with-parallel-port-passthrough#comments</comments>
		<pubDate>Fri, 17 Apr 2009 14:52:55 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[parallel port]]></category>

		<guid isPermaLink="false">http://www.davidmarkley.com/?p=31</guid>
		<description><![CDATA[Not being too familiar with linux printing, I blindly assumed that as long as the parallel port worked in the Linux host OS, that parallel port passthrough would work just fine. So, I proceeded to add a virtual parallel port to my Windows VM running on VMware Server 2.0.1 under CentOS 5.3.
I soon realized that [...]]]></description>
			<content:encoded><![CDATA[<p>Not being too familiar with linux printing, I blindly assumed that as long as the parallel port worked in the Linux host OS, that parallel port passthrough would work just fine. So, I proceeded to add a virtual parallel port to my Windows VM running on VMware Server 2.0.1 under CentOS 5.3.</p>
<p>I soon realized that this wasn&#8217;t as easy as it seemed. CentOS printed test pages, etc. just fine from the host using the device /dev/lp0. However, VMware wanted to use the device /dev/parport0 &#8211; actually, I really didn&#8217;t have an option as it was simply a drop-down menu and not a simply text field to enter whichever device I wanted to specify.</p>
<p>I tried manually editing the .vmx file and changing the line:</p>
<pre style="padding-left: 30px;" lang="bash">parallel0.fileName = "/dev/parport0"</pre>
<p>TO</p>
<pre style="padding-left: 30px;" lang="bash">parallel0.fileName = "/dev/lp0"</pre>
<p>No dice&#8230; Even though CentOS worked when trying to print to the device /dev/lp0, it did not seem to work this way with VMware Server. With a little digging, I was able to find a way to make the passthrough work correctly, albeit not 100% smoothly due to what may be a bug with VMware Server.</p>
<p>Here is what I did in order to get the port working:</p>
<p>1. Remove lp module:</p>

<div class="wp-terminal">user@computer:$ rmmod lp<br/></div>

<p>2. Edit the file /etc/modprobe.conf, and beneath the existing &#8216;alias&#8217; lines, add these lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #c20cb9; font-weight: bold;">lp</span> off
<span style="color: #7a0874; font-weight: bold;">alias</span> parport_lowlevel parport_pc</pre></div></div>

<p>3. Make sure no modules are using the parport0 device (output should be &#8216;none&#8217;):</p>

<div class="wp-terminal">user@computer:$ cat /proc/sys/dev/parport/parport0/devices/active<br/></div>

<p>4. Reboot the system and run the above command again to make sure that lp module does not bind to parport0</p>

<div class="wp-terminal">user@computer:$ cat /proc/sys/dev/parport/parport0/devices/active<br/></div>

<p>5. Make sure the lp module is not loaded:</p>

<div class="wp-terminal">user@computer:$ lsmod | grep lp<br/></div>

<p>6. Add the virtual parallel port to the VM while it is powered off, and make sure it&#8217;s set to the hardware device /dev/parport0 and checked to Connect at Power On:</p>
<p>7. Boot VM, and it should auto-detect the LPT1 port inside of Windows:</p>
<p>8. Once Windows is loaded, go back to the host and edit the parallel port settings to disconnect the port, and then reconnect the port.</p>
<p>9. This parallel port passthrough should work until the next reboot of Windows, and then simply complete Step 8 again, and it will be back.</p>
<p>Hope this helps someone else that&#8217;s looking for a solution!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmarkley.com/vmware/vmware-server-2-on-linux-host-with-parallel-port-passthrough/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VMware Training in Raleigh</title>
		<link>http://www.davidmarkley.com/vmware/vmware-training-in-raleigh</link>
		<comments>http://www.davidmarkley.com/vmware/vmware-training-in-raleigh#comments</comments>
		<pubDate>Mon, 19 May 2008 04:20:52 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[flying]]></category>
		<category><![CDATA[Raleigh]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.davidmarkley.com/vmware/vmware-training-in-raleigh</guid>
		<description><![CDATA[Just flew in to Raleigh, NC today for the VMware Fast Track Training this week. I&#8217;m pretty excited to be able to participate in some &#8216;official&#8217; education from VMware, and this will hopefully be a good week with plenty of valuable information to take home. My biggest fear is&#8230;&#8230;that I will have to sit through [...]]]></description>
			<content:encoded><![CDATA[<p>Just flew in to Raleigh, NC today for the VMware Fast Track Training this week. I&#8217;m pretty excited to be able to participate in some &#8216;official&#8217; education from VMware, and this will hopefully be a good week with plenty of valuable information to take home. My biggest fear is&#8230;<span id="more-10"></span>&#8230;that I will have to sit through a training that covers all the basics that I understand already, and not give new insight to solutions and more creative ways of using VMware.</p>
<p>I am really excited about the possibilities with this VMware Infrastructure 3 in most &gt;SMBs. I really understand why so many larger companies have gone with this solution for their infrastructures. Don&#8217;t get me wrong &#8211; I see valuable benefits for the SMB market as well &#8211; just not with VI3 in particular.</p>
<p>That&#8217;s probably my one hangup with VMware &#8211; license fees. Hopefully, with the impending release(flash in the pan) of Microsoft&#8217;s HyperVisor Solution with Windows 2008, VMware will be able to lower the cost of licensing their software or offer comparable packages to entice SMBs to pay for a technology that&#8217;s much more mature and feature-rich than a make-shift way of doing things, IMHO.</p>
<p>I will update here as the week progresses and jot down my thoughts of the sessions.</p>
<p>Time to get some sleep, so that’s it for <a href="http://www.davidmarkley.com/Uncategorized/vmware-training-in-raleigh/">VMware Training in Raleigh</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmarkley.com/vmware/vmware-training-in-raleigh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
