<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-24199384</id><updated>2011-04-21T17:38:07.251-07:00</updated><title type='text'>Happytech - ESX</title><subtitle type='html'>VMWare's virtualization technology has come a long way. And their ESX product has got to be the hottest technology out today. So for those of you who have adopted ESX, I dedicate this blog to you. I'll post some cool info, how-to, common tasks, etc. Since I haven't tested 3.0 yet, the focus for now will be 2.5.1

Visit my site @ http://www.happytech.net</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24199384.post-115246791382055247</id><published>2006-07-09T10:52:00.000-07:00</published><updated>2006-07-09T10:58:33.823-07:00</updated><title type='text'>Changing ESX Hostname and IP</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;My company had some new techs that came in once and built three ESX servers at three sites. Though we informed them of our naming conventions, one site had a server named improperly and another site was setup in a lab rather than the DC.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;So we were faced with re-configuring the IP on one ESX server, and changing the hostname on another. I thought it would be good for some of the newbies to know how to do this.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;strong&gt;Change ESX Hostname&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;To change the host name of a machine running ESX Server, modify the following files:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;/etc/hosts/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;etc/sysconfig/network/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;usr/lib/vmware-mui/apache/conf/httpd.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Then you will have to restart the ESX Server or the appache service itself, and the network service.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;strong&gt;Change ESX IP Host&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;The IP-address is stored in;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;If your network changed and you have a new default getway, you also need to change this file:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;/etc/sysconfig/network&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;After editing the files you can activate the changes by restarting the network with this command:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;/etc/init.d/network restart&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246791382055247?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246791382055247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246791382055247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246791382055247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246791382055247'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/changing-esx-hostname-and-ip.html' title='Changing ESX Hostname and IP'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246743623977546</id><published>2006-07-09T10:47:00.000-07:00</published><updated>2006-07-09T10:50:36.240-07:00</updated><title type='text'>CD Change Fails on Disk 2...</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;This one was submitted by a colleague of mine;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Topic:&lt;/strong&gt; CD Change Fails on Disk 2 During Installation of Red Hat Linux 9.0, Red Hat Enterprise Linux 2.1 or Red Hat Enterprise Linux 3&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Question:&lt;/strong&gt; I am trying to install Red Hat Linux 9.0, 2.1 or Red Hat Enterprise Linux 2.1 or Red Hat Enterprise Linux 3 as a guest operating system on a Windows host system. After I insert the second installation CD, I get an error message saying a package cannot be opened. The message says the CD media may be corrupt, but I know I have a good CD.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt; The Red Hat installer may fail to read the second installation CD correctly if the CD drive in your virtual machine is set up using the defaults. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;The specific failure message depends on the set of packages you choose to install. In many cases, the first package the installer tries to read from the second CD is the XPDF package, so the error message reports a problem with xpdf-[version number].&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;You can force the installer to read the second CD correctly by taking the following steps:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;1. When the installer asks for the second CD, remove the first CD from the drive and leave the drive empty. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;2. Tell the installer to continue. It closes the CD drive tray, then gives an error message when it finds no CD. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;3. Insert the second CD and tell the installer to continue. It should read the second CD correctly and installation should continue with no problems. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; If the virtual machine was created with GSX Server 3, as an alternate workaround, you can configure the virtual machine's virtual CD-ROM drive to run in legacy emulation mode. To change this setting, power off the virtual machine, choose VM &gt; Settings &gt; CD-ROM, and select the Legacy emulation check box. Click OK to save your change. &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246743623977546?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246743623977546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246743623977546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246743623977546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246743623977546'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/cd-change-fails-on-disk-2.html' title='CD Change Fails on Disk 2...'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246711507878091</id><published>2006-07-09T10:42:00.000-07:00</published><updated>2006-07-09T10:45:38.840-07:00</updated><title type='text'>Set time on ESX Server</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;color:#000099;"&gt;This would be like issuing a net time /setsntp:w.x.y.z on a windows box&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;On the ESX server issue the following;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#333333;"&gt;hwclock --set --date="mm/dd/yy hh:mm:ss"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#333333;"&gt;hwclock --set --date ="12/06/05 10:04:00"&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246711507878091?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246711507878091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246711507878091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246711507878091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246711507878091'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/set-time-on-esx-server.html' title='Set time on ESX Server'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246633883753837</id><published>2006-07-09T10:28:00.000-07:00</published><updated>2006-07-09T10:32:18.840-07:00</updated><title type='text'>How to determine WWN on ESX Server</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;I've written a decent article on this topic which is very helpful. I haven't added the ESX section to my &lt;/span&gt;&lt;a href="http://www.happytech.net"&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;website&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt; yet, but if you would like a copy drop me an &lt;/span&gt;&lt;a href="ken.wincel@happytech.net"&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;e-mail&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;If you know how many HBAs exists, and what type (I.e. Emulex – lpfc) then you could execute the following command after logging in to the CLI.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;cat /proc/scsi/lpfc/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;or&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;cat /proc/scsi/lpfc/1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246633883753837?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246633883753837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246633883753837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246633883753837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246633883753837'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/how-to-determine-wwn-on-esx-server.html' title='How to determine WWN on ESX Server'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246601214690918</id><published>2006-07-09T10:22:00.000-07:00</published><updated>2006-07-09T10:26:52.146-07:00</updated><title type='text'>Error:vmware-authd: 511 Error connecting to...</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Okay, this one can sometimes be nasty. In this scenario something is hosing up either the MUI or HTTPD. I'm still trying to conquer this one, but the following procedure has been known to work in the past for me;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;To resolve the problem, open the CLI as root or account that has permission to restart DAEMONS. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Then execute the following;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;1) Restart the xinetd:      &lt;span style="font-family:courier new;color:#333333;"&gt;/etc/init.d/xinetd restart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;2) Restart the mui:          &lt;span style="font-family:courier new;color:#333333;"&gt;/etc/init.d/httpd.vmware restart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Retry, and you should be able to connect to the MUI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000099;"&gt;I have also found &lt;a href="http://www.vmware.com/community/message.jspa?messageID=396687"&gt;this&lt;/a&gt; thread to be useful at times.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246601214690918?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246601214690918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246601214690918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246601214690918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246601214690918'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/errorvmware-authd-511-error-connecting.html' title='Error:vmware-authd: 511 Error connecting to...'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246564069428966</id><published>2006-07-09T10:15:00.000-07:00</published><updated>2006-07-09T10:20:40.696-07:00</updated><title type='text'>ESX\LINUX Equivalent of IPCONFIG</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Typically you guys won't need this. But I actually needed to know what the IP Address was on a ESX server the other day, while logged into the console.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;So, here ya go;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#336666;"&gt;ifconfig &lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Will display all the goodies for each network interface&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#336666;"&gt;dhclient -r &lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Will release the IP or;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#336666;"&gt;dhclient &lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Will renew the IP. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;I believe you can use something like; &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#336666;"&gt;dhclient eth0 -r &lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;To specify which interface to renew, etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;For more info, type &lt;span style="font-family:courier new;color:#336666;"&gt;man dhclient&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246564069428966?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246564069428966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246564069428966' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246564069428966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246564069428966'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/esxlinux-equivalent-of-ipconfig.html' title='ESX\LINUX Equivalent of IPCONFIG'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246531427731819</id><published>2006-07-09T10:14:00.000-07:00</published><updated>2006-07-09T10:15:14.276-07:00</updated><title type='text'>Scanning devices for new LUNS</title><content type='html'>&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;When ESX is booted, it scans fiber and SCSI devices for new and existing LUNs.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;You can manually initiate a scan through the console by running the following shell command;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;cos-rescan.sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;This is actually the VMWare preferred method.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246531427731819?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246531427731819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246531427731819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246531427731819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246531427731819'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/scanning-devices-for-new-luns.html' title='Scanning devices for new LUNS'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115246518194822969</id><published>2006-07-09T10:07:00.000-07:00</published><updated>2006-07-09T10:13:01.950-07:00</updated><title type='text'>Enlarging the size of a VM</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;Okay, so let's assume you created a 30GB drive for your VM. After a while, you quickly realize that's not going to be enough. So how do you increase it without having to create a new one and move the data over? Easy, vmkfstools is a very power tool.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;To increase the size of the vmdk, open a SSH to the ESX server. Navigate to where you store your VMDK files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;strong&gt;Issue the following command;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;vmkfstools -X xyG ServerName.vmdk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;strong&gt;Example to increase XYZSERVER.vmdk from 10GB to 30GB&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#333333;"&gt;vmkfstools -X 30G XYZSERVER.vmdk&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115246518194822969?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115246518194822969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115246518194822969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246518194822969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115246518194822969'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/enlarging-size-of-vm.html' title='Enlarging the size of a VM'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-115240799143380116</id><published>2006-07-08T18:10:00.000-07:00</published><updated>2006-07-09T10:05:53.486-07:00</updated><title type='text'>Installing VMKUSAGE</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;Okay, if you've been using ESX for long or have been to the class you'll know all about vmkusage. However, for those of you who don't you should. Where I work, most of the guys fail to install this as they setup ESX and place into production as they've grown dependant on Virtual Center capturing performance data.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;So, vmkusage is just that usage analysis reports on your ESX server as well as the VMs running on it. It's very useful in keeping track of how well your ESX server is performing. I'll blog a article later on how to read the reports, but for now let's worry about installing it so it can start collecting data. (Ususally you'll have something to look at within 5 minutes)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Installing vmkusage&lt;/span&gt; &lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;To install, simply open a SSH connection using &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.putty.nl/download.html"&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;putty&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt; to the ESX server and logon as root. &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Next, type the following at the command line;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#333333;"&gt;vmkusagectl install &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000099;"&gt;Let the cron collect for at least 5 minutes before trying to view stats. To access the stats go to;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;http://ESXSERVER/vmkusage&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-115240799143380116?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/115240799143380116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=115240799143380116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115240799143380116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/115240799143380116'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/07/installing-vmkusage.html' title='Installing VMKUSAGE'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24199384.post-114252609529174594</id><published>2006-03-16T08:19:00.000-08:00</published><updated>2006-07-08T18:07:15.633-07:00</updated><title type='text'>How to copy a VM from 1 ESX Server to another</title><content type='html'>&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;I wanted to put this out there as this is a common question I'm asked.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to copy VM from 1 ESX Server to another.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;1. Use Putty to open an SSH connection to the ESX server you want to copy the VM to. (Destination)&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;2. Login and navigate to the VMFS partition you want the VM placed. (I.e. cd /VMFS/MyVMFS)&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;NOTE&lt;/strong&gt;:&lt;/span&gt; &lt;span style="color:#000000;"&gt;This is important, if you miss this step you will fill up your home directory..&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;3. Next, issue the following command;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#666666;"&gt;sftp -C &lt;/span&gt;&lt;span style="font-family:courier new;color:#666666;"&gt;root@SOURCEESXIP:/PATH/VMFILE.dsk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Sample&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#666666;"&gt;sftp -C &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#666666;"&gt;root@10.20.1.140&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#666666;"&gt;:/vmfs/MyVMFS/W2K3TEMPLATE.dsk&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;4. Enter the password for the source ESX server.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000099;"&gt;5. Follow the prompts, wait for the copy to complete and you're done.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24199384-114252609529174594?l=htdotnet-esx.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://htdotnet-esx.blogspot.com/feeds/114252609529174594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24199384&amp;postID=114252609529174594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/114252609529174594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24199384/posts/default/114252609529174594'/><link rel='alternate' type='text/html' href='http://htdotnet-esx.blogspot.com/2006/03/how-to-copy-vm-from-1-esx-server-to.html' title='How to copy a VM from 1 ESX Server to another'/><author><name>Ken Wincel</name><uri>http://www.blogger.com/profile/01409871636980561665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.happytech.net/grafx/images/kendark2.jpg'/></author><thr:total>0</thr:total></entry></feed>
