<?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>Networknet.nl Blog &#187; ESX</title>
	<atom:link href="http://www.networknet.nl/apps/wp/archives/category/vmware/esx-vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://www.networknet.nl/apps/wp</link>
	<description>Stay Connected</description>
	<lastBuildDate>Mon, 05 Jul 2010 17:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMWare ESX: static MAC address</title>
		<link>http://www.networknet.nl/apps/wp/archives/787</link>
		<comments>http://www.networknet.nl/apps/wp/archives/787#comments</comments>
		<pubDate>Tue, 21 Apr 2009 15:14:26 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[static]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/?p=787</guid>
		<description><![CDATA[Last week I planned to migrate some virtual machines running on a Windows host with VMWare Server 1.x version to VMWare ESX 3.5i host. One of the vm&#8217;s is running as license server and the key is registered by using the MAC of the network interface. I had the prerequisite of keeping the MAC address [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm4.static.flickr.com/3031/3008011349_171bc99e5f_t.jpg" alt="VMWare-ESX-Logo" />Last week I planned to migrate some virtual machines running on a Windows host with VMWare Server 1.x version to VMWare ESX 3.5i host. One of the vm&#8217;s is running as license server and the key is registered by using the MAC of the network interface.</p>
<p>I had the prerequisite of keeping the MAC address of this VM. I first read this post I found with google. <a href="http://zealkabi.blogspot.com/2008/09/vmware-esx-server-3x-procedure-to-set.html">http://zealkabi.blogspot.com/2008/09/vmware-esx-server-3x-procedure-to-set.html</a></p>
<p>I first tried it manually but got the famous error message &#8220;The MAC address entered is not in the valid range. Valid values are between xx:xx:xx:xx:xx&#8221;</p>
<p> <img src="http://farm4.static.flickr.com/3561/3463018452_f3526cffda.jpg" alt="VMWare ESX Virtual Machine Properties" /></p>
<p> Then I removed the vm from ESX inventory; download the vmx file and changed the ethernet0.addressType to static and ethernet0.Address = &#8220;01:0C:29:B0:27:E1&#8243; with Notepad++.I deleted original file from the Datastore and upload the vmx file back. I started the vm again and got the message below:</p>
<blockquote><p>Please specify a static Ethernet address for ethernet0. Failed to configure ethernet0</p>
<p><img src="http://farm4.static.flickr.com/3637/3463022194_2ac5cd32cf_o.jpg" alt="VMWare ESX Error message static MAC" /></p></blockquote>
<p>Without additional setting in the vmx config file you won&#8217;t be able to assign a static MAC address in the range your require. To disable mac address checking before boot add the following line in the vmx file.</p>
<blockquote><p> ethernetX.checkMACAddress = &#8220;false&#8221;</p></blockquote>
<p>Thanks to Jason Nash I fixed this problem.<br />
<a href="http://jasonnash.wordpress.com/2008/08/30/disabling-mac-address-checking-in-vmware/">http://jasonnash.wordpress.com/2008/08/30/disabling-mac-address-checking-in-vmware/</a></p>
<p>My working config changes:</p>
<blockquote><p>ethernet0.checkMACAddress = &#8220;false&#8221;</p>
<p>ethernet0.addressType = &#8220;static&#8221;</p>
<p>ethernet0.Address = &#8220;00:0C:29:B0:27:E1&#8243;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/787/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>VMWare ESX: Hyper-V and memory overcommit? forget it!</title>
		<link>http://www.networknet.nl/apps/wp/archives/663</link>
		<comments>http://www.networknet.nl/apps/wp/archives/663#comments</comments>
		<pubDate>Thu, 18 Dec 2008 13:23:15 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[no support]]></category>
		<category><![CDATA[overcommit]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/?p=663</guid>
		<description><![CDATA[Hyper-V Manager error when trying to start my 4th virtual machine: An error occurred while attempting to change the state of virtual machine. Unable to allocate MB of RAM. Insufficient system resources exist to complete the requested service. etc&#8230;   Before I reinstall my test Dell PowerEdge 2900 Quad core server I wanted to share [...]]]></description>
			<content:encoded><![CDATA[<p>Hyper-V Manager error when trying to start my 4th virtual machine:</p>
<p><a class="flickr-image" title="Hyper-V Memory" href="http://www.flickr.com/photos/7797777@N07/3117433719/"></a><a class="flickr-image" title="Hyper-V Memory" href="http://www.flickr.com/photos/7797777@N07/3117433719/"></a></p>
<ul>
<li>An error occurred while attempting to change the state of virtual machine. Unable to allocate MB of RAM. Insufficient system resources exist to complete the requested service. etc&#8230;</li>
</ul>
<p> <img class="alignnone" src="http://farm4.static.flickr.com/3288/3117433719_2d4113bac0.jpg" alt="Hyper-V Memory" width="459" height="381" /></p>
<div>Before I reinstall my test Dell PowerEdge 2900 Quad core server I wanted to share this with you. Hyper-V does not support memory overcommitment and I don&#8217;t like that. The virtual host has 8GB or RAM and I want to run more VMs than just 6 of those; the OS uses almost 1GB and less than 7GB is available for VMs.</div>
<div>Some weeks ago I read about  memory overcommitment feature which is available for VMWare&#8217;s ESX/ESXi servers.</div>
<div>
<blockquote><p><strong>What is Memory Overcommitment?</strong></p>
<p>Memory overcommitment is not a feature in itself, but a collection of technologies out of which “transparent page sharing” is the most interesting in my opinion. The usefulness of transparent page sharing will spring to mind immediately if you consider VDI environments. There, host machines typically run large numbers of identical client operating systems with the same applications installed on them. Since all the clients/guests run the same application set, most of the code pages they need to keep in memory are identical. Each guest keeps separate copies of all system and application EXEs and DLLs in memory &#8211; what a waste!</p>
<p>Now consider the following: in memory program code is organized in units of pages. If you had a component that identified all those identical pages in each guest’s virtual memory and map them to one set of pages in the host’s physical memory, you could reduce the code memory footprint of <em>n</em> virtual machines to that of one single virtual machine. And that is in a nutshell what VMware’s “transparent page sharing” does.</p></blockquote>
</div>
<div>I only want to run different VMs of Windows Server 2003 or Windows Server 2008 and install additional components to test them with each other. With Hyper-V server I can only commit the physical memory available and additional VMs.<br />
 </div>
<div>Related links:</div>
<div>
<ul>
<li><a title="Permanent Link to &quot;VMware vs. Microsoft: Why Memory Overcommitment is Useful in Production and Why Microsoft Denies it&quot;" rel="bookmark" href="http://blogs.sepago.de/helge/2008/09/25/vmware-vs-microsoft-why-memory-overcommitment-is-useful-in-production-and-why-microsoft-denies-it/">VMware vs. Microsoft: Why Memory Overcommitment is Useful in Production and Why Microsoft Denies it</a></li>
<li><a title="Memory Overcommitment in Real World - VMTN blog" href="http://blogs.vmware.com/vmtn/2008/03/memory-overcomm.html">http://blogs.vmware.com/vmtn/2008/03/memory-overcomm.html</a></li>
<li><a href="http://blogs.vmware.com/virtualreality/2008/03/more-on-vmware.html">http://blogs.vmware.com/virtualreality/2008/03/more-on-vmware.html </a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/663/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX: Extend Windows Server 2008 Basic volume hard disk</title>
		<link>http://www.networknet.nl/apps/wp/archives/475</link>
		<comments>http://www.networknet.nl/apps/wp/archives/475#comments</comments>
		<pubDate>Tue, 30 Sep 2008 15:29:02 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[volume]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/475</guid>
		<description><![CDATA[Last week I run into free disk space problem on my Windows Server 2003 virtual machine and today on another virtual machine running Windows Server 2008 I encountered same thing again. The virtual disk was sized for 10GB and only 80MB was free. The virtual machine is running Windows Server 2008 and Microsoft enhanced the [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I run into free disk space problem on my Windows Server 2003 virtual machine and today on another virtual machine running Windows Server 2008 I encountered same thing again. The virtual disk was sized for 10GB and only 80MB was free.</p>
<p>The virtual machine is running Windows Server 2008 and Microsoft enhanced the feature for extending basic disk volumes on the fly. In my previous post I needed to add the virtual disk to another server; assign a drive letter and than run the extend option in diskpart. Within VI client extend the &quot;Hard Disk&quot; in the properties of the virtual machine to desired and planned size <img src='http://www.networknet.nl/apps/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  and goto Computer Management / Storage / Disk Management, right-click and Refresh.</p>
<p>&#160;</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXExtendWindowsServer2008Basicvol_F5FF/20080930_121633.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="379" alt="2008-09-30_121633" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXExtendWindowsServer2008Basicvol_F5FF/20080930_121633_thumb.png" width="504" border="0" /></a> </p>
<p>The additional defined disk space will be shown as &quot;Unallocated&quot;. Right-click on the C:\ volume and choose &quot;Extend Volume&quot;. Follow the wizard and within seconds the basic volume has been extended. Thanks to VMWare ESX and Microsoft Server 2008 our lives as System Engineers is becoming easier. </p>
<p>As lesson learned size your virtual environment appropriate and especially the Hard Disk configuration.</p>
<p>&#160;</p>
<p>Related links:</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc771473.aspx" target="_blank">Technet &#8211; Extend a Basic Volume</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/475/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare ESX: Virtual Hard Disk FULL</title>
		<link>http://www.networknet.nl/apps/wp/archives/474</link>
		<comments>http://www.networknet.nl/apps/wp/archives/474#comments</comments>
		<pubDate>Sun, 28 Sep 2008 18:58:51 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[disk full]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/474</guid>
		<description><![CDATA[I am working to prepare my virtual machine to move it from test network to production. Before bringing this virtual machine to production I wanted to run the latest updates and during the process my virtual hard disk went full ;-(. I sized the vm with 6GB of disk space and yes I run into [...]]]></description>
			<content:encoded><![CDATA[<p>I am working to prepare my virtual machine to move it from test network to production. Before bringing this virtual machine to production I wanted to run the latest updates and during the process my virtual hard disk went full ;-(. I sized the vm with 6GB of disk space and yes I run into disk space problem. </p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_thumb.png" border="0" alt="image" width="504" height="163" /></a></p>
<p>VMWare ESX allows you to extend the virtual disk size on a running virtual machine. How to extend the virtual disk size? Right click the virtual machine in the VI cleint; choose settings and go to &#8220;Hard Disk 1&#8243; and type new disk size. Click OK.</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_thumb_3.png" border="0" alt="image" width="504" height="214" /></a></p>
<p>Example of my new  Disk Configuration in &#8220;Disk Management&#8221;. To extend the virtual disk we need to go to diskpart and extent the volume.</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_thumb_4.png" border="0" alt="image" width="504" height="258" /></a> </p>
<p>I opened command prompt and opened diskpart; selected the volume and run extend.</p>
<blockquote><p>The volume you selected may not be extended.<br />
Please select another volume and try again.</p></blockquote>
<p>My virtual hard disk was full and I was not able to extend my basic disk with the additional 2GB I added to this configuration.</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_5.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_thumb_5.png" border="0" alt="image" width="504" height="250" /></a></p>
<p>Thanks to <a href="http://blogs.conchango.com/kalpeshprajapati/default.aspx">Kalpesh Prajapati</a> post I was able to find a solution to my problem.</p>
<p>Follow these steps to extend your virtual machine basic hard disk:</p>
<ul>
<li>Shutdown the virtual machine</li>
<li>Extend the virtual disk size</li>
<li>Add the harddisk to another virtual machine and start it up (second virtual machine)</li>
<li>Open command prompt and start diskpart.exe</li>
<li>list volumes and select the volume with the disk problem</li>
<li>extend the disk</li>
</ul>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_6.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXVirtualHardDiskFULL_1352A/image_thumb_6.png" border="0" alt="image" width="504" height="221" /></a></p>
<p>Make sure the volume has a drive letter assigned otherwise same warning will be returned. Virtual machine was started again without any problems and two additional gigs of disk space.</p>
<p>Links:</p>
<ul>
<li>Arne Fokkema posted another way how to perfom these actions on a basic disk. It should be easier if you download the additional ExtPart.exe tool from Dell. <a href="http://ictfreak.wordpress.com/2008/10/10/vmware-extend-the-os-disk-the-easy-way-extpartexe/" target="_blank">Extend the OS disk the easy way (ExtPart.exe)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/474/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare ESX: Service Console IP address</title>
		<link>http://www.networknet.nl/apps/wp/archives/473</link>
		<comments>http://www.networknet.nl/apps/wp/archives/473#comments</comments>
		<pubDate>Fri, 12 Sep 2008 19:33:51 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[assignment]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[service console]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/473</guid>
		<description><![CDATA[There are couple command line tools that VMWare ESX offers when the server has been installed with the &#8220;Service Console&#8221; mode (without i). In the following example I will explain and show how to create new vSwitch; link a physical network interface and assign a IP address for your &#8220;Service Console&#8221; management interface. [root@LAB-ESX-01 root]# [...]]]></description>
			<content:encoded><![CDATA[<p>There are couple command line tools that VMWare ESX offers when the server has been installed with the &#8220;Service Console&#8221; mode (without i). In the following example I will explain and show how to create new vSwitch; link a physical network interface and assign a IP address for your &#8220;Service Console&#8221; management interface.</p>
<p>[root@LAB-ESX-01 root]# esxcfg-vswitch -a vSwitch0 &#8211;&gt; This will create new virtual switch</p>
<p>[root@LAB-ESX-01 root]# esxcfg-vswitch -L vmnic0 vSwitch0 &#8211;&gt; This will link my first physical network interface to vSwitch0</p>
<p>Result of the two commands:</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXServiceconsoleIPaddress_CB81/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXServiceconsoleIPaddress_CB81/image_thumb.png" border="0" alt="image" width="431" height="113" /></a></p>
<p>As you can see vmnic0 with 1000Mbps has been associated with vSwitch0. Now I would like to have a &#8220;Service Console&#8221; port group sitting on this virtual switch.</p>
<p>[root@LAB-ESX-01 root]# esxcfg-vswitch -A Service\ Console vSwitch0 &#8211;&gt; This will create new port group named Service Console. Creating new port group on a virtual switch is nothing more than assigning or defining a interface on a switch. Now I would like to assign a L3 IP address on this interface/portgroup.</p>
<p>[root@LAB-ESX-01 root]# esxcfg-vswif -a vswif2 -p &#8220;Service Console&#8221; -i 192.168.1.2 -n 255.255.255.0 -b 192.168.1.255 &#8211;&gt; This will create new L3 interface which is linked to the Service Console port group with an static IP address. ESX server will generate new L2 mac address and assign this to the vswif2 interface.</p>
<p>[2008-09-12 13:22:21 'Vnic' warning] Generated New MAC address, 00:50:56:40:49:f4 for vswif2</p>
<p>Target result:</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXServiceconsoleIPaddress_CB81/image_3.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESXServiceconsoleIPaddress_CB81/image_thumb_3.png" border="0" alt="image" width="432" height="105" /></a></p>
<p>Just using two built-in esx configuration command line tools I was able to create and assign new service console ip address on a special physical management network interface.</p>
<p>Summary:</p>
<ul>
<li>esxcfg-vswitch -a switch_name</li>
<li>esxcfg-vswitch -L physical_nic switch_name</li>
<li>esxcfg-vswitch -A Service\ Console switch_name</li>
<li>esxcfg-vswif -a vswif2 -p &#8220;Service Console&#8221; -i 192.168.1.2 -n 255.255.255.0 -b 192.168.1.255</li>
</ul>
<p>Related links:</p>
<ul>
<li><a href="http://b2v.eu/b2vguide2vmware3.htm" target="_blank">B2V Guide to VMware ESX Server 3</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/473/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VMware ESX: SSH remote management</title>
		<link>http://www.networknet.nl/apps/wp/archives/472</link>
		<comments>http://www.networknet.nl/apps/wp/archives/472#comments</comments>
		<pubDate>Fri, 12 Sep 2008 17:56:05 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[managment]]></category>
		<category><![CDATA[service console]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/472</guid>
		<description><![CDATA[After installing VMWare ESX 3.5 hypervisor host server I would like to manage this system with SSH remotely. Server is manufactured by Dell and the DRAC mgmt card interface is available but I prefer to use SSH. SSH is enabled by default but disallows access for root. See my work log and screenshots how to [...]]]></description>
			<content:encoded><![CDATA[<p>After installing VMWare ESX 3.5 hypervisor host server I would like to manage this system with SSH remotely. Server is manufactured by Dell and the DRAC mgmt card interface is available but I prefer to use SSH. SSH is enabled by default but disallows access for root.</p>
<p>See my work log and screenshots how to enable this feature:</p>
<ul>
<li>Login with root from the console</li>
<li>Change directory with &#8220;cd /etc/ssh&#8221;</li>
<li>Open sshd_config with &#8220;vi sshd_config&#8221;</li>
</ul>
<blockquote><p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_thumb.png" border="0" alt="image" width="244" height="47" /></a></p></blockquote>
<ul>
<li>Locate Authentication section and change &#8220;PermitRootLogin no&#8221; to &#8220;PermitRootLogin yes&#8221;; for going into edit mode type i; press ESC to exit</li>
</ul>
<blockquote><p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_3.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_thumb_3.png" border="0" alt="image" width="244" height="56" /></a></p></blockquote>
<ul>
<li>Type &#8220;:wq!&#8221; to save and exit the file</li>
<li>Restart the SSH deamon with &#8220;service sshd restart&#8221;</li>
</ul>
<blockquote><p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_4.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_thumb_4.png" border="0" alt="image" width="244" height="30" /></a></p></blockquote>
<ul>
<li>Start putty.exe or any of you favorite SSH remote management tools to connect to your ESX 3.5 server.</li>
</ul>
<blockquote><p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_5.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_thumb_5.png" border="0" alt="image" width="244" height="93" /></a></p></blockquote>
<p>This procedure also applies to version 3.x. With this procedure I achieved to manage my ESX server remotely so I don&#8217;t need to use my remote management access card. SSH daemon also support secure file copy protocol which can be used to connect with WinSCP and download or upload any file/virtual machine to your VMFS file system.</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_6.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMwareESX3.5SSHremotemanagement_B71B/image_thumb_6.png" border="0" alt="image" width="435" height="270" /></a></p>
<p>Please be aware of any security implications! I enabled this kind of access because the management interface is sitting in a different VLAN than the vSwitch networks within virtual machine which are trunked amongst different networks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/472/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX3i: FREE</title>
		<link>http://www.networknet.nl/apps/wp/archives/466</link>
		<comments>http://www.networknet.nl/apps/wp/archives/466#comments</comments>
		<pubDate>Wed, 13 Aug 2008 19:07:31 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[3.5]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[i]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/466</guid>
		<description><![CDATA[Who could ever believe and see VMWare releasing their ESX for free. Last night I read small post on my Windows Mobile device. What is VMware ESXi 3.5? VMware ESXi 3.5 is the industry’s first, thin hypervisor integrated into server hardware. With its next-generation architecture embedded in hardware, VMware ESXi enables a plug-and-play data center [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWareESX3iFREE_12564/image.png" border="0" alt="ESX3i" width="41" height="29" align="left" /> Who could ever believe and see VMWare releasing their ESX for free. Last night I read small post on my Windows Mobile device.</p>
<p><strong>What is VMware ESXi 3.5?</strong><br />
VMware ESXi 3.5 is the industry’s first, thin hypervisor integrated into server hardware. With its next-generation architecture embedded in hardware, VMware ESXi enables a plug-and-play data center with greater security, reliability and manageability. Requiring no installation and minimal configuration, VMware ESXi accelerates server deployment—IT organizations can take servers from boot-up to running production applications in virtual<br />
machines in minutes.</p>
<p>List of features is amazing and now we all get them for free. Check the full list <a href="http://www.vmware.com/products/esxi/features.html" target="_blank">here</a>, but these are which I like:</p>
<ul>
<li>Bare-metal architecture</li>
<li>Small Footprint with only 32MB</li>
<li>Virtualization for storage and support for iSCSI</li>
<li>VLAN tagging support</li>
<li>Wake-on LAN</li>
<li>64bit support</li>
</ul>
<p>Basically all features I missed with VMWare Server and now getting them for free with ESX3i version.</p>
<p><strong>Why is VMware making ESXi free? </strong>VMware is making its standalone ESXi hypervisor available at no cost in order to help companies of all sizes experience the benefits of virtualization. Customers have shown tremendous interest in ESXi due to its innovative architecture, simple setup, and high performance. Allowing IT administrators to obtain VMware ESXi for free enables everyone to gain access to VMware&#8217;s datacenter technology and prove its value in their own companies.</p>
<p>I have nothing more to add than just go download the <a href="http://www.vmware.com/files/pdf/esx_server3i_datasheet.pdf">VMware ESXi data sheet</a> for more information and <a href="http://www.vmware.com/download/esxi/getesxi.html">get a free copy of VMware ESXi</a> and try it for yourself. I am running couple of production host servers with VMWare Server  and will upgrade them very soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/466/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESX: esxcfg-vswitch and special vlan switch</title>
		<link>http://www.networknet.nl/apps/wp/archives/452</link>
		<comments>http://www.networknet.nl/apps/wp/archives/452#comments</comments>
		<pubDate>Thu, 12 Jun 2008 14:56:36 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/452</guid>
		<description><![CDATA[If you need to create 5 or more of Virtual Port groups on a vSwtich and you don&#8217;t want to use the VI client than logon on the service console and run the commands below. For creating a new Virtual Port Group use: esxcfg-vswitch -A NAME-TO-GIVE vSwitch0 Assigning a special VLAN to this a Virtual [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to create 5 or more of Virtual Port groups on a vSwtich and you don&#8217;t want to use the VI client than logon on the service console and run the commands below.</p>
<p>For creating a new Virtual Port Group use:</p>
<div class="terminal">esxcfg-vswitch -A NAME-TO-GIVE vSwitch0</div>
<p>Assigning a special VLAN to this a Virtual Port Group:</p>
<div class="terminal">esxcfg-vswitch -v VLANID -p PORTGROUP vSwitch0</div>
<p>With these two simple commands I was able to push my sh script and create same &#8220;Networking&#8221; configuration on dozen of my ESX servers.</p>
<div class="terminal">[root@ESX-02 root]# esxcfg-vswitch -A VLAN282 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN283 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN284 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN285 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN299 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN220 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 282 -p VLAN282 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 283 -p VLAN283 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 284 -p VLAN284 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 285 -p VLAN285 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 299 -p VLAN299 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 220 -p VLAN220 vSwitch0</div>
<p> 
<p>esxcfg-vswitch [options] [vswitch[:ports]]</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-a|&#8211;add<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Add a new virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-d|&#8211;delete<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Delete the virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-l|&#8211;list<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>List all the virtual switches.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-L|&#8211;link=pnic<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set pnic as an uplink for the vswitch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-U|&#8211;unlink=pnic<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Remove pnic from the uplinks for the vswitch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-M|&#8211;add-pg-uplink<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Add an uplink to the list of uplinks for a portgroup</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-N|&#8211;del-pg-uplink<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Delete an uplink from the list of uplinks for a portgroup</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: yellow; mso-highlight: yellow">-p|&#8211;pg=portgroup<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>Specify a portgroup for operation</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Use ALL to set VLAN IDs on all portgroups</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: yellow; mso-highlight: yellow">-v|&#8211;vlan=id<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set vlan id for portgroup specified by -p</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>0 would disable the vlan</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-c|&#8211;check<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Check to see if a virtual switch exists.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Program outputs a 1 if it exists, 0 otherwise.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: lime; mso-highlight: lime">-A|&#8211;add-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Add a new portgroup to the virtual switch.</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-D|&#8211;del-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Delete the portgroup from the virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-C|&#8211;check-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Check to see if a portgroup exists.<span style="mso-spacerun: yes">&nbsp; </span>Program</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>outputs a 1 if it exists, 0 otherwise.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-B|&#8211;set-cdp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set the CDP status for a given virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>To set pass one of &#8220;down&#8221;, &#8220;listen&#8221;, &#8220;advertise&#8221;, &#8220;both&#8221;.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-b|&#8211;get-cdp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Print the current CDP setting for this switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-m|&#8211;mtu=MTU<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set MTU for the vswitch. </p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-r|&#8211;restore<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Restore all virtual switches from the configuration file</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>(FOR INTERNAL USE ONLY).</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-h|&#8211;help<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Show this message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/452/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare Premium Support and Linux Live-CD</title>
		<link>http://www.networknet.nl/apps/wp/archives/446</link>
		<comments>http://www.networknet.nl/apps/wp/archives/446#comments</comments>
		<pubDate>Thu, 29 May 2008 19:17:19 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[logfiles]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/446</guid>
		<description><![CDATA[Last two days I worked with a VMWare Premium Support engineer troubleshooting my VMWare ESX problem for booting the system. I will post another post with exact error messages, but we were not able to get into the service console nor did the other two boot options work. At some&#160; point he asked me did [...]]]></description>
			<content:encoded><![CDATA[<p>Last two days I worked with a VMWare Premium Support engineer troubleshooting my VMWare ESX problem for booting the system. I will post another post with exact error messages, but we were not able to get into the service console nor did the other two boot options work. At some&#160; point he asked me did I have a Linux Live-CD? I was think ooh Yeah going back to old school and grabbed my case and found a BackTrack2 cd from two years ago.</p>
<p>After the reboot&#160; and boot into BackTrack we went trough couple of system settings and logs and he asked hey can you forward me the esxcfg-boot.log to me&#160; by email&#8230;. I was using the DRAC console and copy and paste is not going to work ;-(.&#160; Guys from past remember the real tricks when we did those back than with IIS <img src='http://www.networknet.nl/apps/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  and within couple minutes I was able to get the orginal file to one of my tftpd daemon on the network.</p>
<p><a href="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWarePremiumSupportandLinuxLiveCD_BE51/image.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="375" alt="image" src="http://www.networknet.nl/apps/wp/wp-content/uploads/VMWarePremiumSupportandLinuxLiveCD_BE51/image_thumb.png" width="500" border="0" /></a> </p>
<p>How did I get the log files?</p>
<ul>
<li>
<ul>
<li>Download, burn the iso and boot from CD-rom </li>
<li>Login with root/toor </li>
<li>I prefer the GUI and start KDE by running startx </li>
<li>Open Console session </li>
<li>ifconfig eth0 up </li>
<li>dhcpcd eth0 </li>
<li>check you ip address with ifconfig eth0 </li>
<li>now run tftp </li>
<li>open ip address </li>
<li>put esxcfg-boot.log or any other. </li>
</ul>
</li>
</ul>
<p>That&#8217;s all. For more information and download go to <a title="http://www.remote-exploit.org/" href="http://www.remote-exploit.org/">http://www.remote-exploit.org/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/446/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
