<?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>IT Support Blog &#187; VMWare</title>
	<atom:link href="http://www.aionsolution.com/blog/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aionsolution.com/blog</link>
	<description>[IT Problem Resolved]</description>
	<lastBuildDate>Mon, 12 Dec 2011 10:34:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Cloning VMs on Linux Hosts with VMWare Server 2.0</title>
		<link>http://www.aionsolution.com/blog/ubuntu/cloning-vms-on-linux-hosts-with-vmware-server-20/</link>
		<comments>http://www.aionsolution.com/blog/ubuntu/cloning-vms-on-linux-hosts-with-vmware-server-20/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 15:05:38 +0000</pubDate>
		<dc:creator>aionman</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.aionsolution.com/blog/?p=266</guid>
		<description><![CDATA[think it&#8217;s a MAJOR pain not having a &#8220;clone&#8221; feature in VMWare Server without using Virtual Infrastructure, so I made my own Linux shell scripts to do it. The clone script does a straight clone of a VM. It copies the directory, renames the files and tweaks all the text inside the files by using [...]]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: #333333; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"><span class="Apple-converted-space"> </span>think it&#8217;s a MAJOR pain not having a &#8220;clone&#8221; feature in VMWare Server without using Virtual Infrastructure, so I made my own Linux shell scripts to do it.</span></span></p>
<p>The clone script does a straight clone of a VM. It copies the directory, renames the files and tweaks all the text inside the files by using sed to replace the old name with the new one, then sets all the permissions to what they would be if you created a new VM.</p>
<p>The rename script basically does all but copy it. This is handy for if you tried to rename a directory manually or attempted a manual copy and then found it still shows up under the old name in the web console. Remember this one assumes you have already renamed the directory to the new name and it MUST be the same as what you intend for the new name to be.</p>
<p>Both work the same way&#8230; scriptname &lt;old name&gt; &lt;new name&gt;</p>
<p>You can use quotes around the names if there are spaces, I went to great lengths to make sure it would still work with spaces in names (although I personally hate spaces).</p>
<p>Save the scripts to the base directory where your VM&#8217;s are, &#8220;standard&#8221; location is &#8220;/var/lib/vmware/Virtual Machines&#8221;. Make executable with chmod +x &lt;scriptname&gt;.</p>
<p>Once ran, add the new/renamed VM to the web console and choose &#8220;I copied it&#8221; or &#8220;I moved it&#8221; as appropriate.</p>
<p>These scripts are offered free to everyone to use, modify, or do anything else you want with except take credit for the original version. Absolutely no warranty or guarantee of any kind on the part of anyone that they won&#8217;t hose your VMs or even your whole system.</p>
<p style="line-height: 18px; margin: 0px 0px 18px; padding: 0px 0px 15px;">If I understand correctly how the split disks work, the 3rd file attached (clone-split-disk.sh) should work for those VM&#8217;s. I have not tested it myself and will likely not get a chance anytime soon, so I will rely on feedback from the community for any near-future tweaking. This is really just a change to one line (line 34) in the file &#8211; in the original we exclude the binary .vmdk file from parsing to find-and-replace since this is how single-disk-file versions are saved; in this version we exclude -f???.vmdk where &#8220;?&#8221; is a number between 0-9 (i.e. files like -f001.vmdk, -f002.vmdk, etc) while we parse the .vmdk file since with split disks, the .vmdk is a text file describing the -f???.vmdk binary disk files.<span class="Apple-converted-space"> </span><strong>IF</strong><span class="Apple-converted-space"> </span>you use a combination of split disks and single-file disks, probably neither one of these will work &#8211; maybe in a future version I will be able to merge the two scripts and add logic to tell the disk types apart.</p>
<p style="line-height: 18px; margin: 0px 0px 18px; padding: 0px 0px 15px;"><a href="http://www.aionsolution.com/blog/wp-content/uploads/2010/04/change_name.sh"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family:  Arial; font-style: normal; font-variant: normal; font-weight: normal;  letter-spacing: normal; line-height: normal; orphans: 2; text-indent:  0px; text-transform: none; white-space: normal; widows: 2; word-spacing:  0px; font-size: medium;"><span class="Apple-style-span" style="color: #333333; font-family:  Arial,Helvetica,sans-serif; font-size: 12px;"></span></span></a><a href="http://www.aionsolution.com/blog/wp-content/uploads/2010/04/clone_vm.sh"><a href="http://www.aionsolution.com/blog/wp-content/uploads/2010/04/clone_vm.sh">clone_vm</a><br />
</a><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family:  Arial; font-style: normal; font-variant: normal; font-weight: normal;  letter-spacing: normal; line-height: normal; orphans: 2; text-indent:  0px; text-transform: none; white-space: normal; widows: 2; word-spacing:  0px; font-size: medium;"><span class="Apple-style-span" style="color: #333333; font-family:  Arial,Helvetica,sans-serif; font-size: 12px;"><span class="Apple-converted-space"><a href="http://www.aionsolution.com/blog/wp-content/uploads/2010/04/change_name.sh">change_name</a><br />
<a href="http://www.aionsolution.com/blog/wp-content/uploads/2010/04/clone-split-disk.sh">clone-split-disk</a><br />
</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aionsolution.com/blog/ubuntu/cloning-vms-on-linux-hosts-with-vmware-server-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare &#8211; Guest cannot browse Internet</title>
		<link>http://www.aionsolution.com/blog/linux/vmware-guest-cannot-browse-internet/</link>
		<comments>http://www.aionsolution.com/blog/linux/vmware-guest-cannot-browse-internet/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 01:13:16 +0000</pubDate>
		<dc:creator>aionman</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.aionsolution.com/blog/?p=261</guid>
		<description><![CDATA[I think I figured it out. It isn&#8217;t related to SLlinux, nor to port 443, nor to VMWare and the FC5 port directly, but a combination of the Fedora port and VMware settings. It is related to the MTU setting consistancy between the virtual machine, FC5 and the site in question. For some reason the [...]]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: #333333; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">I think I figured it out. It isn&#8217;t related to SLlinux, nor to port 443, nor to VMWare and the FC5 port directly, but a combination of the Fedora port and VMware settings. It is related to the MTU setting consistancy between the virtual machine, FC5 and the site in question. For some reason the FC5 was set to 1492 and not 1500 as set under FC3. For this reason some of the HTTPS sites, I assume, require 1500 mtu. All I did was set Fedora&#8217;s eth0&#8242;s MTU setting to 1500 (ip link set eth0 mtu 1500) and it works fine. Weird. I could be wrong, but I think that was the problem. At least now it works. I got this hint from the guys at Fidelity. They thought it was unrelated, but apparently it is.</span></span></p>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Arial; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: Tahoma,Arial,Helvetica; font-size: 12px; line-height: 20px; text-align: justify;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-decoration: underline;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;">M</strong></span>aximum<span class="Apple-converted-space"> </span><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-decoration: underline;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;">T</strong></span>ransmission<span class="Apple-converted-space"> </span><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-decoration: underline;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;">U</strong></span>nit(MTU), the largest physical packet size, measured in bytes, that a network can transmit. Any messages larger than the MTU are divided into smaller packets before being sent.By optimizing the MTU setting you can gain substantial network<span class="Apple-converted-space"> </span><a class="iAs" style="margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px ! important; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent ! important; text-decoration: none ! important; color: #00008b ! important; float: none; left: auto; right: auto; top: auto; bottom: auto; border-top-style: none; border-right-style: none; border-bottom-style: none ! important; border-left-style: none; line-height: normal; text-align: left; position: static ! important; display: inline; font-weight: bold ! important; cursor: pointer ! important;" href="#" target="_blank">performance<img style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; max-width: 90%; display: inline ! important; height: 10px; width: 10px; position: relative; top: 1px; left: 1px; float: none;" src="http://images.intellitxt.com/ast/adTypes/mag-glass_10x10.gif" alt="" /></a><span class="Apple-converted-space"> </span>increases, especially when using dial-up modem connections.</p>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-indent: 20px;">
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-indent: 20px;">Default MTU Size for Different Network Topology</p>
<table style="margin: 0px 0px 14px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; border-collapse: collapse; width: 283px; height: 160px;" border="1" align="center">
<tbody style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">Network</span></strong></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">MTU(Bytes)</span></strong></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">16 Mbit/Sec Token Ring</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">17914</span></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">4 Mbits/Sec Token Ring</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">4464</span></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">FDDI</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">4352</span></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">Ethernet</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">1500</span></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">IEEE 802.3/802.2</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">1492</span></td>
</tr>
<tr style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">X.25</span></td>
<td style="margin: 0px; padding: 4px 10px 4px 5px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: x-small; vertical-align: baseline; background-color: transparent;">576</span></td>
</tr>
</tbody>
</table>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">To change the MTU of an interface on GNU/Linux, you just need to use ifconfig command to do so, like this for example</p>
<blockquote style="margin: 0px; padding: 10px 20px; border: 1px dashed #666666; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; quotes: none;">
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">sudo ifconfig eth0 mtu 1492</p>
</blockquote>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">To change it permanently on Debian, put it in the /etc/network/interfaces file .where almost all network parameters are found. To do this, just add a line mtu to the definition of your interface and save the file.</p>
<blockquote style="margin: 0px; padding: 10px 20px; border: 1px dashed #666666; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; quotes: none;">
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;">sudo gedit /etc/network/interfaces</p>
</blockquote>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;">Example</strong></p>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-indent: 20px;">iface eth0 inet static<br />
address 192.168.0.1<br />
network 192.168.0.0<br />
gateway 192.168.0.254<br />
netmask 255.255.255.0<br />
mtu 1492</p>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-indent: 20px;"><strong style="margin: 0px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; font-weight: 600;">Daiup Users</strong></p>
<p style="margin: 0px 0px 10px; padding: 0px; border-width: 0px; outline-width: 0px; font-size: 12px; vertical-align: baseline; background-color: transparent; text-indent: 20px;">For dialup users: the Maximum Transmission Unit (MTU) value can be changed within the file<br />
/etc/ppp/options</p>
<p></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aionsolution.com/blog/linux/vmware-guest-cannot-browse-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

