<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities : Document List - VMware Infrastructure™</title>
    <link>http://communities.vmware.com/community/vmtn/vi?view=documents</link>
    <description>Latest Documents in VMware Infrastructure™</description>
    <language>en</language>
    <pubDate>Sun, 08 Nov 2009 20:45:19 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-08T20:45:19Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>P2V using the same hardware</title>
      <link>http://communities.vmware.com/docs/DOC-11158</link>
      <description>Hello everyone,&lt;br /&gt;
&lt;p /&gt;
I'll start by saying that this isn't my first ESX/ESXi deployment and I'll also say that I've searched for a solution to my problem unsuccessfully but I know that there must be a guide somewhere (it's probably my search terms that are leading me the wrong direction).&lt;br /&gt;
&lt;p /&gt;
As I said above, this isn't my first deployment... heck this isn't even my first P2V however this is the first time I've been asked to virtualize a Windows 2003 SBS box on to the hardware that it is currently running on.  i thought that it should be fairly starightforward so I launched Converter and looked for the option to convert my physical machine into a file that I could then import to the same server hardware running ESXi server (after I had installed it hours later).&lt;br /&gt;
&lt;p /&gt;
Can someone please help me find the best practices or a guide for doing this?&lt;br /&gt;
&lt;p /&gt;
Thanks!&lt;hr /&gt;
No you need some sort of virtualization platform available typically ESX/ESXi&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful&lt;br /&gt;
&lt;hr /&gt;
Thanks for your reply weinstein5,&lt;br /&gt;
&lt;br /&gt;
I have my own ESXi Server here at my site:  would it be possible to use Converter to move (P2V) the SBS server to my ESXi server, wipe the box that SBS is on right now, install ESXi, and then move the VM over to the customer's newly created ESXi server?&lt;br /&gt;
&lt;br /&gt;
Sounds like quite a few opportunities for massive headaches... or am I getting worried about nothing?&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
If you have a large enough external hard disk, or network share, you could use VMware Standalone Converter to convert the physical SBS box to a virtual machine, making the destination type for VMware Workstation. Once that's completed, you can wipe the SBS installation, install ESX and then use the Converter to convert the Workstation VM into an ESX (virtual infrastructure) VM. I can't think of any reason why this won't work.&lt;br /&gt;
&lt;p /&gt;
 HTH&lt;br /&gt;
&lt;p /&gt;
Sam&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
If you have an existing ESXi host then you should have no problems. Convert directly to the ESXi host. Start the VM to test. Test thoroughly since when you wipe the SBS machine you don't have a second chance. If the physical SBS has lots of empty space on disks consider shrinking the disk as you convert. It will make hosting and moving somewhat easier. Once you are satisfied it is working. Do the deed and install ESXi. You can use converter to clone the SBS from one ESXi host to another or you can use a tool like Veeam FastSCP to copy the VM from one host to another. Whichever way you choose to P2V make absolutely sure you have a good working VM before you wipe the hardware.&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Hi Sam and DSAVERT, thank you for your replies.&lt;br /&gt;
&lt;p /&gt;
If I choose to go Sam's route:  I have an empty Drobo with 2+ TB of free space that I&lt;br /&gt;
could use.  Do I need to be concerned about version conflicts?  (IE If&lt;br /&gt;
I convert to a file for VMWare Workstation 6.5.x will it work on ESXi&lt;br /&gt;
3.5.x or ESXi 4.x)&lt;br /&gt;
&lt;p /&gt;
If I choose to go DTAVERT's route:  I'm already planning to do a Cold Metal (Bare Metal) backup of the machine using Acronis and then executing the P2V conversion and all the rest.  If I shrink the disk prior to the move will I have any problems resizing it when it gets back on to the orignal (now ESXi) server?  I tried this a couple of years back and I ended up having a problem with Windows having a really cramped partition on the resized disk.  To rephrase, as I don't know if there have been any advances in the way that VMWare handles Windows partition resizing (or if it's even possible without a third party utility IE: Partition Magic, etc)... do I need to be concerned about resizing the disk and then resizing the Windows partition?&lt;br /&gt;
&lt;p /&gt;
I'm kind of surprised that there isn't a KB article or VMware authored process on doing something like this.  Small Businesses typically don't have the resources (spare ESXi server) sitting idle.&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
VMware Converter will sort out the version issues - that's what it does &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt; I would definitely agree with DSAVERT that testing is required.&lt;br /&gt;
&lt;p /&gt;
In terms of resizing partitions - you can use a boot disk called gparted to resize the VM's hard disk if need be, I actually resized one this morning. It's just a case of booting the VM from the CD and then the program itself is pretty easy. Think of VMware's resizing as changing the size of the "physical disk" and let gparted resize the logical disk.&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;div class="jive-quote"&gt;&lt;span class="jive-quote-header"&gt;BadTim wrote:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;If I shrink the disk prior to the move will I have any problems resizing it when it gets back on to the orignal (now ESXi) server?  &lt;/div&gt;
&lt;br /&gt;
I'm not suggesting that you re-size just for the sake of resizing. Think about what you are doing here. You will be moving your SBS server back to the machine it was running on. The SBS server had all the disk space on the physical server. Once P2Vd it will be moved back to that server. It will now be sharing the space at least with ESXi. Unless you add more disk space it won't fit. I am only suggesting that you look at how much empty space the current physical server has. Think about what you might grow to and shrink to that level. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;I'm kind of surprised that there isn't a KB article or VMware authored process on doing something like this.  Small Businesses typically don't have the resources (spare ESXi server) sitting idle.&lt;/div&gt;
&lt;br /&gt;
That's what Server or Workstation or Player is for. Trying to figure out what everyone has and how to overcome the differences for each OS combination would make for an overly large, complex KB article. If you do a search through the forums you will find many similar posts.&lt;br /&gt;
&lt;hr /&gt;
Thank you all for the assistance with solving this!  I'm going to get it done tonight and I'll reply back if there are any surprises.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;p /&gt;
Bad Tim&lt;br /&gt;
&lt;hr /&gt;
Good luck.&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Hello everyone,&lt;br /&gt;
&lt;p /&gt;
I figured I'd post a follow-up with my methodology and observations along the way just in case it helps anyone in the future.  A big thanks goes to the three people who posted replies to my initial post.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Details:  Microsoft Windows 2003 SBS Standard operating as the Domain Controller, DHCP, DNS, Exchange, etc running on a Dell PowerEdge 1900 (1x 2GHz Xeon, 2GB RAM, 250GB HDD split into two partitions by SBS) &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Methodology that I used: &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Perfomed a 'cold metal' backup of the entire server to external storage (USB attached storage drive #1)&lt;/li&gt;
&lt;li&gt;Disconnected the SBS server from the network.  (Not sure if I needed to do this, just seemed logical)&lt;/li&gt;
&lt;li&gt;Connected a external (USB) hard drive (USB attached storage drive #2)&lt;/li&gt;
&lt;li&gt;Using VMWare Converter (VMWare cCenter Converter Standalone 4.0.1 build 161434 with a standard client install) I converted the running SBS machine to a Workstation v6.x VM and stored it on my USB attached storage drive (#2)&lt;/li&gt;
&lt;li&gt;Wiped the hard drive array where SBS was installed (in my case we were doing a hard drive upgrade at the same time so I removed the two 250GB drives and installed two new 1TB drives in a RAID-1 array)&lt;/li&gt;
&lt;li&gt;Installed and configured ESXi 4 on the RAID-1 array.&lt;/li&gt;
&lt;li&gt;Back to VMWare Converter on my other comptuer: converted my Workstation VM and deployed on the newly installed ESXi 4 server.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Success!&lt;br /&gt;
&lt;p /&gt;
Note: it took about 9 hours to clone the SBS to the VM workstation file and then another 10 hours to move it on to the ESXi server.  I was using a gigabit network to move files and preform the conversions. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread:&amp;nbsp;&lt;a href="http://communities.vmware.com/thread/240087" class="jive-link-thread"&gt;P2V using the same hardware&lt;/a&gt;</description>
      <pubDate>Sun, 08 Nov 2009 20:44:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-11158</guid>
      <dc:date>2009-11-08T20:44:35Z</dc:date>
      <clearspace:dateToText>1 week, 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Has anyone figured out VCB 1.5 custom quiescing scripts?</title>
      <link>http://communities.vmware.com/docs/DOC-11094</link>
      <description>Has anyone played with the custom scripts for VCB 1.5 / ESX3.5U2? According to the VM Backup Guide pg 52, the pre-freeze and post-thaw scripts are now located under C:\Program Files\VMware\VMware Tools\backupScripts.d.&lt;br /&gt;
&lt;br /&gt;
For pre-freeze, it says "All scripts are invoked in ascending alphabetical order with freeze as the first argument." I created a pre-freeze-script.bat and a freeze_script_1.bat under that directory. Neither worked. Also, C:\windows\pre-freeze-script.bat does not work either...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Moderator" since there doesn't seem to be a VCB community, I posted here, please move if appropriate.&lt;br /&gt;
&lt;p /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Bump..... :o(&lt;br /&gt;
&lt;hr /&gt;
1.Make sure you installed the latest VMtools on the guest. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
2. We ended up using FREEZE.bat and that seems to work.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Thanks Jason - &lt;br /&gt;
&lt;br /&gt;
I renamed C:\Program Files\VMware\VMware Tools\backupScripts.d\freeze.bat to C:\Program Files\VMware\VMware Tools\backupScripts.d\FREEZE.bat&lt;br /&gt;
&lt;br /&gt;
That did not work. I ran a repair to vmware tools and then it worked. The file names are case sensitive.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I used C:\Program Files\VMware\VMware Tools\backupScripts.d\THAW.bat for the thaw script. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
the problem is that scripts are launched twice. Before and after creation of snapshot.&lt;br /&gt;
&lt;p /&gt;
So before snapshot is made scripts are launched in ascending alphabetical order - freeze then thaw &lt;br /&gt;
&lt;p /&gt;
and after creation of snapshot in descending order - first thaw for the second time and then freeze ... as it written in backup guide&lt;br /&gt;
&lt;p /&gt;
but I don't understand why it's like that ...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Here is what we have found out:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Each script in the backupscripts.d folder will get ran for EACH Argument sent. So as a example before a backup snaps it will run each script in that folder with the argument of FREEZE starting with freeze.bat in that folder. When THAW is called the same thing happens. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
So if you have 3 scripts in that directory each will get ran for FREEZE and each will run for THAW. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
What we did was create 1 script that will take Arguments like FREEZE, THAW, FREEZEFAIL&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
you can verify this by creating 2 scripts in that directory that write the current time to a file. Run a VCB job and you will see that file get written to 4 times. 2 for the FREEZE and 2 for the THAW.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
Ok I understand but now how can I stop the database before the snap and start it after snap ? &lt;br /&gt;
&lt;p /&gt;
If I have two scripts, first for stopping the databases and second for starting them again, both scripts will run before and after the snap in the different order. That's no use.&lt;br /&gt;
&lt;p /&gt;
database will stop and start before snapshot and start again and stop after backup.&lt;br /&gt;
&lt;p /&gt;
In the previous versions of VCB it was ok.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Something like this:&lt;br /&gt;
&lt;br /&gt;
if "%1%" == "freeze" goto doFreeze&lt;br /&gt;
&lt;br /&gt;
goto doThaw&lt;br /&gt;
&lt;br /&gt;
:doFreeze&lt;br /&gt;
&lt;br /&gt;
call c:\windows\pre-freeze.bat&lt;br /&gt;
&lt;br /&gt;
goto EOF&lt;br /&gt;
&lt;br /&gt;
:doThaw&lt;br /&gt;
&lt;br /&gt;
call c:\windows\post-thaw.bat&lt;br /&gt;
&lt;br /&gt;
so you would create 1 script and have a section for Freeze and Thaw...&lt;br /&gt;
&lt;hr /&gt;
Ok now it works. &lt;br /&gt;
&lt;br /&gt;
The argument send by vcb was the missing factor ...&lt;br /&gt;
&lt;p /&gt;
Thanks.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
... there is one more thing&lt;br /&gt;
&lt;br /&gt;
after FREEZE section of the script is done snapshot is being made but it's not completed but finished in 95% and waiting.&lt;br /&gt;
&lt;p /&gt;
It is completed in 100% but not before a thaw section is done. Shouldn't snapshot be completed when database is stopped ?&lt;br /&gt;
&lt;p /&gt;
Is it normal ?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Jason - &lt;br /&gt;
&lt;br /&gt;
What did you actually name the script? Is this a uppercase / lowercase thing as well? &lt;br /&gt;
&lt;p /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Lowser case. Freeze.bat&lt;br /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
It doesn't matter. VCB will execute anything that's in ...backuScripts.d folder.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I tried a few file names before. The FREEZE.bat and THAW.bat seem to work no matter what the contents. But they execute twice. I think the " IF %1 == Freeze" statement makes it non-case sensitive. I have to test it out in my lab. On college tours with my daughter this week, so I have limited connectivity...&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This is correct. Each script in that folder will run regardless of name for each operation. You will need to create 1 script that accepts Freeze and Thaw as arguments.&lt;br /&gt;
&lt;hr /&gt;
OK. I re-ran all of the tests again. All versions are confirmed as latest builds. I had to set the date back to allow the VM to power on because of the issues with ESX3.5U2...&lt;br /&gt;
&lt;p /&gt;
A script with "if %1% == "freeze'" as the first argument - it will execute as a pre freeze script.&lt;br /&gt;
&lt;br /&gt;
A script with "if %1% == "thaw"" as the first argument - it will execute as a post thaw script.&lt;br /&gt;
&lt;br /&gt;
If multiple scripts exist in backupScripts.d, AND the contain the argument, they are executed in order as documented (reverse for thaw)&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
HOWEVER....&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
If the name of the file is freeze.bat, it will execute twice. If it is called thaw.bat, it will also execute twice. This has been confirmed by others.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanks to all for the assistance.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
After further testing, I can confirm that ALL custom scripts placed in the backupScripts.d directory will execute during both the pre-freeze AND post-thaw events. This means that logic needs to be placed in the script so that the desired result is gained. If no "IF' statements are contained in the scripts, they will be executed during both the pre-freeze and post-thaw events, which could be undesireable. I also confirmed that these script names are NOT case-sensitive.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
thank you for this solution. I my situation it works only partly. If I manually stop service and than manually execute script in backupScripts.d directory script start service. If I start backup of VM via VCB than VCB send "freeze" and script stop the service but after a while job fail based on "Custom Pre-Freeze script failed". I don't know where I would looking for error &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/sad.gif" alt=":-(" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
You can try checking the logs on the VM under %TEMP% and on the ESX host in the VM's directory.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
************************&lt;br /&gt;
"There is an island of opportunity in the middle of every difficulty. Miss that, though, and you're pretty much doomed."&lt;br /&gt;
despair.com&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I would like more accurately specify error message. During creating snapshot I get message:&lt;br /&gt;
&lt;br /&gt;
Creating quiesced snapshot failed ...... script in the virtual machine exited with non-zero return code.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
If you did not do a "COMPLETE" install of VMware Tools, the sync driver does not install. Run the VMware Tools installer and modify the install, then add the sync driver. If you are running ESX3.5 add the VSS driver too. See the attached screenshot.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
************************&lt;br /&gt;
"There is an island of opportunity in the middle of every difficulty. Miss that, though, and you're pretty much doomed."&lt;br /&gt;
despair.com&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I add VSS driver - still sthe same. It looks like VCB don't send THAW argument.&lt;br /&gt;
&lt;hr /&gt;
Can you post a copy of the script you are running?&lt;br /&gt;
&lt;hr /&gt;
I took script code from this thread. I change only directory with "execution" scripts. &lt;br /&gt;
&lt;br /&gt;
if "%1%" == "freeze" goto doFreeze&lt;br /&gt;
&lt;p /&gt;
goto doThaw&lt;br /&gt;
&lt;p /&gt;
:doFreeze&lt;br /&gt;
&lt;p /&gt;
call "c:\Program Files\VMware\VMware Tools\services_scripts\freeze.bat"&lt;br /&gt;
&lt;p /&gt;
goto EOF&lt;br /&gt;
&lt;p /&gt;
:doThaw&lt;br /&gt;
&lt;p /&gt;
call "c:\Program Files\VMware\VMware Tools\services_scripts\thaw.bat"&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Can you post " freeze.bat"&lt;br /&gt;
&lt;hr /&gt;
I'm not sure if the VSS driver actually NEEDS to pre-freeze / post-thaw. VSS does it differently. Assuming you are running ESX 3.5U2&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
************************&lt;br /&gt;
"There is an island of opportunity in the middle of every difficulty. Miss that, though, and you're pretty much doomed."&lt;br /&gt;
despair.com&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
You wrote that I shoul add VSS driver. I think VSS is especially for databases.&lt;br /&gt;
&lt;hr /&gt;
You wrote that I shoul add VSS driver &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt;. I think VSS is especially for databases.&lt;br /&gt;
&lt;hr /&gt;
I cant find it in the VM Backup Guide, but I think only the SYNC driver uses the scripts. I believe the VSS driver just uses VSS and the script is NOT required. The VSS driver takes care of quiescing the app and disk.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
************************&lt;br /&gt;
"There is an island of opportunity in the middle of every difficulty. Miss that, though, and you're pretty much doomed."&lt;br /&gt;
despair.com&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Correct, If you are using VMware's VSS provider then it will be called automatically by VCB.&lt;br /&gt;
&lt;hr /&gt;
Some additional information:&lt;br /&gt;
If the VSS driver is installed together with the recent VMware Tools the new location and behaviour is used for custum scripts. The scripts are called every time you start to use VCB.&lt;br /&gt;
&lt;br /&gt;
If you only have the the sync installed the old path under &amp;lt;%windir%&amp;gt;/system32 is used.&lt;br /&gt;
&lt;p /&gt;
The above isnt true for a guest VM which runs the WinXP OS. Because of a bug the old location is &lt;b&gt;always&lt;/b&gt; used. I have to to dig for the PR where VMware describes the problem.&lt;br /&gt;
&lt;p /&gt;
This drives me nuts because my Target system was first a W2k3 and later i testet with WinXP because i dont want to backup my 600GB production VM. &lt;br /&gt;
&lt;p /&gt;
Here is my current script which works around for every of my problems.&lt;br /&gt;
&lt;p /&gt;
Placed it under the new location ../VMware Tools/backupScripts.d&lt;br /&gt;
=========================================================&lt;br /&gt;
@echo off&lt;br /&gt;
&lt;p /&gt;
if "%1%" == "" goto noParam&lt;br /&gt;
if "%1%" == "freeze" goto doFreeze&lt;br /&gt;
if "%1%" == "thaw" goto dothaw&lt;br /&gt;
if "%1%" == "freezeFail" goto dofreezefail&lt;br /&gt;
goto wrongParam&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
:doFreeze&lt;br /&gt;
call c:\windows\pre-freeze-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
:dothaw&lt;br /&gt;
call c:\windows\post-thaw-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
:dofreezefail&lt;br /&gt;
call c:\windows\post-freezefail-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
:noParam&lt;br /&gt;
echo "Usage: %0 "&lt;br /&gt;
echo At least one Parameter is needed!&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
:wrongParam&lt;br /&gt;
echo "Usage: %0 "&lt;br /&gt;
echo "%1" is not a valid parameter!&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
:Ende&lt;br /&gt;
========================================================&lt;br /&gt;
&lt;p /&gt;
Regards&lt;br /&gt;
Joerg&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Remember if you found this or others answers helpful do not forget to award points by marking an answer as helpful or correct **&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Some additional information:&lt;br /&gt;
If the VSS driver is installed together with the recent VMware Tools the new location and behaviour is used for custom scripts. The scripts are called every time you start to use VCB.&lt;br /&gt;
&lt;br /&gt;
If you only have the the sync installed the old path under &amp;lt;%windir%&amp;gt;/ is used.&lt;br /&gt;
&lt;br /&gt;
The above isnt true for a guest VM which runs the WinXP OS. Because of a bug the old location is &lt;b&gt;always&lt;/b&gt; used. I have to to dig for the PR where VMware describes the problem.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
This drives me nuts because my Target system was first a W2k3 and later i testet with WinXP because i dont want to backup my 600GB production VM. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Here is my current script which works around for every of my problems.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Placed it under the new location ../VMware Tools/backupScripts.d&lt;br /&gt;
=========================================================&lt;br /&gt;
@echo off&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
if "%1%" == "" goto noParam&lt;br /&gt;
if "%1%" == "freeze" goto doFreeze&lt;br /&gt;
if "%1%" == "thaw" goto dothaw&lt;br /&gt;
if "%1%" == "freezeFail" goto dofreezefail&lt;br /&gt;
goto wrongParam&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
:doFreeze&lt;br /&gt;
call c:\windows\pre-freeze-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
:dothaw&lt;br /&gt;
call c:\windows\post-thaw-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
:dofreezefail&lt;br /&gt;
call c:\windows\post-freezefail-script.bat&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
:noParam&lt;br /&gt;
echo "Usage: %0 "&lt;br /&gt;
echo At least one Parameter is needed!&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
:wrongParam&lt;br /&gt;
echo "Usage: %0 "&lt;br /&gt;
echo "%1" is not a valid parameter!&lt;br /&gt;
goto Ende&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
:Ende&lt;br /&gt;
========================================================&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Regards&lt;br /&gt;
Joerg&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Remember if you found this or others answers helpful do not forget to award points by marking an answer as helpful or correct **&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Altix, thank very much!!! Your script works.&lt;br /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
The scripts works fine!&lt;br /&gt;
&lt;p /&gt;
I'm only wondering wherefor the freezefail is? What the meaning of this argument?&lt;br /&gt;
&lt;p /&gt;
Can anyone tell?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
Matthijs&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
HA! I just saw your question..Only two months late....&lt;br /&gt;
&lt;br /&gt;
Freezefail is when the freeze process returns a non-zero code, allows you to do a little error notification or cleanup. &lt;br /&gt;
&lt;p /&gt;
Dave Convery&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.dailyhypervisor.com/"&gt;http://www.dailyhypervisor.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Careful. We don't want to learn from this.&lt;br /&gt;
Bill Watterson, "Calvin and Hobbes"&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/160702"&gt;Has anyone figured out VCB 1.5 custom quiescing scripts?&lt;/a&gt;</description>
      <pubDate>Fri, 30 Oct 2009 17:53:05 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-11094</guid>
      <dc:date>2009-10-30T17:53:05Z</dc:date>
      <clearspace:dateToText>3 weeks, 1 day ago</clearspace:dateToText>
    </item>
    <item>
      <title>vmware-vdiskmanager –x and avaiable space in FreeBSD virtual machine</title>
      <link>http://communities.vmware.com/docs/DOC-10836</link>
      <description>Hello everyone. &lt;br /&gt;
&lt;br /&gt;
I Had made virtual machine with guest OS &amp;ndash; FreeBSD , after few weeks , there was not enough space on my vmdk image file . Then I used &amp;ldquo;vmware-vdiskmanager &amp;ndash;x&amp;rdquo;  to increase space in my vmdk file. &lt;br /&gt;
Everything gone ok , Vmware shows available space &amp;ndash; 8 GB , but wen I try to installed Gnome GUI (which need approximately 3 GB space ) then FreeBSD shows me info that disk is full (in this moment &lt;br /&gt;
disk was filled by 3.6 GB )  , can someone tell me why ? What I should to do , to use expanded disk space in FreeBSD ? &lt;br /&gt;
&lt;p /&gt;
Regards &lt;br /&gt;
Lokis</description>
      <pubDate>Fri, 02 Oct 2009 06:05:26 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10836</guid>
      <dc:date>2009-10-02T06:05:26Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>IETF X.509 Certificate Signature Collision Vulnerability</title>
      <link>http://communities.vmware.com/docs/DOC-10775</link>
      <description>&lt;br /&gt;
 Hi all, I have the next cuestion..&lt;br /&gt;
&lt;p /&gt;
How I know if this affect my VMWare ESX 3.5.0&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Vulnerability Report&lt;br /&gt;
.indent {&lt;br /&gt;
margin-left: 1cm;&lt;br /&gt;
}&lt;br /&gt;
.proof {&lt;br /&gt;
white-space: pre;&lt;br /&gt;
font-family: monospace;&lt;br /&gt;
width: 90%;&lt;br /&gt;
word-wrap: break-word;&lt;br /&gt;
}*CVE#:*&lt;br /&gt;
&lt;div class="indent"&gt;&lt;a class="jive-link-external" href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2761"&gt;CVE-2004-2761&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;b&gt;Summary:&lt;/b&gt;&lt;br /&gt;
&lt;div class="indent"&gt;X.509 Certificates using the MD5 algorithm may be affected by &lt;br /&gt;
a vulnerability that can weaken security.&lt;br /&gt;
&lt;/div&gt;
&lt;b&gt;Details:&lt;/b&gt;&lt;br /&gt;
&lt;div class="indent"&gt;A vulnerability exists in X.509 certificates which, when &lt;br /&gt;
signed via MD5, may allow for phishing attacks. The flaw is specific to &lt;br /&gt;
weaknesses in the MD5 algorithm used to sign X.509 certificates. It is possible &lt;br /&gt;
for a potential attacker to generate multiple pairs of certificates, which share &lt;br /&gt;
like MD5 signatures. Typical exploration would allow the attacker to impersonate &lt;br /&gt;
a legitimate website.&lt;br /&gt;
&lt;/div&gt;
&lt;b&gt;Fix:&lt;/b&gt;&lt;br /&gt;
&lt;div class="indent"&gt;See references or contact the vendor for appropriate patch &lt;br /&gt;
information. Typically, this problem is associated with NSS libraries or FireFox &lt;br /&gt;
packages, among other applications.&lt;br /&gt;
&lt;br /&gt;
Note: According to a paper discussing &lt;br /&gt;
the vulnerability, written by the discovering team, creating rogue certificates &lt;br /&gt;
requires prior knowledge of a pre-signed certificate. Therefore it can be &lt;br /&gt;
assumed that any certificate created before the announcement of the &lt;br /&gt;
vulnerability is effectively safe from such an attack. If the certificate was &lt;br /&gt;
created prior to 2009, this issue can be considered a false positive. Any &lt;br /&gt;
certificate signed with MD5 created in 2009 or later, however, should be &lt;br /&gt;
replaced by a new certificate signed with a stronger hashing &lt;br /&gt;
method.&lt;br /&gt;
&lt;br /&gt;
Workaround:&lt;br /&gt;
&lt;br /&gt;
Utilize an alternative hashing method to sign &lt;br /&gt;
certificates (ex: SHA-256, SHA-512)&lt;/div&gt;
&lt;br /&gt;</description>
      <pubDate>Fri, 25 Sep 2009 00:01:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10775</guid>
      <dc:date>2009-09-25T00:01:35Z</dc:date>
      <clearspace:dateToText>1 month, 4 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Sample ftp script (python) for ESXI 4</title>
      <link>http://communities.vmware.com/docs/DOC-10700</link>
      <description>&lt;br /&gt;
The following code is an adaptation of Sean B. Palmer's nftp.py script. It was created to allow copying files to remote servers for backup purposes.&lt;br /&gt;
The script will itterate through a specified folder (or multiple folders) and copy it's contents to the remote ftp server.&lt;br /&gt;
&lt;br /&gt;
Two files are required: xnftp.py and xnftp.conf&lt;br /&gt;
This script was tested on esxi4 running python 2.5&lt;br /&gt;
&lt;br /&gt;
to backup a complete folder, issue the following command:&lt;br /&gt;
&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=2632&amp;subject=code"&gt;code&lt;/a&gt; python arcoftp.py -d ${VM_NAME} ${BACKUP_SERVER}[/code]</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">python</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">ftp</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">4.0</category>
      <pubDate>Wed, 09 Sep 2009 12:30:42 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10700</guid>
      <dc:date>2009-09-09T12:30:42Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESXi 3.5</title>
      <link>http://communities.vmware.com/docs/DOC-10664</link>
      <description>&lt;br /&gt;
we have 4 nic and we must change the ip adresse on 2 nic in a other subnet&lt;br /&gt;
&lt;p /&gt;
who can i do this ?&lt;br /&gt;
&lt;p /&gt;
thanks</description>
      <pubDate>Tue, 01 Sep 2009 12:01:43 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10664</guid>
      <dc:date>2009-09-01T12:01:43Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>How to expand the ESX Datastore on SAS RAID pools using CLI on IBM BCS</title>
      <link>http://communities.vmware.com/docs/DOC-10661</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2411">blade</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">center</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">raid</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">expand</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">failed</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">ibm</category>
      <pubDate>Mon, 31 Aug 2009 06:01:01 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10661</guid>
      <dc:date>2009-08-31T06:01:01Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Ghetto Tech Preview - ghettoVCB-restore.sh - Restoring VM's backed up from ghettoVCB to ESX(i) 3.5 and 4.0+</title>
      <link>http://communities.vmware.com/docs/DOC-10595</link>
      <description>&lt;h1&gt;Table of Contents:&lt;/h1&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;Description&lt;/li&gt;
&lt;li&gt;Requirements&lt;/li&gt;
&lt;li&gt;Setup&lt;/li&gt;
&lt;li&gt;Usage&lt;/li&gt;
&lt;li&gt;Sample Execution&lt;/li&gt;
&lt;li&gt;Change Log&lt;/li&gt;
&lt;li&gt;Known Issues&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;Description:&lt;/h2&gt;
&lt;br /&gt;
This script performs a restore of virtual machines backed up using &lt;b&gt;&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-8760"&gt;ghettoVCB&lt;/a&gt;&lt;/b&gt;. Tasks are performed directly within the service console of the ESX(i) server involved in the restore process. This is currently a Ghetto Tech Preview that includes basic restore functionality. Two main use cases are supported in this release:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt;	Restore a VM that contains ALL VMDKs on one datastore&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt;	Restore a VM that has VMDKs located on multiple datastores&lt;br /&gt;
&lt;br /&gt;
In all cases, restored VMs will have VMDKs that reside on the SAME datastore chosen for the restore process. Please ensure that there is sufficient space on the target datastore before attempting a restore operation. In the near future, restoration of VMs backed up using the compression feature of ghettoVCB will be implemented.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:blue"&gt;Features&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Support for logging output&lt;/li&gt;
&lt;li&gt;Support for various debugging output&lt;/li&gt;
&lt;li&gt;Allow spaces in VM(s) backup list (not recommended and not a best practice)&lt;/li&gt;
&lt;li&gt;Support for restore in the following formats: &lt;b&gt;ZEROEDTHICK&lt;/b&gt; (default behavior), &lt;b&gt;2GB SPARSE&lt;/b&gt;, &lt;b&gt;THIN&lt;/b&gt; or &lt;b&gt;EAGERZEROEDTHICK&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Requirements:&lt;/h2&gt;
VMs backed up using &lt;b&gt;&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-8760"&gt;ghettoVCB.sh&lt;/a&gt;&lt;/b&gt; on ESX(i) 3.5 or 4.0&lt;br /&gt;
SSH console access to ESX/ESXi 3.5 or 4.0 host&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Setup:&lt;/h2&gt;
&lt;b&gt;1)&lt;/b&gt; Download &lt;b&gt;ghettoVCB-restore.sh&lt;/b&gt; to either your ESX or ESXi&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt; Change the permissions on the script to ensure it can be executed:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;chmod +x ghettoVCB-restore.sh
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Usage:&lt;/h2&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB-restore.sh
###############################################################################
#
# ghettoVCB-restore for ESX/ESXi 3.5u2+ &amp;#38; 4.x+
# Author: William Lam
# http://www.engineering.ucsb.edu/~duonglt/vmware/
# Created: 08/18/2009
# Last modified: 08/25/2009
#
###############################################################################

Usage: ./ghettoVCB-restore.sh -c [VM_BACKUP_UP_LIST] -l [LOG_FILE]

OPTIONS:
   -c     VM backup list
   -l     File ot output logging

(e.g.)

Output will go to stdout
        ./ghettoVCB-restore.sh -c vms_to_restore

Output will log to /tmp/ghettoVCB-restore.log
        ./ghettoVCB-restore.sh -c vms_to_restore -l /tmp/ghettoVCB-restore.log

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Standard input for script is a file that contains:&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt;	Full path to the backed up VM&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt;	Full restore path&lt;br /&gt;
&lt;b&gt;3)&lt;/b&gt;	Restoration disk format&lt;br /&gt;
Reminder: When creating this file on a non-Linux/UNIX system, one may introduce ^M characters that will cause the script to misbehave. To ensure that this does not occur, please create the file on the ESX/ESXi host. &lt;br /&gt;
&lt;br /&gt;
Here is a sample of what the file should look like:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# cat vms_to_restore
#&amp;quot;&amp;lt;DIRECTORY or .TGZ&amp;gt;;&amp;lt;DATASTORE_TO_RESTORE_TO&amp;gt;;&amp;lt;DISK_FORMAT_TO_RESTORE&amp;gt;&amp;quot;
# DISK_FORMATS
# 1 = zeroedthick
# 2 = 2gbsparse
# 3 = thin
# 4 = eagerzeroedthick
# e.g.
# &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-18--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;1&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;1&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;1&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;2&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/vMA-resize/vMA-resize-2009-08-23--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;3&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Comments in the input file is acceptable so long as the intended line is preceded by a #. The above sample VM restore file, &lt;b&gt;vms_to_restore&lt;/b&gt;, describes the following backup:&lt;br /&gt;
&lt;br /&gt;
&lt;table class="jive-wiki-table"&gt;
&lt;tr&gt;
&lt;td&gt;VM to restore&lt;/td&gt;
&lt;td&gt;Datastore to restore to&lt;/td&gt;
&lt;td&gt;VMDK format&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-20--1&lt;/td&gt;
&lt;td&gt;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&lt;/td&gt;
&lt;td&gt;zeroedthick&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1&lt;/td&gt;
&lt;td&gt;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&lt;/td&gt;
&lt;td&gt;zeroedthick&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1&lt;/td&gt;
&lt;td&gt;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&lt;/td&gt;
&lt;td&gt;2gbsparse&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/vMA-resize/vMA-resize-2009-08-23--1&lt;/td&gt;
&lt;td&gt;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&lt;/td&gt;
&lt;td&gt;thin&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br clear="left" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Sample Execution:&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;Execute restore with output going to stdout (restore the first two VMs listed from above):&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Input file:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# cat vms_to_restore
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;1&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;1&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB-restore.sh -c vms_to_restore
################## Restoring VM: VCAP  #####################
Start time: Sun Aug 23 22:31:26 PDT 2009
Restoring VM from: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-20--1&amp;quot;
Restoring VM to Datastore: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&amp;quot; using Disk Format: &amp;quot;zeroedthick&amp;quot;
Creating VM directory: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP&amp;quot; ...
Copying &amp;quot;VCAP.vmx&amp;quot; file ...
Restoring VM's VMDK(s) ...
Updating VMDK entry in &amp;quot;VCAP.vmx&amp;quot; file ...
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/VCAP/VCAP-2009-08-20--1/VCAP.vmdk'...
Clone: 100% done.
Registering VCAP ...
End time: Sun Aug 23 22:32:32 PDT 2009
################## Completed restore for VCAP! #####################

################## Restoring VM: sideswipe  #####################
Start time: Sun Aug 23 22:32:32 PDT 2009
Restoring VM from: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1&amp;quot;
Restoring VM to Datastore: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&amp;quot; using Disk Format: &amp;quot;zeroedthick&amp;quot;
Creating VM directory: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/sideswipe&amp;quot; ...
Copying &amp;quot;sideswipe.vmx&amp;quot; file ...
Restoring VM's VMDK(s) ...
Updating VMDK entry in &amp;quot;sideswipe.vmx&amp;quot; file ...
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1/sideswipe.vmdk'...
Clone: 100% done.
Updating VMDK entry in &amp;quot;sideswipe.vmx&amp;quot; file ...
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1/4a31aece-e34d675a-72cf-003048d9586a/sideswipe.vmdk'...
Clone: 100% done.
Updating VMDK entry in &amp;quot;sideswipe.vmx&amp;quot; file ...
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1/4a31aece-e34d675a-72cf-003048d9586a/sideswipe_1.vmdk'...
Clone: 100% done.
Updating VMDK entry in &amp;quot;sideswipe.vmx&amp;quot; file ...
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/sideswipe/sideswipe-2009-08-20--1/sideswipe_1.vmdk'...
Clone: 100% done.
Registering sideswipe ...
End time: Sun Aug 23 22:34:46 PDT 2009
################## Completed restore for sideswipe! #####################


Start time: Sun Aug 23 22:31:26 PDT 2009
End   time: Sun Aug 23 22:34:46 PDT 2009
Duration  : 3.33 Minutes


---------------------------------------------------------------------------------------------------------------

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Execute restore with output going to log file &lt;b&gt;/tmp/ghettoVCB-restore.log&lt;/b&gt; (restore the last two VMs listed from above):&lt;br /&gt;
&lt;br /&gt;
Input file:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# cat vms_to_restore
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;2&amp;quot;
&amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/vMA-resize/vMA-resize-2009-08-23--1;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage;3&amp;quot;

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB-restore.sh -c vms_to_restore -l /tmp/ghettoVCB-restore.log
Logging output to &amp;quot;/tmp/ghettoVCB-restore.log&amp;quot; ...

cat /tmp/ghettoVCB-restore.log
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Display debug information level 1&lt;/b&gt;:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB-restore.sh -c vms_to_restore -d 1

################ DEBUG MODE ##############
Virtual Machine: &amp;quot;VCAP&amp;quot;
VM_VMX: &amp;quot;VCAP.vmx&amp;quot;
VM_ORG_FOLDER: &amp;quot;VCAP-2009-08-20--1&amp;quot;
VM_FOLDER_NAME: &amp;quot;VCAP&amp;quot;
VMDK_LIST_TO_MODIFY:
scsi0:0.fileName = &amp;quot;VCAP.vmdk&amp;quot;
scsi0:0.fileName  = &amp;quot;VCAP-0.vmdk&amp;quot;
##########################################


################ DEBUG MODE ##############
Virtual Machine: &amp;quot;sideswipe&amp;quot;
VM_VMX: &amp;quot;sideswipe.vmx&amp;quot;
VM_ORG_FOLDER: &amp;quot;sideswipe-2009-08-20--1&amp;quot;
VM_FOLDER_NAME: &amp;quot;sideswipe&amp;quot;
VMDK_LIST_TO_MODIFY:
scsi0:0.fileName = &amp;quot;sideswipe.vmdk&amp;quot;
scsi0:0.fileName  = &amp;quot;sideswipe-0.vmdk&amp;quot;
scsi0:1.fileName = &amp;quot;/vmfs/volumes/4a31aece-e34d675a-72cf-003048d9586a/sideswipe/sideswipe.vmdk&amp;quot;
scsi0:1.fileName  = &amp;quot;sideswipe-1.vmdk&amp;quot;
scsi1:8.fileName = &amp;quot;/vmfs/volumes/4a31aece-e34d675a-72cf-003048d9586a/sideswipe/sideswipe_1.vmdk&amp;quot;
scsi1:8.fileName  = &amp;quot;sideswipe-2.vmdk&amp;quot;
scsi3:12.fileName = &amp;quot;sideswipe_1.vmdk&amp;quot;
scsi3:12.fileName  = &amp;quot;sideswipe-3.vmdk&amp;quot;
##########################################


Start time: Sun Aug 23 23:04:49 PDT 2009
End   time: Sun Aug 23 23:04:49 PDT 2009
Duration  : 0 Seconds

---------------------------------------------------------------------------------------------------------------

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Display debug information level 2&lt;/b&gt;:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB-restore.sh -c vms_to_restore -d 2
################## Restoring VM: stupid ass vm with spaces  #####################
==========&amp;gt; DEBUG MODE LEVEL 2 ENABLED &amp;lt;==========
Start time: Sun Aug 23 23:05:11 PDT 2009
Restoring VM from: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1&amp;quot;
Restoring VM to Datastore: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&amp;quot; using Disk Format: &amp;quot;2gbsparse&amp;quot;
Creating VM directory: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/stupid ass vm with spaces&amp;quot; ...
Copying &amp;quot;stupid ass vm with spaces.vmx&amp;quot; file ...
Restoring VM's VMDK(s) ...
Updating VMDK entry in &amp;quot;stupid ass vm with spaces.vmx&amp;quot; file ...

SOURCE: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1/stupid ass vm with spaces.vmdk&amp;quot;
        ORIGINAL_VMX_LINE: --&amp;gt;scsi0:0.fileName = &amp;quot;stupid ass vm with spaces.vmdk&amp;quot;&amp;lt;--
DESTIONATION: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/stupid ass vm with spaces/stupid ass vm with spaces-0.vmdk&amp;quot;
        MODIFIED_VMX_LINE: --&amp;gt;scsi0:0.fileName  = &amp;quot;stupid ass vm with spaces-0.vmdk&amp;quot;&amp;lt;--
Updating VMDK entry in &amp;quot;stupid ass vm with spaces.vmx&amp;quot; file ...

SOURCE: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1/4a31aece-e34d675a-72cf-003048d9586a/stupid ass vm with spaces.vmdk&amp;quot;
        ORIGINAL_VMX_LINE: --&amp;gt;scsi0:1.fileName = &amp;quot;/vmfs/volumes/4a31aece-e34d675a-72cf-003048d9586a/stupid ass vm with spaces/stupid ass vm with spaces.vmdk&amp;quot;&amp;lt;--
DESTIONATION: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/stupid ass vm with spaces/stupid ass vm with spaces-1.vmdk&amp;quot;
        MODIFIED_VMX_LINE: --&amp;gt;scsi0:1.fileName  = &amp;quot;stupid ass vm with spaces-1.vmdk&amp;quot;&amp;lt;--
Updating VMDK entry in &amp;quot;stupid ass vm with spaces.vmx&amp;quot; file ...

SOURCE: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/stupid ass vm with spaces/stupid ass vm with spaces-2009-08-20--1/4a31aece-e34d675a-72cf-003048d9586a/stupid ass vm with spaces_1.vmdk&amp;quot;
        ORIGINAL_VMX_LINE: --&amp;gt;scsi0:2.fileName = &amp;quot;/vmfs/volumes/4a31aece-e34d675a-72cf-003048d9586a/stupid ass vm with spaces/stupid ass vm with spaces_1.vmdk&amp;quot;&amp;lt;--
DESTIONATION: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/stupid ass vm with spaces/stupid ass vm with spaces-2.vmdk&amp;quot;
        MODIFIED_VMX_LINE: --&amp;gt;scsi0:2.fileName  = &amp;quot;stupid ass vm with spaces-2.vmdk&amp;quot;&amp;lt;--
Registering stupid ass vm with spaces ...
End time: Sun Aug 23 23:05:11 PDT 2009
################## Completed restore for stupid ass vm with spaces! #####################

################## Restoring VM: vMA-resize  #####################
==========&amp;gt; DEBUG MODE LEVEL 2 ENABLED &amp;lt;==========
Start time: Sun Aug 23 23:05:11 PDT 2009
Restoring VM from: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/vMA-resize/vMA-resize-2009-08-23--1&amp;quot;
Restoring VM to Datastore: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage&amp;quot; using Disk Format: &amp;quot;thin&amp;quot;
Creating VM directory: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/vMA-resize&amp;quot; ...
Copying &amp;quot;vMA-resize.vmx&amp;quot; file ...
Restoring VM's VMDK(s) ...
Updating VMDK entry in &amp;quot;vMA-resize.vmx&amp;quot; file ...

SOURCE: &amp;quot;/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS/vMA-resize/vMA-resize-2009-08-23--1/vMA-resize.vmdk&amp;quot;
        ORIGINAL_VMX_LINE: --&amp;gt;scsi0:0.fileName = &amp;quot;vMA-resize.vmdk&amp;quot;&amp;lt;--
DESTIONATION: &amp;quot;/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/vMA-resize/vMA-resize-0.vmdk&amp;quot;
        MODIFIED_VMX_LINE: --&amp;gt;scsi0:0.fileName  = &amp;quot;vMA-resize-0.vmdk&amp;quot;&amp;lt;--
Registering vMA-resize ...
End time: Sun Aug 23 23:05:11 PDT 2009
################## Completed restore for vMA-resize! #####################


Start time: Sun Aug 23 23:05:11 PDT 2009
End   time: Sun Aug 23 23:05:11 PDT 2009
Duration  : 0 Seconds

---------------------------------------------------------------------------------------------------------------

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Change Log:&lt;/h2&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Known Issues:&lt;/h2&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">ghettovcb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">restore</category>
      <pubDate>Mon, 24 Aug 2009 06:28:38 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10595</guid>
      <dc:date>2009-08-24T06:28:38Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>Kill PID process</title>
      <link>http://communities.vmware.com/docs/DOC-10553</link>
      <description>&lt;ol&gt;
&lt;li&gt;Stopping the virtual machine by issuing the command &lt;b&gt;vmware-cmd /vmfs/volumes/&amp;lt;datastorename&amp;gt;/&amp;lt;vmname&amp;gt;/&amp;lt;vmname&amp;gt;.vmx stop&lt;/b&gt;. This must be done on the ESX host where the Virtual Machine is running!&lt;/li&gt;
&lt;li&gt;If this does not work, one can issue the following command: &lt;b&gt;vmware-cmd /vmfs/volumes/&amp;lt;datastorename&amp;gt;/&amp;lt;vmname&amp;gt;/&amp;lt;vmname&amp;gt;.vmx stop&lt;/b&gt; &lt;b&gt;hard.&lt;/b&gt; This will try to kill the Virtual Machine instantly.&lt;/li&gt;
&lt;li&gt;A final solution is to kill the &lt;b&gt;PID (process ID)&lt;/b&gt;. Issue the following command: &lt;b&gt;ps auxfww | grep &amp;lt;vmname&amp;gt;&lt;/b&gt; to locate the correct PID (BTW: this cannot be done via *ESXTOP*). The first number to appear in the output is your PID. The PID can be used to terminate the process by issuing &lt;b&gt;kill -9 PID.&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;There is a problem using PS to kill the running VM process, in that it can still leave the VM World running in the background. &lt;br clear="all" /&gt;	Another way to stop an errant VM is to issue the commands vm-support -x to list the running VMs and their World IDs, then vm-support -X worldid (note the x is case sensitive in both commands). This then prompts the user with a couple of questions, then runs a debug stop of the VM, and creates a set of log files as well that you can forward to VMware tech support for them to check if you so desire&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/113406"&gt;esxRanger and ESX 3.01 and Kill Process?&lt;/a&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">pid</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">command_line</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">kill</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">process</category>
      <pubDate>Mon, 17 Aug 2009 16:41:20 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10553</guid>
      <dc:date>2009-08-17T16:41:20Z</dc:date>
      <clearspace:dateToText>3 months, 6 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Script : Listing of all datastores and extents</title>
      <link>http://communities.vmware.com/docs/DOC-10459</link>
      <description>This simple script is listing all datastores AND extents of your host server.&lt;br /&gt;
I wrote this one because sometimes our Storage team is requesting us if they could work on specifics LUN IDs, and if these are just additional extents, I had to review one-by-one all the properties of each datastores (and clusters).&lt;br /&gt;
I had enough, so .. voilà !&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Eric&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;i&gt;#!/bin/bash&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;# Listing of LUNs extents&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;echo "List of LUNs extents :"&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;for filename in $(ls -la /vmfs/volumes/ |grep ^l |awk '{ print $NF }') ;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;do&lt;/i&gt;&lt;br /&gt;
 &lt;i&gt;echo "------------------------------------------------"&lt;/i&gt;&lt;br /&gt;
 &lt;i&gt;echo "Datastore Name : " $(vmkfstools -P /vmfs/volumes/$filename/ -h | grep label |awk '{ print $NF }')&lt;/i&gt;&lt;br /&gt;
 &lt;i&gt;vmkfstools -P /vmfs/volumes/$filename/ -h | grep vmhba&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;done&lt;/i&gt;&lt;br /&gt;
 &lt;i&gt;echo "------------------------------------------------"&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;echo "All done !"&lt;/i&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vmfs</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">extents</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">script</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">luns</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">lun</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">san</category>
      <pubDate>Thu, 06 Aug 2009 12:45:18 GMT</pubDate>
      <author>eric.paquay@gmail.com</author>
      <guid>http://communities.vmware.com/docs/DOC-10459</guid>
      <dc:date>2009-08-06T12:45:18Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>HP DL380 G6 Processors</title>
      <link>http://communities.vmware.com/docs/DOC-10374</link>
      <description />
      <pubDate>Wed, 15 Jul 2009 14:51:20 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10374</guid>
      <dc:date>2009-07-15T14:51:20Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
    </item>
    <item>
      <title>Fax hardware for vm's?</title>
      <link>http://communities.vmware.com/docs/DOC-10284</link>
      <description>Have anyone found a solution for running fax software in a vm and fax hardware on the network? Currently I can only find some ISDN pci cards and that doesn't work with a vm. I hope that a solution like AnywhereUSB for usb devices is out there just for faxing.&lt;br /&gt;
&lt;hr /&gt;
You could use good old COM Modems even COM ISDN Modems would help you&lt;br /&gt;
&lt;hr /&gt;
COM modems work great, and unlike PCI modems, when a COM modem locks, you cycle its power. When a PCI modem locks, you cycle the whole host. Not a good thing on an ESX host.&lt;br /&gt;
&lt;hr /&gt;
I believe GFi do an IP Based solution..&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.gfi.com/"&gt;http://www.gfi.com/&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
GFI has IP based software, but requires a PBX or some other hardware device to manage fax calls.&lt;br /&gt;
&lt;br /&gt;
It seems that there currently aren't any available product for virtualization other than traditionel serial attached solutions (modems) that can be connected by tcp/ip&lt;br /&gt;
&lt;hr /&gt;
I strongly suggest the IP based soluton.... better if using an ethernet connection over optical fibers, yes it requires some additional hardware but it decouples your ESX server from the phone lines (something you still have to consider with COM modems).&lt;br /&gt;
Think at what could happen if, during a thunderstorm, lighting hits the phone line where the modem is connected... it can blew up your ESX server!&lt;br /&gt;
And don't tell me the chances are low.. it has already happened.. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/sad.gif" alt=":(" /&gt;&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
&lt;br /&gt;
Antonello&lt;br /&gt;
&lt;hr /&gt;
Another reason to use IP based solutions and decouple fax modems from the host a VM runs on is that they make moving VMs around (VMotion) a lot harder if not impossible.&lt;br /&gt;
&lt;br /&gt;
Frank.&lt;br /&gt;
&lt;hr /&gt;
Agreed.&lt;br /&gt;
&lt;br /&gt;
We are using RightFax from Captaris in this same setup.  We have the Fax Work Server in a VM and the two remote board servers are stand alone physicals with the full length PCI card.  We went with this option because it provided a good measure of redundancy in the critical patient care setup of pharmacy prescription transmission in both the front end and back end aspects.&lt;br /&gt;
&lt;hr /&gt;
We are about to try GFI Faxmaker with Eicon Diva Soft IP on an ESX 3 VM, coupled to Cisco CM. &lt;br /&gt;
I'll keep you posted on whether it works!!&lt;br /&gt;
&lt;hr /&gt;
We are in the process of getting two PowerEdge 2900's and had planned on putting in a Brooktrout fax card in each.  We have RightFax to send scripts to pharmacies.  If we run Rightfax on a VM, does anyone know if their is a problem with using one or both fax boards and then if a PE2900 fails everything will still works because one of the fax board resources is still available.&lt;br /&gt;
&lt;hr /&gt;
If you're using ESX, the fax cards will not work at all.&lt;br /&gt;
&lt;br /&gt;
VMware ESX server has no support for devices such as fax cards, which is why our fax servers are remaining as physical servers.&lt;br /&gt;
&lt;br /&gt;
As far as VMware Server goes, I would imagine the same issue would apply.&lt;br /&gt;
&lt;hr /&gt;
Here's a good post on the very question you're posing:&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/community/thread.jspa?messageID=396541&amp;#38;#396541"&gt;http://www.vmware.com/community/thread.jspa?messageID=396541&amp;#38;#396541&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It deals with VMware Server (GSX) but it still holds.  Basically, with an internal card, you're SOL.&lt;br /&gt;
&lt;br /&gt;
Here's a clip from that posting that sums up the issue pretty well (thanks FP@PM!):&lt;br /&gt;
&lt;br /&gt;
"The concept of a hosted virtual machine is that the vserver can be moved to any host server and work. Any device on the host must be seen by the host and must have a VMware virtual counterpart. So yes your host will see you Fax Card but a virtual server on that host will only see a serial port. So if your software on the virtual server can make use of a comm port the application will work, but if it need the drivers of the card to function then it will not."&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hi , &lt;br /&gt;
I'm interested in your test , can you provide more details ?&lt;br /&gt;
I understand you'll install GFI Faxmaker on a VM and use a fax board on a different physical server equipped with EICON SOFT IP , am I right ?&lt;br /&gt;
How it worked ?&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;hr /&gt;
With Eicon  Diva soft IP you don't need any fax hardware what so ever!&lt;br /&gt;
&lt;br /&gt;
We've got the server talking directly to the Cisco Voice Router which is connected to an ISDN line (we found it easier not to configure Call Manager) so in theroy VMotion should work. &lt;br /&gt;
&lt;br /&gt;
The software was just over &amp;pound;400 for 2 lines and we're just about to pilot with the first 10 users. Adding more lines is just a software upgrade. &lt;br /&gt;
&lt;br /&gt;
One thing worth mentioning is that Eicon Diva Soft IP looks like it comes with a USB dongle if you read some manuals but it doesn't.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/66207"&gt;Fax hardware for vm's?&lt;/a&gt;</description>
      <pubDate>Thu, 02 Jul 2009 18:29:25 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10284</guid>
      <dc:date>2009-07-02T18:29:25Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>How to Increase the Hard Disk Size of Guest OS</title>
      <link>http://communities.vmware.com/docs/DOC-10293</link>
      <description>&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
The original copy of these instructions is located here --&amp;gt; &lt;a class="jive-link-external" href="http://vmetc.com/2007/11/07/increase-the-size-of-a-virtual-disk/"&gt;http://vmetc.com/2007/11/07/increase-the-size-of-a-virtual-disk/&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
When I need to increase the size of a virtual disk (.vmdk), you use the console command vmkfstools and the Gparted LiveCD. If you did not know, Gparted is an open source Partition Magic Alternative. Available on sourceforge.net&lt;br /&gt;
&lt;p /&gt;
These steps are for a Windows VM. They should work for any OS, however.&lt;br /&gt;
&lt;p /&gt;
1. Download the Gparted LiveCD ISO. You will need to save it to a location you can use it to boot the VM, like uploading it using the VI client to the ESX host's data store.&lt;br /&gt;
2. Shutdown the virtual machine you want to resize&lt;br /&gt;
3. Log into the ESX Server via Putty, or however you can get to the console.&lt;br /&gt;
4. Use vmkfstools to increase the size of the .vmdk For example if you had a VM named "MyOS" in a folder called "myVMFS" and you wanted to increase it from 20GB to 24GB you would type (it is case sensitive):&lt;br /&gt;
&lt;p /&gt;
vmkfstools -X 24g /vmfs/volumes/myVMFS/myOS.vmdk&lt;br /&gt;
&lt;p /&gt;
or&lt;br /&gt;
&lt;p /&gt;
vmkfstools -X 24576m /vmfs/volumes/myVMFS/myOS.vmdk &lt;br /&gt;
&lt;p /&gt;
5. Boot the VM to the Gparted ISO&lt;br /&gt;
6. Once the Gparted partition editor loads, click your disk in the partition list&lt;br /&gt;
7. Click the Resize/Move button&lt;br /&gt;
8. Drag the arrow to extend the size of the partition. Be sure to work out the free space before and/or after the partition by sliding the whole partition either left or right.&lt;br /&gt;
9. Next click the Apply button to start the resizing process.&lt;br /&gt;
10. After it completes click the Close button&lt;br /&gt;
11. Reboot the VM without the Gparted ISO to the VM's OS.&lt;br /&gt;
12. You will have to wait for a chkdsk on the reboot. Then Windows will reboot again.&lt;br /&gt;
13. Check your new disk size in My Computer and Disk Manager!&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
As an alternative to steps 3 &amp;#38; 4, you can resize the disk using the VI client GUI by choosing to Edit Settings, then click on the HD you want to resize, type in the new size, click OK. Again, the VM has to be powered off in order to do this. Doing this still requires you to run the Gparted utility to resize a partition, otherwise you will only be able to ADD a partion using the new space. If the disk you are resizing happens to be a non-system disk, you may be able to extend the partition within Windows to use the new space.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Another way to do this is to use a "ghost" program: &lt;br /&gt;
&lt;br /&gt;
1) Add a second HDD to the vm. The end size you want. In you're case 40Gb.&lt;br /&gt;
2) Restart VM and boot off a bootable ghost disk.&lt;br /&gt;
3) Use ghost program to clone disk 1 to disk 2.&lt;br /&gt;
4) After this is done power off VM.&lt;br /&gt;
5) Remove 1st HDD and set the 2nd drive to drive 1 in Virtual device node under edit VM settings.&lt;br /&gt;
6) Power up vm and that should be it.&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
The above steps were mostly taken from the discussion boards on this site and tweaked slightly for readability and spelling.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">storage</category>
      <pubDate>Wed, 01 Jul 2009 19:55:51 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10293</guid>
      <dc:date>2009-07-01T19:55:51Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Buslogic to Lsi</title>
      <link>http://communities.vmware.com/docs/DOC-10268</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2411">lsilogic_buslogic</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">lsi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">buslogic</category>
      <pubDate>Wed, 01 Jul 2009 11:57:54 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10268</guid>
      <dc:date>2009-07-01T11:57:54Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Troubleshoot ESXi 3.5 installation on IBM HS20</title>
      <link>http://communities.vmware.com/docs/DOC-10275</link>
      <description>&lt;h5&gt;When installing ESXi on IBM Blade HS20, after you've accepted the license agreement, you get the following message:&lt;/h5&gt;
&lt;i&gt;"Installation operation Failed!&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;The installation operation has encountered a fatal error:&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;Unable to find a supported device to write the VMWare ESX Server 3.i3.5.0 image to."&lt;/i&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;h5&gt;Here are some steps that can help you in order to install ESXi on this machine:&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;Disable IBM MegaRaid if it has been enable from the IDE Configuration in the system BIOS&lt;/li&gt;
&lt;li&gt;Boot on ESXi installation cd-rom&lt;/li&gt;
&lt;li&gt;Browse &lt;a class="jive-link-external" href="http://www.vm-help.com/esx/esx3i/find_PCI_ID.php"&gt;this procedure&lt;/a&gt;, and use the section &lt;b&gt;Find the device's PCI IDs using the ESXi boot cd&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Check if you hardware is listed in the &lt;a class="jive-link-external" href="http://www.vm-help.com/esx/esx3i/Hardware_support.php#Server"&gt;HCL Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use &lt;a class="jive-link-external" href="http://www.vm-help.com/esx/esx3i/ESXi_install_to_IDE_drive/ESXi_install_to_IDE_drive.php"&gt;Install ESXi 3.5 to an IDE drive&lt;/a&gt; to modify &lt;b&gt;TargetFilter.py&lt;/b&gt; to continue the installation process&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Note: If MegaRaid was enable, it means there are two disks. Be sure that the boot sequence is correctly set, to boot on the disk which has received ESXi installation.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;all links in this document have been found using the VMWare community&lt;/i&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">hs20</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">ibm</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">blade</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">installation_operation_failed</category>
      <pubDate>Mon, 29 Jun 2009 12:42:16 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-10275</guid>
      <dc:date>2009-06-29T12:42:16Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>how to create encrypted password to add users</title>
      <link>http://communities.vmware.com/docs/DOC-10272</link>
      <description>To generate the encrypted password, run "/sbin/grub-md5-crypt" from an ESX box&lt;br /&gt;
&lt;br /&gt;
Create the user "Yattong"&lt;br /&gt;
&lt;br /&gt;
/usr/sbin/useradd -p '+/sbin/grub-md5-crypt output...+' Yattong</description>
      <pubDate>Fri, 26 Jun 2009 10:48:28 GMT</pubDate>
      <author>yattongwu@hotmail.com</author>
      <guid>http://communities.vmware.com/docs/DOC-10272</guid>
      <dc:date>2009-06-26T10:48:28Z</dc:date>
      <clearspace:dateToText>4 months, 4 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>How-to Setup Internal routing on VI3i Host with Vyatta Virtual Router</title>
      <link>http://communities.vmware.com/docs/DOC-9617</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">networking</category>
      <pubDate>Mon, 09 Mar 2009 15:39:55 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9617</guid>
      <dc:date>2009-03-09T15:39:55Z</dc:date>
      <clearspace:dateToText>8 months, 5 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>after insert a hot-plugable Disk into my proLiant , How to use max capacity</title>
      <link>http://communities.vmware.com/docs/DOC-9659</link>
      <description>&lt;br /&gt;
Hello Welcome to the community,&lt;br /&gt;
&lt;p /&gt;
I'm a Esxi starter an have a Problem after plug in a 4th Disk into my Dell ProLiant server.&lt;br /&gt;
&lt;p /&gt;
The Dell  ArrayConfigurationUtility expands my  existing logical Drive and set the capacity from 268 GB to 410 GB.&lt;br /&gt;
&lt;p /&gt;
That's fine up to here. In the VI Client under &amp;lt;configuration&amp;lt;strorage&amp;lt;properties the Device shows Capacity 410 GB but on the left site &lt;br /&gt;
&lt;p /&gt;
there is an extent with capacity 268 gb. If i klick on the add extent button i get an empty Form.&lt;br /&gt;
&lt;p /&gt;
How can I get max capacity on the extent or is it possible to expand the extent.&lt;br /&gt;
&lt;p /&gt;
Thanks &lt;br /&gt;
&lt;p /&gt;
Heiko Mevius</description>
      <pubDate>Mon, 09 Mar 2009 09:18:14 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9659</guid>
      <dc:date>2009-03-09T09:18:14Z</dc:date>
      <clearspace:dateToText>8 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>VMware VCB frontend script for Windows / ESX</title>
      <link>http://communities.vmware.com/docs/DOC-9654</link>
      <description>&lt;br /&gt;
Here is my little contribution to Vmware World: a frontend for Vmware VCB that tends to make backups of virtual machines easier.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;span style="color:#ff9900"&gt;&lt;b&gt;Features&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Can be run from Windows (VCB framework needed) or ESX host&lt;/li&gt;
&lt;li&gt;Connection to ESX or to Virtual Center&lt;/li&gt;
&lt;li&gt;2 backup types: full VM (logs, config file and all Vdisks), or selected Vdisks&lt;/li&gt;
&lt;li&gt;3 launching modes:
&lt;ul&gt;
&lt;li&gt;interactive: ask you for each VM(s) the backup type (full or disk selection) and copy&lt;/li&gt;
&lt;li&gt;save: store a backup list to a file&lt;/li&gt;
&lt;li&gt;run: backup the list of VM(s) specified in file (log to external file)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Multiple configuration files support: eg: one config file to access a standalone ESX another to access Virtual Center&lt;/li&gt;
&lt;li&gt;Copy disks via LAN or SAN (see vcb_tool.conf)&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;span style="color:#ff9900"&gt;&lt;b&gt;Installation&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Windows&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Extract the content of zip file to VCB framework directory&lt;/li&gt;
&lt;li&gt;Edit the vbc_tool.conf file and change the setup section to match your need&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style="color:#ff0000"&gt;Be carefull to edit the file with an editor that supports Linux text file (Notepad++ or Gvim for example) or use dos2unix provided in bin folder.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ESX&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Copy bin/vcb_tool.sh and vcb_tool.conf files to ESX&lt;/li&gt;
&lt;li&gt;make the script executable executable using "chmod +x vcb_tool.sh".&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;b&gt;&lt;span style="color:#ff9900"&gt;Usage&lt;/span&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
vcb_tool -c file.conf : config and option file (vcb_tool.conf if not specified)&lt;br /&gt;
vcb_tool -s batchfile : save backup scenario to batchfile&lt;br /&gt;
vcb_tool -r batchfile : run backup tool scenario from batchfile (think cron or windows tasks)&lt;br /&gt;
vcb_tool -i : launch backup tool in interactive mode (for fast and ponctual backups)&lt;br /&gt;
&lt;br /&gt;
For Windows usage I provide one sample batch file for each mode.&lt;br /&gt;
&lt;span style="color:#ff9900"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#ff9900"&gt;&lt;b&gt;Screenshots&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/5534/250-187/vcb_tool_screenshot.png" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/5534/250-187/vcb_tool_screenshot.png" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
Comments and suggestions are welcome. &lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;hr /&gt;
David LIMA&lt;br /&gt;
Infrastructure Consultant &lt;br /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/5535/scc.jpeg" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/5535/scc.jpeg" class="jive-image"  /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2410">vcb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">backups</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">san</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">vi3</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">3.5</category>
      <pubDate>Wed, 04 Mar 2009 17:59:56 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9654</guid>
      <dc:date>2009-03-04T17:59:56Z</dc:date>
      <clearspace:dateToText>4 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>15</clearspace:replyCount>
    </item>
    <item>
      <title>ghettoVCB with log to file</title>
      <link>http://communities.vmware.com/docs/DOC-9653</link>
      <description>I took the liberty to tweek lamw's awsome script&lt;br /&gt;
&lt;br /&gt;
I simply add a variable called  LOG_FILE_LOCATION and had most of the ECHO command to pipe in a file.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
You can get the original script here &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-8760"&gt;ghettoVCB.sh - Free alternative for backing up VM's for ESX(i) 3.5 and 4.0+&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I used the script on ESXi and had no problems with it...&lt;span style="color:#ff0000"&gt;this dosen't mean you should'nt test it before!!!&lt;/span&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;b&gt;All credits for the script should go to lamw&lt;/b&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">ghettovcb</category>
      <pubDate>Wed, 04 Mar 2009 17:19:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9653</guid>
      <dc:date>2009-03-04T17:19:35Z</dc:date>
      <clearspace:dateToText>8 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>VMWare ESXi Hardisk Space</title>
      <link>http://communities.vmware.com/docs/DOC-9650</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I facing an issue that the hardisk space for host (Vmware ESXi) maximum = 256GB.&lt;br /&gt;
&lt;p /&gt;
Is it anywhere can increase the hardisk space?? It is because my hardisk space for server around 1.2TB.&lt;br /&gt;
&lt;p /&gt;
 Please help..</description>
      <pubDate>Wed, 04 Mar 2009 02:10:54 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9650</guid>
      <dc:date>2009-03-04T02:10:54Z</dc:date>
      <clearspace:dateToText>8 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>How to deploy VM from template  in ESXi (3.5U2)</title>
      <link>http://communities.vmware.com/docs/DOC-9598</link>
      <description>&lt;br /&gt;
Hi :&lt;br /&gt;
&lt;p /&gt;
       I want to deploy VM from my VM template  in ESXi (3.5U2).  The function that deploy VM from VM template is not  in VI (ESXi include VI ).Would anyone tell me to  deploy VM from template must  use VIMA or  using  another tools.&lt;br /&gt;
&lt;p /&gt;
    Thank you !</description>
      <pubDate>Sat, 28 Feb 2009 04:43:34 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9598</guid>
      <dc:date>2009-02-28T04:43:34Z</dc:date>
      <clearspace:dateToText>8 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESX upgrade from 3.02 to 3.5 - Migrate fails, operation timed out</title>
      <link>http://communities.vmware.com/docs/DOC-9528</link>
      <description>I have 3 ESX servers in cluster and a Virtual Center server. &lt;br /&gt;
&lt;br /&gt;
Upgraded the virtual center server to version 2.5. Then I planned to upgrade ESX servers. Migrated all virtual machines from one of the ESX. The upgrade failed (due to noe unplug fibre cables to SAN), and I had to do a totally new install of 3.5. The install went well, and looks good in vCenter. &lt;br /&gt;
Have manually setup switches and vnics. But when trying to migrate virtual machines from one of the esx with version 3.02 the migrate fails with error: Operation timed out&lt;br /&gt;
&lt;br /&gt;
Validating is reporting OK. I had 2 virtual machines that was powered off when re-installing. Powering one of this on is working OK.&lt;br /&gt;
Have also applied all Critical and Non Critical updates from Update Manager to the new installed ESX server.&lt;br /&gt;
&lt;br /&gt;
Update: When doing a cold migrate, the migrate works OK, but powering the machine o, reveale that the network cable is plugged out. So I guess my neworking config that I manually have entered is not correct. Is it an easy way to export/import all network settings to my new 3.5 ESX ...? Have tried ITQ Infrastructure Client version 1.0.0.22631 with no luck&lt;br /&gt;
&lt;hr /&gt;
Hope this helps&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://everythinglinux.org/rsync/"&gt;http://everythinglinux.org/rsync/&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
since you are not well versed with GNU/Linux, you can even try this if it works&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
On ESX server 1&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
cd /vmfs/volumes&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
then use scp -r DATASTORE/* root@ESX_SERVER_2:/vmfs/volumes/REQUIRED_DATASTORE&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
by this way you will be syncing the vmfs partitions or technically speaking copying the VM's from one server to another...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Anil&lt;br /&gt;
Save the planet, Go Green&lt;br /&gt;
&lt;br /&gt;
if you found my answer to be useful, feel free to mark it as Helpful or Correct.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/192959"&gt;ESX upgrade from 3.02 to 3.5 - Migrate fails, operation timed out&lt;/a&gt;</description>
      <pubDate>Thu, 19 Feb 2009 22:39:04 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9528</guid>
      <dc:date>2009-02-19T22:39:04Z</dc:date>
      <clearspace:dateToText>9 months, 5 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Exchange Server 2007 Design Considerations</title>
      <link>http://communities.vmware.com/docs/DOC-9537</link>
      <description />
      <pubDate>Wed, 18 Feb 2009 21:06:27 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9537</guid>
      <dc:date>2009-02-18T21:06:27Z</dc:date>
      <clearspace:dateToText>9 months, 6 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Virtualizing Microsoft Exchange Server 2007</title>
      <link>http://communities.vmware.com/docs/DOC-9536</link>
      <description />
      <pubDate>Wed, 18 Feb 2009 20:59:49 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9536</guid>
      <dc:date>2009-02-18T20:59:49Z</dc:date>
      <clearspace:dateToText>9 months, 6 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Installing ESX 3.5 on Workstation</title>
      <link>http://communities.vmware.com/docs/DOC-9535</link>
      <description />
      <pubDate>Wed, 18 Feb 2009 20:56:25 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9535</guid>
      <dc:date>2009-02-18T20:56:25Z</dc:date>
      <clearspace:dateToText>9 months, 6 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Hp and Vmware</title>
      <link>http://communities.vmware.com/docs/DOC-9534</link>
      <description />
      <pubDate>Wed, 18 Feb 2009 20:53:42 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9534</guid>
      <dc:date>2009-02-18T20:53:42Z</dc:date>
      <clearspace:dateToText>9 months, 6 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Migrate ESX 2.5.X vm's to ESX 3.5.X server</title>
      <link>http://communities.vmware.com/docs/DOC-9494</link>
      <description>I'm involved in a project to migrate several vm's that are currently on an ESX 2.5.X server (SAN storage) over to an ESX 3.5.X server (different SAN storage). I've read the Upgrade Guide. What I'd like to be able to do is be able to perform the migration and be in a rollback position if something goes awry.&lt;br /&gt;
&lt;br /&gt;
If both of my ESX 2.5 and 3.5 servers can see each other's SANS, would I be able to do a cold migration from ESX 2.5 --&amp;gt; ESX 3.5? A live migration is out of the question as the ESX 2.5 server is AMD and the ESX 3.5 server is Intel. During the cold migration steps i'm presented with a screen that states:&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;Keep virtual machine configuration files and virtual disks in their current locations.&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;Move virtual machine configuration files and virtual disks&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
If I were to select 'Move virtual machines....' I'm assuming all the vm files (vmx, vmdk, etc) would get moved over to whatever datastore I select. So, now I've moved an ESX 2.5/vmfs2 vm over to ESX 3.5/vmfs3 datastore. Has that vm now been upgraded to vmfs3, or do I have to perform another step? Should I be able to power up that vm now?&lt;br /&gt;
&lt;p /&gt;
If things don't work out would I now be able to cold migrate BACK to the ESX 2.5 server and vmfs2 datastore?&lt;br /&gt;
&lt;p /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
You will need to perform two more steps first will be to upgrade the VM's virtual hardware and second will be to upgrade the tools. You can right click on the VM in inventory and can see these options.&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Samir&lt;br /&gt;
&lt;p /&gt;
P.S : If you think this information is helpful consider rewarding points&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hi kooltechies&lt;br /&gt;
&lt;br /&gt;
Thanks for the quick response. So, as far as versions of vmfs is concerned. If I'm copying a vmfs2 vm into a vmfs3 datastore, the vm will become vmfs3 format? Also, if I wanted to "rollback" would I be able to do a cold migration back to the ESX 2.5 server/vmfs2 datastore and be back to how I started?&lt;br /&gt;
&lt;p /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
It's been a bit since I had to do this, but ESX 2.5 vs ESX 3.x, they introcduct VMFS3. And they also re-configured the file layout. In 2.5 there was a separate location for the VMX, nvram etc and the VMDK's were in a different location. in ESX 3.x, now all the files associated to that VM resides under /vmfs/volumes/datastore/VMname. The cleanest way I was able to do this was:&lt;br /&gt;
&lt;br /&gt;
Build ESX 3.x VM shells on your ESX3 host, using the same VM information as your 2.5's with memory, the OS flavor, NICs etc. &lt;br /&gt;
&lt;p /&gt;
Create those VMs with no disk attached. This will create your folder structure. &lt;br /&gt;
&lt;p /&gt;
Then use Veeam or WinSCP to copy the vmdk's from your 2.5 storage to the new folder structure.&lt;br /&gt;
&lt;p /&gt;
Then via VC add those vmdk's back your newly created VMs&lt;br /&gt;
&lt;p /&gt;
Power them up and it will prompt you to "Upgrade the vmdk to vmfs3"&lt;br /&gt;
&lt;p /&gt;
Probably worth mentioning if you "Remove from inventory" of your 2.5 VMs, I believe you can create the same name.&lt;br /&gt;
&lt;p /&gt;
Assuming you have enought space to do all of this...then if you need to dump back to your 2.5, simply "Remove from inventory" and add in the 2.5 VMs again. &lt;br /&gt;
&lt;p /&gt;
I know this is sort of a long way around, but it worked and the safety net is there if you have to move back because I don't believe you will be able to cold migration from 3.x to 2.5.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hi Cruicer&lt;br /&gt;
&lt;br /&gt;
Thanks for the response. Instead of using WINSCP or a copy program could I not log onto VC 2.5 and browse the ESX 2.5 datastore - open the vm folder and select/copy all of the ESX 2.5 vm files over to the ESX 3.5 datastore/newly created folder structure?&lt;br /&gt;
&lt;p /&gt;
I'm just figuring if it might be easier to take advantage of the capability of VC 2.5 to browse datastores and perform "windows explorer like" copies.&lt;br /&gt;
&lt;p /&gt;
I do like the fact that this way seems to leave the door open to add back to the ESX 2.5 server.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I would think so...worth a shot, what's the worst that can happen...you copy fails. Veeam is a freeware in case you were wondering...&lt;br /&gt;
&lt;br /&gt;
You are going to have to take a one VM by one VM approach. since in 2.5 you stored all the VMDK's in one location (I believe again it's been awhile) you are going to want to grab the VMDK from one VM on your 2.5 host, then copy it to the \vmfs\volumes\datastorename\VMon3.xname\ Again create your shell first so you have the vmx, yada yada files. dump the vmdk's into it re-attach bing bang boom....now where is that "easy button"...&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Another option - use VMware Converter to move the ESX 2.5 guests to the ESX 3.5 hosts - the converter creates the new image on the vmfs3 storage, upgrades the guest to vmfs2 format and installs the updated tools.&lt;br /&gt;
&lt;br /&gt;
The only issue we've seen is that we have to go into the guest and remove the invisible NIC and reconfigure the IP addresses.&lt;br /&gt;
&lt;p /&gt;
Another option is to use the Converter function in VirtualCenter 2.5 - Live conversion works in the right security environments. (We tested it but had some security updates to .Net that boke the live conversion feature.)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Veeam is freeware? Cool. I thought it would cost something. I never used it before. How would I use Veeam to copy the ESX 2.5 vm files from one SAN to another SAN? Both ESX servers can see each other's stoarge btw.&lt;br /&gt;
&lt;br /&gt;
Cheers&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
but if you want to preserve the VM name...can't do it w/ Converter...plus I didn't think converter worked w/ 2.5...could be wrong or could have been with the beta version of converter.&lt;br /&gt;
&lt;hr /&gt;
We're using version 3.0.3 and you can keep the name of the guest during the conversion.&lt;br /&gt;
&lt;hr /&gt;
Once you get it installed, it basically resembles file manager for windows...you can drap and drop from one ESX host to the other. If you know the root password of your 3.x hosts, by default ssh is disabled...you can enable it but if you have a local account as well, veeam will also elivate your access to root level.&lt;br /&gt;
&lt;hr /&gt;
But how does that work if you already have a VM with that same name in the environment. Won't he get a duplicate name error? I've only used converter for P2V...so pardon my questions.&lt;br /&gt;
&lt;hr /&gt;
We have the ESX 2.5 guest/hosts still in VirtualCenter 2.0.x and the ESX 3.5 hosts in VirtualCenter 2.5.&lt;br /&gt;
&lt;br /&gt;
Converter logs into VC2.0.x - you choose the guest, and then it logs into VC2.5 where you add a virtual machine.&lt;br /&gt;
&lt;p /&gt;
So the guest is not part of the same VC environment - note for Converter 3.0.3, the guest servers being migrated must be turned off and the speed of the migration depends on both your network and SAN.&lt;br /&gt;
&lt;p /&gt;
If the migration fails, you turn on the guest in VC2.0.x; if it works, you're already up and running (assuming you checked the option to start the guest upon completion.)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Keep in mind that I'd be copying to a different datastore. I don't think that having the same name would present problems - but I'm not sure. So, the consensus is that Converter 3.0.3 works fine to migrate from ESX 2.5 to ESX 3.5? Other then the nic issue it shouldn't present any problems?&lt;br /&gt;
&lt;br /&gt;
What about the Converter Enterprise that comes with VC 2.5? Will that work too?&lt;br /&gt;
&lt;p /&gt;
Cheers&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
What if I don't have VC 2.0? Will Converter log onto an ESX server?&lt;br /&gt;
&lt;hr /&gt;
Ok...that makes sense, two totally different VC environments...but if one only had one Virtual Center server w/ 2.x and 3.x hosts...guessing you would have to have different VM names? Datastores is not the issue, it is the your overall ESX environment if all of your hosts are managed by one Virtual Center server, then you can't have two VMs of the same exact name.&lt;br /&gt;
&lt;hr /&gt;
We've moved a couple of hundred guests using the process I've described and will be using it until we've completed our upgrade.&lt;br /&gt;
&lt;br /&gt;
We tested the Entreprise Converter withing VC and it offers a live migration option. Unfortunately when we went to use it in production, there had been some .Net patches and we got into the .Net equivalent of dll hell. Since the cold migration process works with Converter 3.0.3, we decided to use it rather than figure out which .Net component went screwy.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Crucier - My environment would just be one VC 2.5 - but the ESX 2.5 server is not part of VC. The plan was to add it to VC 2.5, but if that might prsent problems with duplicate names then i'll keep it stand-alone. &lt;br /&gt;
&lt;br /&gt;
It seems that I can run Converter and i believe Converter can log onto a VC and/or an ESX server - so, hopefully it won't be a problem. Once again I like the fact that if the upgrade is unsuccessful I should be able to power up my ESX 2.5 vm and go about my business like nothing happned.&lt;br /&gt;
&lt;p /&gt;
Thanks all for the great responses.....much appreciated!&lt;br /&gt;
&lt;p /&gt;
Cheers&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/193635"&gt;Migrate ESX 2.5.X vm's to ESX 3.5.X server&lt;/a&gt;</description>
      <pubDate>Tue, 10 Feb 2009 20:12:18 GMT</pubDate>
      <author>ian.forbes@scalar.ca</author>
      <guid>http://communities.vmware.com/docs/DOC-9494</guid>
      <dc:date>2009-02-10T20:12:18Z</dc:date>
      <clearspace:dateToText>9 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>"general fault cauesd by"  after copying vm's between storage</title>
      <link>http://communities.vmware.com/docs/DOC-9430</link>
      <description>&lt;br /&gt;
Deal all,&lt;br /&gt;
&lt;p /&gt;
i'm installed and configure 4 ESXi servers and connect them to San,&lt;br /&gt;
&lt;p /&gt;
So, when copying Vm,s from local storage (Datastore)  to  san storage (datastore) through the copying give error:&lt;br /&gt;
&lt;p /&gt;
"general fault caused by file" and the Lun is corrupted and disappears between al servers.&lt;br /&gt;
&lt;p /&gt;
can any one help me&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Sat, 31 Jan 2009 10:18:10 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9430</guid>
      <dc:date>2009-01-31T10:18:10Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Slow disk performance with Mapped Raw LUN (RDM) in ESXi 3.5.0 U3</title>
      <link>http://communities.vmware.com/docs/DOC-9416</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
So I'm seeing drastically lower sequential transfer rates in my guest operating system when I switch from the standard virtual disk to a Mapped Raw LUN.  And by drastic, I mean that the transfer rate in the guest is less than half when I expect at least the equivalent if not better.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;$ dd if=/dev/sdb of=/dev/null bs=1MB count=16384
16384000000 bytes (16 GB) copied, 57.9021 seconds, 283 MB/s
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;$ dd if=/dev/sdc of=/dev/null bs=1MB count=16384
16384000000 bytes (16 GB) copied, 125.228 seconds, 131 MB/s
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The Mapped Raw LUN for Raw Device Mapping (RDM) was configured like so:&lt;br /&gt;
&lt;br /&gt;
  &lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;$ vmkfstools -a lsilogic -z /vmfs/devices/disks/vmhba2\:3\:0\:0 \
    /vmfs/volumes/datastore/guestvm/mydisk.vmdk
  cat &amp;gt;&amp;gt; guestvm.vmx &amp;lt;&amp;lt; EOF
  scsi0:2.present = &amp;quot;true&amp;quot;
  scsi0:2.fileName = &amp;quot;/vmfs/volumes/datastore/guestvm/mydisk.vmdk&amp;quot;
  scsi0:2.deviceType = &amp;quot;scsi-hardDisk&amp;quot;
  scsi0:2.mode = &amp;quot;independent-persistent&amp;quot;
  scsi0:2.redo = &amp;quot;&amp;quot;
  EOF
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Both the standard virtual disk and the Mapped Raw LUN are 2-disk RAID 1 arrays on the same channel in a PowerVault DAS attached to a PERC 6/e controller in an older PowerEdge 1950.  The guest operating system is CentOS 5.2 and is running idle alone.  The kernel has been passed "elevator=noop", the partitions are mounted with "defaults,noatime,nodiratime,data=journal", and the read ahead buffers have been increased ("blockdev --setra 16384").  Feel free to recommend any other IO optimizations; however, the performance difference does not appear to be due to these settings.&lt;br /&gt;
&lt;br /&gt;
According to VMware and 3rd parties, I should be getting anywhere between marginal and large performance gains, not drops.&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/resources/techresources/1040"&gt;Performance Characterization of VMFS and RDM Using a SAN&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://malaysiavm.com/blog/vmware-vmfs-vs-rdm-raw-device-mapping/"&gt;VMware VMFS Vs RDM (Raw Device Mapping)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Any thoughts what might be wrong?  Any improvements for a guest that will handle heavy IO?&lt;br /&gt;
&lt;br /&gt;
Justin</description>
      <pubDate>Fri, 30 Jan 2009 20:56:04 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9416</guid>
      <dc:date>2009-01-30T20:56:04Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Suggested configuration for RAID level</title>
      <link>http://communities.vmware.com/docs/DOC-9383</link>
      <description>Hallo,&lt;br /&gt;
&lt;br /&gt;
I have a server 4core, 16 GB RAM, 4 discks SAS 140 GB and a EMC SAN whith fibre channel. What is the suggested RAID level for reduncancy and performance ? &lt;br /&gt;
&lt;br /&gt;
Raid 1 + (one disk advanced for other use)&lt;br /&gt;
Raid 10 (is really necessary for an ESX configuration ?)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
others&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
Raid 5 (suggested for VMFS but no for simple ESX configuration)&lt;br /&gt;
Raid 6 (not suggested because too slow)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
For your ESX install run a pair of SAS drives locally in the server RAID1. You can then remove the other 2 drives as they are not really required.&lt;br /&gt;
&lt;br /&gt;
Your EMC SAN should have a lot of redundancy features built in. If you can afford the disk use RAID 1+0 (10) for your VMFS volumes. If not use RAID5. Configure hot spare drives with both options.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
As to the local storage (As opposed to the EMC SAN) I would go with RAID 1+0 for best performance. If you have an EMC SAN you will probably be storing most of your VMs on the SAN. Your local storage will be for your ESX install and perhaps a datastore for testing. As such you would want to go with a RAID that offered high performance and redundancy , even though it does so at high disk cost, because size is not you primary concern on the local storage.&lt;br /&gt;
&lt;br /&gt;
As to your EMC (Clariion AX whatever) You will want to cut up LUNS based on performance needs of your VMs. &lt;br /&gt;
&lt;br /&gt;
RAID 5 LUNS  for your regular VMs&lt;br /&gt;
&lt;br /&gt;
RAID 1+0 LUNS for SQL (Oracle or MSSQL)  or Exchange VMs&lt;br /&gt;
&lt;br /&gt;
Just my two cents on storage opinions vary and the right answer for you is dependent on your environment.&lt;br /&gt;
&lt;hr /&gt;
Agree with lightbulb. Different LUNs at different Raid level will give you the required performance and cost benefits.&lt;br /&gt;
&lt;br /&gt;
Try not to run too many VMs per LUN. You should be able to get a recommendation of the max number of VMs per LUN from EMC dependant on the controllers you are running in your SAN.&lt;br /&gt;
&lt;hr /&gt;
Thanks to all for the reply &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/blush.gif" alt=":8}" /&gt;&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/191251"&gt;Suggested configuration for RAID level&lt;/a&gt;</description>
      <pubDate>Wed, 28 Jan 2009 14:48:52 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9383</guid>
      <dc:date>2009-01-28T14:48:52Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ghettoQuickMigrate.sh - "Quick" Migration for VM(s) running on ESXi 3.5u2+</title>
      <link>http://communities.vmware.com/docs/DOC-9400</link>
      <description>&lt;h2&gt;Description:&lt;/h2&gt;
&lt;br /&gt;
This script utilizes &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vima/"&gt;VMware VIMA&lt;/a&gt; and the &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html"&gt;VI Perl Toolkit&lt;/a&gt; found in VMware VIMA.&lt;br /&gt;
&lt;br /&gt;
ESXi is a formidable hypervisor solution in both licensed and free operation mode. When fully licensed in a Virtual Center cluster, ESXi's features (VMotion, HA, DRS, VCB, etc...) are indistinguishable from ESX. One feature of importance, VMotion, is used to perform live migrations of VMs that reside on shared storage from one host to another. In free operation mode however, ESXi hosts are independent of each other, in which case, useful features like VMotion become unusable.&lt;br /&gt;
&lt;br /&gt;
The motivation for this script &lt;b&gt;(ghettoQuickMigrate.sh)&lt;/b&gt; then is to provide administrators running the free version of ESXi on several hosts with the capability to perform Hyper-V-like &lt;b&gt;"quick"&lt;/b&gt; migrations of virtual machines residing on shared storage between the hosts. VMware's VIMA virtual appliance was chosen as the central launch point for the quick migration process. &lt;b&gt;ghettoQuickMigration.sh&lt;/b&gt; is executed from within VIMA and is compatible with ESXi 3.5u2+. &lt;br /&gt;
&lt;br /&gt;
Excerpt from &lt;a class="jive-link-external" href="http://download.microsoft.com/download/8/2/f/82fa3808-7168-46f1-a07b-f1a7c9cb4e85/WS08%20Quick%20Migration%20with%20Hyper-V_Whitepaper_FINAL.doc"&gt;Hyper-V Quick Migration Document&lt;/a&gt;:&lt;br /&gt;
&lt;div class="jive-quote"&gt;
For a planned migration, quick migration saves the state of a running guest virtual machine (memory of original server to disk/shared storage), moves the storage connectivity from one physical server to another, and then restores the guest virtual machine onto the second server (disk/shared storage to memory on the new server). The speed of the migration depends on how much memory needs to be written to disk, and on the speed of the connectivity to storage; generally, migration takes just a few seconds. &lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
This script follows similarly to the Hyper-V Quick Migration process with the exception of replacing the disk resource swap with a virtual machine unregister/register command on the source and target hosts respectively. The state (powered ON/Suspended/OFF) of the virtual machine designated for migration is preserved through the entire process. Online virtual machines undergoing this migration will experience a temporary pause due to the suspend and resume steps. &lt;br /&gt;
&lt;br /&gt;
Like VMware's VMotion storage requirement, virtual machines in environments where this quick migration script is employed must reside on shared storage between source and target hosts. The script will provide a list of validated VMs that fit this criteria. Unlike VMware's VMotion CPU feature requirements, this script does &lt;b&gt;&lt;u&gt;not&lt;/u&gt;&lt;/b&gt; validate and enforce source and target CPU hardware compatibility. &lt;b&gt;It is up to the user to ensure that virtual machines designated for migration are compatible with both the source and target host CPU features prior to execution of the script.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Requirements&lt;/h2&gt;
VMs running on ESXi 3.5u2+&lt;br /&gt;
VMware VIMA (virtual appliance)&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Usage&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;ghettoQuickMigrate&lt;/b&gt; input parameters:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Usage: ./ghettoQuickMigrate.sh [-s SOURCE_ESX] [-d DESTINATION_ESX] [-i CONFIG_FILE_TO_OUTPUT] [-c CONFIG_FILE]

OPTIONS:
   -s     Source ESXi 3.5u2+ Server IP or Hostname
   -d     Destination ESXi 3.5u2+ Server IP or Hostname
   -i     Generate a configuration file
   -c     Configuration file to be executed

(e.g.)
    Generate configuration file
        ./ghettoQuickMigrate.sh -s himalaya.primp-industries.com -d olga.resnet.ucsb.edu -i migrationConf

    Execute configuration file
        ./ghettoQuickMigrate.sh -c migrationConf

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Setup&lt;/h2&gt;
&lt;br /&gt;
Two default VMware VI Perl Toolkit scripts require a slight modification. On initial execution, this script &lt;b&gt;(ghettoQuickMigrate.sh)&lt;/b&gt; will duplicate and modify the necessary lines of the two scripts. This operation will require the user to enter the password for their &lt;b&gt;vi-admin&lt;/b&gt; account. Once entered, the following two scripts will be generated and stored in &lt;b&gt;/usr/lib/vmware-viperl/apps/vm&lt;/b&gt;.&lt;br /&gt;
1) &lt;b&gt;my-vmregister.pl&lt;/b&gt;&lt;br /&gt;
2) &lt;b&gt;my-vmcontrol.pl&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Prior to starting, ensure that the VMware VIMA host is managing the appropriate ESXi 3.5u2+ hosts (those that will be utilizing the ghettoQuickMigrate.sh script). The script uses VMware VI Fast Pass authentication to connect to the ESXi server(s). The following steps will demonstrate how to set this up prior to executing the script.&lt;br /&gt;
&lt;br /&gt;
1. Add ESXi hosts to VIMA managment using vifp&lt;br /&gt;
&lt;br /&gt;
A password prompt for the vi-admin account and root password to the pertinent ESXi host(s) will be presented.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ sudo vifp addserver olga.resnet.ucsb.edu
root@olga.resnet.ucsb.edu's password:
[vi-admin@vima-primp-industries ~]$
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Verify that the appropriate hosts are being managed by VIMA&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ sudo vifp listservers
olga.resnet.ucsb.edu
himalaya.primp-industries.com
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
3. Lastly, prior to running any of the RCLI or VI Perl Toolkits that utilize VI Fast Pass (not all can), run the following command on the appropriate ESXi host(s).&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ vifpinit olga.resnet.ucsb.edu
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
To remove a server from VIMA, use the argument “removeserver” on the host and provide the appropriate credentials.&lt;br /&gt;
&lt;br /&gt;
Now, you're ready to begin!&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Example execution &lt;/h2&gt;
&lt;br /&gt;
1. Initial script preparation and VI Fast Pass authentication&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoQuickMigrate.sh -s olga.resnet.ucsb.edu -d kalina.resnet.ucsb.edu -i migrationConf

VI Fast Pass &amp;quot;vifpinit&amp;quot; has not been executed for either &amp;quot;olga.resnet.ucsb.edu&amp;quot; or &amp;quot;kalina.resnet.ucsb.edu&amp;quot;!
Please run the following once prior to executing this script:

        vifpinit olga.resnet.ucsb.edu
                or
        vifpinit kalina.resnet.ucsb.edu

You can check your environmental variables to ensure the following have been defined:

        env | grep VI

        VI_SERVER, VI_PROTOCOL, VI_PORTNUMBER, VI_SERVICEPATH, VI_USERNAME and VI_PASSWORD

[vi-admin@vima-primp-industries ~]$ vifpinit olga.resnet.ucsb.edu
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Generating available virtual machine list&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoQuickMigrate.sh -s olga.resnet.ucsb.edu -d kalina.resnet.ucsb.edu -i migrationConf

Retrieving info from: olga.resnet.ucsb.edu ...
Generating virtual machine list (this may take some time)....

1)  quickMigrate-1
2)  quickMigrate-2
3)  quickMigrate-3
4)  exit

Please select VM(s) to be migrated (e.g. 1,2,3,4,5 or 1,2,3-5):
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
3. Confirmation of selected VM(s)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; The current configuration will be saved to the specified file if migration is not executed. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoQuickMigrate.sh -s olga.resnet.ucsb.edu -d kalina.resnet.ucsb.edu -i migrationConf

Retrieving info from: olga.resnet.ucsb.edu ...
Generating virtual machine list (this may take some time)....

1)  quickMigrate-1
2)  quickMigrate-2
3)  quickMigrate-3
4)  exit

Please select VM(s) to be migrated (e.g. 1,2,3,4,5 or 1,2,3-5):
1-3

Selected VM(s):

1) quickMigrate-1
2) quickMigrate-2
3) quickMigrate-3

Please confirm the quick migration of the listed 3 VM(s) from &amp;quot;olga.resnet.ucsb.edu&amp;quot; to &amp;quot;kalina.resnet.ucsb.edu&amp;quot;? (y or n)
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
4. Execution of migration &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;--------------------------------------------------------------------
SOURCE :: |olga.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-1                                          [          ]
quickMigrate-2                                          [  queued  ]
quickMigrate-3                                          [  queued  ]

--------------------------------------------------------------------
TARGET :: |kalina.resnet.ucsb.edu|
--------------------------------------------------------------------


====================================================================
Migrating quickMigrate-1
Status: Suspending
0/3 VM(s) migrated -- 3 VM(s) left to migrate
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
5. Migration progress for each VM will be updated on the screen&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;--------------------------------------------------------------------
SOURCE :: |olga.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-2                                          [####      ]
quickMigrate-3                                          [  queued  ]

--------------------------------------------------------------------
TARGET :: |kalina.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-1                                          [ migrated ]


====================================================================
Migrating quickMigrate-2
Status: Unregistering
1/3 VM(s) migrated -- 2 VM(s) left to migrate
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;--------------------------------------------------------------------
SOURCE :: |olga.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-3                                          [  queued  ]

--------------------------------------------------------------------
TARGET :: |kalina.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-1                                          [ migrated ]
quickMigrate-2                                          [########  ]


====================================================================
Migrating quickMigrate-2
Status: Resuming
2/3 VM(s) migrated -- 1 VM(s) left to migrate
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
6. Migration completed&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;--------------------------------------------------------------------
SOURCE :: |olga.resnet.ucsb.edu|
--------------------------------------------------------------------

--------------------------------------------------------------------
TARGET :: |kalina.resnet.ucsb.edu|
--------------------------------------------------------------------
quickMigrate-1                                          [ migrated ]
quickMigrate-2                                          [ migrated ]
quickMigrate-3                                          [ migrated ]


====================================================================
3/3 VM(s) migrated


Start time: Mon Jan 26 00:58:34 PST 2009
End   time: Mon Jan 26 01:00:00 PST 2009
Duration  : 1.43 Minutes
&lt;/code&gt;&lt;/pre&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3.5i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx3i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi_3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">quick_migrate</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">quick_migration</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">migrate</category>
      <pubDate>Sun, 25 Jan 2009 09:53:49 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9400</guid>
      <dc:date>2009-01-25T09:53:49Z</dc:date>
      <clearspace:dateToText>1 month, 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>vmware esxi on dell optiplex 745 cannot be completed</title>
      <link>http://communities.vmware.com/docs/DOC-9381</link>
      <description>i need help regarding the above topic</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">dell</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi_3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">install</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">installation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">sata</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">storage</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">vmware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configuration</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">boot</category>
      <pubDate>Thu, 22 Jan 2009 09:19:09 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9381</guid>
      <dc:date>2009-01-22T09:19:09Z</dc:date>
      <clearspace:dateToText>10 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Can't Add Harddisk capacity 500 GB</title>
      <link>http://communities.vmware.com/docs/DOC-9380</link>
      <description>I have VM on ESX 3.5 when i try add hard disk capacity 500 GB have error "a general system error occurred: The file is too big for the filesystem"</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <pubDate>Wed, 21 Jan 2009 06:07:07 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9380</guid>
      <dc:date>2009-01-21T06:07:07Z</dc:date>
      <clearspace:dateToText>10 months, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>DualCPU w/ different CPUID &amp;#38; Microcode Level</title>
      <link>http://communities.vmware.com/docs/DOC-9376</link>
      <description>Hello All,&lt;br /&gt;
&lt;br /&gt;
I have a IBM HS21 XM in a BladeCenter S chassis w/ 2 Xeon Quad core&lt;br /&gt;
CPUs . Both cpus are the same speed but they have different CPUIDs and&lt;br /&gt;
Microcode levels.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
ESX 3i 3.5.0 build-123629  will load and run fine w/ 1 cpu but freezes while booting if both cpus are installed.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanks for any help,&lt;br /&gt;
&lt;p /&gt;
Scott</description>
      <pubDate>Tue, 20 Jan 2009 23:16:08 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9376</guid>
      <dc:date>2009-01-20T23:16:08Z</dc:date>
      <clearspace:dateToText>10 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>ghettoClone.sh - Automate cloning VM(s) for ESX/ESXi 3.5u2+ utilizing VMware VIMA: RCLI + VI Perl Toolkit</title>
      <link>http://communities.vmware.com/docs/DOC-9321</link>
      <description>&lt;h2&gt;Description &lt;/h2&gt;
&lt;br /&gt;
This script utilizes &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_rcli.pdf"&gt;VMware RCLI&lt;/a&gt; (Remote command line interface) and &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html"&gt;VMware VI Perl Toolkit&lt;/a&gt; found in &lt;a class="jive-link-external" href="http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2"&gt;VMware VIMA&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
VMware currently provides few automated options to clone existing virtual machines that require the use of Virtual Center. That is, virtual machine cloning can be achieved through the use of VI Client and tools like &lt;b&gt;“vmclone.pl”&lt;/b&gt; (which is part of the VI Perl Toolkit) however it is a stringent requirement that Virtual Center must be present in the virtual infrastructure to take advantage of these options. In contrast, virtual machine cloning can also be achieved manually by executing a sequence of commands through the Service Console. The benefit of this option is that Virtual Center is not needed however it quickly becomes cumbersome and impractical if a large number of virtual machines are to be cloned.&lt;br /&gt;
&lt;br /&gt;
The motivation for this script ( &lt;b&gt;ghettoClone.sh&lt;/b&gt; ) then is to provide administrators with a means to automatically clone and deploy a large subset of virtual machines into a virtual environment without requiring tedious Service Console work or Virtual Center. Furthermore, for ease of accessibility, the free VMware VIMA appliance was chosen as the central launch point for the cloning process. &lt;b&gt;ghettoClone.sh&lt;/b&gt; is executed from within VIMA and is compatible with both ESX and ESXi 3.5u2+. It accepts a single source virtual machine along with inputted configuration parameters to tailor cloned virtual machines.  &lt;br /&gt;
&lt;br /&gt;
Please note that &lt;b&gt;ghettoClone.sh&lt;/b&gt; will generate full one to one copies of the source VM (which include all VMDK files associated with it). Each cloned virtual machine will inherit all attributes pertaining to the source VM except that of the UUID bio/location ID’s and display name which will be unique across all generated clones. If you're looking to deploy Linked Clones, please refer to this script instead: &lt;a class="jive-link-external" href="http://communities.vmware.com/docs/DOC-9020"&gt;http://communities.vmware.com/docs/DOC-9020&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:red"&gt;Important Note:&lt;/span&gt;&lt;/b&gt; Upon execution of the cloning process, the user will be prompted to select an available datastore where cloned virtual machines will be stored. It is up to the user to ensure that there is enough space prior to executing the cloning process. This includes but is not limited to considering swap file sizes and room for possible snapshots. The cloning process will begin immediately after confirmation of the datastore so please proceed with caution. It is recommended that the &lt;b&gt;dry run&lt;/b&gt; process is executed before committing to a configuration.  &lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Requirements:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;VMware VIMA (virtual appliance)&lt;/li&gt;
&lt;li&gt;ESX/ESXi 3.5u2+&lt;/li&gt;
&lt;li&gt;my-vmregister.pl (modified version of the sample code provided by VMware) [Download at the bottom]&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;Usage:&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;ghettoClone.sh input parameters:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Usage: ./ghettoClone.sh [-h SERVER] [-v VM_TO_CLONE] [-n NAMING_CONVENTION] [-s START] [-e END] [-f NAME_FILE] -d

Please quote your params if you dare to use spaces in your naming conventions!
Ensure this script is being executed on VMware VIMA and your ESX/ESXi hosts are 3.5u2+

OPTIONS:
   -h   ESX/ESXi 3.5+ Server IP or Hostname
   -v   VM to clone (VM display name)
   -n   Clone naming convention
   -s   Starting value
   -e   Ending value
   -f   File containg naming convention for VM clones (separate each name with newline)
   -d   Dry run, produces only text output of what would be executed based on input parameters

(e.g.)
        ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n &amp;quot;UCSB-CLONE-&amp;quot; -s 1 -e 10
        ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n &amp;quot;UCSB-CLONE-&amp;quot; -s 1 -e 10 -d
        ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -f cloneInputFile.txt
        ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -f cloneInputFile.txt -d
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Use cases&lt;/h2&gt;
&lt;br /&gt;
There are 2 supported use cases:&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Option 1 - &lt;/span&gt;&lt;/b&gt; Deploy clones from source VM by specifying a cloned VM naming convention and amount (start/end parameter) of clones. &lt;/h4&gt;
&lt;br /&gt;
&lt;h4&gt;&lt;b&gt;&lt;span style="color:green"&gt;Option 2 - &lt;/span&gt;&lt;/b&gt; Deploy clones from source VM by specifying a subset of VM names through an input file. The amount of cloned VMs will directly correlate with the amount of display names present in the input file. &lt;/h4&gt;
&lt;br /&gt;
Both use cases support the &lt;b&gt;“Dry Run”&lt;/b&gt; feature which allows the user to simulate and validate execution of the script before actual execution of the cloning process. &lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Prerequisite&lt;/h2&gt;
&lt;br /&gt;
Prior to starting, ensure that the VMware VIMA host is managing the appropriate ESX or ESXi 3.5u2+ hosts (those that will be utilizing the ghettoClone.sh script). The script uses VMware VI Fast Pass authentication to connect to the ESX/ESXi server(s). The following steps will demonstrate how to set this up prior to executing the script. &lt;br /&gt;
&lt;br /&gt;
1. Add ESX/ESXi hosts to VIMA managment using  &lt;b&gt;vifp&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
A password prompt for the vi-admin account and root password to the pertinent ESX/ESXi host(s) will be presented.&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ sudo vifp addserver olga.resnet.ucsb.edu
root@olga.resnet.ucsb.edu's password:
[vi-admin@vima-primp-industries ~]$

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Verify that the appropriate hosts are being managed by VIMA&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ sudo vifp listservers
olga.resnet.ucsb.edu
himalaya.primp-industries.com

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
3. Lastly, prior to running any of the RCLI or VI Perl Toolkits that utilize VI Fast Pass (not all can), run the following command on the appropriate ESX/ESXi host(s).&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ vifpinit olga.resnet.ucsb.edu

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
To remove a server from VIMA, use the argument &lt;b&gt;“removeserver”&lt;/b&gt; on the host and provide the appropriate credentials. &lt;br /&gt;
&lt;br /&gt;
Now, you're ready to begin!&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Example execution &lt;/h2&gt;
&lt;h3&gt;Environment&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;ESXi 3.5u3 host &lt;/li&gt;
&lt;li&gt;Source VM 1 is Windows XP SP2 with 2 VMDK's (10 GB and 50 MB) named &lt;b&gt;UCSB_TEST&lt;/b&gt; stored on local storage&lt;/li&gt;
&lt;li&gt;Source VM 2 is Windows XP SP2 with 2 VMDK's (10 GB and 100 MB) named &lt;b&gt;UCSB-ENGINEERING&lt;/b&gt; stored on FC LUN&lt;/li&gt;
&lt;li&gt;Clone 3 VMs &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;span style="color:blue"&gt;Option 1&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
1. Dry run execution&lt;br /&gt;
&lt;div class="jive-quote"&gt;./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n "UCSB-RESNET-CLONE-" -s 1 -e 3 -d&lt;/div&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n &amp;quot;UCSB-RESNET-CLONE-&amp;quot; -s 1 -e 3 -d

Retrieving info from: olga.resnet.ucsb.edu ...
Selection    Available space       Maximum Capacity     Type                 Name
1)           34.18 GB              124.75 GB            VMFS                 dlgCore-FC-LUN200.Templates
2)           244.61 GB             255.25 GB            VMFS                 olga-local-SAS.Storage
3)           91.58 GB              151.75 GB            VMFS                 dlgCore-FC-LUN202.VMstorage2
4)           29.19 GB              152.75 GB            VMFS                 dlgCore-FC-LUN203.VMstorage3
5)           53.29 GB              150.75 GB            VMFS                 dlgCore-FC-LUN201.VMstorage1
6)           exit

Please select a datastore in which the cloned virtual machines will be stored:
2
#################### DRY RUN MODE ####################
# Temp working directory: tmp_clone_2009-01-09_144356
# ESX Server to initiate clone: olga.resnet.ucsb.edu
# SOURCE VM: UCSB_TEST
# SOURCE VM PATH: [http://olga-local-SAS.Storage|http://olga-local-SAS.Storage] UCSB_TEST/UCSB_TEST.vmx
# SOURCE VM DIR: [http://olga-local-SAS.Storage|http://olga-local-SAS.Storage] UCSB_TEST
# SOURCE VM DATASTORE: [http://olga-local-SAS.Storage|http://olga-local-SAS.Storage]
# DESTINATION VM DATASTORE: [http://olga-local-SAS.Storage|http://olga-local-SAS.Storage]
# VMDK-[0]: -&amp;gt;UCSB_TEST_1.vmdk&amp;lt;-
# VMDK-[1]: -&amp;gt;UCSB_TEST.vmdk&amp;lt;-
# 2 valid VMDK(s) total
# Clone naming convention: UCSB-RESNET-CLONE-{1-3}
# 3 clone(s) to create
##################################################

Start time: Fri Jan  9 14:36:59 PST 2009
End   time: Fri Jan  9 14:37:04 PST 2009
Duration  : 5 Seconds

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Select a datastore and start clone duplication ( &lt;b&gt;note&lt;/b&gt;: in this instance, duplication will take place on the same datastore [local storage: source and destination]. Duplication may be faster on FC/iSCSI/NFS and dissimilar source and destination datastores.)&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n "UCSB-RESNET-CLONE-" -s 1 -e 3&lt;/div&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB_TEST -n &amp;quot;UCSB-RESNET-CLONE-&amp;quot; -s 1 -e 3

Retrieving info from: olga.resnet.ucsb.edu ...
Selection    Available space       Maximum Capacity     Type                 Name
1)           34.18 GB              124.75 GB            VMFS                 dlgCore-FC-LUN200.Templates
2)           244.61 GB             255.25 GB            VMFS                 olga-local-SAS.Storage
3)           91.57 GB              151.75 GB            VMFS                 dlgCore-FC-LUN202.VMstorage2
4)           29.19 GB              152.75 GB            VMFS                 dlgCore-FC-LUN203.VMstorage3
5)           53.29 GB              150.75 GB            VMFS                 dlgCore-FC-LUN201.VMstorage1
6)           exit

Please select a datastore in which the cloned virtual machines will be stored:
2

0% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-1&amp;quot; - 0/3 - Time elapsed: 5 Seconds
0% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-1&amp;quot; - 0/3 - Time elapsed: 31 Seconds
...
0% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-1&amp;quot; - 0/3 - Time elapsed: 6.67 Minutes
33% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-2&amp;quot; - 1/3 - Time elapsed: 6.77 Minutes
...
33% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-2&amp;quot; - 1/3 - Time elapsed: 13.43 Minutes
66% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-3&amp;quot; - 2/3 - Time elapsed: 13.52 Minutes
...
66% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-3&amp;quot; - 2/3 - Time elapsed: 20.45 Minutes
100% Complete! - Creating clone &amp;quot;UCSB-RESNET-CLONE-3&amp;quot; - 3/3 - Time elapsed: 20.53 Minutes

Start time: Fri Jan  9 14:48:23 PST 2009
End   time: Fri Jan  9 15:08:56 PST 2009
Duration  : 20.55 Minutes

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;span style="color:green"&gt;Option 2&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
0. Input file&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ cat toCloneList
ALima
AAmbrosio
MKerr
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The script accepts a file listing display names of the VM clones to be created. Each needs to be separated by a newline.&lt;br /&gt;
&lt;br /&gt;
1. Dry run execution&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB-ENGINEERING -f toCloneList -d&lt;/div&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB-ENGINEERING -f toCloneList -d

Retrieving info from: olga.resnet.ucsb.edu ...
Selection    Available space       Maximum Capacity     Type                 Name
1)           52.83 GB              124.75 GB            VMFS                 dlgCore-FC-LUN200.Templates
2)           244.61 GB             255.25 GB            VMFS                 olga-local-SAS.Storage
3)           91.50 GB              151.75 GB            VMFS                 dlgCore-FC-LUN202.VMstorage2
4)           29.19 GB              152.75 GB            VMFS                 dlgCore-FC-LUN203.VMstorage3
5)           53.29 GB              150.75 GB            VMFS                 dlgCore-FC-LUN201.VMstorage1
6)           exit

Please select a datastore in which the cloned virtual machines will be stored:
3
#################### DRY RUN MODE ####################
# Temp working directory: tmp_clone_2009-01-09_151630
# ESX Server to initiate clone: olga.resnet.ucsb.edu
# SOURCE VM: UCSB-ENGINEERING
# SOURCE VM PATH: [http://dlgCore-FC-LUN200.Templates|http://dlgCore-FC-LUN200.Templates] UCSB-ENGINEERING/UCSB-ENGINEERING.vmx
# SOURCE VM DIR: [http://dlgCore-FC-LUN200.Templates|http://dlgCore-FC-LUN200.Templates] UCSB-ENGINEERING
# SOURCE VM DATASTORE: [http://dlgCore-FC-LUN200.Templates|http://dlgCore-FC-LUN200.Templates]
# DESTINATION VM DATASTORE: [http://dlgCore-FC-LUN202.VMstorage2|http://dlgCore-FC-LUN202.VMstorage2]
# VMDK-[0]: -&amp;gt;UCSB-ENGINEERING_1.vmdk&amp;lt;-
# VMDK-[1]: -&amp;gt;UCSB-ENGINEERING.vmdk&amp;lt;-
# 2 valid VMDK(s) total
# Clone naming convention: [ AAmbrosio ALima MKerr ]
# 3 clone(s) to create
##################################################

Start time: Fri Jan  9 15:16:36 PST 2009
End   time: Fri Jan  9 15:16:41 PST 2009
Duration  : 5 Seconds

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Select datastore and start clone duplication ( &lt;b&gt;note&lt;/b&gt;: in this instance, duplication will take place from one source FC datastore to different destination FC datastore)&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB-ENGINEERING -f toCloneList&lt;/div&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ ./ghettoClone.sh -h olga.resnet.ucsb.edu -v UCSB-ENGINEERING -f toCloneList

Retrieving info from: olga.resnet.ucsb.edu ...
Selection    Available space       Maximum Capacity     Type                 Name
1)           52.83 GB              124.75 GB            VMFS                 dlgCore-FC-LUN200.Templates
2)           244.61 GB             255.25 GB            VMFS                 olga-local-SAS.Storage
3)           91.50 GB              151.75 GB            VMFS                 dlgCore-FC-LUN202.VMstorage2
4)           29.19 GB              152.75 GB            VMFS                 dlgCore-FC-LUN203.VMstorage3
5)           53.29 GB              150.75 GB            VMFS                 dlgCore-FC-LUN201.VMstorage1
6)           exit

Please select a datastore in which the cloned virtual machines will be stored:
3

0% Complete! - Creating clone &amp;quot;AAmbrosio&amp;quot; - 0/3 - Time elapsed: 10 Seconds
...
0% Complete! - Creating clone &amp;quot;AAmbrosio&amp;quot; - 0/3 - Time elapsed: 2.62 Minutes
33% Complete! - Creating clone &amp;quot;ALima&amp;quot; - 1/3 - Time elapsed: 2.70 Minutes
...
33% Complete! - Creating clone &amp;quot;ALima&amp;quot; - 1/3 - Time elapsed: 5.42 Minutes
66% Complete! - Creating clone &amp;quot;MKerr&amp;quot; - 2/3 - Time elapsed: 5.50 Minutes
...
66% Complete! - Creating clone &amp;quot;MKerr&amp;quot; - 2/3 - Time elapsed: 8.12 Minutes
100% Complete! - Creating clone &amp;quot;MKerr&amp;quot; - 3/3 - Time elapsed: 8.20 Minutes

Start time: Fri Jan  9 15:21:35 PST 2009
End   time: Fri Jan  9 15:29:49 PST 2009
Duration  : 8.23 Minutes

&lt;/code&gt;&lt;/pre&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">update_2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">update_3</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">rcli</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vmware_vima</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vima</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vi_perl_toolkit</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vitk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">clones</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">clone</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">cloning</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">full_clone</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx_cloning</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi_cloning</category>
      <pubDate>Fri, 09 Jan 2009 23:57:43 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9321</guid>
      <dc:date>2009-01-09T23:57:43Z</dc:date>
      <clearspace:dateToText>10 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to configure ESXi to shutdown using an APC SmartUPS (with lamw scripts)</title>
      <link>http://communities.vmware.com/docs/DOC-9308</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi_3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">ups</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">shutdown</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">shutdown_esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">power</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">apcupsd</category>
      <pubDate>Thu, 08 Jan 2009 12:26:26 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9308</guid>
      <dc:date>2009-01-08T12:26:26Z</dc:date>
      <clearspace:dateToText>8 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>VMware server and ESX server at a glance</title>
      <link>http://communities.vmware.com/docs/DOC-9277</link>
      <description />
      <pubDate>Wed, 31 Dec 2008 09:13:22 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9277</guid>
      <dc:date>2008-12-31T09:13:22Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>VMFS Best Practices</title>
      <link>http://communities.vmware.com/docs/DOC-9276</link>
      <description />
      <pubDate>Wed, 31 Dec 2008 06:52:14 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9276</guid>
      <dc:date>2008-12-31T06:52:14Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Linked Clones script for ESXi</title>
      <link>http://communities.vmware.com/docs/DOC-9202</link>
      <description>This script allows users to create linked cloned virtual machine(s) from a master (or golden) virtual machine. Clones may be stored on any type of datastore (LOCAL, SAN, NFS) that is presented to the ESXi host. The script is very capable in deploying a large VDI environment in a relatively short amount of time.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Compatiable with:&lt;/b&gt;&lt;br /&gt;
VMware ESXi 3.5 Installable Update 3&lt;br /&gt;
VMware ESXi 3.5 Installable Update 2&lt;br /&gt;
VMware ESXi 3.5 Installable Update 1&lt;br /&gt;
VMware ESXi 3.5 Installable&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt;: This linked clones script is virtual machine OS independent (i.e. it is not restricted to just Windows OS’s for VDI environment). For example, one can utilize this script to their advantage in development environments where new VMs need to be (mass) cloned quickly for testing.&lt;br /&gt;
&lt;br /&gt;
The only supported case is the "&lt;b&gt;Default case"&lt;/b&gt; in &lt;a class="jive-link-external" href="http://communities.vmware.com/docs/DOC-9020"&gt;ghetto-esx-linked-clones.sh&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # ./ghetto-esxi-linked-clones.sh
######################################################
#
# UCSB ResNet Linked Clones Tool for ESXi
# Author: william2003[at]gmail[dot]com
#         duonglt[at]engr[dot]ucsb[dot]edu
# Created: 09/30/2008
#
######################################################

Usage: ghetto-esxi-linked-clones.sh [FULL_PATH_TO_MASTER_VMX_FILE] [VM_NAME] [START_#] [END_#]
        i.e.
                ./ghetto-esxi-linked-clones.sh /vmfs/volumes/4857f047-4e4ec6bf-a8b8-001b78361a3c/LabMaster/LabMaster.vmx LabClient- 1 200
        Output:
                LabClient-{1-200}
~ #
&lt;/code&gt;&lt;/pre&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3.5i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx3i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi_3.5</category>
      <pubDate>Wed, 17 Dec 2008 18:47:49 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9202</guid>
      <dc:date>2008-12-17T18:47:49Z</dc:date>
      <clearspace:dateToText>11 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>update child resource configuration constantly scrolling in the VI client</title>
      <link>http://communities.vmware.com/docs/DOC-9111</link>
      <description>I cannot connect to certain hosts in my farm from virtualcenter, they show as (not responding).&lt;br /&gt;
Therefore I connect directly to them and in the Recent Tasks pane, i "see Update Child Resource Configuration" constantly scrolling in the tasks list.&lt;br /&gt;
&lt;br /&gt;
This is what is killing the server connectivity.&lt;br /&gt;
&lt;br /&gt;
Ideas?!&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I have just been having exactly the same problem.&lt;br /&gt;
&lt;br /&gt;
Hosts would briefly go "not responding" then return, also had problems editing VM configs, starting/stopping VMs etc.&lt;br /&gt;
&lt;br /&gt;
Eventually spotted the hosts were continuously doing "Update Child Resource Configuration" many times each second.&lt;br /&gt;
I tried disabling DRS, but no effect.&lt;br /&gt;
Eventually I went through the following sequence for all hosts (fortunately only 5 of them)&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Disconnect host from VC.&lt;/li&gt;
&lt;li&gt;Remove host from VC.&lt;/li&gt;
&lt;li&gt;service vmware-vpxa stop - this stopped the Update Child.. tasks.&lt;/li&gt;
&lt;li&gt;service mgmt-vmware restart.&lt;/li&gt;
&lt;li&gt;Add host back into VC.&lt;/li&gt;
&lt;/ol&gt;
This appears to have resolved the problem and didn't require any VMs to be restarted, but it is not something I would like to repeat too often!&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Ce document a &amp;eacute;t&amp;eacute; g&amp;eacute;n&amp;eacute;r&amp;eacute; &amp;agrave; partir du fil de discussion suivant: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/175191"&gt;update child resource configuration constantly scrolling in the VI client&lt;/a&gt;</description>
      <pubDate>Tue, 09 Dec 2008 10:29:16 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9111</guid>
      <dc:date>2008-12-09T10:29:16Z</dc:date>
      <clearspace:dateToText>11 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>my-vmware-cmd.sh - Custom management script for administering a large amount of virtual machines on ESX 3.x and ESXi</title>
      <link>http://communities.vmware.com/docs/DOC-9061</link>
      <description>&lt;b&gt;“my-vmware-cmd”&lt;/b&gt; was developed to aid in the day-to-day management of our VDI environment. This script allows specific operations to be executed across a specified set of virtual machines by utilizing a subset of available VMware service console operations. Although specific to our VDI environment, the script is versatile in that it can be extended to other virtual machine environments.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Compatiable with:&lt;/b&gt;&lt;br /&gt;
VMware ESX 3.5 Update 3&lt;br /&gt;
VMware ESXi 3.5 Installable Update 3&lt;br /&gt;
VMware ESX 3.5 Update 2&lt;br /&gt;
VMware ESXi 3.5 Installable Update 2&lt;br /&gt;
VMware ESX 3.5 Update 1&lt;br /&gt;
VMware ESXi 3.5 Installable Update 1&lt;br /&gt;
VMware ESX 3.5 &lt;br /&gt;
VMware ESXi 3.5 Installable&lt;br /&gt;
VMware ESX Server 3.0.3&lt;br /&gt;
VMware ESX Server 3.0.2 Update 1&lt;br /&gt;
VMware ESX Server 3.0.2&lt;br /&gt;
VMware ESX Server 3.0.1&lt;br /&gt;
VMware ESX Server 3.0.0&lt;br /&gt;
&lt;br /&gt;
The script accepts a text file that specifies virtual machine display names. In addition to running the script locally on an ESX/ESXi host, the script can be executed remotely from a &lt;b&gt;centralized host&lt;/b&gt; such as an administrative UNIX/Linux system that has access to the ESX/ESXi hosts that the virtual machines reside on.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Usage:
        Local execution-
            my-vmware-cmd.sh [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;
        Remote execution-
            my-vmware-cmd.sh remote [ESX_ESXI_IP_ADDRESS] [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;

   Operations:
        start [vm_input_file]
           -- Start all VMs in the input file
        stop [vm_input_file]
           -- Stop all VMs in the input file
        suspend [vm_input_file]
           -- Suspend all VMs in the input file
        resume [vm_input_file]
           -- Resume all suspended VMs in the input file
        reset [vm_input_file]
           -- Hard reset all VMs in the input file
        shutdown [vm_input_file]
           -- Shutdown all VMs in the input file (VMware Tools required)
        reboot [vm_input_file]
           -- Reboot all VMs in the input file (VMware Tools required)
        snap [vm_input_file]
           -- Create administrative pristine snapshot of all VMs in the input file
        revert [vm_input_file]
           -- Revert all VMs in the input file back to pristine state
        purge [vm_input_file]
           -- Removes from local inventory and purges all VMs in the input file
        mac [vm_input_file] [generic|nixdhcp] [http://NETWORK (172.30.0)|http://NETWORK (172.30.0)] [HOST_COUNT_START (200)] &amp;lt;NIC_#&amp;gt; default=0
           -- Extracts MAC addresses and generates either a generic file or one compatible with *nix dhcpd
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] generic )
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] nixdhcp 172.30.0 200 )
        vnic [vm_input_file] &amp;lt;NIC_#&amp;gt; default=0
           -- Change vNic portgroup for all VMs in the input file
               ( e.g. my-vmware-cmd.sh vnic [vm_input_file] 3 )
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
The majority of operations are relatively self explanatory; this document will focus on three operations that are specific to our VDI environment. &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;purge&lt;/li&gt;
&lt;li&gt;mac&lt;/li&gt;
&lt;li&gt;vnic&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
These operations will be demonstrated across 32 linked clones that have been generated from the developed &lt;a class="jive-link-external" href="http://communities.vmware.com/docs/DOC-9020"&gt;ghetto-esx-linked-clones.sh&lt;/a&gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h4&gt;&lt;b&gt;purge&lt;/b&gt;&lt;/h4&gt;
This operation unregisters and removes specified linked clones that have been generated from &lt;b&gt;ghetto-esx(i)-linked-clones.sh&lt;/b&gt;. Linked clones must be purged prior to updating the Master VM image associated to the clones. The issue arises from the fact that linked clones are tied to the Master VMDK. Modifications to respective Master images are not possible until associated LCs are destroyed. When a &lt;b&gt;“delete from disk”&lt;/b&gt; operation is issued in VIClient on said VMs, all attributes of the VMs will be removed including referenced VMDKs. In this circumstance, the Master VMDK in which all linked clones are referencing will be removed. &lt;br /&gt;
&lt;br /&gt;
Basically, the purge operation handles linked clone deletions properly by locally unregistering specified linked clones and deleting their respective directories while leaving the Master VM image intact. One caveat to this process is that the inventory change will be reflected on Virtual Center as an orphaned VM. In this case, one just needs to issue &lt;b&gt;”remove from inventory”&lt;/b&gt; operations on the orphaned VMs. &lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:blue"&gt;&lt;b&gt;Virtual Machine Input file(s):&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@olga lamw]# cat vm_input_file_1
LinkedCLones-1
LinkedCLones-2
LinkedCLones-3
LinkedCLones-4
LinkedCLones-5
LinkedCLones-6
LinkedCLones-7
LinkedCLones-8
LinkedCLones-9
LinkedCLones-10
LinkedCLones-11
LinkedCLones-12
LinkedCLones-13
LinkedCLones-14
LinkedCLones-15
LinkedCLones-16

[root@olga lamw]# cat vm_input_file_2
LinkedCLones-17
LinkedCLones-18
LinkedCLones-19
LinkedCLones-20
LinkedCLones-21
LinkedCLones-22
LinkedCLones-23
LinkedCLones-24
LinkedCLones-25
LinkedCLones-26
LinkedCLones-27
LinkedCLones-28
LinkedCLones-29
LinkedCLones-30
LinkedCLones-31
LinkedCLones-32

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:blue"&gt;&lt;b&gt;Local Execution on ESX host:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h3&gt;Scenario: Purge Linked Clones 1-16 on local ESX Host&lt;/h3&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@olga lamw]# vmware -v
VMware ESX Server 3.5.0 build-123630

[root@olga lamw]# ./my-vmware-cmd.sh purge vm_input_file_1
###############################################################################
#
# UCSB ResNet Virtual Machine Managment Tool for VMware ESX 3.5+ and ESXi
# Author: william2003[at]gmail[dot]com
# Created: 07/05/2008
#
###############################################################################

Validating Virtual Machine list against VMs on ESX Server: olga.resnet.ucsb.edu

&amp;quot;LinkedCLones-1&amp;quot;
&amp;quot;LinkedCLones-2&amp;quot;
&amp;quot;LinkedCLones-3&amp;quot;
&amp;quot;LinkedCLones-4&amp;quot;
&amp;quot;LinkedCLones-5&amp;quot;
&amp;quot;LinkedCLones-6&amp;quot;
&amp;quot;LinkedCLones-7&amp;quot;
&amp;quot;LinkedCLones-8&amp;quot;
&amp;quot;LinkedCLones-9&amp;quot;
&amp;quot;LinkedCLones-10&amp;quot;
&amp;quot;LinkedCLones-11&amp;quot;
&amp;quot;LinkedCLones-12&amp;quot;
&amp;quot;LinkedCLones-13&amp;quot;
&amp;quot;LinkedCLones-14&amp;quot;
&amp;quot;LinkedCLones-15&amp;quot;
&amp;quot;LinkedCLones-16&amp;quot;

Purge the following 16 Virtual Machine(s) y/n?
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:blue"&gt;&lt;b&gt;Purging Virtual Machines in the specified list:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Purging has been confirmed for the following 16 Virtual machine(s)

Unregistering &amp;quot;LinkedCLones-1&amp;quot; VM_ID=15856 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-1
Unregistering &amp;quot;LinkedCLones-2&amp;quot; VM_ID=15872 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-2
Unregistering &amp;quot;LinkedCLones-3&amp;quot; VM_ID=15888 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-3
Unregistering &amp;quot;LinkedCLones-4&amp;quot; VM_ID=15904 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-4
Unregistering &amp;quot;LinkedCLones-5&amp;quot; VM_ID=15920 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-5
Unregistering &amp;quot;LinkedCLones-6&amp;quot; VM_ID=15936 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-6
Unregistering &amp;quot;LinkedCLones-7&amp;quot; VM_ID=15952 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-7
Unregistering &amp;quot;LinkedCLones-8&amp;quot; VM_ID=15968 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-8
Unregistering &amp;quot;LinkedCLones-9&amp;quot; VM_ID=15984 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-9
Unregistering &amp;quot;LinkedCLones-10&amp;quot; VM_ID=16000 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-10
Unregistering &amp;quot;LinkedCLones-11&amp;quot; VM_ID=16016 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-11
Unregistering &amp;quot;LinkedCLones-12&amp;quot; VM_ID=16032 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-12
Unregistering &amp;quot;LinkedCLones-13&amp;quot; VM_ID=16048 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-13
Unregistering &amp;quot;LinkedCLones-14&amp;quot; VM_ID=16064 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-14
Unregistering &amp;quot;LinkedCLones-15&amp;quot; VM_ID=16080 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-15
Unregistering &amp;quot;LinkedCLones-16&amp;quot; VM_ID=16096 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-16

Start time: Mon Dec  8 22:45:36 PST 2008
End   time: Mon Dec  8 22:46:11 PST 2008
Duration  : 35 Seconds

Completed purge for all specified Virtual Machines!
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:green"&gt;&lt;b&gt;Remote Execution on non-ESX host (VIMA):&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h3&gt;Scenario: Purge Linked Clones 17-32 from remote VIMA host&lt;/h3&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ vmware -v
-bash: vmware: command not found
[vi-admin@vima-primp-industries ~]$ uname -a
Linux vima-primp-industries.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[vi-admin@vima-primp-industries ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
[vi-admin@vima-primp-industries ~]$

[vi-admin@vima-primp-industries ~]$ ./my-vmware-cmd.sh remote 172.30.0.64 purge vm_input_file_2
###############################################################################
#
# UCSB ResNet Virtual Machine Managment Tool for VMware ESX 3.5+ and ESXi
# Author: william2003[at]gmail[dot]com
# Created: 07/05/2008
#
###############################################################################

Executing remote operation: &amp;quot;purge&amp;quot; on host: 172.30.0.64 with the following specified Virtual Machines:

#####################################
LinkedCLones-17
LinkedCLones-18
LinkedCLones-19
LinkedCLones-20
LinkedCLones-21
LinkedCLones-22
LinkedCLones-23
LinkedCLones-24
LinkedCLones-25
LinkedCLones-26
LinkedCLones-27
LinkedCLones-28
LinkedCLones-29
LinkedCLones-30
LinkedCLones-31
LinkedCLones-32
#####################################

OPERATION WILL BE EXECUTED IMMEDIATELY ONCE AUTHENTICATION ON REMOTE HOST SUCCEEDS!
Would you like to continue y/n?
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:green"&gt;&lt;b&gt;Purging Virtual Machines in the specified list:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;root@172.30.0.64's password:
Validating Virtual Machine list against VMs on ESX Server: olga.resnet.ucsb.edu

Unregistering &amp;quot;LinkedCLones-17&amp;quot; VM_ID=16112 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-17
Unregistering &amp;quot;LinkedCLones-18&amp;quot; VM_ID=16128 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-18
Unregistering &amp;quot;LinkedCLones-19&amp;quot; VM_ID=16144 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-19
Unregistering &amp;quot;LinkedCLones-20&amp;quot; VM_ID=16160 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-20
Unregistering &amp;quot;LinkedCLones-21&amp;quot; VM_ID=16176 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-21
Unregistering &amp;quot;LinkedCLones-22&amp;quot; VM_ID=16192 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-22
Unregistering &amp;quot;LinkedCLones-23&amp;quot; VM_ID=16208 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-23
Unregistering &amp;quot;LinkedCLones-24&amp;quot; VM_ID=16224 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-24
Unregistering &amp;quot;LinkedCLones-25&amp;quot; VM_ID=16240 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-25
Unregistering &amp;quot;LinkedCLones-26&amp;quot; VM_ID=16256 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-26
Unregistering &amp;quot;LinkedCLones-27&amp;quot; VM_ID=16272 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-27
Unregistering &amp;quot;LinkedCLones-28&amp;quot; VM_ID=16288 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-28
Unregistering &amp;quot;LinkedCLones-29&amp;quot; VM_ID=16304 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-29
Unregistering &amp;quot;LinkedCLones-30&amp;quot; VM_ID=16320 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-30
Unregistering &amp;quot;LinkedCLones-31&amp;quot; VM_ID=16336 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-31
Unregistering &amp;quot;LinkedCLones-32&amp;quot; VM_ID=16352 and removing /vmfs/volumes/dlgCore-FC-LUN200.Templates/LinkedCLones-32

Start time: Mon Dec  8 22:56:45 PST 2008
End   time: Mon Dec  8 22:57:19 PST 2008
Duration  : 34 Seconds

Completed purge for all specified Virtual Machines!
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h4&gt;&lt;b&gt;mac&lt;/b&gt;&lt;/h4&gt;
This operation extracts MAC addresses associated with specified VMs and outputs a file named: &lt;b&gt;"dhcp-eth#-YYYY-MM-DD-HHMMSS"&lt;/b&gt;. This outputted file can then be used to reserve IPs on either Windows or *nix DHCP servers. There are two output options, one being a generic output relating VM names to their respective MAC address and the other a prepared file that is compatible with popular *nix dhcpd releases. &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Scenario: Extract MAC Addresses for the 32 Linked Clones and output in a generic form.&lt;/h3&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:green"&gt;&lt;b&gt;Local Execution on ESXi host:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # vmware -v
VMware ESX Server 3i 3.5.0 build-123629
~ # ./my-vmware-cmd.sh mac vm_input_file generic
###############################################################################
#
# UCSB ResNet Virtual Machine Managment Tool for VMware ESX 3.x and ESXi
# Author: william2003[at]gmail[dot]com
# Created: 07/05/2008
#
###############################################################################

Validating Virtual Machine list against VMs on ESX Server: olga.resnet.ucsb.edu

Start time: Sat Dec 20 03:38:55 UTC 2008
End   time: Sat Dec 20 03:38:58 UTC 2008
Duration  : 3 Seconds

Completed &amp;quot;dhcp-eth0-2008-12-20-033855&amp;quot; generation file for all specified Virtual Machines!

~ #
~ # cat dhcp-eth0-2008-12-20-033855
LinkedClones1   005056b45d33
LinkedClones10  005056b45a2f
LinkedClones11  005056b450ec
LinkedClones12  005056b44182
LinkedClones13  005056b43790
LinkedClones14  005056b40346
LinkedClones15  005056b407fb
LinkedClones16  005056b42a3f
LinkedClones17  005056b44c11
LinkedClones18  005056b41f24
LinkedClones19  005056b42308
LinkedClones2   005056b4440f
LinkedClones20  005056b47039
LinkedClones21  005056b44219
LinkedClones22  005056b4699b
LinkedClones23  005056b42e7c
LinkedClones24  005056b4028b
LinkedClones25  005056b46f1c
LinkedClones26  005056b42299
LinkedClones27  005056b4225e
LinkedClones28  005056b42eed
LinkedClones29  005056b425fd
LinkedClones3   005056b42502
LinkedClones30  005056b45556
LinkedClones31  005056b477c3
LinkedClones32  005056b425df
LinkedClones4   005056b428d7
LinkedClones5   005056b4602f
LinkedClones6   005056b46e43
LinkedClones7   005056b41139
LinkedClones8   005056b4683d
LinkedClones9   005056b40566
~ #
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;h3&gt;Scenario: Create DHCP IP reservation file for the 32 Linked Clones on Network: "&lt;b&gt;172.30.200&lt;/b&gt;", starting from Host: "&lt;b&gt;50&lt;/b&gt;" and increment to the last VM.&lt;/h3&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:green"&gt;&lt;b&gt;Remote Execution on non ESX host (VIMA):&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ vmware -v
-bash: vmware: command not found
[vi-admin@vima-primp-industries ~]$ uname -a
Linux vima-primp-industries.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[vi-admin@vima-primp-industries ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
[vi-admin@vima-primp-industries ~]$

[vi-admin@vima-primp-industries ~]$ ./my-vmware-cmd.sh remote 172.30.0.64 mac vm_input_file linux 172.30.200 50
###############################################################################
#
# UCSB ResNet Virtual Machine Managment Tool for VMware ESX 3.x and ESXi
# Author: william2003[at]gmail[dot]com
# Created: 07/05/2008
#
###############################################################################

Connecting to 172.30.0.64 to extract MAC Addresses:
root@172.30.0.64's password:

Completed &amp;quot;dhcp-2008-12-06-182712&amp;quot; generation file for all specified Virtual Machines!

[vi-admin@vima-primp-industries ~]$ cat dhcp-2008-12-06-182712
host LinkedClones-1        { hardware ethernet 00:50:56:b4:19:f8; fixed-address 172.30.200.50; }
host LinkedClones-2        { hardware ethernet 00:50:56:b4:3f:7b; fixed-address 172.30.200.51; }
host LinkedClones-3        { hardware ethernet 00:50:56:b4:36:af; fixed-address 172.30.200.52; }
host LinkedClones-4        { hardware ethernet 00:50:56:b4:0a:13; fixed-address 172.30.200.53; }
host LinkedClones-5        { hardware ethernet 00:50:56:b4:4c:cb; fixed-address 172.30.200.54; }
host LinkedClones-6        { hardware ethernet 00:50:56:b4:26:a9; fixed-address 172.30.200.55; }
host LinkedClones-7        { hardware ethernet 00:50:56:b4:7c:f0; fixed-address 172.30.200.56; }
host LinkedClones-8        { hardware ethernet 00:50:56:b4:31:6f; fixed-address 172.30.200.57; }
host LinkedClones-9        { hardware ethernet 00:50:56:b4:1f:75; fixed-address 172.30.200.58; }
host LinkedClones-10        { hardware ethernet 00:50:56:b4:55:9b; fixed-address 172.30.200.59; }
host LinkedClones-11        { hardware ethernet 00:50:56:b4:3b:8d; fixed-address 172.30.200.60; }
host LinkedClones-12        { hardware ethernet 00:50:56:b4:45:b8; fixed-address 172.30.200.61; }
host LinkedClones-13        { hardware ethernet 00:50:56:b4:1f:29; fixed-address 172.30.200.62; }
host LinkedClones-14        { hardware ethernet 00:50:56:b4:5d:14; fixed-address 172.30.200.63; }
host LinkedClones-15        { hardware ethernet 00:50:56:b4:03:98; fixed-address 172.30.200.64; }
host LinkedClones-16        { hardware ethernet 00:50:56:b4:4f:81; fixed-address 172.30.200.65; }
host LinkedClones-17        { hardware ethernet 00:50:56:b4:3b:43; fixed-address 172.30.200.66; }
host LinkedClones-18        { hardware ethernet 00:50:56:b4:0b:85; fixed-address 172.30.200.67; }
host LinkedClones-19        { hardware ethernet 00:50:56:b4:5e:0a; fixed-address 172.30.200.68; }
host LinkedClones-20        { hardware ethernet 00:50:56:b4:12:14; fixed-address 172.30.200.69; }
host LinkedClones-21        { hardware ethernet 00:50:56:b4:06:08; fixed-address 172.30.200.70; }
host LinkedClones-22        { hardware ethernet 00:50:56:b4:45:55; fixed-address 172.30.200.71; }
host LinkedClones-23        { hardware ethernet 00:50:56:b4:67:b0; fixed-address 172.30.200.72; }
host LinkedClones-24        { hardware ethernet 00:50:56:b4:48:12; fixed-address 172.30.200.73; }
host LinkedClones-25        { hardware ethernet 00:50:56:b4:48:c3; fixed-address 172.30.200.74; }
host LinkedClones-26        { hardware ethernet 00:50:56:b4:38:50; fixed-address 172.30.200.75; }
host LinkedClones-27        { hardware ethernet 00:50:56:b4:3f:ac; fixed-address 172.30.200.76; }
host LinkedClones-28        { hardware ethernet 00:50:56:b4:68:c9; fixed-address 172.30.200.77; }
host LinkedClones-29        { hardware ethernet 00:50:56:b4:72:a4; fixed-address 172.30.200.78; }
host LinkedClones-30        { hardware ethernet 00:50:56:b4:66:78; fixed-address 172.30.200.79; }
host LinkedClones-31        { hardware ethernet 00:50:56:b4:53:e7; fixed-address 172.30.200.80; }
host LinkedClones-32        { hardware ethernet 00:50:56:b4:2f:8b; fixed-address 172.30.200.81; }
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h4&gt;&lt;b&gt;vnic&lt;/b&gt;&lt;/h4&gt;
&lt;br /&gt;
This operation reconfigures the portgroup of the specified vNic (default eth0) for a given set of VMs. This operation supports remote execution but requires 2 SSH authentications by design. The operation also requires that the VMs in question be powered off prior to execution. Unfortunately due to the limitation of the CLI, there is currently no dynamic way of modifying the vNic portgroup while the VM is powered on.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Scenario: Change 16 of the 32 Linked Clones from "IsolatedNetwork" to "labs.90-172.30.90-23" network&lt;/h3&gt;
&lt;br /&gt;
1. Portgroup Selection:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@olga lamw]# ./my-vmware-cmd.sh vnic vm_input_file_1
###############################################################################
#
# UCSB ResNet Virtual Machine Managment Tool for VMware ESX 3.x and ESXi
# Author: william2003[at]gmail[dot]com
# Created: 07/05/2008
#
###############################################################################

Validating Virtual Machine list against VMs on ESX Server: olga.resnet.ucsb.edu
CHOICE          VLAN ID         PORTGROUP
------------------------------------------
1              4095            trunk.PassThrough
2              3252            dev.3252-172.30.52-24
3              3249            dev.3249-172.30.49-24
4              3248            dev.3248-172.30.48-24
5              333             nc.333-172.30.0-24
6              90              labs.90-172.30.90-23
7              333             SC.NC333
8              100             SC.Core100
9              3251            VMk.3251
10             0               IsolatedNetwork
11             Quit

Please select a portgroup to apply to the following Virtual Machine(s):
10
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Portgroup configuration:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;&amp;quot;LinkedClones-1&amp;quot;
&amp;quot;LinkedClones-2&amp;quot;
&amp;quot;LinkedClones-3&amp;quot;
&amp;quot;LinkedClones-4&amp;quot;
&amp;quot;LinkedClones-5&amp;quot;
&amp;quot;LinkedClones-6&amp;quot;
&amp;quot;LinkedClones-7&amp;quot;
&amp;quot;LinkedClones-8&amp;quot;
&amp;quot;LinkedClones-9&amp;quot;
&amp;quot;LinkedClones-10&amp;quot;
&amp;quot;LinkedClones-11&amp;quot;
&amp;quot;LinkedClones-12&amp;quot;
&amp;quot;LinkedClones-13&amp;quot;
&amp;quot;LinkedClones-14&amp;quot;
&amp;quot;LinkedClones-15&amp;quot;
&amp;quot;LinkedClones-16&amp;quot;

Would you like to update the Network configuration for &amp;quot;eth0&amp;quot; to apply &amp;quot;labs.90-172.30.90-23&amp;quot; to the following 16 Virtual Machine(s) y/n?
y
VM Network Portgroup update will take affect for the following 16 Virtual machine(s)

Completed configuring LinkedClones-1 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-2 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-3 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-4 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-5 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-6 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-7 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-8 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-9 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-10 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-11 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-12 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-13 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23
Completed configuring LinkedClones-14 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-15 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;
Completed configuring LinkedClones-16 from &amp;quot;IsolatedNetwork&amp;quot; to &amp;quot;labs.90-172.30.90-23&amp;quot;

Start time: Tue Dec  9 18:37:05 PST 2008
End   time: Tue Dec  9 18:37:49 PST 2008
Duration  : 44 Seconds

Completed Network Configurations for all specified Virtual Machines!
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;span style="color:red"&gt;Known Issues:&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
1. When running "&lt;b&gt;my-vmware-cmd&lt;/b&gt;" on ESXi and using operation "&lt;b&gt;vnic&lt;/b&gt;", you may see the following warning output, this can be ignored, this is due to some of the limited capabilities of the binaries in the busy box environment.&lt;br /&gt;
&lt;br /&gt;
Warning Message&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Please select a portgroup to apply to the following Virtual Machine(s):

bash: Network: unknown operand
&lt;/code&gt;&lt;/pre&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.0</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.1</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.3</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <pubDate>Sat, 06 Dec 2008 18:11:00 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9061</guid>
      <dc:date>2008-12-06T18:11:00Z</dc:date>
      <clearspace:dateToText>11 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Linked Clones script for ESX 3.x</title>
      <link>http://communities.vmware.com/docs/DOC-9020</link>
      <description>This script allows users to create linked cloned virtual machine(s) from a master (or golden) virtual machine. Clones may be stored on any type of datastore (LOCAL, SAN, NFS) that is presented to the ESX host. The script is very capable in deploying a large VDI environment in a relatively short amount of time.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Compatiable with:&lt;/b&gt;&lt;br /&gt;
VMware ESX 3.5 Update 3&lt;br /&gt;
VMware ESX 3.5 Update 2&lt;br /&gt;
VMware ESX 3.5 Update 1&lt;br /&gt;
VMware ESX 3.5 &lt;br /&gt;
VMware ESX Server 3.0.3&lt;br /&gt;
VMware ESX Server 3.0.2 Update 1&lt;br /&gt;
VMware ESX Server 3.0.2&lt;br /&gt;
VMware ESX Server 3.0.1&lt;br /&gt;
VMware ESX Server 3.0.0&lt;br /&gt;
&lt;br /&gt;
There are currently 3 supported use cases:&lt;br /&gt;
&lt;br /&gt;
1) &lt;b&gt;Default&lt;/b&gt;&lt;br /&gt;
Generate linked clones located in the same datastore that houses the master (golden) virtual machine. Writes will be directed to their respective linked virtual machine delta file with reads originating from the master virtual machine. &lt;br /&gt;
&lt;br /&gt;
2) &lt;b&gt;Distributed Write(s) I/O&lt;/b&gt;&lt;br /&gt;
Generate linked clones evenly across available datastores of choice. Reads will originate from the specified master virtual machine while writes are directed towards their respective virtual machine delta files that have been dispersed across the specified datastores.&lt;br /&gt;
&lt;br /&gt;
3) &lt;b&gt;Distributed Read(s) &amp;#38; Write(s) I/O&lt;/b&gt;&lt;br /&gt;
Duplicate the master virtual machine on available datastores of choice and evenly generate linked clones off of each duplicated master virtual machine. Reads and writes will be isolated onto the datastore of the linked clone(s) in question. This process is similar to running multiple instances of the default behavior of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt;: This linked clones script is virtual machine OS independent (i.e. it is not restricted to just Windows OS’s for VDI environment). For example, one can utilize this script to their advantage in development environments where new VMs need to be (mass) cloned quickly for testing.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:red"&gt;DISCLAIMER&lt;/span&gt;&lt;/b&gt; - When deleting linked clones, our process requires that the admin utilizes the &lt;b&gt;“&lt;a class="jive-link-external" href="http://communities.vmware.com/docs/DOC-9061"&gt;my-vmware-cmd&lt;/a&gt;”&lt;/b&gt; toolset that has been developed. Under no circumstances should the &lt;b&gt;“delete from disk”&lt;/b&gt; feature be used on a linked clone from within VIClient. This is to ensure that the master image of which clones are linked from is not terminated.&lt;hr /&gt;
&lt;br /&gt;
The following requirements will be validated by the script prior to execution:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Master VM is offline&lt;/li&gt;
&lt;li&gt;Master VM does not contain any Snapshots or RDMs&lt;/li&gt;
&lt;li&gt;Valid eth0 interface&lt;/li&gt;
&lt;li&gt;Single VMDK disk (remove any instances in the .vmx file if you have others)&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;u&gt;Example Execution of all 3 Use cases:&lt;/u&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:green"&gt;Storage Environment:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@olga lamw]# vmware-vim-cmd hostsvc/summary/fsvolume

Name                  		Type      SubType                         Path                              Device         Capacity       Mode
dlgCore-FC-LUN200.Templates    VmfsVolume   VMFS      /vmfs/volumes/48e1cd81-81223593-6cd8-00215acaa2b2   vmhba1:0:200:1   133949292544   readWrite
dlgCore-FC-LUN202.VMstorage2   VmfsVolume   VMFS      /vmfs/volumes/48e1a4a6-3b55e69b-02a9-001f29c948e2   vmhba1:0:202:1   162940321792   readWrite
olga-local-SAS.Storage         VmfsVolume   VMFS      /vmfs/volumes/49167992-ac31f0a5-3f9f-001f29c7a04c   vmhba0:0:0:5     274072600576   readWrite
dlgCore-FC-LUN203.VMstorage3   VmfsVolume   VMFS      /vmfs/volumes/48e16ed0-420158d5-5601-00215acaa2b2   vmhba1:0:203:1   164014063616   readWrite
dlgCore-FC-LUN201.VMstorage1   VmfsVolume   VMFS      /vmfs/volumes/48e1b819-3443974c-03c4-001f29c948e2   vmhba1:0:201:1   161866579968   readWrite
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@olga lamw]# vdf -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/cciss/c0d0p2     7.9G  1.2G  6.3G  16% /
/dev/cciss/c0d0p1     244M   27M  204M  12% /boot
/dev/cciss/c0d0p7     2.0G   33M  1.9G   2% /home
none                  391M     0  391M   0% /dev/shm
/dev/cciss/c0d0p8     2.0G   33M  1.9G   2% /tmp
/dev/cciss/c0d0p6     4.0G  289M  3.5G   8% /var
/vmfs/devices         273G     0  273G   0% /vmfs/devices
/vmfs/volumes/48e16ed0-420158d5-5601-00215acaa2b2
                      152G  108G   44G  70% /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
/vmfs/volumes/48e1a4a6-3b55e69b-02a9-001f29c948e2
                      151G  105G   46G  69% /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
/vmfs/volumes/48e1b819-3443974c-03c4-001f29c948e2
                      150G  126G   24G  84% /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
/vmfs/volumes/48e1cd81-81223593-6cd8-00215acaa2b2
                      124G   71G   53G  57% /vmfs/volumes/dlgCore-FC-LUN200.Templates
/vmfs/volumes/49167992-ac31f0a5-3f9f-001f29c7a04c
                      255G  1.3G  253G   0% /vmfs/volumes/olga-local-SAS.Storage
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Default Case&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Master Virtual Machine: /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx stored on LOCAL STORAGE&lt;/li&gt;
&lt;li&gt;Storage Medium: LOCAL STORAGE&lt;/li&gt;
&lt;li&gt;32 Linked Clones on the same datastore as the Master VM&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;
&lt;strike&gt;root@olga lamw&lt;/strike&gt;# ./ghetto-esx-linked-clones.sh /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx LinkedClones- 1 32&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
1. Confirmation after initial execution of script:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
#         duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################

Requested parameters:
        Master Virtual Machine Image: /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx
        Requested Number of Linked Clones: 32 VMs
        Initial Master Memory: 2048 MB
        Initial Master VMDK Size: 10 GB
        Expected Storage Consumption: 84 GB

        Please verify that there is enough storage space for the requested configuration before running


Would you like to continue with these parameters y/n?
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
2. Linked Clones construction progress:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Generating Linked Clones ...
59% Complete! - Linked Clones Created: 19/32
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
3. Completed Linked Clones output:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Generating Linked Clones ...
100% Complete! - Linked Clones Created: 32/32


Waiting for Virtual Machine(s) to obtain their MAC addresses...

Linked clones VM MAC addresses stored at:
        lcs_created_on-2008-12-09-210343/UCSB-GAUCHOS

Start time: Tue Dec  9 21:00:06 PST 2008
End   time: Tue Dec  9 21:03:40 PST 2008
Duration  : 3.57 Minutes
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Maps before &lt;b&gt;Default&lt;/b&gt; case execution:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.engr.ucsb.edu/~duonglt/vmware/9020/default_1.jpg" alt="http://www.engr.ucsb.edu/~duonglt/vmware/9020/default_1.jpg" class="jive-image"  /&gt; &lt;br /&gt;
&lt;br /&gt;
Maps after &lt;b&gt;Default&lt;/b&gt; execution:&lt;br /&gt;
&lt;br /&gt;
 &lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4617/250-111/default_2.jpg" width="250" height="111" alt="default_2.jpg" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4617/default_2.jpg');return false;"/&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:red"&gt;Red&lt;/span&gt; denotes the Master VM&lt;br /&gt;
&lt;span style="color:green"&gt;Green&lt;/span&gt; denotes the datastore&lt;br /&gt;
&lt;span style="color:orange"&gt;Orange&lt;/span&gt; denotes the last Linked Clone created&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Distributed Write(s) I/O Case&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Master Virtual Machine: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-RESNET/UCSB-RESNET.vmx stored on FC SAN&lt;/li&gt;
&lt;li&gt;Storage Mediums: LOCAL STORAGE and FC SAN&lt;/li&gt;
&lt;li&gt;64 Linked Clones distributed across 2 datastores&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;
&lt;strike&gt;root@olga lamw&lt;/strike&gt;# ./ghetto-esx-linked-clones.sh /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-RESNET/UCSB-RESNET.vmx LinkedClones- 1 64 dw&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
1. Datstore selection:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;#FREE SPACE     DATASTORE(S)
1)    44G       /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
2)    44G       /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
3)    24G       /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
4)    53G       /vmfs/volumes/dlgCore-FC-LUN200.Templates
5)    253G      /vmfs/volumes/olga-local-SAS.Storage
6)    Quit

Please select datastore(s) to be used: (e.g. 1,2,3):
4,5

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
2. Confirmation after initial execution of script:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
#         duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################

Requested parameters:
        Master Virtual Machine Image: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-RESNET/UCSB-RESNET.vmx
        Requested Number of Linked Clones: 64 VMs
        Initial Master Memory: 2048 MB
        Initial Master VMDK Size: 10 GB
        Expected Storage Consumption: 167 GB

        Please verify that there is enough storage space for the requested configuration before running

Distributed Write I/O Scheme selected. Linked clones will be evenly distributed across the following datastore(s):

        /vmfs/volumes/dlgCore-FC-LUN200.Templates
        /vmfs/volumes/olga-local-SAS.Storage


Would you like to continue with these parameters y/n?
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
3. Completed Linked Clones output:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Generating Linked Clones ...
100% Complete! - Linked Clones Created: 64/64


Waiting for Virtual Machine(s) to obtain their MAC Addresses...

Linked clones VM MAC addresses stored at:
        lcs_created_on-2008-12-09-211724/UCSB-RESNET

Start time: Tue Dec  9 21:12:43 PST 2008
End   time: Tue Dec  9 21:17:19 PST 2008
Duration  : 4.60 Minutes
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Maps before &lt;b&gt;Default&lt;/b&gt; execution:&lt;br /&gt;
&lt;br /&gt;
&lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4618/250-90/default_3.jpg" width="250" height="90" alt="default_3.jpg" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4618/default_3.jpg');return false;"/&gt;&lt;br /&gt;
&lt;br /&gt;
Maps after &lt;b&gt;Default&lt;/b&gt; execution:&lt;br /&gt;
&lt;br /&gt;
&lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4619/249-117/default_4.jpg" width="249" height="117" alt="default_4.jpg" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4619/default_4.jpg');return false;"/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:red"&gt;Red&lt;/span&gt; denotes the Master VM&lt;br /&gt;
&lt;span style="color:green"&gt;Green&lt;/span&gt; denotes the two datastores&lt;br /&gt;
&lt;span style="color:orange"&gt;Orange&lt;/span&gt; denotes the last Linked Clones created&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Distributed Read(s) &amp;#38; Write(s) I/O Case&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Master Virtual Machine: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-ENGINEERING/UCSB-ENGINEERING.vmx stored on FC SAN&lt;/li&gt;
&lt;li&gt;Storage medium: FC SAN&lt;/li&gt;
&lt;li&gt;128 Linked Clones distributed across 2 datastores&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;
&lt;strike&gt;root@olga lamw&lt;/strike&gt;# ./ghetto-esx-linked-clones.sh /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-ENGINEERING/UCSB-ENGINEERING.vmx LinkedClones- 1 128 drw&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
1. Datstore selection:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;#FREE SPACE     DATASTORE(S)
1)    44G       /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
2)    43G       /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
3)    24G       /vmfs/volumes/dlgCore-FC-LUN201.VMstorage1
4)    53G       /vmfs/volumes/dlgCore-FC-LUN200.Templates
5)    253G      /vmfs/volumes/olga-local-SAS.Storage
6)    Quit

Please select datastore(s) to be used: (e.g. 1,2,3):
1,2
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
2. Confirmation after initial execution of script:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;######################################################
#
# UCSB ResNet Linked Clones Tool for ESX 3.x
# Author: william2003[at]gmail[dot]com
#         duonglt[at]engr[dot]ucsb[dot]edu
# Created: 06/26/2008
#
######################################################

Requested parameters:
        Master Virtual Machine Image: /vmfs/volumes/dlgCore-FC-LUN200.Templates/UCSB-ENGINEERING/UCSB-ENGINEERING.vmx
        Naming convention for Linked-Cloned Master Virtual Machine: MASTER-LinkedClones-{1-2}
        Naming convention for Linked-Cloned Virtual Machines: LinkedClones-{1-128}
        Looking to create: 2 Master VMs
        Requested Number of Linked Clones: 128 VMs
        Initial Master Memory: 2048 MB
        Initial Master VMDK Size: 10 GB
        Expected Storage Consumption: 353 GB

        Please verify that there is enough storage space for the requested configuration before running

Distributed Read &amp;#38; Write I/O Scheme selected. Operation will duplicate master image and evenly generate
linked clones from these dupulicated images across the specified datastore(s):

        /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
        /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2

        Distribution of Linked Clones per datastore: 64

MASTER-LinkedClones-1 will be stored on:
        /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
                The following VMs will be linked to &amp;quot;MASTER-LinkedClones-1&amp;quot; under this datastore:
                        LinkedClones-{1-64}

MASTER-LinkedClones-2 will be stored on:
        /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
                The following VMs will be linked to &amp;quot;MASTER-LinkedClones-2&amp;quot; under this datastore:
                        LinkedClones-{65-128}


Would you like to continue with these parameters y/n?
y
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
3. Creating Master image on each Datastore to distribute read(s)/write(s) Linked Clones&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Creating MASTER-LinkedClones-1 on: /vmfs/volumes/dlgCore-FC-LUN203.VMstorage3
Creating MASTER-LinkedClones-2 on: /vmfs/volumes/dlgCore-FC-LUN202.VMstorage2
Initiating vmkfstools copy ...
Initiating vmkfstools copy ...
0% Complete! - Linked Clones Created: 0/128
Registering newly created MASTER-LinkedClones-1 ...

Registering newly created MASTER-LinkedClones-2 ...
2% Complete! - Linked Clones Created: 3/128
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
4. Completed Linked Clones output:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;100% Complete! - Linked Clones Created: 128/128


Waiting for Virtual Machine(s) to obtain their MAC addresses...

Linked clones VM MAC addresses stored at:
        lcs_created_on-2008-12-09-214627/MASTER-LinkedClones-1
        lcs_created_on-2008-12-09-214627/MASTER-LinkedClones-2

Start time: Tue Dec  9 21:36:49 PST 2008
End   time: Tue Dec  9 21:46:22 PST 2008
Duration  : 9.55 Minutes
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Maps before &lt;b&gt;Default&lt;/b&gt; execution:&lt;br /&gt;
&lt;br /&gt;
&lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4620/250-90/default_5.jpg" width="250" height="90" alt="default_5.jpg" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4620/default_5.jpg');return false;"/&gt;&lt;br /&gt;
&lt;br /&gt;
Maps after &lt;b&gt;Default&lt;/b&gt; execution:&lt;br /&gt;
&lt;br /&gt;
&lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4632/250-173/default_6.jpg" width="250" height="173" alt="default_6.jpg" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-9020-2-4632/default_6.jpg');return false;"/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:red"&gt;Red&lt;/span&gt; denotes the Master VM&lt;br /&gt;
&lt;span style="color:green"&gt;Green&lt;/span&gt; denotes the two datastores&lt;br /&gt;
&lt;span style="color:purple"&gt;Purple&lt;/span&gt; denotes the 2 replicated Master VM in each of the datastores&lt;br /&gt;
&lt;span style="color:orange"&gt;Orange&lt;/span&gt; denotes the last Linked Clones created&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h3&gt;&lt;span style="color:red"&gt;Known Issues:&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
1. When running "&lt;b&gt;ghetto-esx-linked-clones.sh&lt;/b&gt;" on VMware ESX 3.0.0, the &lt;b&gt;"FULL_PATH_TO_MASTER_VMX_FILE"&lt;/b&gt; must be in the UUID format and not the human readable symlink, this was fixed in VMware ESX 3.0.1 and possibly updated in one of the 3.0.0 patchset.&lt;br /&gt;
&lt;br /&gt;
Solution, use the following:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;./ghetto-esx-linked-clones.sh /vmfs/volumes/4857f047-4e4ec6bf-a8b8-001b78361a3c/VM-MasterImage/VM-MasterImage.vmx LinkedClone- 1 200
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Instead of&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;./ghetto-esx-linked-clones.sh vmfs/volumes/himalaya-local-SATA.Storage/VM-MasterImage/VM-MasterImage.vmx LinkedClone- 1 200
&lt;/code&gt;&lt;/pre&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">linked</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">clones</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.0</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.1</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.3</category>
      <pubDate>Wed, 03 Dec 2008 23:05:37 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-9020</guid>
      <dc:date>2008-12-03T23:05:37Z</dc:date>
      <clearspace:dateToText>11 months, 3 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Please help with enabling nic teaming in ESX</title>
      <link>http://communities.vmware.com/docs/DOC-8910</link>
      <description>&lt;br /&gt;
Good day!   I need help with configuring NIC teaming on ESX. I have ESX installed on HP server which has 2 nic cards 1GB each. This server is connected with bouth cards to CISCO 2970 switch.&lt;br /&gt;
&lt;p /&gt;
On a Switch side I configured Etherchanell. On the ESX side in vSwitch properties on NIC Teaming I changed the load balancing to "Route Based on  IP hash" .&lt;br /&gt;
&lt;p /&gt;
The CISCO switch is connected to our main swith with 2 FC trunk connection. When I'm trying to copy some data from VM guest to other location i see on "ESXTOP" that only 1 nic is transmitting packets and another is showing me 0.&lt;br /&gt;
&lt;p /&gt;
Thanks in advance for any help.&lt;br /&gt;
&lt;p /&gt;
Have a great day!</description>
      <pubDate>Tue, 25 Nov 2008 15:36:24 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8910</guid>
      <dc:date>2008-11-25T15:36:24Z</dc:date>
      <clearspace:dateToText>12 months, 1 day ago</clearspace:dateToText>
    </item>
    <item>
      <title>How to create a root keypair files for dropbear, SSH and PuTTY inside an ESXi Server</title>
      <link>http://communities.vmware.com/docs/DOC-8890</link>
      <description>First of all I discovered that the minimum keysize between SSH and dropbear keys are 768 BITS! Keep this&lt;br /&gt;
info everytime in your mind. Then creating the root keys is simpler, than creating the SSH-keys for other non-root&lt;br /&gt;
users. The later task tends to be tedious but not impossible. I gonna try to explain the simpler way (root SSH-Keys), if&lt;br /&gt;
you need advice for creating non-root SSH keys inside an ESXi box, come back to me.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;You must have enabled the SSH server to login into the ESXi box. (Look here in this community forum for detailed explanation)&lt;/li&gt;
&lt;li&gt;You must have set for security reasons a root password anyway&lt;/li&gt;
&lt;li&gt;Do not enable lockdown mode, otherwise you can only login via the DCUI.&lt;/li&gt;
&lt;li&gt;If you need more security restrictions you can put at the end of the ssh row a -g allowing root only to login using the identity file, not interactive anymore!&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Security advice:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Keep your keys expecially the private one secure by placing it inside encrypted filesystems or limit the usage by chmod 600 for user root.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps:&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;login as root into a fresh booted ESXi box.&lt;/li&gt;
&lt;li&gt;create an hidden directory called /.ssh with mkdir /.ssh&lt;/li&gt;
&lt;li&gt;create the RSA dropbear key by executing /bin/dropbearkey -t rsa -f id_rsa -s 768 &amp;gt; id_rsa.pub&lt;/li&gt;
&lt;li&gt;create the DSA dropbear key by executing /bin/dropbearkey -t dss -f id_dsa -s 1024 &amp;gt; id_dsa.pub&lt;/li&gt;
&lt;li&gt;open the /.ssh/id_rsa.pub and /.ssh/id_dsa.pub file and delete the first and last line with your favorite editor. &lt;br clear="all" /&gt;&lt;b&gt;NOTE: Do not change anything else, only one line beginning with ssh-rsa or ssh-dss must exist.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;make a copy of your RSA private dropbear key by executing cp id_rsa id_rsa.db&lt;/li&gt;
&lt;li&gt;make a copy of your DSA private dropbear key by executing cp id_dsa id_dsa.db&lt;/li&gt;
&lt;li&gt;now convert the RSA dropbearkey to SSH format by executing /bin/dropbearconvert dropbear openssh id_rsa id_rsa.ssh.&lt;/li&gt;
&lt;li&gt;now convert the DSA dropbearkey to SSH format by executing /bin/dropbearconvert dropbear openssh id_dsa id_dsa.ssh. &lt;br clear="all" /&gt;&lt;b&gt;NOTE: This are your private SSH-Keys the public key remains the same.In other	 	Linux/Windows Environment copy&lt;/b&gt;    &lt;br clear="all" /&gt;*id_rsa.ssh to id_rsa and id_dsa.ssh to id_dsa and you can use	 	the same RSA/DSA keys everywhere:-)# *&lt;/li&gt;
&lt;li&gt;Copy the RSA public key to authorized_keys with cat id_rsa.pub &amp;gt; authorized_keys&lt;/li&gt;
&lt;li&gt;Append the DSA public key to authorized_keys with cat id_dsa.pub &amp;gt;&amp;gt; authorized_keys &lt;br clear="all" /&gt;&lt;b&gt;NOTE: Please check that ALL private keys MUST have chmod 600 otherwise every SSH server refuse to use it, because other chmod are INSECURE!&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;If you plan to use PuTTY as I do always, copy the id_rsa.pub and id_rsa.ssh to a PuTTY environment, rename id_rsa.ssh to Id_rsa and use puttygen to create an id_rsa.ppk (Putty Private Key) file&lt;/li&gt;
&lt;li&gt;You can also copy the the id_dsa.pub and id_dsa.ssh to the same place and create an id_dsa.ppk file&lt;/li&gt;
&lt;li&gt;Copy the newly created id_rsa.ppk and id_dsa.ppk key to your ESXi box under /.ssh &lt;br clear="all" /&gt;																							 	in case you need it elsewhere and forgot how to build it again &lt;img src="http://communities.vmware.com/images/emoticons/happy.gif" alt="http://communities.vmware.com/images/emoticons/happy.gif" class="jive-image"  /&gt;&lt;/li&gt;
&lt;li&gt;Now put all the /.ssh stuff inside the oem.tgz&lt;/li&gt;
&lt;li&gt;Reboot and get the message file out of an ESXi box trying from another place scp -i id_rsa root@&amp;lt;esxi-ip&amp;gt;:/var/log/messages . &lt;br clear="all" /&gt;&lt;b&gt;NOTE: If everything went fine you will never be asked to provide the root password and can now execute batch commands via cron&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
If you now ask what is the difference between a RSA and a DSA Key and which is better to use. Here the answer:&lt;br /&gt;
Its been accepted knowledge for several years now that in relation to performance only,DSA is faster for Key Generation and Signing and RSA is faster for Verification.&lt;br /&gt;
So use RSA for copy, because verification is faster and DSA for SSL web server application, because creating and signing is faster.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">ssh</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">keys</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configuration</category>
      <pubDate>Tue, 25 Nov 2008 05:47:43 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8890</guid>
      <dc:date>2008-11-25T05:47:43Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Another ESXi backup script</title>
      <link>http://communities.vmware.com/docs/DOC-8881</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx3i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3.5i</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi_3.5</category>
      <pubDate>Sun, 23 Nov 2008 06:03:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8881</guid>
      <dc:date>2008-11-23T06:03:35Z</dc:date>
      <clearspace:dateToText>12 months, 3 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Applying execute permissions to scripts!</title>
      <link>http://communities.vmware.com/docs/DOC-8821</link>
      <description>Hi,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
I need some help installing naviagent on my esx box. I have tried to run the ./ESX_install.sh script with the appropriate name but keep getting permission denied. I have logged into the system using putty and have upgraded to root permissions using su, so it should work.&lt;br /&gt;
&lt;p /&gt;
Anyone got suggestions why this wouldnt work? This is urgent. I have attached my .sh file&lt;br /&gt;
&lt;p /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I managed to answer my own question here.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
When you need to execute a script you need to applying execute permissions to all files to be run by the script.&lt;br /&gt;
&lt;p /&gt;
To do this, run &lt;b&gt;chmod 755 "filename"&lt;/b&gt; to apply execute permissions.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/180641"&gt;Running ./ESX_Install.sh gives Permission Denied&lt;/a&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:10:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8821</guid>
      <dc:date>2008-11-20T11:10:35Z</dc:date>
      <clearspace:dateToText>1 year, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ghettoVCB.sh - Free alternative for backing up VM's for ESX(i) 3.5 and 4.0+</title>
      <link>http://communities.vmware.com/docs/DOC-8760</link>
      <description>&lt;h1&gt;Table of Contents:&lt;/h1&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;Description&lt;/li&gt;
&lt;li&gt;Features&lt;/li&gt;
&lt;li&gt;Requirements&lt;/li&gt;
&lt;li&gt;Setup&lt;/li&gt;
&lt;li&gt;Configurations&lt;/li&gt;
&lt;li&gt;Usage&lt;/li&gt;
&lt;li&gt;Sample Execution
&lt;ul&gt;
&lt;li&gt;Backup VMs stored in a list&lt;/li&gt;
&lt;li&gt;Backup VMs using individual backup policies &lt;/li&gt;
&lt;li&gt;Debug backup Mode&lt;/li&gt;
&lt;li&gt;Dry run Mode&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Enable compression for backups&lt;/li&gt;
&lt;li&gt;Restore backups (ghettoVCB-restore.sh)&lt;/li&gt;
&lt;li&gt;Cronjob FAQ&lt;/li&gt;
&lt;li&gt;FAQ&lt;/li&gt;
&lt;li&gt;Useful Links&lt;/li&gt;
&lt;li&gt;Change Log&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h1&gt;Description:&lt;/h1&gt;
&lt;br /&gt;
This script performs backups of virtual machines residing on &lt;b&gt;ESX(i) 3.5/4.0+&lt;/b&gt; servers using methodology similar to &lt;a class="jive-link-external" href="http://www.vmware.com/products/vi/consolidated_backup.html"&gt;VMware's VCB&lt;/a&gt; tool. The script takes snapshots of live virtual machines, backs up the master VMDK(s) and then upon completion, deletes the snapshot until the next backup. The only caveat is that it utilizes resources available to the Service Console of the ESX server running the backups as opposed to following the traditional method of offloading virtual machine backups through a VCB proxy.&lt;br /&gt;
&lt;br /&gt;
This script has been tested on &lt;b&gt;ESX 3.5/4.0 and ESXi 3.5/4.0&lt;/b&gt; and supports the following backup mediums: &lt;b&gt;LOCAL STORAGE&lt;/b&gt;, &lt;b&gt;SAN&lt;/b&gt; and &lt;b&gt;NFS&lt;/b&gt;. The script is non-interactive and can be setup to run via crontab. Currently, this script accepts a text file that lists the display names of virtual machine(s) that are to be backed up. Additionally, one can specify a folder containing configuration files on a per VM basis for granular control over backup policies.&lt;br /&gt;
&lt;br /&gt;
Additionally, for ESX environments that don't have persistent NFS datastores designated for backups, the script offers the ability to automatically connect the ESX server to a NFS exported folder and then upon backup completion, disconnect it from the ESX server. The connection is established by creating an NFS datastore link which enables monolithic (or thick) VMDK backups as opposed to using the usual *nix mount command which necessitates breaking VMDK files into the 2gbsparse format for backup. Enabling this mode is self-explanatory and will evidently be so when editing the script (Note: &lt;b&gt;VM_BACKUP_VOLUME&lt;/b&gt; variable is ignored if &lt;b&gt;ENABLE_NON_PERSISTENT_NFS=1&lt;/b&gt; ).&lt;br /&gt;
&lt;br /&gt;
In its current configuration, the script will allow up to 3 unique backups of the Virtual Machine before it will overwrite the previous backups; this however, can be modified to fit procedures if need be. Please be diligent in running the script in a test or staging environment before using it on production live Virtual Machines; this script functions well within our environment but there is a chance that it may not fit well into other environments.&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Features&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Support for multiple VMDK disk(s) backup per VM&lt;/li&gt;
&lt;li&gt;Only valid VMDK(s) presented to the VM will be backed up&lt;/li&gt;
&lt;li&gt;Online back up of VM(s)&lt;/li&gt;
&lt;li&gt;Ability to shutdown guestOS and initiate backup process and power on VM afterwards with the option of hardpower timeout &lt;/li&gt;
&lt;li&gt;Allow spaces in VM(s) backup list (not recommended and not a best practice)&lt;/li&gt;
&lt;li&gt;Ensure that snapshot removal process completes prior to to continuing onto the next VM backup&lt;/li&gt;
&lt;li&gt;VM(s) that intially contain &lt;b&gt;snapshots&lt;/b&gt; will not be backed up and will be ignored&lt;/li&gt;
&lt;li&gt;Ability to specify the number of backup rotations for VM&lt;/li&gt;
&lt;li&gt;Output back up VMDK(s) in either &lt;b&gt;ZEROEDTHICK&lt;/b&gt; (default behavior) or &lt;b&gt;2GB SPARSE&lt;/b&gt; or &lt;b&gt;THIN&lt;/b&gt; or &lt;b&gt;EAGERZEROEDTHICK&lt;/b&gt; format&lt;/li&gt;
&lt;li&gt;Support for both SCSI and IDE disks&lt;/li&gt;
&lt;li&gt;Non-persistent NFS backup &lt;/li&gt;
&lt;li&gt;Fully support VMDK(s) stored across multiple datastores&lt;/li&gt;
&lt;li&gt;Ability to compress backups (Experimental Support)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Ability to configure individual VM backup policies&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Ability to include/exclude specific VMDK(s) per VM (requires individual VM backup policy setup)&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Ability to configure logging output to file&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Independent disk awareness (will ignore VMDK)&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;New timeout variables for shutdown and snapshot creations &lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Ability to configure snapshots with both memory and/or quiesce options&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Ability to configure disk adapter format&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Additional debugging information including dry run execution&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style="color:blue"&gt;Support for VMs with both virtual/physical RDM (pRDM will be ignored and not backed up)&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style="color:green"&gt;NEW!&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Requirements:&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;VMs running on ESX(i) 3.5/4.0+&lt;/li&gt;
&lt;li&gt;SSH console access to ESX/ESXi host&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Setup:&lt;/h1&gt;
&lt;br /&gt;
1) Download &lt;b&gt;ghettoVCB.sh&lt;/b&gt; to either your ESX or ESXi system&lt;br /&gt;
&lt;br /&gt;
2) Change the permissions on the script to ensure it can be executed:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# chmod +x ghettoVCB.sh
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Configurations:&lt;/h1&gt;
&lt;br /&gt;
The following variables need to be defined within the script or in VM backup policy prior to execution. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining the backup datastore and folder in which the backups are stored (if folder does not exist, it will automatically be created):&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;VM_BACKUP_VOLUME=/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining the backup disk format (zeroedthick, eagerzeroedthick, thin, and 2gbsparse are available):&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;DISK_BACKUP_FORMAT=thin
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining the backup rotation per VM:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;VM_BACKUP_ROTATION_COUNT=3
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining whether the VM is powered down or not prior to backup (1 = enable, 0 = disable):&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:green"&gt;Note: VM(s) that are powered off will not require snapshoting&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;POWER_VM_DOWN_BEFORE_BACKUP=0
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining whether the VM can be hard powered off when "POWER_VM_DOWN_BEFORE_BACKUP" is enabled and VM does not have VMware Tools installed&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;ENABLE_HARD_POWER_OFF=0
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If "ENABLE_HARD_POWER_OFF" is enabled, then this defines the number of (60sec) iterations the script will before executing a hard power off when:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;ITER_TO_WAIT_SHUTDOWN=3
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The number (60sec) iterations the script will wait when powering off the VM and will give up and ignore the particular VM for backup:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;POWER_DOWN_TIMEOUT=5
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The number (60sec) iterations the script will wait when taking a snapshot of a VM and will give up and ignore the particular VM for backup:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:green"&gt;Default value should suffice&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;SNAPSHOT_TIMEOUT=15
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining whether or not to enable compression (1 = enable, 0 = disable):&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;ENABLE_COMPRESSION=0
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining the adapter type for backed up VMDK (buslogic and lsilogic are available):&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;ADAPTER_FORMAT=buslogic
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Defining whether virtual machine memory is snapped and if quiescing is enabled (1 = enable, 0 = disable):&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="color:green"&gt;Note: By default both are disabled&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;VM_SNAPSHOT_MEMORY=0
VM_SNAPSHOT_QUIESCE=0
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
*Defining VMDK(s) to backup from a particular VM either a list of vmdks or "all"&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;VMDK_FILES_TO_BACKUP=&amp;quot;myvmdk.vmdk&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ensure that you do not edit past this section:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;########################## DO NOT MODIFY PAST THIS LINE ##########################
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Usage:&lt;/h1&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB.sh
###############################################################################
#
# ghettoVCB for ESX/ESXi 3.5 &amp;#38; 4.x+
# Author: William Lam
# http://www.engineering.ucsb.edu/~duonglt/vmware/
# Created: 11/17/2008
# Last modified: 11/14/2009
#
###############################################################################

Usage: ./ghettoVCB.sh -f [VM_BACKUP_UP_LIST] -c [VM_CONFIG_DIR] -l [LOG_FILE]

OPTIONS:
   -f     List of VMs to backup
   -c     Configuration directory for VM backups
   -l     File to output logging
   -d     Debug level [info|debug|dryrun] (default: info)

(e.g.)

Backup VMs stored in a list
        ./ghettoVCB.sh -f vms_to_backup

Backup VMs based on specific configuration located in directory
        ./ghettoVCB.sh -f vms_to_backup -c vm_backup_configs

Output will log to /tmp/ghettoVCB.log
        ./ghettoVCB.sh -f vms_to_backup -l /tmp/ghettoVCB.log

Dry run (no backup will take place)
        ./ghettoVCB.sh -f vms_to_backup -d dryrun

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The input to this script is a file that contains the display name of the virtual machine(s) separated by a newline. When creating this file on a non-Linux/UNIX system, you may introduce ^M character which can cause the script to miss-behave. To ensure this does not occur, plesae create the file on the ESX/ESXi host.&lt;br /&gt;
&lt;br /&gt;
Here is a sample of what the file would look like:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# cat vms_to_backup
VCAP
VIMA
vMA-2
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Sample Execution:&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Backup VMs stored in a list&lt;/li&gt;
&lt;li&gt;Backup VMs based on individual VM backup policies&lt;/li&gt;
&lt;li&gt;Debug Mode&lt;/li&gt;
&lt;li&gt;Dry run Mode&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;Backup VMs stored in a list&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Log verbosity: info (default)&lt;/li&gt;
&lt;li&gt;Log output: stdout (default)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB.sh -f vms_to_backup

2009-11-12 06:14:10 -- info: ============================== ghettoVCB LOG START ==============================

2009-11-12 06:14:10 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:14:10 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:14:10 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:14:10 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:14:10 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:14:10 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:14:10 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2009-11-12 06:14:10 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:14:10 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:14:10 -- info: CONFIG - LOG_LEVEL = info
2009-11-12 06:14:10 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-12 06:14:10 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-12 06:14:10 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:14:10 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-12 06:14:15 -- info: Initiate backup for VCAP
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP_2.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP_1.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP-0.vmdk'...
Clone: 100% done.
2009-11-12 06:15:15 -- info: Backup Duration: 60 Seconds
2009-11-12 06:15:15 -- info: Successfully completed backup for VCAP!

2009-11-12 06:15:17 -- info: Initiate backup for VIMA
2009-11-12 06:15:17 -- info: Creating Snapshot &amp;quot;ghettoVCB-snapshot-2009-11-12&amp;quot; for VIMA
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Savvio/VIMA/VIMA.vmdk'...
Clone: 100% done.
2009-11-12 06:16:40 -- info: Removing snapshot from VIMA ...
2009-11-12 06:16:43 -- info: Backup Duration: 1.43 Minutes
2009-11-12 06:16:43 -- info: Successfully completed backup for VIMA!

2009-11-12 06:16:47 -- info: Initiate backup for vMA-2
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2/vMA-2.vmdk'...
Clone: 100% done.
2009-11-12 06:18:14 -- info: Backup Duration: 1.45 Minutes
2009-11-12 06:18:14 -- info: Successfully completed backup for vMA-2!

2009-11-12 06:18:14 -- info: ============================== ghettoVCB LOG END ================================

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Backup VMs based on individual VM backup policies and log output to /tmp/ghettoVCB.log&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Log verbosity: info (default)&lt;/li&gt;
&lt;li&gt;Log output: /tmp/ghettoVCB.log (default)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
1. Create folder to hold individual VM backup policies (can be named anything):&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# mkdir backup_config
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Create individual VM backup policies for each VM that ensure each file is named exactly as the display name of the VM being backed up (use provided template to create duplicates):&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya backup_config]# cp ghettoVCB-vm_backup_configuration_template VCAP
[root@himalaya backup_config]# cp ghettoVCB-vm_backup_configuration_template VIMA
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Listing of VM backup policy within backup configuration directory&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya backup_config]# ls
ghettoVCB-vm_backup_configuration_template  VCAP  VIMA
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Backup policy for "VCAP" (backup only 2 specific VMDKs)&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya backup_config]# cat VCAP
VM_BACKUP_VOLUME=/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
DISK_BACKUP_FORMAT=thin
VM_BACKUP_ROTATION_COUNT=3
POWER_VM_DOWN_BEFORE_BACKUP=0
ENABLE_HARD_POWER_OFF=0
ITER_TO_WAIT_SHUTDOWN=4
POWER_DOWN_TIMEOUT=5
SNAPSHOT_TIMEOUT=15
ENABLE_COMPRESSION=0
ADAPTER_FORMAT=buslogic
VM_SNAPSHOT_MEMORY=0
VM_SNAPSHOT_QUIESCE=0
VMDK_FILES_TO_BACKUP=&amp;quot;VCAP.vmdk,VCAP_2.vmdk&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Backup policy for VM "VIMA" (backup all VMDKs found)&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya backup_config]# cat VIMA
VM_BACKUP_VOLUME=/vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
DISK_BACKUP_FORMAT=thin
VM_BACKUP_ROTATION_COUNT=3
POWER_VM_DOWN_BEFORE_BACKUP=0
ENABLE_HARD_POWER_OFF=0
ITER_TO_WAIT_SHUTDOWN=4
POWER_DOWN_TIMEOUT=5
SNAPSHOT_TIMEOUT=15
ENABLE_COMPRESSION=0
ADAPTER_FORMAT=buslogic
VM_SNAPSHOT_MEMORY=1
VM_SNAPSHOT_QUIESCE=0
VMDK_FILES_TO_BACKUP=&amp;quot;all&amp;quot;

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:red"&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt; When specifying -c option (individual VM backup policy mode) if a VM is listed in the backup list but &lt;b&gt;DOES NOT&lt;/b&gt; have a corresponding backup policy, the VM will be backed up using the default configuration found within the ghettoVCB.sh script.&lt;br /&gt;
&lt;br /&gt;
Execution of backup&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB.sh -f vms_to_backup -c backup_config -l /tmp/ghettoVCB.log

Logging output to &amp;quot;/tmp/ghettoVCB.log&amp;quot; ...
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP_2.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Savvio/VIMA/VIMA.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2/vMA-2.vmdk'...
Clone: 100% done.

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:red"&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt; When specifying the -l option (log output to file), vmkfstools copy is also logged to stdout. This is done primarily for debugging purposes.&lt;br /&gt;
&lt;br /&gt;
Log output from backup&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# cat /tmp/ghettoVCB.log

2009-11-12 06:26:53 -- info: ============================== ghettoVCB LOG START ==============================

2009-11-12 06:26:56 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VCAP
2009-11-12 06:26:56 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:26:56 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:26:56 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:26:56 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:26:56 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:26:56 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:26:56 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-12 06:26:56 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:26:56 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:26:56 -- info: CONFIG - LOG_LEVEL = info
2009-11-12 06:26:56 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB.log
2009-11-12 06:26:56 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-12 06:26:56 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:26:56 -- info: CONFIG - VMDK_FILES_TO_BACKUP = VCAP.vmdk,VCAP_2.vmdk

2009-11-12 06:26:58 -- info: Initiate backup for VCAP
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP_2.vmdk'...
Clone: 100% done.
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP.vmdk'...
Clone: 100% done.
2009-11-12 06:26:59 -- info: Backup Duration: 1 Seconds
2009-11-12 06:26:59 -- info: Successfully completed backup for VCAP!

2009-11-12 06:26:59 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VIMA
2009-11-12 06:26:59 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:26:59 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:26:59 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:26:59 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:26:59 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:26:59 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:26:59 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-12 06:26:59 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:26:59 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:26:59 -- info: CONFIG - LOG_LEVEL = info
2009-11-12 06:26:59 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB.log
2009-11-12 06:26:59 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 1
2009-11-12 06:26:59 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:26:59 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-12 06:27:02 -- info: Initiate backup for VIMA
2009-11-12 06:27:02 -- info: Creating Snapshot &amp;quot;ghettoVCB-snapshot-2009-11-12&amp;quot; for VIMA
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Savvio/VIMA/VIMA.vmdk'...
Clone: 100% done.
2009-11-12 06:29:28 -- info: Removing snapshot from VIMA ...
2009-11-12 06:29:31 -- info: Backup Duration: 2.48 Minutes
2009-11-12 06:29:31 -- info: Successfully completed backup for VIMA!

2009-11-12 06:29:31 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:29:31 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:29:31 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:29:31 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:29:31 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:29:31 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:29:31 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2009-11-12 06:29:31 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:29:31 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:29:31 -- info: CONFIG - LOG_LEVEL = info
2009-11-12 06:29:31 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB.log
2009-11-12 06:29:31 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-12 06:29:31 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:29:31 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-12 06:29:35 -- info: Initiate backup for vMA-2
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2/vMA-2.vmdk'...
Clone: 100% done.
2009-11-12 06:31:05 -- info: Backup Duration: 1.50 Minutes
2009-11-12 06:31:05 -- info: Successfully completed backup for vMA-2!

2009-11-12 06:31:05 -- info: ============================== ghettoVCB LOG END ================================

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Debug backup mode&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Log verbosity: debug&lt;/li&gt;
&lt;li&gt;Log output: stdout&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB.sh -f vms_to_backup -c backup_config -d debug
2009-11-13 19:51:47 -- info: ============================== ghettoVCB LOG START ==============================

2009-11-13 19:51:47 -- debug: HOST BUILD: VMware ESX 4.0.0 build-164009
2009-11-13 19:51:47 -- debug: HOSTNAME: himalaya.primp-industries.com

2009-11-13 19:51:51 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VCAP
2009-11-13 19:51:51 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-13 19:51:51 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-13 19:51:51 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-13 19:51:51 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-13 19:51:51 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-13 19:51:51 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-13 19:51:51 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-13 19:51:51 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-13 19:51:51 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-13 19:51:51 -- info: CONFIG - LOG_LEVEL = debug
2009-11-13 19:51:51 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-13 19:51:51 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-13 19:51:51 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-13 19:51:51 -- info: CONFIG - VMDK_FILES_TO_BACKUP = VCAP.vmdk,VCAP_2.vmdk

2009-11-13 19:51:52 -- info: Initiate backup for VCAP
2009-11-13 19:51:52 -- debug: findVMDK() - Searching for VMDK: &amp;quot;VCAP_2.vmdk&amp;quot; to backup
2009-11-13 19:51:52 -- debug: findVMDK() - Found VMDK! - &amp;quot;VCAP_2.vmdk&amp;quot; to backup
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP_2.vmdk'...
Clone: 100% done.
2009-11-13 19:51:53 -- debug: findVMDK() - Searching for VMDK: &amp;quot;VCAP_1.vmdk&amp;quot; to backup
2009-11-13 19:51:53 -- debug: findVMDK() - Searching for VMDK: &amp;quot;VCAP.vmdk&amp;quot; to backup
2009-11-13 19:51:53 -- debug: findVMDK() - Found VMDK! - &amp;quot;VCAP.vmdk&amp;quot; to backup
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP.vmdk'...
Clone: 100% done.
2009-11-13 19:51:53 -- debug: findVMDK() - Searching for VMDK: &amp;quot;VCAP-0.vmdk&amp;quot; to backup
2009-11-13 19:51:54 -- info: Backup Duration: 2 Seconds
2009-11-13 19:51:54 -- info: Successfully completed backup for VCAP!

2009-11-13 19:51:54 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VIMA
2009-11-13 19:51:54 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-13 19:51:54 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-13 19:51:54 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-13 19:51:54 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-13 19:51:54 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-13 19:51:54 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-13 19:51:54 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-13 19:51:54 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-13 19:51:54 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-13 19:51:54 -- info: CONFIG - LOG_LEVEL = debug
2009-11-13 19:51:54 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-13 19:51:54 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 1
2009-11-13 19:51:54 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-13 19:51:54 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-13 19:51:56 -- info: Initiate backup for VIMA
2009-11-13 19:51:56 -- info: Creating Snapshot &amp;quot;ghettoVCB-snapshot-2009-11-13&amp;quot; for VIMA
2009-11-13 19:51:58 -- debug: Waiting for snapshot &amp;quot;ghettoVCB-snapshot-2009-11-13&amp;quot; to be created
2009-11-13 19:51:58 -- debug: Snapshot timeout set to: 900 seconds
2009-11-13 19:52:01 -- debug: Waiting for snapshot creation to be completed - Iteration: 0 - sleeping for 60secs (Duration: 0 seconds)
2009-11-13 19:53:03 -- debug: findVMDK() - Searching for VMDK: &amp;quot;VIMA.vmdk&amp;quot; to backup
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Savvio/VIMA/VIMA.vmdk'...
Clone: 100% done.
2009-11-13 19:54:27 -- info: Removing snapshot from VIMA ...
2009-11-13 19:54:32 -- info: Backup Duration: 2.60 Minutes
2009-11-13 19:54:32 -- info: Successfully completed backup for VIMA!

2009-11-13 19:54:32 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-13 19:54:32 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-13 19:54:32 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-13 19:54:32 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-13 19:54:32 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-13 19:54:32 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-13 19:54:32 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2009-11-13 19:54:32 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-13 19:54:32 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-13 19:54:32 -- info: CONFIG - LOG_LEVEL = debug
2009-11-13 19:54:32 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-13 19:54:32 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-13 19:54:32 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-13 19:54:32 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-13 19:54:35 -- info: Initiate backup for vMA-2
2009-11-13 19:54:35 -- debug: findVMDK() - Searching for VMDK: &amp;quot;vMA-2.vmdk&amp;quot; to backup
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2/vMA-2.vmdk'...
Clone: 100% done.
2009-11-13 19:56:10 -- info: Backup Duration: 1.58 Minutes
2009-11-13 19:56:10 -- info: Successfully completed backup for vMA-2!

2009-11-13 19:56:10 -- info: ============================== ghettoVCB LOG END ================================
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Dry run Mode (no backup will take place)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Log verbosity: drymode&lt;/li&gt;
&lt;li&gt;Log output: stdout&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# ./ghettoVCB.sh -f vms_to_backup -c backup_config -d dryrun

2009-11-12 06:32:57 -- info: ============================== ghettoVCB LOG START ==============================

2009-11-12 06:33:01 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VCAP
2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:33:01 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:33:01 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:33:01 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:33:01 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:33:01 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-12 06:33:01 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:33:01 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:33:01 -- info: CONFIG - LOG_LEVEL = dryrun
2009-11-12 06:33:01 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:33:01 -- info: CONFIG - VMDK_FILES_TO_BACKUP = VCAP.vmdk,VCAP_2.vmdk

2009-11-12 06:33:01 -- dryrun: ###############################################
2009-11-12 06:33:01 -- dryrun: Virtual Machine: VCAP
2009-11-12 06:33:01 -- dryrun: VM_ID: 2784
2009-11-12 06:33:01 -- dryrun: VMX_PATH: /vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP/VCAP.vmx
2009-11-12 06:33:01 -- dryrun: VMX_DIR: /vmfs/volumes/himalaya-local-SATA.RE4-GP:Storage/VCAP
2009-11-12 06:33:01 -- dryrun: VMX_CONF: VCAP/VCAP.vmx
2009-11-12 06:33:01 -- dryrun: VMFS_VOLUME: himalaya-local-SATA.RE4-GP:Storage
2009-11-12 06:33:01 -- dryrun: VMDK(s):
2009-11-12 06:33:01 -- dryrun:  VCAP_2.vmdk
2009-11-12 06:33:01 -- dryrun:  VCAP_1.vmdk
2009-11-12 06:33:01 -- dryrun:  VCAP.vmdk
2009-11-12 06:33:01 -- dryrun:  VCAP-0.vmdk
2009-11-12 06:33:01 -- dryrun: ###############################################

2009-11-12 06:33:01 -- info: CONFIG - USING CONFIGURATION FILE = backup_config/VIMA
2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:33:01 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:33:01 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:33:01 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:33:01 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:33:01 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 4
2009-11-12 06:33:01 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:33:01 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:33:01 -- info: CONFIG - LOG_LEVEL = dryrun
2009-11-12 06:33:01 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 1
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:33:01 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-12 06:33:01 -- dryrun: ###############################################
2009-11-12 06:33:01 -- dryrun: Virtual Machine: VIMA
2009-11-12 06:33:01 -- dryrun: VM_ID: 4064
2009-11-12 06:33:01 -- dryrun: VMX_PATH: /vmfs/volumes/himalaya-local-SAS.Savvio/VIMA/VIMA.vmx
2009-11-12 06:33:01 -- dryrun: VMX_DIR: /vmfs/volumes/himalaya-local-SAS.Savvio/VIMA
2009-11-12 06:33:01 -- dryrun: VMX_CONF: VIMA/VIMA.vmx
2009-11-12 06:33:01 -- dryrun: VMFS_VOLUME: himalaya-local-SAS.Savvio
2009-11-12 06:33:01 -- dryrun: VMDK(s):
2009-11-12 06:33:01 -- dryrun:  VIMA.vmdk
2009-11-12 06:33:01 -- dryrun: ###############################################

2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/WILLIAM_BACKUPS
2009-11-12 06:33:01 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-12 06:33:01 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2009-11-12 06:33:01 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-12 06:33:01 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-12 06:33:01 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-12 06:33:01 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2009-11-12 06:33:01 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-12 06:33:01 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-12 06:33:01 -- info: CONFIG - LOG_LEVEL = dryrun
2009-11-12 06:33:01 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-12 06:33:01 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-12 06:33:01 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

2009-11-12 06:33:01 -- dryrun: ###############################################
2009-11-12 06:33:01 -- dryrun: Virtual Machine: vMA-2
2009-11-12 06:33:01 -- dryrun: VM_ID: 4960
2009-11-12 06:33:01 -- dryrun: VMX_PATH: /vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2/vMA-2.vmx
2009-11-12 06:33:01 -- dryrun: VMX_DIR: /vmfs/volumes/himalaya-local-SAS.Constellation/vMA-2
2009-11-12 06:33:01 -- dryrun: VMX_CONF: vMA-2/vMA-2.vmx
2009-11-12 06:33:01 -- dryrun: VMFS_VOLUME: himalaya-local-SAS.Constellation
2009-11-12 06:33:01 -- dryrun: VMDK(s):
2009-11-12 06:33:02 -- dryrun:  vMA-2.vmdk
2009-11-12 06:33:02 -- dryrun: ###############################################

2009-11-12 06:33:02 -- info: ============================== ghettoVCB LOG END ================================

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Enable compression for backups:&lt;/h1&gt;
&lt;br /&gt;
To make use of this feature, modify the variable &lt;b&gt;ENABLE_COMPRESSION&lt;/b&gt; from 0 to 1. Please note, do not mix  uncompressed backups with compressed backups. Ensure that directories selected for backups do not contain any backups with previous versions of ghettoVCB before enabling and implementing the compressed backups feature.&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Restore backups (ghettoVCB-restore.sh):&lt;/h1&gt;
&lt;br /&gt;
To recover a VM that has been processed by ghettoVCB, please take a look at this document: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10595"&gt;Ghetto Tech Preview - ghettoVCB-restore.sh - Restoring VM's backed up from ghettoVCB to ESX(i) 3.5 and 4.0+&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;Cronjob FAQ:&lt;/h1&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/"&gt;Please take a moment to read over what is a cronjob and how to set one up, before continuing&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The task of configuring cronjobs on classic ESX servers (with Service Console) is no different than traditional cronjobs on *nix operating systems (this procedure is outlined in the link above). With ESXi on the other hand, additional factors need to be taken into account when setting up cronjobs in the limited shell console called Busybox because changes made do not persist through a system reboot. The following document will outline steps to ensure that cronjob configurations are saved and present upon a reboot. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Task&lt;/b&gt;: Configure ghettoVCB.sh to execute a backup five days a week (M-F) at 12AM (midnight) everyday and send output to a unique log file&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Configure on ESX:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1. As root, you'll install your cronjob by issuing:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya ~]# crontab -e
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Append the following entry:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;0 0 * * 1-5 /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/ghettoVCB.sh /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/backuplist &amp;gt; /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/ghettoVCB-backup-$(date +\%s).log
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
3. Save and exit&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya dlgCore-NFS-bigboi.VM-Backups]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
4. List out and verify the cronjob that was just created:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya dlgCore-NFS-bigboi.VM-Backups]# crontab -l
0 0 * * 1-5 /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/ghettoVCB.sh /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/backuplist &amp;gt; /vmfs/volumes/dlgCore-NFS-bigboi.VM-Backups/ghettoVCB-backup-$(date +\%s).log
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
You're ready to go!&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Configure on ESXi:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1. Setup the cronjob by appending the following line to &lt;u&gt;/var/spool/cron/crontabs/root&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;0 0 * * 1-5 /vmfs/volumes/simplejack-local-storage/ghettoVCB.sh /vmfs/volumes/simplejack-local-storage/backuplist &amp;gt; /vmfs/volumes/simplejack-local-storage/ghettoVCB-backup-$(date +\%s).log
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
2. Kill the current crond (cron daemon) and then restart the crond for the changes to take affect:&lt;br /&gt;
&lt;br /&gt;
On ESXi &amp;lt; 3.5u3&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;/bin/kill `ps | grep crond | cut -f 1 -d ' '`
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
On ESXi 3.5u3+&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # kill $(pidof crond)
~ # crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
On ESXi 4.0&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # kill $(cat /var/run/crond.pid)
~ # busybox crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
3. Now that the cronjob is ready to go, you need to ensure that this cronjob will persist through a reboot. You'll need to add the following two lines to &lt;b&gt;/etc/rc.local&lt;/b&gt; (ensure that the cron entry matches what was defined above)&lt;br /&gt;
&lt;br /&gt;
On ESXi 3.5&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;/bin/kill $(pidof crond)
/bin/echo &amp;quot;0 0 * * 1-5 /vmfs/volumes/simplejack-local-storage/ghettoVCB.sh /vmfs/volumes/simplejack-local-storage/backuplist &amp;gt; /vmfs/volumes/simplejack-local-storage/ghettoVCB-backup-\$(date +\\%s).log&amp;quot; &amp;gt;&amp;gt; /var/spool/cron/crontabs/root
crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
On ESXi 4.0&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;/bin/kill $(cat /var/run/crond.pid)
/bin/echo &amp;quot;0 0 * * 1-5 /vmfs/volumes/simplejack-local-storage/ghettoVCB.sh /vmfs/volumes/simplejack-local-storage/backuplist &amp;gt; /vmfs/volumes/simplejack-local-storage/ghettoVCB-backup-\$(date +\\%s).log&amp;quot; &amp;gt;&amp;gt; /var/spool/cron/crontabs/root
/bin/busybox crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards the file should look like the following: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # cat /etc/rc.local
#! /bin/ash
export PATH=/sbin:/bin

log() {
   echo &amp;quot;$1&amp;quot;
   logger init &amp;quot;$1&amp;quot;
}

#execute all service retgistered in /etc/rc.local.d
if [http:// -d /etc/rc.local.d |http:// -d /etc/rc.local.d ]; then
   for filename in `find /etc/rc.local.d/ | sort`
      do
         if [ -f $filename ] &amp;#38;&amp;#38; [ -x $filename ]; then
            log &amp;quot;running $filename&amp;quot;
            $filename
         fi
      done
fi

/bin/kill $(cat /var/run/crond.pid)
/bin/echo &amp;quot;0 0 * * 1-5 /vmfs/volumes/simplejack-local-storage/ghettoVCB.sh /vmfs/volumes/simplejack-local-storage/backuplist &amp;gt; /vmfs/volumes/simplejack-local-storage/ghettoVCB-backup-\$(date +\\%s).log&amp;quot; &amp;gt;&amp;gt; /var/spool/cron/crontabs/root
/bin/busybox crond

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
This will ensure that the cronjob is re-created upon a reboot of the system through a startup script&lt;br /&gt;
&lt;br /&gt;
2. To ensure that this is saved in the ESXi configuration, we need to manually initiate an ESXi backup by running:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # /sbin/auto-backup.sh
config implicitly loaded
local.tgz
etc/vmware/vmkiscsid/vmkiscsid.db
etc/dropbear/dropbear_dss_host_key
etc/dropbear/dropbear_rsa_host_key
etc/opt/vmware/vpxa/vpxa.cfg
etc/opt/vmware/vpxa/dasConfig.xml
etc/sysconfig/network
etc/vmware/hostd/authorization.xml
etc/vmware/hostd/hostsvc.xml
etc/vmware/hostd/pools.xml
etc/vmware/hostd/vmAutoStart.xml
etc/vmware/hostd/vmInventory.xml
etc/vmware/hostd/proxy.xml
etc/vmware/ssl/rui.crt
etc/vmware/ssl/rui.key
etc/vmware/vmkiscsid/initiatorname.iscsi
etc/vmware/vmkiscsid/iscsid.conf
etc/vmware/vmware.lic
etc/vmware/config
etc/vmware/dvsdata.db
etc/vmware/esx.conf
etc/vmware/license.cfg
etc/vmware/locker.conf
etc/vmware/snmp.xml
etc/group
etc/hosts
etc/inetd.conf
etc/rc.local
etc/chkconfig.db
etc/ntp.conf
etc/passwd
etc/random-seed
etc/resolv.conf
etc/shadow
etc/sfcb/repository/root/interop/cim_indicationfilter.idx
etc/sfcb/repository/root/interop/cim_indicationhandlercimxml.idx
etc/sfcb/repository/root/interop/cim_listenerdestinationcimxml.idx
etc/sfcb/repository/root/interop/cim_indicationsubscription.idx
Binary files /etc/vmware/dvsdata.db and /tmp/auto-backup.31345.dir/etc/vmware/dvsdata.db differ
config implicitly loaded
Saving current state in /bootbank
Clock updated.
Time: 20:40:36   Date: 08/14/2009   UTC

&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Now you're really done!&lt;br /&gt;
&lt;p /&gt;
If you're still having trouble getting the cronjob to work, ensure that you've specified the correct parameters and there aren’t any typos in any part of the syntax. &lt;br /&gt;
&lt;br /&gt;
Ensure crond (cron daemon) is running:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ESX:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya dlgCore-NFS-bigboi.VM-Backups]# ps -ef | grep crond | grep -v grep
root      2625     1  0 Aug13 ?        00:00:00 crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ESXi:&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;~ # ps | grep crond | grep -v grep
5196 5196 busybox              crond
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Ensure that the date/time on your ESX(i) host is setup correctly:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ESX(i):&lt;/b&gt;&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[root@himalaya dlgCore-NFS-bigboi.VM-Backups]# date
Fri Aug 14 23:44:47 PDT 2009
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:red"&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/span&gt; Careful attention must be noted if more than one backup is performed per day. Backup windows should be staggered to avoid contention or saturation of resources during these periods.&lt;hr /&gt;
&lt;br /&gt;
&lt;h1&gt;FAQ:&lt;/h1&gt;
&lt;br /&gt;
&lt;b&gt;1Q:&lt;/b&gt; I'm getting error X when using the script or I'm not getting any errors, the backup didn’t even take place. Oh what could be wrong? &lt;br /&gt;
&lt;b&gt;1A:&lt;/b&gt; Please provide the entire output of a manual execution (debug &amp;#38; dryrun mode) or if you're logging the output withing \{code\} tags, a short description of your environment and the type of VM(s) you're trying to backup—I will try to provide some assistance.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2Q:&lt;/b&gt; I've sent you private message or email but I haven't received a response? What gives?&lt;br /&gt;
&lt;b&gt;2A:&lt;/b&gt; I do not accept issues/bugs reported via PM or email, I will reply back, directing you to post on the appropriate VMTN forum (that's what it's for). If the data/results you're providing is truely senstive to your environment I will hear you out, but 99.99% it is not, so please do not messsage/email me directly. I do monitor all forums that contain my script including the normal VMTN forums and will try to get back to your question as soon as I can and as time permits. Please do be patient as you're not the only person using the script (100,000+ views), thank you.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3Q:&lt;/b&gt; Can I schedule backups to take place hourly, daily, monthly, yearly?&lt;br /&gt;
&lt;b&gt;3A:&lt;/b&gt; Yes, do a search online for &lt;b&gt;crontab&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4Q:&lt;/b&gt; I would like to setup cronjob for ESX(i) 3.5 or 4.0?&lt;br /&gt;
&lt;b&gt;4A:&lt;/b&gt; Take a look at the Cronjob FAQ section in this document. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5Q:&lt;/b&gt; I want to schedule my backup on Windows, how do I do this?&lt;br /&gt;
&lt;b&gt;5A:&lt;/b&gt; Do a search for &lt;b&gt;plink&lt;/b&gt;. Make sure you have paired SSH keys setup between your Windows system and ESX/ESXi host.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6Q:&lt;/b&gt; I only have a single ESXi host. I want to take backups and store them somewhere else. The problem is: I don't have NFS, iSCSI nor FC SAN. What can I do?&lt;br /&gt;
&lt;b&gt;6A:&lt;/b&gt; You can use local storage to store your backups assuming that you have enough space on the destination datastore.  Afterwards, you can use scp (WinSCP/FastSCP) to transfer the backups from the ESXi host to your local desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7Q:&lt;/b&gt; I’m pissed; the backup is taking too long. My datastore is of type X?&lt;br /&gt;
&lt;b&gt;7A:&lt;/b&gt; YMMV, take a look at your storage configuration and make sure it is optimized.  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8Q:&lt;/b&gt; I noticed that the backup rotation is occurring after a backup. I don't have enough local storage space, can the process be changed?&lt;br /&gt;
&lt;b&gt;8A:&lt;/b&gt; This is primarily done to ensure that you have at least one good backup in case the new backup fails. If you would like to modify the script, you're more than welcome to do so. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9Q:&lt;/b&gt; What is the best storage configuration for datastore type X?&lt;br /&gt;
&lt;b&gt;9A:&lt;/b&gt; Search the VMTN forums; there are various configurations for the different type of storage/etc.  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10Q:&lt;/b&gt; I want to setup an NFS server to run my backups. Which is the best and should it be virtual or physical?  &lt;br /&gt;
&lt;b&gt;10A:&lt;/b&gt; Please refer to answer 7A. From experience, we’ve seen physical instances of NFS servers to be faster than their virtual counterparts.  As always, YMMV. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;11Q:&lt;/b&gt; I have VMs that have snapshots. I want to back these things up but the script doesn’t let me do it. How do I fix that?&lt;br /&gt;
&lt;b&gt;11A:&lt;/b&gt; VM snapshots are not meant to be kept for long durations. When backing up a VM that contains a snapshot, you should ensure all snapshots have been committed prior to running a backup. No exceptions will be made…ever.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;12Q:&lt;/b&gt; I would like to restore from backup, what is the best method?&lt;br /&gt;
&lt;b&gt;12A:&lt;/b&gt; The restore process will be unique for each environment and should be determined by your backup/recovery plans. At a high level you have the option of mounting the backup datastore and registering the VM in question or copy the VM from the backup datastore to the ESX/ESXi host. The latter is recommended so that you're not running a VM living on the backup datastore or inadvertently modifying your backup VM(s).  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;13Q:&lt;/b&gt; When I try to run the script I get: &lt;b&gt;"-bash: ./ghettoVCB.sh: Permission denied"&lt;/b&gt;, what is wrong?&lt;br /&gt;
&lt;b&gt;13A:&lt;/b&gt; You need to change the permission on the script to be executable, chmod +x ghettoVCB.sh&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;14Q:&lt;/b&gt; Where can I download the latest version of the script?&lt;br /&gt;
&lt;b&gt;14A:&lt;/b&gt; The latest version is available on this page at the bottom.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;15Q:&lt;/b&gt; I would like to suggest/recommend feature X, can I get it?  When can I get it? Why isn't it here, what gives?  &lt;br /&gt;
&lt;b&gt;15A:&lt;/b&gt; The general purpose of this script is to provide a backup solution around VMware VMs. Any additional features outside of that process will be taken into consideration depending on the amount of time, number of requests and actual usefulness as a whole to the community rather than to an individual.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;16Q:&lt;/b&gt; What are the different type of backup uses cases that are supported with ghettoVCB? &lt;br /&gt;
&lt;b&gt;16A:&lt;/b&gt; 1) Live backup of VM with the use of a snapshot and 2) Offline backup of a VM without a snapshot. These are the only two use cases supported by the script.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Useful Links:&lt;/h2&gt;
&lt;br /&gt;
Detail instructions on how to configure/schedule ghettoVCB on Windows (&lt;a class="jive-link-external" href="http://blog.theworldrunsontechnology.com/"&gt;Raj Perumal's The World Runs on Technology Blog&lt;/a&gt;):&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://blog.theworldrunsontechnology.com/2009/04/backing-up-your-virtual-machines-in.html"&gt;Part 1&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://blog.theworldrunsontechnology.com/2009/04/creating-virtual-machine-backups-in.html"&gt;Part 2&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://blog.theworldrunsontechnology.com/2009/04/how-to-schedule-ghettovcb-backup-job-or.html"&gt;Part 3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h2&gt;Change log:&lt;/h2&gt;
&lt;p /&gt;
11/17/09 - The following enhancements and fixes have been implemented in this release of ghettoVCB. Special thanks goes out to all the ghettoVCB BETA testers for providing time and their environments to test features/fixes of the new script!&lt;br /&gt;
&lt;br /&gt;
Enhancements:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Individual VM backup policy&lt;/li&gt;
&lt;li&gt;Include/exclude specific VMDK(s)&lt;/li&gt;
&lt;li&gt;Logging to file&lt;/li&gt;
&lt;li&gt;Timeout variables&lt;/li&gt;
&lt;li&gt;Configur snapshot memory/quiesce&lt;/li&gt;
&lt;li&gt;Adapter format&lt;/li&gt;
&lt;li&gt;Additional logging + dryrun mode&lt;/li&gt;
&lt;li&gt;Support for both physical/virtual RDMs&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
Fixes:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Independent disk aware&lt;/li&gt;
&lt;/ul&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vcb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vmkfstools</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">snapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">4.0</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi.40</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esxi4</category>
      <pubDate>Tue, 18 Nov 2008 03:04:10 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8760</guid>
      <dc:date>2008-11-18T03:04:10Z</dc:date>
      <clearspace:dateToText>4 days, 17 hours ago</clearspace:dateToText>
      <clearspace:replyCount>504</clearspace:replyCount>
    </item>
    <item>
      <title>VMWare ESX 3.0.x - How to change the server name</title>
      <link>http://communities.vmware.com/docs/DOC-8759</link>
      <description>1) Move off all VM's to another host, whether they are running or not.&lt;br /&gt;
2) From Virtual Center - put the host who's name is going to be changed in maintenance mode.&lt;br /&gt;
3) On the configuration tab for the selected host - release the licensing. ( I had trouble getting it back on one of mine where I didn't do this)&lt;br /&gt;
4) Under the DNS and ROUTING section, change the name of the host to what you want it to be.&lt;br /&gt;
5) REMOVE the host from VC.&lt;br /&gt;
6) Use the client to login to the server. REBOOT the server.&lt;br /&gt;
7) When the server comes up, you should be able to ADD HOST with VC with the new name.&lt;br /&gt;
8) Migrate your VM's back.&lt;br /&gt;
 * You do not have to change the names of any DATASTORES. &lt;br /&gt;
&lt;br /&gt;
Script stuff:&lt;br /&gt;
cp -f /etc/sysconfig/network /tmp/network.bak&lt;br /&gt;
cp -f /etc/hosts /tmp/hosts.bak&lt;br /&gt;
sed -e 's/oldhostname.localdomain/newhostname.localdomain/g' /tmp/network.bak &amp;gt;&amp;gt; /etc/sysconfig/network&lt;br /&gt;
sed -e 's/oldhostname.localdomain/newhostname.localdomain/g' /tmp/hosts.bak &amp;gt;&amp;gt; /etc/hosts</description>
      <category domain="http://communities.vmware.com/tags?communityID=2410">esx_3.0.2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">rename_server</category>
      <pubDate>Mon, 17 Nov 2008 21:21:21 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8759</guid>
      <dc:date>2008-11-17T21:21:21Z</dc:date>
      <clearspace:dateToText>1 year, 4 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Virtual Center - Task and Event History</title>
      <link>http://communities.vmware.com/docs/DOC-8620</link>
      <description>In ESX you can see recent events in task / events. But there appears to be a limit. since it's saved in a database, shouldn't this list go back as far as you need? Any way to see the ENTIRE task / event list?&lt;br /&gt;
&lt;br /&gt;
This is from the VC not individual ESX hosts, how do we retrieve the list so we can see months or weeks ago?&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Well it's not syslog, but I did figure out where this info is. And SQL does keep ALL the events, going back to the beginning, at least our database hasn't purge the old data yet, I have stuff going back to June (when I rebuilt the SQL table)&lt;br /&gt;
&lt;br /&gt;
SQL : Schemas -&amp;gt; dbo -&amp;gt; Tables -&amp;gt; VPX_EVENT&lt;br /&gt;
&lt;br /&gt;
You have to export this from SQL or use a viewer to get this info, but the events, tasks, everything (all details) are there. Now why can't VI simply display the entire table if we want it?&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
FYI for everyone, I contacted vmware about this and was confirmed to what rparker said...the ONLY way to get this info is to query the database...currently it is not possible to get this detailed historic data from VC...&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/176870"&gt;Task / Event History&lt;/a&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">virtual</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">center</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">task</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">event</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">history</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vc</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vc_2.5</category>
      <pubDate>Thu, 06 Nov 2008 15:11:40 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8620</guid>
      <dc:date>2008-11-06T15:11:40Z</dc:date>
      <clearspace:dateToText>1 year, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Simple steps to use CA Arcserve bakcup agent on ESX 3.x</title>
      <link>http://communities.vmware.com/docs/DOC-8331</link>
      <description>&lt;br /&gt;
1- Fist of all, transfer your Arcserve Agent install files ( in a temporary folder on your ESX ), using VEAM sftp for example. You need to transfer the following files from the CD to the temporary folder: /agnts/linux &lt;br /&gt;
&lt;p /&gt;
2 - Do a chmod 777 -R on all the copied file , tohave enough permissions to run the install procedure &lt;br /&gt;
&lt;p /&gt;
3 - from this folder, run ./install&lt;br /&gt;
&lt;p /&gt;
4 - After install is completed, run the agent: uagent start &lt;br /&gt;
&lt;p /&gt;
5 - Enable service via Firewall:&lt;br /&gt;
&lt;p /&gt;
esxcfg-firewall --openPort 6050,tcp,out,caagentd&lt;br /&gt;
esxcfg-firewall --openPort 6050,udp,out,caagentd&lt;br /&gt;
esxcfg-firewall --openPort 6051,tcp,in,caagentd &lt;br /&gt;
esxcfg-firewall --openPort 6051,udp,in,caagentd&lt;br /&gt;
&lt;br /&gt;
6 - esxcfg-firewall -s should show you something like this:&lt;br /&gt;
Known services: activeDirectorKerberos caARCserve CIMHttpServer CIMHttpsServer CIMSLP commvaultDynamic commvaultStatic ftpClient ftpServer kerberos LDAP LDAPS legatoNetWorker LicenseClient nfsClient nisClient ntpClient smbClient snmpd sshClient sshServer swISCSIClient symantecBackupExec symantecNetBackup telnetClient TSM updateManager VCB vncServer vpxHeartbeats&lt;br /&gt;
&lt;br /&gt;
7 - enable CA arcserve service: esxcfg-firewall -e caARCserve &lt;br /&gt;
&lt;br /&gt;
8 - restart the firewall service: service firewall restart &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
9 - In order to make the /vmfs directory visible u need to modify the file /etc/mtab&lt;br /&gt;
and add this line&lt;br /&gt;
/vmfs /vmfs vmfs rw 0 0&lt;br /&gt;
and restart agent&lt;br /&gt;
caagent stop&lt;br /&gt;
caagent start &lt;br /&gt;
&lt;p /&gt;
This is optional. It should be done automatically by the install procedure. &lt;br /&gt;
&lt;p /&gt;
10 - Set up VMware ESX Server automatic pre and post scripts to enable online Vm backups:&lt;br /&gt;
&lt;p /&gt;
From the CD , copy all files located in /agents/vmware to /opt/CA/BABuagent&lt;br /&gt;
, you must copy the pre_backup.pl pre script, the post_backup.pl post script, and the supporting files listed below to the BABuagent directory, and give execution permission to all the copied files. &lt;br /&gt;
Note: The permissions given should be similar to the permissions given to the Agent for Linux executable (labeled "uagentd") residing in the BABuagent directory. &lt;br /&gt;
&lt;br /&gt;
cavm.cfg , env_var.pm , err_msg_set.pm , debug_msg.pm and the 2 .pl files&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
You need to give enough permissions to all these files to be excuted correctly ( for example, do a chmod 777 on all these files ).&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
11 - Modify the file: /opt/CA/BABuagent/uag.cfg : you need to add the following 3 lines at the end of the file&lt;br /&gt;
&lt;p /&gt;
-P 0&lt;br /&gt;
-Prebackup /opt/CA/BABuagent/pre_backup.pl&lt;br /&gt;
-Postbackup /opt/CA/BABuagent/post_backup.pl&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
That's all. And the backup /restores work great. Even with online VMs &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Hope this will help. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/157964"&gt;Simple steps to use CA Arcserve bakcup agent on ESX 3.x&lt;/a&gt;</description>
      <pubDate>Tue, 21 Oct 2008 08:32:48 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8331</guid>
      <dc:date>2008-10-21T08:32:48Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Steps for taking a XEN paravirtualized RHEL 5.X to VMware ESXi 3.5.X vm</title>
      <link>http://communities.vmware.com/docs/DOC-8300</link>
      <description>Steps assume advanced VMware and Xen knowledge.&lt;br /&gt;
&lt;br /&gt;
Xen -&amp;gt; VMware VM migration steps (Kernel step)&lt;br /&gt;
&lt;br /&gt;
The kernel on the VM to be migrated must support fully virtualized operation. The kernels used for para-virtulized machines using RHEL 5 as a guest does not support fully virtualized operation by default. The best way to deal with this is to also install a standard kernel in the machine, port the machine and finally remove the Xen kernel.&lt;br /&gt;
&lt;br /&gt;
1. Download a kernel with the same version number and architecture as the xen kernel, except it should be the generic kernel &lt;br /&gt;
2. Use RPM tools to install the kernel.&lt;br /&gt;
3. Modify /etc/modprobe.conf (this step is specific to RHEL 5 Xen VM because RHEL5 will not load LSI scsi modules during boot)&lt;br /&gt;
&lt;br /&gt;
add:&lt;br /&gt;
&lt;br /&gt;
alias eth0 e1000&lt;br /&gt;
alias scsi_hostadapter mptbase&lt;br /&gt;
alias scsi_hostadapter1 mptspi&lt;br /&gt;
alias scsi_hostadapter2 ata_piix&lt;br /&gt;
&lt;br /&gt;
optionally remove:&lt;br /&gt;
&lt;br /&gt;
alias scsi_hostadapter xenblk&lt;br /&gt;
&lt;br /&gt;
4  Backup the old initrd file in /boot&lt;br /&gt;
5. Update initrd with the following command &lt;i&gt;&lt;a class="jive-link-external" href="http://mkinitrd /boot/initrd-kernelversion.img /boot/kernelversion"&gt;mkinitrd /boot/initrd-kernelversion.img /boot/kernelversion&lt;/a&gt;&lt;/i&gt; ex. kernelversion=2.6.18-92.el5  &lt;br /&gt;
6. Test the new kernel by booting Xen in fully virtualized mode.&lt;br /&gt;
7. Port the disk over as outlined below.&lt;br /&gt;
&lt;br /&gt;
Xen -&amp;gt; VMware VM migration steps (DISK step)&lt;br /&gt;
&lt;br /&gt;
Packages&lt;br /&gt;
&lt;br /&gt;
1. Download qemu from DAG repository. &lt;a class="jive-link-external" href="http://dag.wieers.com/rpm/packages/qemu/qemu-0.9.0-2.el5.rf.x86_64.rpm"&gt;http://dag.wieers.com/rpm/packages/qemu/qemu-0.9.0-2.el5.rf.x86_64.rpm&lt;/a&gt;&lt;br /&gt;
2. Download VMware Server 2.0 &lt;br /&gt;
3. Provision a real machine with RHEL5.X or Centos 5.X and install both rpms. &lt;br /&gt;
&lt;br /&gt;
Steps&lt;br /&gt;
&lt;br /&gt;
1. Convert raw .img file to .vmdk file using qemu-img. &lt;i&gt;&lt;a class="jive-link-external" href="http://qemu-img convert testvm.img -O vmdk testvm.vmdk"&gt;qemu-img convert testvm.img -O vmdk testvm.vmdk&lt;/a&gt;&lt;/i&gt; &lt;br /&gt;
&lt;br /&gt;
The vmdk file will be the following format.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;0                   : single growable virtual disk (IDE, VM hardware type 4)&lt;/b&gt;&lt;br /&gt;
1                   : growable virtual disk split in 2GB files&lt;br /&gt;
2                   : preallocated virtual disk&lt;br /&gt;
3                   : preallocated virtual disk split in 2GB files&lt;br /&gt;
4                   : preallocated ESX-type virtual disk&lt;br /&gt;
5                   : compressed disk optimized for streaming&lt;br /&gt;
&lt;br /&gt;
Fast Steps (for testing)&lt;br /&gt;
&lt;br /&gt;
A2. Convert .vmdk file to the proper format using vmware-vdiskmanager, &lt;i&gt;&lt;a class="jive-link-external" href="http://vmware-vdiskmanager -r testvm.vmdk -t 4 testvmesx.vmdk"&gt;vmware-vdiskmanager -r testvm.vmdk -t 4 testvmesx.vmdk&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The resulting file(s) will be the following format.&lt;br /&gt;
&lt;br /&gt;
0                   : single growable virtual disk&lt;br /&gt;
1                   : growable virtual disk split in 2GB files&lt;br /&gt;
2                   : preallocated virtual disk&lt;br /&gt;
3                   : preallocated virtual disk split in 2GB files&lt;br /&gt;
&lt;b&gt;4                   : preallocated ESX-type virtual disk (IDE, VM hardware type 4) Not supported by VMware ESX! but works..&lt;/b&gt;&lt;br /&gt;
5                   : compressed disk optimized for streaming&lt;br /&gt;
&lt;br /&gt;
A3.  Provision a machine on ESX server and add the disk, VMware will warn the user that the disk geometry is IDE and its using a SCSI controller to access the disk.&lt;br /&gt;
&lt;br /&gt;
Correct Steps&lt;br /&gt;
&lt;br /&gt;
B2. Provision a VM on the VMware Server that can be used for disk imaging. VMware Server supports both IDE and SCSI drives. It is required to do the disk imaging inside a VM because the VM will not see the VMware disk metadata and will treat the disk as a regular block device.&lt;br /&gt;
B3. Create a SCSI disk of the same (virtual) size as the converted .vmdk disk.&lt;br /&gt;
B4.  Add both SCSI disk and the converted IDE disk to the vm.&lt;br /&gt;
B5. Use the VM to dd / winimage the source converted IDE disk to the target SCSI disk. The SCSI disk will now have the data from the IDE disk.&lt;br /&gt;
B6. Convert the new .vmdk file to the proper format using vmware-vdiskmanager  &lt;a class="jive-link-external" href="http://vmware-vdiskmanager -r testvmscsi.vmdk -t 4 testvmesx.vmdk"&gt;http://vmware-vdiskmanager -r testvmscsi.vmdk -t 4 testvmesx.vmdk&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The resulting file(s) will be the following format.&lt;br /&gt;
&lt;br /&gt;
0                   : single growable virtual disk&lt;br /&gt;
1                   : growable virtual disk split in 2GB files&lt;br /&gt;
2                   : preallocated virtual disk&lt;br /&gt;
3                   : preallocated virtual disk split in 2GB files&lt;br /&gt;
&lt;b&gt;4                   : preallocated ESX-type virtual disk (SCSI, VM hardware type 7) Not supported by VMware ESX!&lt;/b&gt;&lt;br /&gt;
5                   : compressed disk optimized for streaming&lt;br /&gt;
&lt;br /&gt;
B7. Open up the *.vmdk meta file. It will be the small file that doesn't have 'flat' as a part of the filename and change db.virtualHWVersion = "X" to 4. The resulting file is supported by ESX server.&lt;br /&gt;
B8. Provision a machine on ESX server and add the disk.&lt;br /&gt;
B9. If source machine was a XEN para-virtualized machine it will probably try to boot to the XEN kernel by default. If a boot manager is installed it will go back to the grub kernel selection screen where the non XEN kernel can be booted from.&lt;br /&gt;
B10. Remove the Xen kernel to streamline the boot process&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/174864"&gt;Steps for taking a XEN paravirtualized RHEL 5.X to VMware ESXi 3.5.X vm&lt;/a&gt;</description>
      <pubDate>Sat, 18 Oct 2008 14:56:36 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8300</guid>
      <dc:date>2008-10-18T14:56:36Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESXi and HP ProLiant ML350 G5 server</title>
      <link>http://communities.vmware.com/docs/DOC-8281</link>
      <description>&lt;br /&gt;
Hi all,&lt;br /&gt;
&lt;p /&gt;
 First time poster but hope to be in here for a long time coming after convincing my company to migrate to VMWare away from MS.&lt;br /&gt;
&lt;p /&gt;
I can't seem to be able to download the Hardware List that ESXi server will install on. Can someone let me know if the following servers support the latest version (3.5?) of ESXi server:&lt;br /&gt;
&lt;p /&gt;
ProLiant ML350 G5&lt;br /&gt;
&lt;p /&gt;
ProLiant DL380 G4&lt;br /&gt;
&lt;p /&gt;
ProLiant DL380 G5&lt;br /&gt;
&lt;p /&gt;
Also before I install just a few questions on basic management of the ESXi server without buying VI. What sort of interface do you get with ESXi? Is it text driven or GUI? How easy is it to add in VMs/take them out?&lt;br /&gt;
&lt;p /&gt;
 Thanks a lot&lt;br /&gt;
&lt;p /&gt;
 Luke</description>
      <pubDate>Fri, 17 Oct 2008 10:23:09 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8281</guid>
      <dc:date>2008-10-17T10:23:09Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>virtual_networking_concepts</title>
      <link>http://communities.vmware.com/docs/DOC-8070</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2411">networking</category>
      <pubDate>Mon, 06 Oct 2008 09:33:19 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-8070</guid>
      <dc:date>2008-10-06T09:33:19Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>NFS Storage configuration</title>
      <link>http://communities.vmware.com/docs/DOC-7900</link>
      <description>&lt;br /&gt;
Im trying to set up NFS storage for our ESX servers&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Not sure if I have my networking setup correct for it too&lt;br /&gt;
work.&lt;br /&gt;
&lt;p /&gt;
vmnic0: Service Console on a&lt;br /&gt;
"legal"(129.242.x.x) address on vswitch0.&lt;br /&gt;
&lt;p /&gt;
vmnic1: free&lt;br /&gt;
&lt;p /&gt;
vmnic2: virtual machines on vswitch2&lt;br /&gt;
&lt;p /&gt;
vmnic3: Vmkernel for Vmotion on a&lt;br /&gt;
"private"(10.0.4.x) address on vswitch1.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
When i try to mount the NFS Storage in VIC i get the following error:&lt;br /&gt;
&lt;p /&gt;
"ERROR DURING THE CONFIGURATION OF THE HOST: UNABLE TO GET CONSOLE PATH FOR MOUNT"&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Routing issue?&lt;br /&gt;
&lt;p /&gt;
Network config issue?&lt;br /&gt;
&lt;p /&gt;
vSwitch issue?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Any help would be appreciated.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanx,&lt;br /&gt;
&lt;br /&gt;
Roar</description>
      <pubDate>Wed, 24 Sep 2008 13:20:12 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7900</guid>
      <dc:date>2008-09-24T13:20:12Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>How to tweak the 3ware 9650SE SATA RAID controller driver into ESX3i</title>
      <link>http://communities.vmware.com/docs/DOC-7840</link>
      <description>&lt;b&gt;IMPORTANT: First of all please consider that following my instructions below to embed a 3rd-party driver&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;into ESX3i is and remain UNSUPPORTED forever. You will not get any help from the vmware stuff personnel&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;until the below mentioned driver will be officially integrated as an update into the main upstream distribution.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Be also aware that integrating 3rd party driver in this way could seriously damage or alter any data stored&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;in your datastore,&lt;/b&gt; &lt;b&gt;if the driver has not passed VMware's strong quality regression,NFR, harness tests before.&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;Please consider also that using the oem.tgz file can be somedays overwritten without notice.&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;You are alone, be careful on that.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
But I want give back something to this lovely community, giving me a lot of information and even VMware for &lt;br /&gt;
ESX3i a small-footprint OS that can run 24x7 from a USB-drive having a rock solid filesystem VMFS and &lt;br /&gt;
beeing a small subset of the industry proven ESX3. This will be the future of the next generation of computing &lt;br /&gt;
platform.&lt;br /&gt;
&lt;br /&gt;
Embedding ESX3i into the BIOS of any server, laptop, desktop and workstation and you get "virtualization at &lt;br /&gt;
your fingertips" &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;&lt;br /&gt;
Making things easier to maintain and handle even portable across systems, easier to backup and distribute.&lt;br /&gt;
Easier for the developer for buiding specialized appliances without the need using a full blown operating &lt;br /&gt;
system with all the security concerns in it.&lt;br /&gt;
&lt;br /&gt;
I brought two months ago a 3ware 9650SE SATA-RAID Controller after reading in the 3ware forum that the &lt;br /&gt;
newest 3ware driver can run under ESX3i. &lt;br /&gt;
(See:&lt;a class="jive-link-external" href="http://www.3ware.com/KB/article.aspx?id=14922"&gt;http://www.3ware.com/KB/article.aspx?id=14922&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Where can I find the ESX3i driver?&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;ul&gt;
&lt;li&gt;Please go to the 3ware download support website (&lt;a class="jive-link-external" href="http://www.3ware.com/support/download.asp"&gt;http://www.3ware.com/support/download.asp&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Select the &lt;b&gt;3ware 9690SA Series&lt;/b&gt; software product&lt;/li&gt;
&lt;li&gt;Select the item "&lt;b&gt;Complete 9.5.0.2 CD for VMware ISO&lt;/b&gt;" (*9.5.0.2-Codeset-Complete.iso* checksum: a2939603988521aa6b49d78597a0b39a)&lt;/li&gt;
&lt;li&gt;Burn the iso file or use Winimage to open the ISO without burning (my favorite way:-)* )&lt;/li&gt;
&lt;li&gt;Go to &lt;b&gt;VMupdates/RPMS&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Extract &lt;b&gt;VMware-esx-drivers-scsi-3w-9xxx-2.24.08.014vm-00000.i386.rpm&lt;/b&gt; into a temp directory&lt;/li&gt;
&lt;li&gt;From the temp directory use 7-Zip to open the rpm file in a Windows environment&lt;/li&gt;
&lt;li&gt;Double click the rpm file, you will see &lt;b&gt;VMware-esx-drivers-scsi-3w-9xxx-2.24.08.014vm-00000.i386.cpio.gz&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Double click on the gz file, you will see &lt;b&gt;VMware-esx-drivers-scsi-3w-9xxx-2.24.08.014vm-00000.i386.cpio&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Double click on the cpio file, you will see a dot folder&lt;/li&gt;
&lt;li&gt;Double click on the dot folder&lt;/li&gt;
&lt;li&gt;Goto &lt;b&gt;/usr/lib/vmware/vmkmod&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;extract the &lt;b&gt;3w_9xxx.o&lt;/b&gt; driver&lt;/li&gt;
&lt;li&gt;upload this driver to the ESXi box into the /mod directory&lt;/li&gt;
&lt;li&gt;check &lt;b&gt;/sbin/vmkload_mod /mod/3w_9xxx.o&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
BTW here is my calculated MD5 checksum "&lt;b&gt;cb3e6d0cc53b61833d3ba7194f9631fa 3w_9xxx.o&lt;/b&gt;"&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;But how do I enable this driver inside ESX3i?&lt;/b&gt; &lt;br /&gt;
I read a little bit around and downloaded the newest driver from 3ware, extracted the &lt;b&gt;3w_9xxx.o&lt;/b&gt; driver and &lt;br /&gt;
uploaded it with scp into my esx3i server into the /mod directory. Afterward from the unsupported shell I loaded &lt;br /&gt;
manually the driver into the ESX3i by executing &lt;b&gt;/sbin/vmkload_mod /mod/3w_9xxx.o&lt;/b&gt;. I was very happy to &lt;br /&gt;
format the RAID5 with VMFS and see my RAID5 array up and running every time after a rescan while rebooting&lt;br /&gt;
the partition. &lt;br /&gt;
Testing it a while I could not find any show stopper or strange behavior, so I considered to add this driver into &lt;br /&gt;
the system.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;But how the hell can I automate this stuff?&lt;/b&gt;&lt;br /&gt;
First of all is essentially to know the PCI-ID of the mentioned card after loading the driver manually into the &lt;br /&gt;
running kernel with &lt;b&gt;/sbin/vmkload_mod /mod/3w_9xxx.o&lt;/b&gt; and executing &lt;b&gt;lspci -p&lt;/b&gt; from the unsupported shell.&lt;br /&gt;
The output of lspci was ... &lt;b&gt;13c1:1004 13c1:1004&lt;/b&gt; ... wonderful.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What next?&lt;/b&gt; &lt;br /&gt;
OK I discovered that &lt;b&gt;/etc/vmware/simple.map&lt;/b&gt;&lt;br /&gt;
has a list of all supported devices with vendor-id/device-id sub-vendor-id/sub-device-id. So I inserted into &lt;br /&gt;
&lt;b&gt;/etc/vmware/simple.map&lt;/b&gt; &lt;b&gt;13c1:1004 0000:0000 storage 3w_9xxx&lt;/b&gt; and saved the file&lt;br /&gt;
&lt;br /&gt;
The little thing to know now is the way ESX3i loads this driver automatically. Looking inside&lt;br /&gt;
&lt;b&gt;/vmfs/volumes/Hypervisor1&lt;/b&gt; there are all the tgz compressed stuff to load after&lt;br /&gt;
booting the kernel.&lt;br /&gt;
&lt;br /&gt;
I tried to be not invasive and exchanged the empty &lt;b&gt;oem.tgz&lt;/b&gt; file with my generated oem.tgz file. &lt;br /&gt;
The name sounds reasonable to use it for this tweak!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Here are the steps:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- Press Alt-F1 on the DCUI-console and enter -&amp;gt; unsupported &amp;lt;- and the root password if set&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- cd /tmp&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- make mkdir -p /mod&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- make mkdir -p /etc/vmware&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- make mkdir -p /usr/share/hwdata&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- cd /tmp/mod&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- get the driver from another ssh server with scp user@host:/tmp/3w_9xxx.o .&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- cd /tmp/etc/vmware&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- copy simple.map from /etc/vmware in this directory&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- vi simple.map&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;- insert 13c1:1003 0000:0000 storage 3w_9xxx for the PCI-X Card before the line&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;beginning with 14e4:1600&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;- insert 13c1:1004 0000:0000 storage 3w_9xxx for the PCIe Card&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- save and quit (:wq)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- cd /tmp/usr/share/hwdata&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- copy pci.ids from /usr/share/hwdata in this directory&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- vi pci.ids&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- search for 13c1 3ware&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- insert the following lines&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- 1003  3ware 9650SE-series SATA-RAID Controller (PCI-X)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- 1004  3ware 9650SE-series SATA-RAID Controller (PCIe)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- save and quit (:wq)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- cd /tmp&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chown -R 201:201 ./mod&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chown -R 201:201 ./etc&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chown -R 201:201 ./usr&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod -R 755 ./mod&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod -R 755 ./etc&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod -R 755 ./usr&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod 644 ./etc/vmware/simple.map&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod 644 ./usr/share/hwdata/pci.ids&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- chmod 755 ./mod/3w_9xxx.o&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;- tar -cvzf oem.tgz etc mod usr&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now you have tweaked the oem.tgz file with the 3ware driver in it and simple.map. &lt;br /&gt;
Copy this file into &lt;b&gt;/vmfs/volumes/Hypervisor1&lt;/b&gt; and &lt;b&gt;chmod 755 oem.tgz&lt;/b&gt; and &lt;br /&gt;
&lt;b&gt;chown root:root oem.tgz&lt;/b&gt; it. Repeat the above step also for &lt;b&gt;/vmfs/volumes/Hypervisor2&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Cross your fingers and reboot. If every thing is in place the 3ware driver will&lt;br /&gt;
be loaded automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;My questions now to the vmware guys are:&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;1) At what time can I expect this driver in the upstream esx3i bundle?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2) The 3ware controller type is unknown in VIClient -&amp;gt; Configuration -&amp;gt; Storage&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Adapters. Where can I change it?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;3) Is there a chance to see an ssh server for maintenance purposes in the future?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy it and tell me if this advice was useful, please consider to give me some points/credits if&lt;br /&gt;
this topic helped you in one way or another.&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;&lt;b&gt;NOTE:the oem.tgz file below contains new PCI ID's for ICH8 and ICH8M SATA controller!&lt;/b&gt;&lt;/u&gt; &lt;br /&gt;
&lt;p /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/154892"&gt;How to tweak the 3ware 9650SE SATA RAID controller driver into ESX3i&lt;/a&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">3ware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">sata</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">storage</category>
      <pubDate>Sun, 21 Sep 2008 10:25:35 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7840</guid>
      <dc:date>2008-09-21T10:25:35Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESXi Lockdown Mode</title>
      <link>http://communities.vmware.com/docs/DOC-7833</link>
      <description>&lt;h3&gt;&lt;a class="jive-link-external" href="http://virtualrw.blogspot.com/2008/09/esxi-lockdown-mode.html"&gt;ESXi Lockdown Mode&lt;/a&gt; &lt;/h3&gt;
So finally got a chance to work with and figure out the ESXi lockdown mode. Once I actually saw it in person it make complete sense... Ways to access and ESXi host a) Using VirtualCenter and you AD credentials b) Using the VIC client direct to the ESXi host with the ESXi ID&lt;br /&gt;
c) Using the RCLI commands using the ESXi IDs d) standing in front of the server wtih direct console access (keyboard &amp;#38; mouse attached to server) and using the ESXi IDs &lt;br /&gt;
The chart below show the four way to access an ESXi host along with the user credentials used...&lt;br /&gt;
&lt;img src="http://3.bp.blogspot.com/_z9GoVjgsBOY/SMihEO2AOoI/AAAAAAAAAA0/GXpH-agtiUM/s400/2.jpg" alt="http://3.bp.blogspot.com/_z9GoVjgsBOY/SMihEO2AOoI/AAAAAAAAAA0/GXpH-agtiUM/s400/2.jpg" class="jive-image"  /&gt;&lt;a class="jive-link-external" href="http://3.bp.blogspot.com/_z9GoVjgsBOY/SMihEO2AOoI/AAAAAAAAAA0/GXpH-agtiUM/s1600-h/2.jpg"&gt;ESXi Lockdown Mode&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Looking at this two thing jump out at me &lt;br /&gt;
&lt;p /&gt;
Number 1 - if you are standing in front of you ESXi host and plan on making configuration changes you must have the 'root' password. No other ID will let you log in the console.&lt;br /&gt;
&lt;p /&gt;
Number 2 - Lockdown mode really only disables the use of the actually 'root' ID from being used with either the VIC or the RCLI interface. Other users with 'root like' privileges that you create can still make changes to the ESXi host using these methods. Thus avoiding using VirtualCenter.&lt;br /&gt;
&lt;p /&gt;
And since there is not a PAM module for ESXi if you do plan on creating users on each ESXi host you'll need to manage each host individually (IDs and Passwords), or go with generic account with 'root like' access which in that case you might as well just use the root ID.&lt;br /&gt;
&lt;p /&gt;
Lockdow mode does make for a good idea if you don't have the need for any of the RCLI interfaces. This way you can keep the 'root' password in a safe, managed all the ESXi hosts via VirtualCenter and only break out the root password in the event you need to make changes to the ESXi host to fix a communiction issues with VirtualCenter.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">lockdown</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">mode</category>
      <pubDate>Sat, 20 Sep 2008 20:25:27 GMT</pubDate>
      <author>rob@virtualrobwilson.com</author>
      <guid>http://communities.vmware.com/docs/DOC-7833</guid>
      <dc:date>2008-09-20T20:25:27Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Remediation steps for cold clone of Solaris x86</title>
      <link>http://communities.vmware.com/docs/DOC-7622</link>
      <description>&lt;br /&gt;
Here are some notes I created when trying to get a cold cloned Solaris 64-bit VM which originated on an HP BL685c G5 server to run. The main complication is that the SCSI/RAID controller needs to be updated in the ramdisk and paths change. &lt;br /&gt;
&lt;p /&gt;
It is not possible to resize virtual disk and the underlying filesystems are not accessible for individual selection leading to long clone time and/or large virtual disk size. Once cloned verify that the guest OS has been correctly identified and that the devices are appropriate for the guest OS. Some NIC adapter options are only relevant for particular guest OS so it is often necessary to change the guest OS save that change and then change the hardware to match. If you change the SCSI adapter associated with a virtual disk you will receive a warning asking if you want to change the bus adapter type associated with the disk, it appears to be safe to do this. Boot VM OS instance into failsafe mode and allow it to mount the discovered OS instance at /a. Discover /devices path to root filesystem and remount read-write e.g.&lt;br /&gt;
&lt;p /&gt;
&amp;lsquo;df /a' gives block device name&lt;br /&gt;
&lt;p /&gt;
&amp;lsquo;ls -l /dev/dsk/c1t0d0s0' gives path to /devices path&lt;br /&gt;
&lt;p /&gt;
edit bootpath property in /a/boot/solaris/bootenv.rc to reflect this path to the new root device. Reboot the system, you should see the boot_archive ram disk being updated to reflect the hardware changes. Allow the system to attempt to boot normally, it will fail to mount the root filesystem and should drop to maintenance mode. Log in and remount the root filesystem read-write e.g.&lt;br /&gt;
&lt;p /&gt;
mount -o remount,rw /devices/pci@0,0/pci1000,30@10/sd@0,0:a /&lt;br /&gt;
&lt;p /&gt;
run devfsadm to reprobe the hardware&lt;br /&gt;
&lt;p /&gt;
run format to determine new /dev path to root filesystem and edit /etc/vfstab to reflect this new path.&lt;br /&gt;
&lt;p /&gt;
In the event that the driver for the network card in the physical machine was different from that in the VM you will need to  move /etc/hostname.'driver''instance' e.g.&lt;br /&gt;
&lt;p /&gt;
mv /etc/hostname.bnx0 /etc/hostname.e1000g0&lt;br /&gt;
&lt;p /&gt;
ZFS resources are not specified in /etc/vfstab they must be destroyed and then imported using the pool ID e.g.&lt;br /&gt;
&lt;p /&gt;
zpool destroy export&lt;br /&gt;
zpool import -f 1640966619789446333 export&lt;br /&gt;
&lt;p /&gt;
Reboot the system, once again you should see the boot_archive ram disk being updated. Install VMware tools and reboot one final time.</description>
      <pubDate>Wed, 10 Sep 2008 08:01:28 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7622</guid>
      <dc:date>2008-09-10T08:01:28Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Automation Tools for Booting and Configuring VMware ESX Server</title>
      <link>http://communities.vmware.com/docs/DOC-7512</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">pxe</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">install</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configure</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configuration</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">powershell</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">midwife</category>
      <pubDate>Tue, 02 Sep 2008 23:09:58 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7512</guid>
      <dc:date>2008-09-02T23:09:58Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESX Automated Configuration Midwife</title>
      <link>http://communities.vmware.com/docs/DOC-7511</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">confguration</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configure</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">powershell</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">script</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">scripting</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">stateless</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">install</category>
      <pubDate>Tue, 02 Sep 2008 22:43:58 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7511</guid>
      <dc:date>2008-09-02T22:43:58Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESXi Post-Boot Configuration Initiator</title>
      <link>http://communities.vmware.com/docs/DOC-7510</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">pxe</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">boot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">configuration</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">stateless</category>
      <pubDate>Tue, 02 Sep 2008 22:12:55 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7510</guid>
      <dc:date>2008-09-02T22:12:55Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Is there any way to reduce Memory Overhead size for Virtual Machines?</title>
      <link>http://communities.vmware.com/docs/DOC-7420</link>
      <description>I have ESX 3.5 with 8GB Memory. And I am running 90 VMs of 40MB each with 76MB Memory Overhead. Is there any way to reduce the Memory Overhead size , So, that I can run more VMs.&lt;br /&gt;
&lt;hr /&gt;
Welcome to the forums,&lt;br /&gt;
&lt;br /&gt;
As far as I know this isn't possible. The memory overhead is calculated according to the memory size, number of cpu's and the fact if it's a 32 or 64 vm.&lt;br /&gt;
&lt;br /&gt;
more info on why:&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.waldspurger.org/carl/papers/esx-mem-osdi02.pdf"&gt;http://www.waldspurger.org/carl/papers/esx-mem-osdi02.pdf&lt;/a&gt;&lt;br /&gt;
and the following pdf, page 128:&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_301_201_resource_mgmt.pdf"&gt;http://www.vmware.com/pdf/vi3_301_201_resource_mgmt.pdf&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Duncan&lt;br /&gt;
My virtualisation blog:&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.yellow-bricks.com"&gt;http://www.yellow-bricks.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
The only way I know of is to remove all non-required virtual hardware components and to use faster cores allowing the assignment of 1 vCPU in more VMs versus mutilple vCPUs which have more overhead.&lt;br /&gt;
&lt;hr /&gt;
Hello, &lt;br /&gt;
&lt;br /&gt;
I am also facing same problem...Can we fool ESX somehow so that ESX doesn't take the Overhead memory into account??&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Any Help appreciated!!&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
No, if you read the links above you will see that this isn't possible. It just reserves the space for certain procedures. maybe in time the overhead will be reduced, who knows...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Duncan&lt;br /&gt;
My virtualisation blog:&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.yellow-bricks.com"&gt;http://www.yellow-bricks.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
Is there any way to enable/increase swap after ESX server is installed. Would it solve the problem of overhead memory?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Any help appreciated. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanks &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/165419"&gt;Is there any way to reduce Memory Overhead size for Virtual Machines?&lt;/a&gt;</description>
      <pubDate>Thu, 28 Aug 2008 13:28:36 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7420</guid>
      <dc:date>2008-08-28T13:28:36Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Replicated SAN LUNs using Sun StorageTek 6140 with VI3.5: VMWare tries to format the LUN after DR...</title>
      <link>http://communities.vmware.com/docs/DOC-7360</link>
      <description>I've got a DR environment with 2x Sun StorageTek 6140 Arrays and 3 LUNs replicated between.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
ARRAY PROD ST6140 &amp;#38; ARRAY DR ST6140&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;p /&gt;
&lt;p /&gt;
VOL01_PROD is replicated with VOL01_DR&lt;br /&gt;
&lt;br /&gt;
VOL02_PROD is replicated with VOL02_DR&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
VOL03_PROD is replicated with VOL03_DR&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
&lt;p /&gt;
When I do a disaster recovery and I promote the disaster recovery array as the primary storage, I can see correctly the LUNs from ESX but it wants to format the LUNs....&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Do you have any ideas about why VMware tries to reformat the replicated LUNs?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks in advance. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Jacques Neves &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;</description>
      <pubDate>Tue, 26 Aug 2008 14:34:42 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7360</guid>
      <dc:date>2008-08-26T14:34:42Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>VMware ESX Server 3i 3.5.0 install error</title>
      <link>http://communities.vmware.com/docs/DOC-7256</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
 I'm getting the following message when installing VMware ESX Server 3i 3.5.0:&lt;br /&gt;
&lt;p /&gt;
 " Unable to find a supported device to write the WMware ESX Server image to ".&lt;br /&gt;
&lt;p /&gt;
 Any ideas?&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
pete</description>
      <pubDate>Fri, 22 Aug 2008 18:18:02 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7256</guid>
      <dc:date>2008-08-22T18:18:02Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Monitoring ESXi with Python script</title>
      <link>http://communities.vmware.com/docs/DOC-7170</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">wbem</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">cim</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">python</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">nagios</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">monitoring</category>
      <pubDate>Wed, 20 Aug 2008 14:53:34 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-7170</guid>
      <dc:date>2008-08-20T14:53:34Z</dc:date>
      <clearspace:dateToText>10 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
    </item>
    <item>
      <title>Vista Security Concerns</title>
      <link>http://communities.vmware.com/docs/DOC-6870</link>
      <description>Host:		ESX 3.5 - 64607&lt;br /&gt;
Guest OS:	Windows 2003 Server – Standard Edition&lt;br /&gt;
&lt;br /&gt;
Greetings,&lt;br /&gt;
&lt;br /&gt;
We have a software vendor that has added a feature to their latest software release that stops the application if it detects that it is running on a virtual machine.  Our software vendor tells us that they needed to disable this ability because of Vista security concerns.  It seems that they have had difficulty with Vista running as a guest OS and disabled the application across the board due to this problem.  Instead of identifying the guest OS and disabling if it finds Vista, they go strait to the platform and disable the application if they detect that it resides on a guest OS.&lt;br /&gt;
&lt;br /&gt;
Perhaps I misunderstand virtualization, but are the guest VMs not autonomous?  What security issues could they be talking about with Virtualized Vista?  BTW, we have no plans to migrate to Vista.&lt;br /&gt;
&lt;br /&gt;
Has anyone else run into applications that actively thwart hosted operating systems?  Suggestions?&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;br /&gt;
&lt;ul class="jive-dash"&gt;
&lt;li&gt;Curt&lt;/li&gt;
&lt;/ul&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">vista</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <pubDate>Thu, 07 Aug 2008 15:14:56 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-6870</guid>
      <dc:date>2008-08-07T15:14:56Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Recovering the Virtual Machines</title>
      <link>http://communities.vmware.com/docs/DOC-6841</link>
      <description>&lt;br /&gt;
Hi&lt;br /&gt;
&lt;p /&gt;
I had 2 logical drive in my single esx 3.5 host. I have stored all the vm in the second logical drive. The first one contained ESX 3.5 OS. However my primary drive which contained the OS crashed and I had to replace that. I have installed fresh ESX 3.5 in the new drive now. The second logical drive where all the data about the VM stored is untouched. Can I get back all my previous VM's now?? Also how to see the data which is stored in the datastore.&lt;br /&gt;
&lt;p /&gt;
 Cheers.</description>
      <pubDate>Wed, 06 Aug 2008 20:01:07 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-6841</guid>
      <dc:date>2008-08-06T20:01:07Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Extracting ESXi from the installable ISO image</title>
      <link>http://communities.vmware.com/docs/DOC-6824</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2632">usb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">flash</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">extract</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">pxe</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">image</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">install</category>
      <pubDate>Wed, 06 Aug 2008 18:00:12 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-6824</guid>
      <dc:date>2008-08-06T18:00:12Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESXi 3.5 Installable Virtual Appliance</title>
      <link>http://communities.vmware.com/docs/DOC-6330</link>
      <description>&lt;br /&gt;
I created an ESXi Virtual Appliance that I'm using for my own testing, hopefully others will find it useful as well.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:#ff0000"&gt;This appliance requires &lt;/span&gt;&lt;strike&gt;c-2767&lt;/strike&gt;&lt;span style="color:#ff0000"&gt; or better (currently in Beta).&lt;br /&gt;
&lt;br /&gt;
Additionally, you must download the ESXi installable &lt;/span&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/download/vi/?elq=4DE0BEDBF17A48A993209D5357DA5AF6"&gt; ISO image&lt;/a&gt;&lt;span style="color:#ff0000"&gt;. Later you will mount this ISO image as a virtual CD-ROM drive.&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#ff0000"&gt;As if that weren't enough, your system must support VT Extensions and they must be enabled.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To get started, download and extract the attached zip file. Add the VM to Workstation using File -&amp;gt; Open and supplying the VMX file. Mount the ESXi installable ISO image you downloaded as a virtual CD-ROM drive. Then press play and watch ESXi boot!&lt;br /&gt;
&lt;br /&gt;
Once you've booted, point your VI Client or other favorite management tool (I know you've been dying to try the &lt;a class="jive-link-external" href="http://vmware.com/go/powershell"&gt;VI Toolkit for Windows&lt;/a&gt;) at it. The login is root and the password is empty.&lt;br /&gt;
&lt;br /&gt;
Please note that if you reboot, VMs will survive reboots on the datastore, but will not be registered on the ESXi system. If this happens it's pretty easy to re-register everything using a script.&lt;br /&gt;
&lt;br /&gt;
Good luck, and let me know what you think.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2632">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">installable</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">virtual</category>
      <category domain="http://communities.vmware.com/tags?communityID=2632">appliance</category>
      <pubDate>Wed, 16 Jul 2008 00:50:47 GMT</pubDate>
      <author>cshanklin@vmware.com</author>
      <guid>http://communities.vmware.com/docs/DOC-6330</guid>
      <dc:date>2008-07-16T00:50:47Z</dc:date>
      <clearspace:dateToText>1 year, 4 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Problem with network connectivity within virtual machines</title>
      <link>http://communities.vmware.com/docs/DOC-6063</link>
      <description>Hello.. I have just installed ESX server and also installed Virtual Center in a vm, a linux virtual machine, and imported a windows 2003 system using converter.  The virtual center machine can browse the web, ping, and ftp out to the internet.  The other 2 boxes cannot ftp or browse web pages on the internet, but they can ping by name.  THe network configuration is the same! No firewall setup, same router and dns servers.  Does anyone have any idea what this may be? I am baffled.</description>
      <pubDate>Tue, 24 Jun 2008 19:01:55 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-6063</guid>
      <dc:date>2008-06-24T19:01:55Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>esxtop CPU over 100% for a vm</title>
      <link>http://communities.vmware.com/docs/DOC-5955</link>
      <description>&lt;br /&gt;
Hello, &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
i' have on vm that taking approximately 150% of %USED of CPU when i run esxtop. how can i do for decrease this average.&lt;br /&gt;
&lt;p /&gt;
 ( vm : windows 2000 server SP4 with SQL 2000 ) &lt;br /&gt;
&lt;p /&gt;
size : bi-cpu and 2 Go of ram&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
thanks &lt;br /&gt;
&lt;p /&gt;
esx 3.01</description>
      <pubDate>Wed, 18 Jun 2008 13:32:33 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5955</guid>
      <dc:date>2008-06-18T13:32:33Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Can i mix ESX 3.5 and ESXi 3.5 servers</title>
      <link>http://communities.vmware.com/docs/DOC-5890</link>
      <description>Hi&lt;br /&gt;
&lt;br /&gt;
We have a cluster running ESX 3.5 servers. We would like to buy new servers with ESXi 3.5 Embedded.&lt;br /&gt;
&lt;br /&gt;
Can ESX 3.5 and ESXi 3.5 run in the same cluster without loss of function?&lt;br /&gt;
&lt;p /&gt;
Regards&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
yes they can exist together in the environmen and run int he same DRS cluster as long as they have compatible cpus - this is a requirment fomr VMware for vmotion -&lt;br /&gt;
&lt;hr /&gt;
I haven't tried it so take this as an uninformed opinion... I'd say yes. You're probably limited by the VMotion constraints more than anything else.&lt;br /&gt;
&lt;hr /&gt;
Hello Brian, welcome to the VMware Community forums. HA would not be supported in a mixed cluster.&lt;br /&gt;
&lt;br /&gt;
Details&lt;br /&gt;
&lt;br /&gt;
VirtualCenter 2.5 Update 1 extends support for VMware High Availability (HA) to ESX Server 3i hosts, but currently requires some additional restrictions: swap space must be enabled on individual ESX Server 3i hosts (KB 1004177), and only homogeneous (non-mixed) clusters are supported at this time.&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
Homogeneous (non-mixed) clusters are fully supported when composed entirely of non-ESXi hosts, or entirely of ESXi hosts. More specifically:&lt;br /&gt;
Homogeneous cluster of ESX Server 3.0.x hosts or ESX Server 3.5 hosts or ESX Server 3i hosts are supported.&lt;br /&gt;
Heterogeneous cluster of ESX Server 3.0.x and ESX Server 3.5 is supported.&lt;br /&gt;
Heterogeneous cluster of ESX Server 3.0.x, ESX Server 3.5, and ESX Server 3i are currently NOT supported.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/151474"&gt;Can i mix ESX 3.5 and ESXi 3.5 servers&lt;/a&gt;</description>
      <pubDate>Fri, 13 Jun 2008 11:56:19 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5890</guid>
      <dc:date>2008-06-13T11:56:19Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Path failover on HP blade with Emulex HBAs</title>
      <link>http://communities.vmware.com/docs/DOC-5860</link>
      <description>I'm having SAN reliability issues running ESX 3.5.0.1 on all my HP bl480c blade servers, each have two Emulex LPe1105 HBAs. The HBAs are hardwired to an HP Virtual Connect module, which is plugged in my SAN on a Silkworm. The luns are mapped from an EVA8000 which has active/active controllers. All firmware and software revisions are recent. &lt;br /&gt;
&lt;br /&gt;
To make a long story short, I tested failover scenarios by unplugging the HBAs, one at a time, using the Virtual Connect. The link does go down but path failover fails to work as expected: it switches once, but the failed HBA becomes unusable, even after it's been reconnected for a while. Doing rescans won't help... although there is a link up, the luns cannot be rediscovered. Only resetting the card using HBAnyware, or rebooting the ESX server, makes it functional again. If I do similar tests on the exact same hardware, but with Win2003, it works well. So I'm thinking this might be an issue with the lpfc driver.&lt;br /&gt;
&lt;br /&gt;
Does anybody have a similar setup and have tested this? I would be glad to hear from you.&lt;br /&gt;
&lt;br /&gt;
I did open a call on this, but it's been lagging so that's why I'm poking around to see if I'm alone in this boat.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Welcome ot the forum - Have you changed the failover policy for each LUN from the default MRU (Most Rectly Used) to Fixed? Also, when they are reconnected can you manually switch paths?&lt;br /&gt;
&lt;p /&gt;
Check out &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf"&gt;http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf&lt;/a&gt; for more information -&lt;hr /&gt;
Path policy is set to Fixed. And esxcfg-mpath doesn't consider the paths as OK when I plug back the HBA so I cannot switch back. Running esxcfg-rescan once the HBA is plugged back in does not make them come back either, as a matter of fact it &lt;b&gt;removes&lt;/b&gt; them, as if they were no longer visible at all.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;hr /&gt;
Use emulex firmware version 2.70A5 &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;RHCE, VCP&lt;br /&gt;
Blog: &lt;a class="jive-link-external" href="http://computing.dwighthubbard.info"&gt;http://computing.dwighthubbard.info&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
I said to myself "You've got to be kidding".... but I gave it a try with firmware 2.70a5 and it now works. I think it's the first time I actually have to downgrade a shipping firmware. &lt;br /&gt;
&lt;br /&gt;
Kudos to Dwight. You made my day.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;hr /&gt;
That was exactly my reaction when VMware support told us that would fix the issue.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
RHCE, VCP&lt;br /&gt;
Blog: &lt;a class="jive-link-external" href="http://computing.dwighthubbard.info"&gt;http://computing.dwighthubbard.info&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread:&amp;nbsp;&lt;a href="http://communities.vmware.com/thread/149151" class="jive-link-thread"&gt;Path failover on HP blade with Emulex HBAs&lt;/a&gt;</description>
      <pubDate>Thu, 12 Jun 2008 19:29:36 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5860</guid>
      <dc:date>2008-06-12T19:29:36Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>hardware CPU =&amp;gt; Hyperthreading enabled (Not Active)</title>
      <link>http://communities.vmware.com/docs/DOC-5781</link>
      <description>in bios hyperthreading enabled&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; what mean "Not Active"&lt;br /&gt;
&lt;br /&gt;
thanks&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;strike&gt;mailto:jeanmarc.dierstein@orange-ftgroup&lt;/strike&gt;&lt;br /&gt;
&lt;p /&gt;
regards</description>
      <pubDate>Mon, 09 Jun 2008 12:59:33 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5781</guid>
      <dc:date>2008-06-09T12:59:33Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESX Host Time Differences / HA Cluster</title>
      <link>http://communities.vmware.com/docs/DOC-5650</link>
      <description>&lt;br /&gt;
I have a question in regards to if differences in time between two host can cause a issue in the midst of an attempted host failover?  I have read somewhere that they recommend leveraging NTP for time sync, etc, but am just looking for a confirmation. &lt;br /&gt;
&lt;p /&gt;
 Thanks.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 02 Jun 2008 21:02:40 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5650</guid>
      <dc:date>2008-06-02T21:02:40Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to upgrade Qlogic HBA FW and BIOS on ESX 3.5</title>
      <link>http://communities.vmware.com/docs/DOC-5580</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2411">qlogic</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">firmware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">bios</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx3.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">hba</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">san</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.5</category>
      <pubDate>Thu, 29 May 2008 13:35:49 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5580</guid>
      <dc:date>2008-05-29T13:35:49Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Problems with NFS</title>
      <link>http://communities.vmware.com/docs/DOC-5541</link>
      <description>I am trying to share a directory on Windows 2003 using NFS to an ESXi 3.5 server.  I get the error "Cannot open volume: /vmfs/volumes/...."  I believe this is a problem with not having user name mapping setup on my windows 2003 machine.  I have read other comments that have been posted about copying the password file from the ESX machine to the Windows 2003 server but with ESXi 3.5 I do not know how to copy files over.&lt;br /&gt;
&lt;hr /&gt;
You can use this: &lt;a class="jive-link-external" href="http://winscp.net/eng/index.php"&gt;http://winscp.net/eng/index.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Or this: &lt;a class="jive-link-external" href="http://www.bitvise.com/tunnelier"&gt;http://www.bitvise.com/tunnelier&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Or upload them via the datastore (browse datastore, upload / download links are at the top of that window).&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
What file should I be uploading or downloading?  When I open my datastore all I see are virtual machines.&lt;br /&gt;
&lt;hr /&gt;
Hi Jason,  if this is a test system, then you can login at the ESXi console and copy the files to a vmfs datastore on the host.  You can then browse the datastore and get the files with the VI client.&lt;br /&gt;
&lt;br /&gt;
1)  At the ESXi console, press ALT-F1&lt;br /&gt;
2)  The screen will switch to show some text.  Type in &lt;b&gt;unsupported&lt;/b&gt;  and press enter.  You won't see the text as you type it. You should then be prompted for the root password.  &lt;br /&gt;
3)  Enter  &lt;b&gt;cd /etc&lt;/b&gt;&lt;br /&gt;
4)  Run &lt;b&gt;ls&lt;/b&gt;  and you'll see the files you want.  You can copy them with a command like this - &lt;b&gt;cp passwd /vmfs/volumes/&amp;lt;datastore name&amp;gt;/passwd&lt;/b&gt;&lt;br /&gt;
5)  You'll now be able to see them with the datastore browser.&lt;br /&gt;
&lt;hr /&gt;
Now that I have the passwd file on my windows machine when I add it to the Microsoft Services for NFS and click the List UNIX Users I get &amp;lt;unmapped&amp;gt; UID = -2.  It does not show any of the other accounts.  When I open the file I see all the default accounts.  I still receive the same error stated before.&lt;br /&gt;
&lt;hr /&gt;
Would it be possible to just use active directory to access NFS share on Windows 2003 by using this document? &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/esx_authentication_AD.pdf"&gt;http://www.vmware.com/pdf/esx_authentication_AD.pdf&lt;/a&gt;-----&lt;br /&gt;
I just tried on my system and the other accounts show up OK.  I'm running Windows Services for Unix 3.5 and my origial passwd file came from ESX 3.0 but I just copied over the file from 3i b82664.  I followed the process above to get the file.  Do you see 5 accounts when you open it on Windows?&lt;br /&gt;
&lt;br /&gt;
The AD authenication is for inbound connection - i.e. with the VI client.  Don't think that would help you here as the connection from ESX to NFS is made with the root account.  ESX 3.5 has the Virtual Machine Delegate option which you can use to specify the account that will be use to access NFS shares, but that option seems to be missing in 3i.&lt;br /&gt;
&lt;hr /&gt;
I have attached some screen shots of what I get.  I do not see the 5 user names.  If I open the passwd file in notepad I do see the accounts listed.&lt;br /&gt;
&lt;hr /&gt;
I think I figured out the problem,  I had to have the passwd file in both the group and the user box..&lt;br /&gt;
&lt;hr /&gt;
So now that I have this working on one ESXi 3.5 server will it not work on the other ones due to different passwd files on each ESXi 3.5 servers?&lt;br /&gt;
&lt;hr /&gt;
You'd need to have the root pasword set to the same thing.&lt;br /&gt;
&lt;hr /&gt;
I have the password file in both the group and user box but I don't see all the ESX names. I still have &amp;lt;unmapped&amp;gt; -2. Please help&lt;br /&gt;
&lt;hr /&gt;
Nevermind this link explains the process in great detail. &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.astroarch.com/wiki/index.php/Setting_up_Windows_Services_For_UNIX_(SFU)_NFS"&gt;http://www.astroarch.com/wiki/index.php/Setting_up_Windows_Services_For_UNIX_(SFU)_NFS&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/140649"&gt;Problems with NFS&lt;/a&gt;</description>
      <pubDate>Wed, 28 May 2008 22:51:16 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5541</guid>
      <dc:date>2008-05-28T22:51:16Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Fixing ESX boot loader problem</title>
      <link>http://communities.vmware.com/docs/DOC-5480</link>
      <description>&lt;h2&gt;Fixing ESX boot loader problem&lt;/h2&gt;
&lt;br /&gt;
After a ghost clone to another disk, my ESX host in the lab came up with the much appreciated "GRUB" message at the boot loader prompt. Without an option to do anything. Turns out the GRUB MBR record is damaged, you cannot rerun the upgrade ISO CD image for this as it will not refresh that bit unless you re-install instead of upgrade.&lt;br /&gt;
&lt;br /&gt;
So i found myself a Red Hat 9 install CD and performed the following:&lt;br /&gt;
&lt;br /&gt;
Boot into rescue mode&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;linux rescue
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Click defaults until the final screen where it tells you that it will not mount the drive as it didn't find any linux, but you are given the prompt that you need, click "Continue" and here you go a linux prompt.&lt;br /&gt;
&lt;br /&gt;
Now suppose your boot disk is /dev/hda and the boot partition is /dev/hda1 and the root partition is /dev/hda2 (You can check this with fdisk -l for yourself.&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;mkdir /mnt/sysimage
mount /dev/hda2 /mnt/sysimage
chroot /mnt/sysimage
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Ok, so now we are back in our system, but we still don't have access to our boot partition and the grub installer will need that.&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;mount /dev/hda1 /boot
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Check that our boot folder isn't empty anymore&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;ls -lh
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Now if everything went well you can put back the MBR record by issuing the following command.&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;grub-install /dev/hda
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
If it doesn't complain then you can now reboot the host and boot again from your normale storage.&lt;br /&gt;
&lt;br /&gt;
PS: It stores info in /boot/device.map, check with cat if it is correct if you have issues.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">boot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">grub</category>
      <pubDate>Tue, 27 May 2008 09:52:15 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5480</guid>
      <dc:date>2008-05-27T09:52:15Z</dc:date>
      <clearspace:dateToText>1 year, 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Must OS of Windows Cluster reside on ESX local disk?</title>
      <link>http://communities.vmware.com/docs/DOC-5110</link>
      <description>I was recently told by an integrator that if I build a Windows 2003 R2 Cluster across physical ESX hosts, I must store the Windows OS vmdk files on ESX local disk and not on the SAN.&lt;br /&gt;
&lt;br /&gt;
Has anyone ever heard/read of this configuration?&lt;br /&gt;
&lt;br /&gt;
Has anyone ever implemented a Windows Cluster in this manner across physical ESX hosts? &lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
With Update 1 VM booting form SAN is now supported - &lt;a class="jive-link-external" href="http://www.vmware.com/support/vi3/doc/vi3_esx35u1_vc25u1_rel_notes.html"&gt;http://www.vmware.com/support/vi3/doc/vi3_esx35u1_vc25u1_rel_notes.html&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
Hi weinstein5,&lt;br /&gt;
I was not referring to the ESX OS. I was referring to the Windows Guest OS. Sorry if I did not explain the situation clearly enough.&lt;br /&gt;
&lt;br /&gt;
So, with that in mind.. any thoughts?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
I have also heard this before but its not really relevent, if you read the following guide all is explained... &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/vi3_35_25_u1_mscs.pdf"&gt;http://www.vmware.com/pdf/vi3_35/esx_3/vi3_35_25_u1_mscs.pdf&lt;/a&gt;.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Prior to ESX 3.5 Update 1m VNware only supported Microsoft Clusters in that configuration - where the VMs booted from systems disks stored on local VMFS volumes - with ESX 3.5 Update 1 VMware now supports the VMs booting from SAN LINs - &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Support for Microsoft Cluster Service (MSCS)&lt;/h3&gt;
&lt;br /&gt;
VMware ESX Server 3.5 Update 1 supports Microsoft Cluster Service. Support is similar to ESX Server 3.0.1 with the following additions:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Both 64 bit and 32 bit Windows 2003 guests are supported with MSCS.&lt;/li&gt;
&lt;li&gt;Boot from SAN for VMs using MSCS is now supported.&lt;/li&gt;
&lt;li&gt;Majority Node Set clusters with application-level replication (for example, Exchange 2007 Cluster Continuous Replication (CCR) is now supported.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
Hi alanrenouf,&lt;br /&gt;
&lt;p /&gt;
I read that document some weeks ago, it didn't answer my specific question. We've been running a windows cluster for file and another windows cluster for exchange 2003 on ESX 2.5 for over three years with all guest OS vmdk files up on the san. Never had a problem.&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hi weinstein5,&lt;br /&gt;
That's very strange. We've been running a windows cluster for file and another windows cluster for exchange 2003 on ESX 2.5 for over three years with all guest OS vmdk files up on the san. Never had a problem.&lt;br /&gt;
&lt;br /&gt;
If putting the guest OS vmdk files on the SAN for windows clusters was not supported in previous versions of ESX, did that really stop/deter most companies from running windows clusters that way?&lt;br /&gt;
&lt;hr /&gt;
key word in my explanation is 'supported' by VMware  - does not mean it will not work - and no I do not think that stiooed people form doing it -&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
I agree, its always been a support issue until Update 1&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
The problem appears to be related to disk timeouts.  While it worked previously about 98.5% of the time, there is a scenario in which the node boot disk is located on a SAN, along with the quorum/data shared disks.  In that scenario, the boot disk connection is "lost" from the SAN, triggering a cluster failover to the passive node, but the connection returns to the boot disk, in which the master tries to read/write to disks it "knows" to be mastered on it.  This is now a split-brain scenario which can cause many an issue, as some will know if they've encountered it in the physical world.  This why Update 1 includes timeouts related to MSCS that "fixes" this scenario, so the limitation for disks to be local is now gone.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Hope that makes it clear,&lt;br /&gt;
&lt;p /&gt;
-KjB&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This document was generated from the following thread:&amp;nbsp;&lt;a href="http://communities.vmware.com/thread/144904" class="jive-link-thread"&gt;Must OS of Windows Cluster reside on ESX local disk?&lt;/a&gt;</description>
      <pubDate>Sat, 10 May 2008 04:14:24 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5110</guid>
      <dc:date>2008-05-10T04:14:24Z</dc:date>
      <clearspace:dateToText>1 year, 6 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Vi3.5 VM Backup Guideline</title>
      <link>http://communities.vmware.com/docs/DOC-5091</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2410">vi3</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">vc</category>
      <pubDate>Fri, 09 May 2008 10:02:45 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5091</guid>
      <dc:date>2008-05-09T10:02:45Z</dc:date>
      <clearspace:dateToText>1 year, 6 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Can I combine two etherchannel "pipes" onto one vswitch?</title>
      <link>http://communities.vmware.com/docs/DOC-5000</link>
      <description>I am planning to have two dual port Intel PCI NICs in an ESX Server. The server only has 4 PCI slots, and the other two slots will be used by single port HBA adapters for HA reasons.&lt;br /&gt;
&lt;br /&gt;
Initially I was just going to have port1 from NIC1 plugged into physical switch1,  port2 from NIC2 plugged into physical switch2 and have both ports on the one vswitch with IP HASH based load balancing. Easy and simple with HA in place on the physical side of the network. I would just use External Switch Tagging (EST) so no special config required on ESX.&lt;br /&gt;
&lt;br /&gt;
However someone mentioned why not use etherchannel for a bigger "pipe".&lt;br /&gt;
&lt;br /&gt;
My question has two parts:&lt;br /&gt;
&lt;br /&gt;
1. If I have port1 from NIC1 plus port1 from NIC2 both plugged into physical switch1 and etherchannel them together, and then I have port2 from NIC1 plus port2 from NIC2 both plugged into physical switch2 and etherchannel them together, can I put all this (effectively just two big "pipes") on the one vswitch?&lt;br /&gt;
2. Can I then use several VLANS on these ethernal channel "pipes"?&lt;br /&gt;
&lt;br /&gt;
I've never used etherchannel before.&lt;br /&gt;
&lt;br /&gt;
Has anyone actually done this in practice, or know of some official doco that explains how this is both possible and supported with VMware ESX Server?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;hr /&gt;
There is some really good information about this topic in this discussion:  &lt;a class="jive-link-external" href="https://email.vmware.com/owa/redir.aspx?C=8cc59e12e56d4ef4a8ef947a596fb886&amp;#38;URL=http%3a%2f%2fcommunities.vmware.com%2fmessage%2f902563%23902563"&gt;http://communities.vmware.com/message/902563#902563&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
Yes you can - you would create a Nic Team on a virtual switch - check out the networking section of &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf"&gt;http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
The link &lt;a class="jive-link-external" href="http://communities.vmware.com/message/902563#902563"&gt;http://communities.vmware.com/message/902563#902563&lt;/a&gt; simply takes me to a VMware Outlook Web Access page (and my logon for this forum does not work on that page).&lt;br /&gt;
&lt;br /&gt;
Are you able to provide a different link to the same info?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
Yes I have read (and again just now re-read) the Advanced Networking chapter of vi3_35_25_3_server_config.pdf. I understand it is really only outlining the basics of what can be done.&lt;br /&gt;
&lt;br /&gt;
However it seems to imply you can only create one team on a vswitch or port group. I understand that scenario, but the scenario I'm asking about has two separate teams on the one vswitch or port group. By that I mean, I only want each VM to have one NIC. If I didn't explain the scenario feel free to ask me to elaborate.&lt;br /&gt;
&lt;br /&gt;
I still don't know if this is possible. It would be great to hear from someone who has done this in the past, if indeed anyone has.&lt;br /&gt;
&lt;br /&gt;
Also, that doc makes no mention, at least not that I could see, if you could etherchannel NICs together and then VLAN ontop of that. It was suggested to me that if you etherchannel NICs together then you can only use them on one VLAN due to the logic on the physical switch side needed to maintain the etherchannel on those ports.&lt;br /&gt;
&lt;br /&gt;
Looking forward to replies from anyone that knows networking inside out.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
I've copied it here for you to read::8}&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I would like to clear up some misconceptions surrounding link aggregation and ESX. One of my colleagues, Dan Whitman, wrote up this very nice summary of our stance regarding link aggregation. Hooray for Dan! Seriously, thanks Dan for the clear and concise summary.&lt;br /&gt;
&lt;p /&gt;
Unfortunately, we don't document this very well but we do in fact support 802.3ad in specific configurations. We have to be careful when we refer to LACP generically because there are two modes which can be employed: Static and Dynamic and both are in the 802.3ad IEEE standard. While the whole premise of the LACP standard is to enable dynamic "routing" of Layer 2 traffic, there is a facility built into the standard to allow the forcing of static paths. Interestingly enough, the little documentation we have says that while we support 802.3ad, we do not support LACP. The appropriate statement should be that ESX doesn't support the dynamic aspect of the standard but does support static mode in the 802.3ad specification. &lt;br /&gt;
&lt;p /&gt;
I have worked through this conundrum with several customers and the configuration below has been proven to work in single switch and multi-switch environments. Note that while spanning-tree is not needed simply because there is no way to link vSwitches together (without doing extreme networking in the VMs), enabling spanning-tree is the only way I've been able to find that allows the enablement of portfast which trims off 30secs of downtime during port failovers.&lt;br /&gt;
&lt;p /&gt;
At the end of the day, ESX 3.x does support 802.3ad and LACP in STATIC configurations. Below are the configurations of both the Cisco switch (6500 in this case) and peer vSwitch in ESX to support Link Aggregation Control Protocol (802.3ad) and port trunking/grouping (Cisco Fast EtherChannel - FEC).&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;&lt;u&gt;Supporting links&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf"&gt;http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;&lt;u&gt;Cisco switch example commands to group 2 physical ports in 1 trunk group&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
!&lt;br /&gt;
&lt;p /&gt;
interface Port-channel10&lt;br /&gt;
&lt;p /&gt;
description ESX Server 1&lt;br /&gt;
&lt;p /&gt;
switchport&lt;br /&gt;
&lt;p /&gt;
switchport trunk encapsulation dot1q&lt;br /&gt;
&lt;p /&gt;
switchport mode trunk&lt;br /&gt;
&lt;p /&gt;
spanning-tree portfast trunk&lt;br /&gt;
&lt;p /&gt;
!&lt;br /&gt;
&lt;p /&gt;
interface GigabitEthernet3/1&lt;br /&gt;
&lt;p /&gt;
description ESX Server 1 NIC vmnic0&lt;br /&gt;
&lt;p /&gt;
speed 1000&lt;br /&gt;
&lt;p /&gt;
duplex full&lt;br /&gt;
&lt;p /&gt;
switchport&lt;br /&gt;
&lt;p /&gt;
switchport mode trunk&lt;br /&gt;
&lt;p /&gt;
spanning-tree portfast trunk&lt;br /&gt;
&lt;p /&gt;
channel-group 10 mode on&lt;br /&gt;
&lt;p /&gt;
!&lt;br /&gt;
&lt;p /&gt;
interface GigabitEthernet3/2&lt;br /&gt;
&lt;p /&gt;
description ESX Server 1 NIC vmnic1&lt;br /&gt;
&lt;p /&gt;
speed 1000&lt;br /&gt;
&lt;p /&gt;
duplex full&lt;br /&gt;
&lt;p /&gt;
switchport&lt;br /&gt;
&lt;p /&gt;
switchport mode trunk&lt;br /&gt;
&lt;p /&gt;
spanning-tree portfast trunk&lt;br /&gt;
&lt;p /&gt;
channel-group 10 mode on&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;vSwitch example screenshot showing the necessary configuration to accommodate the Cisco port configuration above&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
dan whitman - system engineer - air force team - vmware&lt;hr /&gt;
Hi cpqarray,&lt;br /&gt;
&lt;p /&gt;
Thanks for the explanation about the static and dynamic aspects of 802.3ad (etherchannel). I was not aware of that before.&lt;br /&gt;
&lt;p /&gt;
I have downloaded and read the virtual_networking_concepts.pdf document, along with the info you provided, and although it is good to know about the simple scenario of just one etherchannel team going to a single port group on a vswitch, which seems to be the only example in any doco I have read or any tech I've conversed with, it still doesn't answer my initial question, which is:&lt;br /&gt;
&lt;p /&gt;
Can I put two separate etherchannel teams (the reason for two etherchannel teams is team1 goes to physical switch1 and team two goes to physical switch1 - only because I need physical HA and I read some VMware doco that says you should not etherchannel across different physical switches, or maybe it said it's just not possible) onto the one port group on a vswitch inside ESX Server?&lt;br /&gt;
&lt;p /&gt;
Looking forward to your reply.&lt;br /&gt;
&lt;p /&gt;
PS. The virtual_networking_concepts.pdf doco didn't make it clear whether or not I can still use multiple VLANs across an etherchannel team - do you know if I can?&lt;br /&gt;
&lt;hr /&gt;
This thread should not be in the VCP community. Moving to appropriate product community.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---&lt;br /&gt;
&lt;b&gt;Badsah Mukherji&lt;/b&gt;&lt;br /&gt;
Senior Community Manager, VMware Communities&lt;br /&gt;
&lt;hr /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
You can not place two NIC teams which are on separate trunks on the same vswitch portgroup they will need to be all on the same trunk/team or all separate 802.1q vlan ports on the same team.&lt;br /&gt;
&lt;br /&gt;
Yes you can have multiple VLAN's on the FEC trunk but I would suggest you change the native vlan to something other than 1 if you have not already.&lt;br /&gt;
&lt;p /&gt;
Just to clarify 802.3ad Link Aggregation is not the same as FEC (cisco Fast Ether Channel)&lt;br /&gt;
&lt;p /&gt;
802.3ad is an IEEE protocol standard and FEC is a cisco proprietary protocol. Cisco can do both of them. &lt;br /&gt;
&lt;p /&gt;
Do you really need the trunk?&lt;br /&gt;
&lt;p /&gt;
If none of your VM's have more than a single 1G vNIC per portgroup then it is not required and is more complex.&lt;br /&gt;
&lt;p /&gt;
You can cross separate physical switches with a trunk the above example will work&lt;br /&gt;
&lt;p /&gt;
This is a great helpfull ppt&lt;br /&gt;
&lt;p /&gt;
&lt;a class="jive-link-external" href="http://www.vmware-tsx.com/download.php?asset_id=41"&gt;http://www.vmware-tsx.com/download.php?asset_id=41&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Message was edited by: mike.laspina - word omitted - portgroup and added one more answer and link.&lt;br /&gt;
&lt;hr /&gt;
Hi Mike,&lt;br /&gt;
Thanks for clarifying that. So it appears it's a no go. The main idea for the 802.3ad Link Aggregation was simply to give the VMs (which only have one vNIC each) more bandwidth. However I'm also required to provide multiple paths across different physical switches - so it does appear I cannot do both. Darn. Looks like it will have to be just one port per physical switch, in which case I may as well stick with the default port based load balancing.&lt;br /&gt;
&lt;br /&gt;
You mentioned I can trunk across different physical switches - so for that I would plan to use one port per physical switch (different ports than those used for the VM network) and I would have 3 VLANS on this vswitch (vmkernel vmotion, service console and heartbeat for our Microsoft Clusters). We only plan to use FC SAN (no iSCSI or NFS) so no need for two separate vmkernel networks (vmotion network separate from iSCSI network).&lt;br /&gt;
&lt;br /&gt;
So can you confirm ESX 3.5 does not support etherchannel, but it does support 802.3ad Link Aggregation?&lt;br /&gt;
&lt;br /&gt;
Also, are you aware of anyone who has used two physical switches for the VM network, and yet has also teamed NICs together for a larger pipe? If not, does that mean that every instance of NICs teamed for a single large pipe has always been with just one physical switch, meaning they have a central point of failure? That doesn't strike me as best practice, unless I'm missing part of the picture somewhere...&lt;br /&gt;
&lt;br /&gt;
Looking forward to your reply.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
You can achieve what you are looking for by using 802.1q port trunking and NIC teaming and you will have the 2G bandwidth over the team. &lt;br /&gt;
2 Adapters for VM traffic teamed across the two physical switches &lt;br /&gt;
&lt;br /&gt;
2 Adapters for SC VMotion teamed across the two physical switches&lt;br /&gt;
&lt;br /&gt;
It is possible to do this with 802.3ad but it's a complexity that would just give you difficult trouble shooting and you don't really need it. &lt;br /&gt;
&lt;br /&gt;
I have this type of config on HP Procurve, just more of and at a larger scale and I have some 802.3ad static trunk configurations working as well.&lt;br /&gt;
&lt;br /&gt;
I have 802.3ad trunks across the switches so there are no single points of failure.&lt;br /&gt;
&lt;br /&gt;
ESX 3.5 works on static FEC and 802.3ad configurations it does support(use) LACP and PAgP dynamic protocols on the teamed NICs.&lt;br /&gt;
&lt;hr /&gt;
Hi Mike,&lt;br /&gt;
Please forgive my ignorance, but I thought if I use only 802.1q port trunking and NIC teaming (without any link aggregation or fast etherchannel) then I will not have a single 2G bandwidth over the team, but rather I'll have two separate 1G bandwidths, ie the most bandwidth any one machine could ever use at any point in time is just 1G - or is that not correct?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;hr /&gt;
&lt;div class="jive-quote"&gt;&lt;span class="jive-quote-header"&gt;ServerAdmins wrote:&lt;/span&gt;&lt;br /&gt;
Hi Mike,&lt;br /&gt;
Please forgive my ignorance, but I thought if I use only 802.1q port trunking and NIC teaming (without any link aggregation or fast etherchannel) then I will not have a single 2G bandwidth over the team, but rather I'll have two separate 1G bandwidths, ie the most bandwidth any one machine could ever use at any point in time is just 1G - or is that not correct?&lt;br /&gt;
&lt;p /&gt;
Thanks in advance.&lt;/div&gt;
&lt;br /&gt;
You are correct. The only way to possibly get more than one pNIC's worth of bandwidth out of a single VM is to use IP Hash as your load balancing mechanism and have your pSwitch configured for 803.3ad trunking. In that case, each IP conversation could - possibly - use a different pNIC. My question is do you &lt;u&gt;really&lt;/u&gt; have a VM that is &lt;u&gt;using&lt;/u&gt; one pNIC worth of network? I would be surprised if you do. Also, consider your pSwitch infrastructure - what is the connectivity between your pSwitches? What is the utilization on those links? I doubt their saturated. If your ISL is not pushing significantly more than one pNIC's bandwidth then you probably don't need to complicate your environment with link aggregation to your ESX hosts.&lt;br /&gt;
&lt;br /&gt;
Ken Cline&lt;br /&gt;
Technical Director, Virtualization&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.wellslanders.com"&gt;Wells Landers&lt;/a&gt;&lt;br /&gt;
VMware Communities User Moderator&lt;br /&gt;
&lt;hr /&gt;
With the port ID policy the load balancer with try to spread the VM across the available adapters and this will allow you to use the 2G sum over multiple VM's. A single VM will only get a maximum of 1G (More like 500MB in the real world).&lt;br /&gt;
&lt;hr /&gt;
Hi Mike,&lt;br /&gt;
Thanks for the explanations. I like to know my options so I can make an informed decision.&lt;br /&gt;
&lt;br /&gt;
One more question in this Load Balancing (LB) area:&lt;br /&gt;
&lt;br /&gt;
From what I understand when I have two NICs trunked together on the one vswitch, if I use port based LB then a VM will choose a NIC when it powers on, and will stay with that NIC till it powers off or is moved to another host. However, if I use IP based LB then each time a VM needs to talk to a machine external to the ESX host on which it lives, it could choose either of those two trunked NICs for that particular conversation, and only stay with that NIC for that conversation. In other words the VM has the capability to choose either NIC of those two trunked NICs each time it starts a new conversation. This sounds like much more even use of the two NICs.&lt;br /&gt;
&lt;br /&gt;
Is this correct? If not, can you please explain why?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;hr /&gt;
Yes that is correct, portID policy will always use the same physical path unless a failover event occurs. The use of MAC and IP hash are not recommended unless you configure 802.3ad static based trunking on the physical switches. Keep in mind that hashing will have additional CPU load on the ESX server, but it is usually not an issue. As well hashing allows you to control outgoing traffic but not incoming. 802.3ad over to separate switches will be more complex and is possible as I have indicated earlier. You would need to carefully configure the policies to control portgroups in a manner that does not allow it to split across the physical switches. I have done this and it works. Issues on a portgroup will occur during a failed state if you do not prevent the path split. If one switch goes bad due to reasons other that complete failure is when you have the big issues.&lt;br /&gt;
&lt;br /&gt;
NB. Awarding points is like saying thanks.&lt;br /&gt;
&lt;p /&gt;
Here is some good info on it.&lt;br /&gt;
&lt;p /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf"&gt;http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;  Thanks for the note about awarding points. Correct answer and 10 points definitely going your way for your help on this thread.&lt;br /&gt;
&lt;br /&gt;
Where can I find out what the little icons/symbols mean that are displayed next to most of the names of people that post on this forum? I noticed I have a flag and you have a crown &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt; How many icons are there?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread:&amp;nbsp;&lt;a href="http://communities.vmware.com/thread/143555" class="jive-link-thread"&gt;Can I combine two etherchannel "pipes" onto one vswitch?&lt;/a&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">etherchannel</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">link_aggregation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">load_balancing</category>
      <pubDate>Sun, 04 May 2008 14:25:59 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-5000</guid>
      <dc:date>2008-05-04T14:25:59Z</dc:date>
      <clearspace:dateToText>1 year, 6 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Auto Rebooting of ESX Server &amp;#38; Vservers</title>
      <link>http://communities.vmware.com/docs/DOC-4931</link>
      <description>I know in Windows Server 2005 you could schedule the individual virtual servers to reboot and then finally, after a set number of seconds, have the main box reboot. Is there a way to do this with ESX? We have 6 virtual servers running on our box; I need the individual servers to reboot and then the main box reboot automatically at a set time every night. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Is this possible?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
You could reboot the box with the shutdown command I believe. For example if you wanted to reboot ESX at 8:00 &lt;br /&gt;
&lt;br /&gt;
shutdown -r 8:00&lt;br /&gt;
&lt;hr /&gt;
Anyway to automate that? Also; do you have to shut down the vservers first? Our end result needs to be this: The box needs to reboot automatically and come back on; also, the vservers need to start back up automatically.-----&lt;br /&gt;
Sure you could create a cron job that did it for you in your cron daily tab you could put an entry that would call a script.&lt;br /&gt;
&lt;br /&gt;
crontab -e &lt;br /&gt;
&lt;p /&gt;
0 20 * * * ~/myshutdownscript -h now&lt;br /&gt;
&lt;p /&gt;
Then write a script to shutdown the virtual machines and reboot the box (Oh gosh now I have to try and write a script but here goes:)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
To shut down the VMs &lt;br /&gt;
&lt;p /&gt;
for vm in `vmware-cmd -l` ; do&lt;br /&gt;
#echo "VM: " $vm&lt;br /&gt;
for VMstate in `vmware-cmd "$vm" getstate` ; do&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;If the VM is power ON&lt;/li&gt;
&lt;/ol&gt;
if ; then&lt;br /&gt;
echo " "&lt;br /&gt;
echo "Found this VM: " $vm&lt;br /&gt;
echo "it is stille on but now i will turn it off"&lt;br /&gt;
vmware-cmd "$vm" stop trysoft &lt;br /&gt;
&lt;p /&gt;
fi&lt;br /&gt;
done&lt;br /&gt;
done&lt;br /&gt;
&lt;p /&gt;
shutdown -r now &lt;br /&gt;
&lt;p /&gt;
(go here for more examples &lt;a class="jive-link-external" href="http://www.tooms.dk/?page=http%3A//www.tooms.dk/forum/topic.asp%3FTOPIC_ID%3D131"&gt;http://www.tooms.dk/?page=http%3A//www.tooms.dk/forum/topic.asp%3FTOPIC_ID%3D131&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
The following thread has a script for shutting down VMs either hard or soft:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/62864"&gt;http://communities.vmware.com/thread/62864&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
At the end of it you could put the ESX server shutdown command.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
As far as automation goes, put the script into the cron. "man crontab" for more info.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I have a script that powers down all VM's on an ESX host then shuts down the ESX server, you can modify this script to reboot the ESX host after all vm's are powered off. Then create a scheduled task to "Change the power state of a virtual machine" to power on your vm's. I have not tried to schedule my power down script, if you can figure that out I think you can accomplish what you want.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/143369"&gt;Auto Rebooting of ESX Server &amp;#38; Vservers&lt;/a&gt;</description>
      <pubDate>Thu, 01 May 2008 14:05:05 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4931</guid>
      <dc:date>2008-05-01T14:05:05Z</dc:date>
      <clearspace:dateToText>1 year, 6 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>How to inlcude an MD5 hashed password in your VMware ESX installation script</title>
      <link>http://communities.vmware.com/docs/DOC-4790</link>
      <description>&lt;br /&gt;
If you want to add a user from an automated installation of a VMware ESX server, you will have to include an hashed password.&lt;br /&gt;
&lt;br /&gt;
To generate this password, just login to an existing VMware ESX server, and follow the next steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Type: phyton (this will start up the python interpreter);&lt;/li&gt;
&lt;li&gt;Type: import crypt; print crypt.crypt("password","salt")&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
This step will create an hashed password; copy the output in your installation script.&lt;br /&gt;
&lt;p /&gt;
It will look something like this: &lt;br /&gt;
&lt;p /&gt;
&lt;img class="jive-image-thumbnail" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-4790-1-2455/250-147/pythoncrypt.png" width="250" height="147" alt="pythoncrypt.png" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-4790-1-2455/pythoncrypt.png');return false;"/&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2410">installation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">script</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">users</category>
      <pubDate>Fri, 25 Apr 2008 05:58:47 GMT</pubDate>
      <author>rdiphoorn@vituality.com</author>
      <guid>http://communities.vmware.com/docs/DOC-4790</guid>
      <dc:date>2008-04-25T05:58:47Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESX-server with EMC mirrorview</title>
      <link>http://communities.vmware.com/docs/DOC-4730</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have a special configuration issue!&lt;br /&gt;
My intention is to mirror LUN's, stored on EMC Clariion with Mirror view to a backup Clariion system.&lt;br /&gt;
The LUNS are containing all data and configuration files from virtual machines  running on ESX-3.5 server.&lt;br /&gt;
&lt;br /&gt;
If the ESX server or the storage should fail, the Idea is to assign the mirrored LUNs to a backup ESX server&lt;br /&gt;
and activating the LUN'S on this server. The pure assingment of Luns is not the problem,&lt;br /&gt;
But I have no Idea how to activate (import) the virtual machines on the backup server.&lt;br /&gt;
&lt;br /&gt;
Is this scenario realisable and how can I do this&lt;br /&gt;
&lt;br /&gt;
in advance many thanks for every constructive answer&lt;br /&gt;
&lt;br /&gt;
Lucksch</description>
      <pubDate>Wed, 23 Apr 2008 12:35:53 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4730</guid>
      <dc:date>2008-04-23T12:35:53Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>ESX hung after SCSI Reservation Conflicts</title>
      <link>http://communities.vmware.com/docs/DOC-4520</link>
      <description>&lt;br /&gt;
Hi, My ESX Server got hung after too many SCSI conflict errors. I am not even able to take putty seesion at that time. Reboot solved the problem but logs not even genearted for that specific time before reboot. Is it possible that ESX got hung due to many SCSI conflict errors ?</description>
      <pubDate>Mon, 14 Apr 2008 20:34:17 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4520</guid>
      <dc:date>2008-04-14T20:34:17Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Configuration : NTP</title>
      <link>http://communities.vmware.com/docs/DOC-4471</link>
      <description />
      <category domain="http://communities.vmware.com/tags?communityID=2410">ntp</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">time</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">3.0.2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">install</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">installation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2410">french</category>
      <pubDate>Fri, 11 Apr 2008 08:39:29 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4471</guid>
      <dc:date>2008-04-11T08:39:29Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Teaming NICs in ESX - how to choose a switch?</title>
      <link>http://communities.vmware.com/docs/DOC-4130</link>
      <description>&lt;i&gt;By default, ESX server balances all outgoing traffic based on IP address pair through multiple NIC ports configured in a single vSwitch. You don't need any switch support for this feature to work.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;You need the switch-level support however to let both the outgoing and incoming traffic to be balanced and thus receive increased overall throughput.&lt;/i&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Read the &lt;a class="jive-link-external" href="http://kukacz.blogspot.com/2008/04/teaming-nics-in-esx-how-to-choose.html"&gt;full article&lt;/a&gt; at Kukacz Notes blog.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">networking</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">performance</category>
      <pubDate>Tue, 01 Apr 2008 21:50:50 GMT</pubDate>
      <author>lkubin@coma.cz</author>
      <guid>http://communities.vmware.com/docs/DOC-4130</guid>
      <dc:date>2008-04-01T21:50:50Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Creating a scripted ESX 3.5 server build</title>
      <link>http://communities.vmware.com/docs/DOC-4080</link>
      <description />
      <pubDate>Tue, 01 Apr 2008 08:02:30 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4080</guid>
      <dc:date>2008-04-01T08:02:30Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Enable Syslog</title>
      <link>http://communities.vmware.com/docs/DOC-4051</link>
      <description>&lt;br /&gt;
How do I enable logging on ESX 3.5.0 and redirect all messages to my existing kiwi syslog server?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 31 Mar 2008 17:57:48 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-4051</guid>
      <dc:date>2008-03-31T17:57:48Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>how to re-construct disk descriptor file?</title>
      <link>http://communities.vmware.com/docs/DOC-4040</link>
      <description>as you know, every vmdk consists of 2 files, one is xxxx.vmdk, the other is xxxxx-flat.vmdk.&lt;br /&gt;
&lt;br /&gt;
the former is disk descriptor file, the later is the disk include the real data.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
if for some reason, user delete the  descriptor file, how to restore it from the xxxxx-flat.vmdk?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Just use the VI client to reattach the file back to the VM.&lt;br /&gt;
&lt;hr /&gt;
You can restore it from the log and you can restore it by "calculating" its contents.&lt;br /&gt;
&lt;hr /&gt;
your method does not work, if there's only flat file without the descriptor file, when vi client browse the directory, it will display no vmdk files.&lt;br /&gt;
&lt;hr /&gt;
agree with you, can you provide the detail approch how to do this.&lt;br /&gt;
&lt;br /&gt;
i read the ppt from TSX 2007, "top support issues and how to solve them, part 2", it says use "grep -i rw xxxx.vmdk" to get the size, but when i use it, nothing useful displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Oh right I see what you mean. The following steps will guide you to recreate your vmdk's: &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Determine the hard disk sizes of your original VM  - this information should be in the logs files mentioned by previous poster.&lt;/li&gt;
&lt;li&gt;Create a new VM with the same number of hard disks as your old VM, and the exact same sizes  using the log info.&lt;/li&gt;
&lt;li&gt;Once created, use Putty or some tool to navigate to the directory of new VM.&lt;/li&gt;
&lt;li&gt;Copy the newly created vmdk files to your existing directory&lt;/li&gt;
&lt;li&gt;Edit the new VMDK's with the existing flat.vmdk file names.&lt;/li&gt;
&lt;li&gt;Load the VM in your VirtualCenter. You should now be able to add the flat.vmdk to your VM&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;hr /&gt;
Thanks for the post. Apologies for not reading your original post more closely.&lt;br /&gt;
&lt;hr /&gt;
thank you and your method is very easy to understand and implement. i successfully do a test, let me add some notes to your steps.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;1. Determine the hard disk sizes of your original VM - this information should be in the logs files mentioned by previous poster.&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
just use ls -l to determine the disk size, in my example, i have 2 disks, one is 6457893888 bytes, the other is 5368709120&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;i&gt;2. Create a new VM with the same number of hard disks as your old VM, and the exact same sizes using the log info.&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
when you create a new VM, the key is disk size and guest os type. the guest os type you can get it from vmware.log, or you can ask the user who use it.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
for disk capacity, just use the size get from step 1, and divide it with 1024*1024*1024, for  6457893888, the result is:6158.7275390625&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
for  5368709120, the result is just 5. notice the unit is MB, so type the exact value in the input box.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;i&gt;3. Once created, use Putty or some tool to navigate to the directory of new VM.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;4. Copy the newly created vmdk files to your existing directory&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
this should be: copy the vmdk flat files in your existing directory to the newly created VM dir&lt;br /&gt;
&lt;i&gt;5. Edit the new VMDK's with the existing flat.vmdk file names.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;6. Load the VM in your VirtualCenter. You should now be able to add the flat.vmdk to your VM&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
just power on the VM in virtualcenter&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/135776"&gt;how to re-construct disk descriptor file?&lt;/a&gt;</description>
      <pubDate>Sat, 29 Mar 2008 14:48:49 GMT</pubDate>
      <author>xiaoyu@bestinfo.com.cn</author>
      <guid>http://communities.vmware.com/docs/DOC-4040</guid>
      <dc:date>2008-03-29T14:48:49Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Working Backup Solution via ESX 3.0.1 with HP MSL2024 Tape Library</title>
      <link>http://communities.vmware.com/docs/DOC-3951</link>
      <description>I have a slight problem where I've been assigned to look into creating a virtual backup media server (to run with W2K3 Standard Edition and Symantec Backup Exec) to connect to a directly attached HP StorageWorks MSL2024 Tape Library (1 x Ultrium 960 tape drive) - the physical ESX 3.0.1. host will be running on an HP ProLiant DL380 G5 server with the SCSI HBA being an HP Single Chanel Ultra320 (PCI Express).&lt;br /&gt;
&lt;br /&gt;
Unfortunately until I get onsite to look at it (at least another two weeks) I'm stuck with no hardware to play with the same configuration and I was just wanting to see if anyone else has managed to get this working successfully AND if so what steps were made to get it working.&lt;br /&gt;
&lt;br /&gt;
Any info you can provide would be greatly appreciated and accepted as I'm not a full fledged VMware ESX administrator plus there is several posts that show varying results for other vendors tape drives/libraries.&lt;br /&gt;
&lt;hr /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
I would NOT connect the tape library to your ESX server. I would use a remote physical box to perform backups. The reasons are really two fold.&lt;br /&gt;
&lt;br /&gt;
1) If the passthru scsi device craters (which is is want to do) then &lt;br /&gt;
the ESX server SC goes with it.&lt;br /&gt;
&lt;br /&gt;
2) I do not like the overhead this puts on the ESX server.&lt;br /&gt;
&lt;br /&gt;
I have done it both ways and a remote server works best. I use a DELL PowerVault 128T and it is very similar to the MSL libraries (it is actually an HP library rebranded as DELL).&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Edward&lt;br /&gt;
&lt;hr /&gt;
I agree for our backups we send them to a seperate backup server which has the tape library attached to it. I don't like attaching the tape library directly to the ESX host mainly for the fact if you gave problems with the device and a server reboot is necessary you are now effecting all of your guests.&lt;br /&gt;
&lt;br /&gt;
Also for our guest backups we use esXpress.&lt;br /&gt;
&lt;hr /&gt;
This is what worked for us. You may need to get an Adaptec 29320LPE SCSI card&lt;br /&gt;
&lt;br /&gt;
The problem:&lt;br /&gt;
&lt;br /&gt;
The new breed of HP (and probably other makers) LTO Auto-changer tape libraries are now multi LUN on the SCSI bus &amp;ndash; that is both the tape driver and the media changer have the same SCSI ID with different LUNs.&lt;br /&gt;
&lt;br /&gt;
Our installation:&lt;br /&gt;
&lt;br /&gt;
HP Proliant DL380 G5 (only supports PCI Express)&lt;br /&gt;
HP 1/8 Ultrium 920 G2 Tape Autoloader &lt;br /&gt;
VI3 ESX 3.0.1 (under test, yet to test 3.0.2)&lt;br /&gt;
Virtual Centre 2.1&lt;br /&gt;
Veritas / Symantec Backup Exec 11&lt;br /&gt;
&lt;br /&gt;
The two basic configuration restrictions on ESX 3 are:&lt;br /&gt;
&lt;br /&gt;
1. There is no support for multi LUN SCSI devices on SCSI pass-through devices (tapes).&lt;br /&gt;
&lt;br /&gt;
2. Only Adaptec SCSI cards are supported for pass-through devices. (see VMware HCL)&lt;br /&gt;
&lt;br /&gt;
For a few days we thought that we &amp;lsquo;could not get there from here!&amp;rsquo;&lt;br /&gt;
&lt;br /&gt;
The first part of the solution came when we realised that ESX internally does recognise multi LUN SCSI devices when you install the appropriate Adaptec card. It creates two device files, one for each LUN on the SCSI adapter. &lt;br /&gt;
&lt;br /&gt;
When ESX maps SCSI devices to the guest virtual adapter it is maps to device files not physical adapter devices. That is ESX is quite happy to map the two device files (same ID different LUN) to two separated virtual SCSI IDs on the virtual adapter in the guest.&lt;br /&gt;
&lt;br /&gt;
The result is the guest gets to see both devices but now they have different SCSI IDs &amp;ndash; virtual that is.&lt;br /&gt;
&lt;br /&gt;
The second part came in the form of the latest version and patches of Backup Exec which has drivers for the new HP library devices.&lt;br /&gt;
&lt;br /&gt;
The solution:&lt;br /&gt;
&lt;br /&gt;
1. Purchase an Adaptec 29320LPE SCSI adapter &amp;ndash; supported on ESX and supports multi LUN devices.&lt;br /&gt;
&lt;br /&gt;
2. Install the adapter and media library, power on the tape library and boot the ESX server. Note it boots, finds the new hardware and re-boots.&lt;br /&gt;
&lt;br /&gt;
3. Verify that the both library devices have been found and the ESX SCSI devices created.&lt;br /&gt;
&lt;br /&gt;
On the ESX console logon as root.&lt;br /&gt;
&lt;br /&gt;
cat /proc/scsi/scsi&lt;br /&gt;
Attached devices:&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 04 Lun: 00&lt;br /&gt;
Vendor: HP Model: Ultrium 3-SCSI Rev: D22W&lt;br /&gt;
Type: Sequential-Access ANSI SCSI revision: 03&lt;br /&gt;
Host: scsi0 Channel: 00 Id: 04 Lun: 01&lt;br /&gt;
Vendor: HP Model: 1x8 G2 AUTOLDR Rev: 1.30&lt;br /&gt;
Type: Medium Changer ANSI SCSI revision: 05&lt;br /&gt;
&lt;br /&gt;
Note the two SCSI devices &amp;ndash; &lt;br /&gt;
&lt;br /&gt;
ID = 4 LUN = 0 &amp;ndash; tape drive&lt;br /&gt;
ID = 4 LUN = 1 &amp;ndash; media changer&lt;br /&gt;
&lt;br /&gt;
ll /proc/vmware/scsi/vmhba1&lt;br /&gt;
total 0&lt;br /&gt;
-rw-r--r-- 1 root root 0 Sep 24 09:14 4:0&lt;br /&gt;
-rw-r--r-- 1 root root 0 Sep 24 09:14 4:1&lt;br /&gt;
-rw-r--r-- 1 root root 0 Sep 24 09:14 stats&lt;br /&gt;
&lt;br /&gt;
Note the two SCSI device files &amp;ndash; 4:0 and 4:1.&lt;br /&gt;
&lt;br /&gt;
On the HP library you can use the Web management interface to change the SCSI ID of the library but not the LUNs, the tape drive is always LUN 0 and the media changer LUN 1.&lt;br /&gt;
&lt;br /&gt;
4. In VI Client add the SCSI devices to the Guest VM. The VM should be shutdown at the time.&lt;br /&gt;
&lt;br /&gt;
Select the VM guest&lt;br /&gt;
Edit settings&lt;br /&gt;
Add&lt;br /&gt;
&lt;br /&gt;
SCSI Device&lt;br /&gt;
Set - Tape &amp;ndash; &amp;ldquo;HP &amp;ldquo; &amp;ndash; to device to SCSI(0:4)&lt;br /&gt;
Set - Media &amp;ndash; &amp;ldquo;HP &amp;ldquo; &amp;ndash; to device to SCSI(0:5)&lt;br /&gt;
&lt;br /&gt;
Note the lines added to the .VMX file for this guest &amp;ndash;&lt;br /&gt;
&lt;br /&gt;
scsi0:4.present = "true"&lt;br /&gt;
scsi0:4.deviceType = "scsi-passthru"&lt;br /&gt;
scsi0:4.fileName = "/vmfs/devices/generic/vml.0201000000500110a00090d7ed556c74726975"&lt;br /&gt;
scsi0:4.allowGuestConnectionControl = "false"&lt;br /&gt;
scsi0:5.present = "true"&lt;br /&gt;
scsi0:5.deviceType = "scsi-passthru"&lt;br /&gt;
scsi0:5.fileName = "/vmfs/devices/generic/vml.0208010000500110a00090d7ec317838204732"&lt;br /&gt;
scsi0:5.allowGuestConnectionControl = "false"&lt;br /&gt;
&lt;br /&gt;
5. Boot the VM and verify that Windows sees the new devices &amp;ndash; Device Manager should have both the Tape and the Media Changer.&lt;br /&gt;
&lt;br /&gt;
6. Install Backup Exec build 7170 plus Hot Fix 16 or later.&lt;br /&gt;
&lt;br /&gt;
7. Verify access to the tape and media library.&lt;br /&gt;
&lt;p /&gt;
Note &amp;ndash; &lt;br /&gt;
&lt;br /&gt;
If the tape library is powered off when ESX boots, attempts to power on the guest OS will fail with .VMX file errors on the virtual SCSI devices.&lt;br /&gt;
&lt;br /&gt;
A SCSI pass through tape and library can only be mounted to ONE VM guest OS.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/94153"&gt;Working Backup Solution via ESX 3.0.1 with HP MSL2024 Tape Library&lt;/a&gt;</description>
      <pubDate>Thu, 27 Mar 2008 10:20:58 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3951</guid>
      <dc:date>2008-03-27T10:20:58Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>HP tape library perf slow in ESX 3.x setup</title>
      <link>http://communities.vmware.com/docs/DOC-3950</link>
      <description>Hi ,&lt;br /&gt;
&lt;br /&gt;
I have two esx 3.0.1 servers setup with HP MSL 2024 tape library which is recently connected to one of esx servers.&lt;br /&gt;
&lt;p /&gt;
We firing the backup from VM through Veritas backup software. we are facing slow performance with backup.&lt;br /&gt;
&lt;p /&gt;
Pls guide me to troubleshoot the same.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I have a few questions to start off.&lt;br /&gt;
&lt;br /&gt;
1 - Is the Tape Library connected via a non-RAID Adaptec controller?&lt;br /&gt;
&lt;p /&gt;
2 - Are there any other devices connected to the same controller as the Tape Library?&lt;br /&gt;
&lt;p /&gt;
3 - How many VMs are connected to this Tape Library?&lt;br /&gt;
&lt;p /&gt;
Also, run esxtop in batch mode to gather performance data when backups are running. While this is happening use Remote Performance Monitor to gather data from inside the VM running the backup software as well.&lt;br /&gt;
&lt;p /&gt;
Compare the data output from it and see if the data points to an obvious bottleneck. From there you can focus on that component for configuration.&lt;br /&gt;
&lt;p /&gt;
Faisal&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
Also, what disks are being used as backup source, and what is the tape standard of this library (LTO2?). If you cannot keep the buffer filled up in the tape unit, it will continuously rewind and resync, which will dramatically impact performance. &lt;br /&gt;
&lt;p /&gt;
I run a similar setup, with an LTO1 HP tape library (8slots). Two VMs, one carries Symantec Backup exec, the other is a Windows 2003 file server. I get about 900MB/min backup&amp;#38;verify speed if I run a full backup (differential backups run slower off course)&lt;br /&gt;
&lt;p /&gt;
Please post the CPU loads on all affected VMs, config of these VMs (opsys, assigned memory, number of vCPUs), how fast the backup actually runs ("slow performance": How slow is slow?), any bottlenecks (for example network). Config of your ESX hosts (memory, number of CPUs, numebr of NICs, NIC setup)&lt;br /&gt;
&lt;p /&gt;
&lt;hr /&gt;
The tape library is SCSI attached to the ESX host and you are presenting the device through to the VM right?&lt;br /&gt;
&lt;br /&gt;
Don't try and trouble shoot it. Find another machine and run the backup of that. It is not recommended to run backup to a local device. There are some circumstance where its okay but as you have seen the load can be high and performance low. Likewise for running the backup server in the VM. Have a look through the &lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_vm_backup.pdf"&gt;Virtual Machine Backup Guide&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Have you&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Checked you are running a supprted SCSI controller. VMware supports attaching SCSI drives to the ESX Server using Adaptec SCSI adapters. Using other adapters, such as LSI MPT‐Fusion SCSI, is not supported.&lt;/li&gt;
&lt;li&gt;If you are using a tape drive library (versus using a stand‐alone tape drive), the library must be multitarget, and not multi‐LUN.&lt;/li&gt;
&lt;li&gt;Set the tape drive&amp;rsquo;s virtual target ID in the virtual machine&amp;rsquo;s configuration to be the same as the physical target ID.&lt;/li&gt;
&lt;li&gt;Check the SCSI terminators on the tape drive, that can often cause them to go slow.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style="font-size:10px"&gt;&lt;span style="color:gray"&gt;Considering awarding points if this is of use&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/124795"&gt;HP tape library perf slow in ESX 3.x setup&lt;/a&gt;</description>
      <pubDate>Thu, 27 Mar 2008 10:19:04 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3950</guid>
      <dc:date>2008-03-27T10:19:04Z</dc:date>
      <clearspace:dateToText>1 year, 7 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESX 3.0.2 Patch loading for dummies</title>
      <link>http://communities.vmware.com/docs/DOC-3640</link>
      <description>This is the procedure we used to update all our 3.0.2 hosts, dont ask why we are not on 3.5 IBM LS20's dont support 3.5!!!&lt;br /&gt;
Uploaded all patches to SAN &lt;br /&gt;
&lt;br /&gt;
Go into VMware Infrastucture Client&lt;br /&gt;
Click on the down arrow next to Inventory and select "DataStores"&lt;br /&gt;
Right Click on SanStorage-VMFS00-Tempate and select Browse&lt;br /&gt;
Double Click 302-Patches&lt;br /&gt;
Click the Upload button and upload all required patches.&lt;br /&gt;
&lt;br /&gt;
Putty into any ESX Server and to the following (Example used as we updated servers)&lt;br /&gt;
&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches&lt;br /&gt;
&lt;br /&gt;
(Unzipped all patches)&lt;br /&gt;
tar -xvvzf ESX-1002424.tgz&lt;br /&gt;
tar -xvvzf ESX-1002434.tgz &lt;br /&gt;
tar -xvvzf ESX-1002974.tgz &lt;br /&gt;
tar -xvvzf ESX-1003364.tgz&lt;br /&gt;
tar -xvvzf ESX-1002425.tgz &lt;br /&gt;
tar -xvvzf ESX-1002435.tgz &lt;br /&gt;
tar -xvvzf ESX-1002975.tgz &lt;br /&gt;
tar -xvvzf ESX-1003365.tgz&lt;br /&gt;
tar -xvvzf ESX-1002426.tgz &lt;br /&gt;
tar -xvvzf ESX-1002965.tgz &lt;br /&gt;
tar -xvvzf ESX-1002976.tgz &lt;br /&gt;
tar -xvvzf ESX-1003366.tgz&lt;br /&gt;
tar -xvvzf ESX-1002427.tgz &lt;br /&gt;
tar -xvvzf ESX-1002966.tgz &lt;br /&gt;
tar -xvvzf ESX-1003175.tgz &lt;br /&gt;
tar -xvvzf ESX-1003374.tgz&lt;br /&gt;
tar -xvvzf ESX-1002428.tgz &lt;br /&gt;
tar -xvvzf ESX-1002967.tgz &lt;br /&gt;
tar -xvvzf ESX-1003179.tgz &lt;br /&gt;
tar -xvvzf ESX-1003513.tgz&lt;br /&gt;
tar -xvvzf ESX-1002429.tgz &lt;br /&gt;
tar -xvvzf ESX-1002969.tgz &lt;br /&gt;
tar -xvvzf ESX-1003359.tgz &lt;br /&gt;
tar -xvvzf ESX-1003514.tgz&lt;br /&gt;
tar -xvvzf ESX-1002430.tgz &lt;br /&gt;
tar -xvvzf ESX-1002970.tgz &lt;br /&gt;
tar -xvvzf ESX-1003360.tgz &lt;br /&gt;
tar -xvvzf ESX-1003515.tgz&lt;br /&gt;
tar -xvvzf ESX-1002431.tgz &lt;br /&gt;
tar -xvvzf ESX-1002971.tgz &lt;br /&gt;
tar -xvvzf ESX-1003362.tgz&lt;br /&gt;
&lt;br /&gt;
Done Preping the patches for installation&lt;br /&gt;
&lt;br /&gt;
(Applying patches)&lt;br /&gt;
No putty into the server you wish to patch&lt;br /&gt;
&lt;br /&gt;
First check what patches are loaded on the server&lt;br /&gt;
type&lt;br /&gt;
esxupdate query&lt;br /&gt;
&lt;br /&gt;
Now proceed to install patches&lt;br /&gt;
(Take note we are installing all patches in accession and not rebooting until the last patch has been loaded)&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002424&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002431&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002435&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002434&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002426&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002430&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002428&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003175&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002976&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002975&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002974&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002971&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002970&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002969&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002967&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002966&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002965&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1002427&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003374&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003179&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003366&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003365&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003364&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003362&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003360&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003359&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003515&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003514&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
cd /vmfs/volumes/SanStorage-VMFS00-Template/302-Patches/ESX-1003513&lt;br /&gt;
esxupdate --noreboot update&lt;br /&gt;
&lt;br /&gt;
Once completed verify all patch instalations&lt;br /&gt;
at root type&lt;br /&gt;
&lt;br /&gt;
esxupdate query&lt;br /&gt;
&lt;br /&gt;
--root@VMSX21 ESX-1003513--# esxupdate query&lt;br /&gt;
Installed software bundles:&lt;br /&gt;
&lt;hr /&gt;
Name&lt;br /&gt;
&lt;hr /&gt;
&lt;p /&gt;
&lt;ul&gt;

&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;Install Date --- --- Summary ---&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
3.0.2-61618 21:56:25 03/17/08 3.0.2 Update 1 of VMware ESX Server&lt;br /&gt;
ESX-1002424 22:06:38 03/17/08 VMotion RARP broadcast to multiple vmnic&lt;br /&gt;
ESX-1002431 22:07:45 03/17/08 Incorrect ports to LSI Loigic driver.&lt;br /&gt;
ESX-1002435 22:09:06 03/17/08 Update VI client to the same as VC202u1.&lt;br /&gt;
ESX-1002434 22:10:23 03/17/08 Update WebCenter to the one of VC202u1.&lt;br /&gt;
ESX-1002426 22:11:18 03/17/08 vdf -h produces incorrect results.&lt;br /&gt;
ESX-1002430 22:12:21 03/17/08 vmxnet is not loaded by default.&lt;br /&gt;
ESX-1002428 22:13:29 03/17/08 Qlogic firmware update.&lt;br /&gt;
ESX-1003175 22:14:24 03/17/08 Updated the ESX Update Utility&lt;br /&gt;
ESX-1002976 22:15:25 03/17/08 util-linux security update&lt;br /&gt;
ESX-1002975 22:16:33 03/17/08 Samba security update&lt;br /&gt;
ESX-1002974 22:17:37 03/17/08 I/O failures due to excessive reservatio&lt;br /&gt;
ESX-1002971 22:18:44 03/17/08 Perl security update (RHSA-2007:0966-01)&lt;br /&gt;
ESX-1002970 22:19:57 03/17/08 Patches remote root exploit in OpenPegas&lt;br /&gt;
ESX-1002969 22:20:56 03/17/08 Updated OpenSSL packages for security fi&lt;br /&gt;
ESX-1002967 22:21:55 03/17/08 tzdata enhancement, with timezone update&lt;br /&gt;
ESX-1002966 22:22:57 03/17/08 COS kernel's SCSI layer may lead to Oops&lt;br /&gt;
ESX-1002965 22:23:59 03/17/08 Megaraid2 driver fix for UNISYS platform&lt;br /&gt;
ESX-1002427 22:25:02 03/17/08 Fix the firmware of bnx2 (BRCM 5709) dri&lt;br /&gt;
ESX-1003374 22:25:59 03/17/08 Tools installer update to support RHEL5.&lt;br /&gt;
ESX-1003179 22:27:04 03/17/08 Remote-console black-out resolved&lt;br /&gt;
ESX-1003366 22:28:27 03/17/08 H/W iSCSI: System PSOD&lt;br /&gt;
ESX-1003365 22:28:35 03/17/08 VM hangs on Harwich and Foxecove&lt;br /&gt;
ESX-1003364 22:29:40 03/17/08 Autostart for VM works intermittently&lt;br /&gt;
ESX-1003362 22:30:35 03/17/08 Security fix for aacraid driver vulnerab&lt;br /&gt;
ESX-1003360 22:31:27 03/17/08 Python security update&lt;br /&gt;
ESX-1003359 22:32:27 03/17/08 Samba security update&lt;br /&gt;
ESX-1003515 22:33:24 03/17/08 Fix for trunking VLANs with igb driver&lt;br /&gt;
ESX-1003514 22:34:31 03/17/08 tg3 driver updates&lt;br /&gt;
ESX-1003513 22:36:59 03/17/08 Fixed issue of vpxa crashing during reco&lt;br /&gt;
For a differential list of rpms, use the -l/--listrpms option.&lt;br /&gt;
&lt;br /&gt;
Once you have verified the installation of the patches reboot the server&lt;br /&gt;
&lt;br /&gt;
type reboot and press enter&lt;br /&gt;
&lt;br /&gt;
After the load of all the patches i found that we were unable to reconnect the machines to the VI console, with the error&lt;br /&gt;
"Unable to access the specified host. either does not exist, the server software is not responding, or there is a network problem"&lt;br /&gt;
&lt;br /&gt;
To fix this i had to putty into the ESX box&lt;br /&gt;
Log on as root&lt;br /&gt;
Run "rpm -qa | grep vpxa" to see what vpxa installation was done&lt;br /&gt;
Example&lt;br /&gt;
         root@VMSX01 root--# rpm -qa | grep vpxa&lt;br /&gt;
         VMware-vpxa-2.5.0-64192&lt;br /&gt;
&lt;br /&gt;
run "rpm -e &amp;lt;Iput return from rpm -qa here&amp;gt;" to uninstall the software&lt;br /&gt;
Example&lt;br /&gt;
         root@VMSX01 root--#rpm -e VMware-vpxa-2.5.0-64192&lt;br /&gt;
Then restart the service&lt;br /&gt;
run "service mgmt-vmware restart"&lt;br /&gt;
&lt;br /&gt;
I had some machine i had to to this twice and make sure you have removed the ESX machine from VI completely before you run above and reconnect.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">update</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">3.0.2</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">patch</category>
      <pubDate>Mon, 17 Mar 2008 18:05:31 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3640</guid>
      <dc:date>2008-03-17T18:05:31Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>recommanded hardware requiremet for esx server version  3.5</title>
      <link>http://communities.vmware.com/docs/DOC-3520</link>
      <description>&lt;br /&gt;
Hi&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Could any body mail me recommande hardware requirement for esx server version 3.5&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
gurbachan.singh@tcs.com</description>
      <pubDate>Thu, 13 Mar 2008 11:14:44 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3520</guid>
      <dc:date>2008-03-13T11:14:44Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Virtual Center 2.5 and Oracle 10.2.0.3 (64bit) compatibility</title>
      <link>http://communities.vmware.com/docs/DOC-3510</link>
      <description>Does anyone know what the hold up is on certifying Virtual Center 2.5 and Oracle 10.2.0.3 64bit?  Was looking to upgrade to 3.5/2.5, but we only run 64bit Oracle in our Production environment.&lt;br /&gt;
&lt;hr /&gt;
*&lt;br /&gt;
In this document &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_installation_guide.pdf"&gt;http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_installation_guide.pdf&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
all supported Databases are listed.... (Page 19)&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
Oracle 10g Standard Release 2 (10.2.0.1.0)          Oracle 10g Enterprise Release 2 (10.2.0.1.0)&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
First apply patch 10.2.0.3.0 to the client and server. Then apply patch 5699495 to the client.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Regradless of 32 or 64 bit installation or platform its supported. This is because your SQL command returns the same values redardless of the underlying hard and software architecture. -&amp;gt; means .... VC even use the same scripts... if it is 9i or 10g.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
But please read the release notes too... There are some hints how to configure the schema.... (priviliges because CONNECT ROLE changed and so on)&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
I'm already running 10.2.0.3 in my Virtual Center 2.x environment and it's fully patched. While I agree that 64bit "should" work, there's obviously a reason that the compatibility matrix below has "NO" for 10.2.0.3 64bit and Virtual Center 2.5. My question is when will it officially be supported by VMware, my company does not run unspported configurations for critical applications. Thanks.&lt;br /&gt;
See Page 5 - Table 6 (continued)&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/pdf//vi3_35/esx_3/r35/vi3_35_25_compat_matrix.pdf"&gt;http://www.vmware.com/pdf//vi3_35/esx_3/r35/vi3_35_25_compat_matrix.pdf&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
You are absolute right. No support for 64bit atm. I'll find out if 64bit will be supported in the future and post the answere here.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;hr /&gt;
Hi Divintas,&lt;br /&gt;
&lt;br /&gt;
Did you have news about 64bit support ?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;hr /&gt;
The only response I can get from VMware Support is that they "hope" to support 64 bit Oracle in the future releases, not very promising, so I'm probably going to be moving over to SQL Server in the next month or so if nothing comes out, seems like this is their primary DB platform for VC anyway.&lt;br /&gt;
&lt;hr /&gt;
This may be one reason VM Ware doesn't want to support 64-bit just yet:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;b&gt;When 32-bit Oracle is acceptable&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You might want to stay on a 32-bit server if any of these conditions are true: &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Linear processing:&lt;/b&gt; You do not need multiple-CPU SMP processing (Oracle parallel query) for large-table, full-table scans.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;No need for large data buffers:&lt;/b&gt; If you do not have large working sets (e.g., an OLTP database) then 32-bit may be the right choice.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;External bottleneck:&lt;/b&gt; A 32-bit architecture is fine if your bottleneck is not in the Oracle database. In an ERP system, the bottleneck may be in the app servers, Web caches, or network, and a faster database will not help.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;High buffer invalidations: &lt;span style="color:#339966"&gt;I&lt;/span&gt;&lt;/b&gt;&lt;span style="color:#339966"&gt;f your application performs frequent data purges, data truncations or makes high-volume use of temporary tables, then you may not find large RAM regions suitable.  &lt;br clear="all" /&gt;	 	&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Not computationally intensive:&lt;/b&gt; If your bottleneck is in the network or disk I/O, then the faster 64-bit CPUs will not improve your overall performance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
While a 64-bit server is not a panacea, there are several well-documented reasons for moving to a 64-bit server. If any of the following conditions are true, then you may want to consider a 64-bit solution: &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;High transactions processing rates: Systems with more than 200 disk I/O's per second may see dramatic improvement in speed and scalability. By caching large amounts of data, disk I/O is reduced and performance skyrockets.&lt;/li&gt;
&lt;li&gt;Declining performance: As systems grow, the 32-bit limitations prevent continued growth.&lt;/li&gt;
&lt;li&gt;Anticipating rapid growth: For systems that require uninterrupted growth and scalability, the 64-bit architecture allows almost infinite scalability. Many large ERP systems have been able to scale successfully on Windows 64 platforms.&lt;/li&gt;
&lt;li&gt;Computationally-intensive system: If your Oracle database is CPU-bound or if you perform lots of parallel full-table scans, then the faster processors in a 64-bit architecture are very appealing.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/123136"&gt;Virtual Center 2.5 and Oracle 10.2.0.3 (64bit) compatibility&lt;/a&gt;</description>
      <pubDate>Wed, 12 Mar 2008 19:12:33 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3510</guid>
      <dc:date>2008-03-12T19:12:33Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>ESX Installation Times</title>
      <link>http://communities.vmware.com/docs/DOC-3482</link>
      <description>I'm an advocate of rebuilding ESX servers rather than spending hours of troubleshooing time trying to find a needle in a hay stack. Depending on the response time you're getting from VMware, HP, or wherever you're getting your VMware support from, rebuilding starts to look attractive rather than spending hours on the phone or days of email log shipping back and forth with the support technicians. Of course, rebuilding would only be a logical decision if there were no underlying hardware issues that were the root cause of the host failure - an ESX host rebuild won't resolve hardware problems.&lt;br /&gt;
&lt;br /&gt;
I have heard from many people who agree, supporting their opinion with claims that "I can rebuild an ESX server in X number of minutes". I've performed many deployments and I had a pretty good idea of what my deployment times per box were but I've never timed myself to put my own money where my mouth is. I decided to run through a build with a stopwatch. Following are my results.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Hardware:&lt;/u&gt;&lt;br /&gt;
HP Proliant DL580G2&lt;br /&gt;
4x P4 XEON 2.5GHz processors (512KB L2, 1MB L3 cache)&lt;br /&gt;
12GB RAM&lt;br /&gt;
Embedded Smart Array 5i disk controller (Read/Write cache present and enabled)&lt;br /&gt;
2x72GB Ultra320 10kRPM drives in a hardware RAID1 mirror&lt;br /&gt;
4x Broadcom Gb NICs&lt;br /&gt;
&lt;p /&gt;
&lt;u&gt;Software:&lt;/u&gt;&lt;br /&gt;
ESX 3.5.0 build 64607 (new and improved 2/20/08 edition)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
The stopwatch begins running when the server begins booting the ESX 3.5.0 CD&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;0m:&lt;/b&gt; Boot from CD, select keyboard, mouse, manual disk partitioning, time zone selection, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5m:&lt;/b&gt; File copy stage begins.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;14m:&lt;/b&gt; Above file copy stage completed. Reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;17m:&lt;/b&gt; Server is booted up. Set date/time. Enable root SSH login. Manually create VMKernel vswitch using VIC. Run 166 lines of post install configuration scripts including installation of Proliant Essentials 7.9.1 agents.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;27m:&lt;/b&gt; Scripted configuration stage above complete. Reboot&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;31m:&lt;/b&gt; Server is booted up. Remaining configuration done with VIC: Add host to Datacenter. Double check proper licensing. Configure bandwidth throttling on 2 portgroups. Increase virtual switch port count on VM switch. Configure swISCSI adapter and connect to ISCSI target. Add host to Vizioncore vRangerPRO. Move host from Datacenter into Cluster. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;34m:&lt;/b&gt; VIC configuration stage above complete. Reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;37m:&lt;/b&gt; Server is booted up and ready minus patching.&lt;br /&gt;
&lt;br /&gt;
At the 37 minute mark, the server is up and ready for action, minus patching. There are currently 9 patches for ESX 3.5.0 which will take an additional amount of time to apply using VMware Update Manager.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;37m:&lt;/b&gt; VMware Update Manager remediation applied. Host enters maintenance mode and VMotions off one running VM&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;38m:&lt;/b&gt; Patching begins. 9 patches to install.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;44m:&lt;/b&gt; 9 patches installed. Reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;47m:&lt;/b&gt; Server is booted up and thinks about the idle life for 8 minutes before exiting maintenance mode.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;55m:&lt;/b&gt; Exit maintenance mode. Server is patched and ready for action.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;b&gt;Conclusion:&lt;/b&gt; On slower hardware with some scripted automation, ESX server can be completely rebuilt in under an hour. Efficiencies to decrease the total build time would be newer servers with faster bus speeds and processors, 15kRPM disk spindles, faster VirtualCenter server hardware, advancing the post install scripted configuration, selectively installing only need patches rather than all patches, using a kickstart.cfg script and/or automated deployment tool such as Altiris/HP RDP to complete the initial installation stage, capturing a host installation with patches and Proliant Essentials agents already installed, etc.&lt;br /&gt;
&lt;p /&gt;
I'd be interested in hearing about your build times and automation methods.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;i&gt;Jason Boche&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-2444"&gt;VMware Communities User Moderator&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Jason -&lt;br /&gt;
&lt;br /&gt;
Nice article about the install times. I have seen similar times with installs myself, although on different hardware minus the post install scripts. Since I am not a scripting guru I have always had to do it manualy. I would be interested in what installs you are automating with the scripts?&lt;br /&gt;
&lt;p /&gt;
I will conclude that the theory of rebuild vs. troubleshoot extends to many areas in I.T., for example workstations, especially when you have a standard image you can deploy. I have had tech's spend 4-5 hours on a problem when a rebuild / restore data would have taken at the most 2 hours... Now, some will say that you are never finding the root cause of the problem and that is true, but in todays world, some problems are single instance and probably user created. For that type, I will take the lesser time.&lt;br /&gt;
&lt;p /&gt;
Regards...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Hey Jas,&lt;br /&gt;
&lt;br /&gt;
I am getting about the same from the time I kick off the altiris job to when the script ends, which is right before joining Virtual Center. I usually measure this to a lunch break so I do not have the exact time but we are in the same ballpark.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
Scripts Rule!!!!&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Steve Beaver&lt;br /&gt;
VMware Communities User Moderator&lt;br /&gt;
&lt;br /&gt;
**Virtualization is a journey, not a project.**&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
jamieorth, here's an example of the automated configuration scripts I run. A lot of the lines are comment or redundant, but they are there for my sanity.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
#Temporarily open all ports through the ESX firewall:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
esxcfg-firewall -allowIncoming&lt;br /&gt;
esxcfg-firewall -allowOutgoing&lt;br /&gt;
&lt;br /&gt;
#Configure switches and port groups:&lt;br /&gt;
#Open a PuTTY session with the server.&lt;br /&gt;
#Paste the following into PuTTY to create the remaining vswitches, port groups, and VLANs:&lt;br /&gt;
esxcfg-vswitch -a vSwitch2&lt;br /&gt;
esxcfg-vswitch -L vmnic2 vSwitch2&lt;br /&gt;
esxcfg-vswitch -L vmnic3 vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 192.168.110.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 1.544mbps_192.168.110.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 10.0.1.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 10.0.2.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 10.0.3.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 10.0.4.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 1.544mbps_172.16.0.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 172.16.0.0_network vSwitch2&lt;br /&gt;
esxcfg-vswitch -A 192.168.0.0_network vSwitch2&lt;br /&gt;
service mgmt-vmware restart&lt;br /&gt;
&lt;br /&gt;
#Enable services through the ESX firewall:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
esxcfg-firewall -e swISCSIClient&lt;br /&gt;
esxcfg-firewall -e sshClient&lt;br /&gt;
esxcfg-firewall -e ntpClient&lt;br /&gt;
esxcfg-firewall -e snmpd&lt;br /&gt;
esxcfg-firewall -e smbClient&lt;br /&gt;
&lt;br /&gt;
#If you need the ability to establish an SMBFS connection from the COS to a Windows share, then perform the following three steps:&lt;br /&gt;
#On the COS:&lt;br /&gt;
#esxcfg-firewall -e smbClient&lt;br /&gt;
#On the Windows machine, configure the following two security policies (requires Windows reboot to take effect):&lt;br /&gt;
#Microsoft network server: Digitally sign communications (always) disabled&lt;br /&gt;
#Microsoft network server: Digitally sign communications (if client agrees) disabled&lt;br /&gt;
&lt;br /&gt;
#Modification to display full path in COS:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
mv /etc/bashrc /etc/bashrc.old&lt;br /&gt;
sed -e "s/&lt;br clear="all" /&gt;h \\\W/&lt;br clear="all" /&gt;h \\\w/g" /etc/bashrc.old &amp;gt; /etc/bashrc&lt;br /&gt;
&lt;br /&gt;
#Add .boche.mcse to domain suffix search order:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
echo "search boche.mcse" &amp;gt;&amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
#Configure time zone and NTP:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
cp /etc/ntp.conf /etc/ntp.org&lt;br /&gt;
ln -sf /usr/share/zoneinfo/US/Central /etc/localtime&lt;br /&gt;
echo "restrict obiwan.boche.mcse mask 255.255.255.255 nomodify notrap noquery" &amp;gt;&amp;gt; /etc/ntp.conf&lt;br /&gt;
echo "restrict jabba.boche.mcse mask 255.255.255.255 nomodify notrap noquery" &amp;gt;&amp;gt; /etc/ntp.conf&lt;br /&gt;
echo "server obiwan.boche.mcse" &amp;gt;&amp;gt; /etc/ntp.conf&lt;br /&gt;
echo "server jabba.boche.mcse" &amp;gt;&amp;gt; /etc/ntp.conf&lt;br /&gt;
echo "obiwan.boche.mcse" &amp;gt;&amp;gt; /etc/ntp/step-tickers&lt;br /&gt;
echo "jabba.boche.mcse" &amp;gt;&amp;gt; /etc/ntp/step-tickers&lt;br /&gt;
esxcfg-firewall -e ntpClient&lt;br /&gt;
chkconfig --level 345 ntpd on&lt;br /&gt;
service ntpd restart&lt;br /&gt;
hwclock --systohc&lt;br /&gt;
&lt;br /&gt;
#Ensure /etc/sysconfig/clock:&lt;br /&gt;
#cat /etc/sysconfig/clock should show:&lt;br /&gt;
#ZONE="America/Chicago&lt;br /&gt;
#UTC=true&lt;br /&gt;
#ARC=false&lt;br /&gt;
&lt;br /&gt;
#Add some additional error logging on the consoles:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
cp /etc/syslog.conf /etc/syslog.org&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Three lines below: we want to see several more severe log entries on TTYs too.&lt;/li&gt;
&lt;/ol&gt;
echo "# " &amp;gt;&amp;gt; /etc/syslog.conf&lt;br /&gt;
echo "# Comment-out 3 lines below to protect tty10-tty12" &amp;gt;&amp;gt; /etc/syslog.conf&lt;br /&gt;
echo "*.=crit /dev/tty12" &amp;gt;&amp;gt; /etc/syslog.conf&lt;br /&gt;
echo "*.=err /dev/tty11" &amp;gt;&amp;gt; /etc/syslog.conf&lt;br /&gt;
echo "*.=warning /dev/tty10" &amp;gt;&amp;gt; /etc/syslog.conf&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;The line below: restart system logging daemon to activate above additions.&lt;/li&gt;
&lt;/ol&gt;
/etc/init.d/syslog restart&lt;br /&gt;
&lt;br /&gt;
#Set SSH banner text:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
echo $bannertxt1 &amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " Legal Notice" &amp;gt;&amp;gt;/etc/ssh/banner&lt;br /&gt;
echo $bannertxt2 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " WARNING: USE OF THIS PRIVATE COMPUTER SYSTEM IS YOUR " &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo $bannertxt3 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " CONSENT TO BEING MONITORED AND RECORDED. UNAUTHORIZED " &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo $bannertxt4 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " USE IS PROHIBITED. WE RESERVE THE RIGHT TO SEEK ALL " &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo $bannertxt5 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " REMEDIES FOR UNAUTHORIZED USE. EVIDENCE OF SUSPECTED " &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo $bannertxt6 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo " ILLEGAL USE MAY BE GIVEN TO LAW ENFORCEMENT. " &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo $bannertxt7 &amp;gt;&amp;gt; /etc/ssh/banner&lt;br /&gt;
echo "banner /etc/ssh/banner" &amp;gt;&amp;gt; /etc/ssh/sshd_config&lt;br /&gt;
service sshd restart&lt;br /&gt;
&lt;br /&gt;
#Unload the VMFS-2 module to improve LUN and volume scan speed and improve overall performance:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
vmkload_mod -u vmfs2&lt;br /&gt;
&lt;br /&gt;
#Modification to prevent vmfs2 module from loading to improve LUN and volume scan speed and improve overall performance:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
mv /etc/init.d/vmware /etc/init.d/vmware.old&lt;br /&gt;
sed -e "s/echo \"vmfs2 vmfs2\"/\#echo \"vmfs2 vmfs2\"/g" /etc/init.d/vmware.old &amp;gt; /etc/init.d/vmware&lt;br /&gt;
chmod 744 /etc/init.d/vmware&lt;br /&gt;
&lt;br /&gt;
#SAN multipathing best practice:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
#esxcfg-advcfg -s 1 /Disk/UseLunReset &lt;br /&gt;
#esxcfg-advcfg -s 0 /Disk/UseDeviceReset&lt;br /&gt;
#service mgmt-vmware restart&lt;br /&gt;
&lt;br /&gt;
#Set Disk.MaxLUN to 25 to reduce rescan time:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
esxcfg-advcfg -s 25 /Disk/MaxLUN&lt;br /&gt;
service mgmt-vmware restart&lt;br /&gt;
&lt;br /&gt;
#Set Disk.SchedNumReqOutstanding to 64 to increase number of requests each VM can have against a single LUN at any given time:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
#esxcfg-advcfg -s 64 /Disk/SchedNumReqOutstanding&lt;br /&gt;
#service mgmt-vmware restart&lt;br /&gt;
&lt;br /&gt;
#Increase service console RAM allocation to 512MB:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
mv -f /etc/vmware/esx.conf /etc/vmware/esx.conf.old &lt;br /&gt;
sed -e 's/boot\/memSize = \"272\"/boot\/memSize = \"512\"/g' /etc/vmware/esx.conf.old &amp;gt;&amp;gt; /etc/vmware/esx.conf &lt;br /&gt;
mv -f /boot/grub/grub.conf /boot/grub/grub.conf.old &lt;br /&gt;
sed -e 's/uppermem 277504/uppermem 523264/g' -e 's/mem=272M/mem=512M/g' /boot/grub/grub.conf.old &amp;gt;&amp;gt; /boot/grub/grub.conf&lt;br /&gt;
&lt;br /&gt;
#Create VirtualCenter Agent temp install directory to prevent VC Agent install failures during future upgrades:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
mkdir -p /tmp/vmware-root/&lt;br /&gt;
&lt;br /&gt;
#Install HP Insight Management Agents 7.9.1:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
esxcfg-firewall -allowOutgoing&lt;br /&gt;
cd /tmp&lt;br /&gt;
lwp-download &lt;a class="jive-link-external" href="http://www.boche.net/esxupdate/hpmgmt-7.9.1-vmware3x.tgz"&gt;http://www.boche.net/esxupdate/hpmgmt-7.9.1-vmware3x.tgz&lt;/a&gt;&lt;br /&gt;
tar -xzvf hpmgmt-7.9.1-vmware3x.tgz&lt;br /&gt;
cd hpmgmt/791/&lt;br /&gt;
lwp-download &lt;a class="jive-link-external" href="http://www.boche.net/esxupdate/hpmgmt.conf"&gt;http://www.boche.net/esxupdate/hpmgmt.conf&lt;/a&gt;&lt;br /&gt;
./installvm791.sh --silent --inputfile hpmgmt.conf&lt;br /&gt;
esxcfg-firewall -blockOutgoing&lt;br /&gt;
&lt;br /&gt;
#Remove HP Insight Management Agents 7.9.1 installation files:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
cd /tmp&lt;br /&gt;
rm -f hpmgmt-7.9.1-vmware3x.tgz&lt;br /&gt;
rm -f -r hpmgmt&lt;br /&gt;
&lt;br /&gt;
#Install ESX patches with web repository:&lt;br /&gt;
#This section is now obsolete with VMware Update Manager in VirtualCenter 2.5&lt;br /&gt;
&lt;br /&gt;
#Ensure the firewall is enabled and running before final build completion:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
service firewall start&lt;br /&gt;
esxcfg-firewall -blockIncoming&lt;br /&gt;
esxcfg-firewall -blockOutgoing&lt;br /&gt;
&lt;br /&gt;
#Inject install completion date/time stamp into Message Of The Day:&lt;br /&gt;
#Paste the following into PuTTY:&lt;br /&gt;
dateTime=`date '+%c'`&lt;br /&gt;
echo "Built on "$dateTime" by Jason Boche." &amp;gt; /etc/motd&lt;br /&gt;
&lt;br /&gt;
reboot&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;i&gt;Jason Boche&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-2444"&gt;VMware Communities User Moderator&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Message was edited by: jasonboche&lt;br /&gt;
&lt;br /&gt;
FYI, the VMware forum WYSIWYG editor really garfed the formatting and syntax of these scripts so if you want the unmamed version of the scripts, contact me via email and I'll send you the script file.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I have found in the past, although not personally responsible for this, with the use of some form of deployment server over PXE boot.. can cut these deployment times mentioned in half. 20 mins to install and then run said scripts.&lt;br /&gt;
&lt;br /&gt;
Can save a lot of time this, and also means that with the right configuration you don't have to actually go and stick a CD in the physical machine!&lt;br /&gt;
&lt;br /&gt;
I do also agree with most issues that arise, with the nature of ESX server and the fact you can just take a server offline without any hassle that it is just easier to rebuild as opposed to screaming at a dead host.&lt;br /&gt;
&lt;br /&gt;
P.&lt;br /&gt;
&lt;hr /&gt;
Jason,&lt;br /&gt;
&lt;br /&gt;
Send me a copy I like to collect these!!! &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Steve Beaver&lt;br /&gt;
VMware Communities User Moderator&lt;br /&gt;
&lt;br /&gt;
**Virtualization is a journey, not a project.**&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
I'll show you mine if you show me yours...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;i&gt;Jason Boche&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-2444"&gt;VMware Communities User Moderator&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/131371"&gt;ESX Installation Times&lt;/a&gt;</description>
      <pubDate>Mon, 10 Mar 2008 16:26:12 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3482</guid>
      <dc:date>2008-03-10T16:26:12Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>reconnecting virtual machine files</title>
      <link>http://communities.vmware.com/docs/DOC-3450</link>
      <description>&lt;b&gt;Question&lt;/b&gt;:  Is there anyway to re-link or reconnect virtual machine files from separate ESX 3.5 datastore to a new ESX 3.5 install?&lt;br /&gt;
&lt;br /&gt;
I recently purchased a new larger drive for my test ESX 3.5 server at home. I installed a fresh ESX 3.5 install on this new drive. I added the old drive to it and was able to see and move files to the new datastore, but of course the new install does not show these files as virtual machines.&lt;br /&gt;
&lt;br /&gt;
Does this have to be done from the Virtual Center or can it be done from VI client?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer&lt;/b&gt;:  You need to register the vm's to the VC then only you can power them on. Select the datastore click on the .vmx file and it add to inventory.&lt;br /&gt;
&lt;br /&gt;
This document was generated from the following thread: &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/131018"&gt;reconnecting virtual machine files&lt;/a&gt;</description>
      <pubDate>Fri, 07 Mar 2008 08:17:28 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-3450</guid>
      <dc:date>2008-03-07T08:17:28Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Tech: How to enable passthrough authentication in VMware VirtualCenter 2.5</title>
      <link>http://communities.vmware.com/docs/DOC-3300</link>
      <description>Saw a cool article cross my RSS reader today on How to enable passthrough authentication in VMware VirtualCenter 2.5.&lt;br /&gt;
&lt;br /&gt;
I just tested it; it works.&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a class="jive-link-external" href="http://www.virtualization.info/2008/03/tech-how-to-enable-passhrough.html"&gt;http://www.virtualization.info/2008/03/tech-how-to-enable-passhrough.html&lt;/a&gt; Thank you Stuart Radnidge and Alessandro Perilli!&lt;br /&gt;
&lt;p /&gt;
To use it, simply add -passthroughAuth -s vchostname to the end of the shortcut used to launch the VI 2.5 client.&lt;br /&gt;
&lt;br /&gt;
By default it uses the Negotiate SSPI provider, however since they have fully implemented the interface you can change that behaviour to use Kerberos by adding the following within the node in the vpxd.cfg file on the VC server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sspiProtocol&amp;gt;Kerberos&amp;lt;/sspiProtocol&amp;gt;</description>
      <pubDate>Mon, 03 Mar 2008 16:04:41 GMT</pubDate>
      <author>jason@boche.net</author>
      <guid>http://communities.vmware.com/docs/DOC-3300</guid>
      <dc:date>2008-03-03T16:04:41Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>HP Proliant and Compaq MPS Table BIOS Settings for ESX Server</title>
      <link>http://communities.vmware.com/docs/DOC-3280</link>
      <description>HP Proliant and Compaq MPS Table BIOS Settings for ESX Server &lt;br /&gt;
&lt;br /&gt;
For those of you who use VMware ESX and Compaq/HP Proliant servers, I came across a helpful entry on Vincent Vlieghe's blog:  &lt;a class="jive-link-external" href="http://virtrix.blogspot.com/2006/07/hp-proliant-and-compaq-mps-table-bios.html"&gt;http://virtrix.blogspot.com/2006/07/hp-proliant-and-compaq-mps-table-bios.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This basically has to do with how to optimize the server's BIOS configuration for running VMware ESX Server.  Most options in the BIOS may be easily interpreted and safe irregardless of the configuration, however, two configuration parameters stand out as important.&lt;br /&gt;
&lt;br /&gt;
Thank you Vincent Vlieghe for doing the homework on this.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
donderdag, juli 27, 2006&lt;br /&gt;
HP Proliant and Compaq MPS Table BIOS Settings for ESX Server &lt;br /&gt;
I read an interesting article on ESX on proliant servers:&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
&lt;p /&gt;
HP ProLiant servers (and pre-merger Compaq ProLiant servers) require specific BIOS settings in order to run VMware ESX Server. These settings ensure that the physical hardware can be addressed properly and consistently by the VMkernel. Use of BIOS settings with values other than those identified below may result in operational instability.&lt;br /&gt;
&lt;p /&gt;
Discussion&lt;br /&gt;
&lt;br /&gt;
On HP ProLiant servers (and pre-merger Compaq ProLiant servers), the BIOS may not fully populate the PCI interrupt routing entries in the MP Configuration Table (part of the Intel MultiProcessor Specification) if the MPS Table Mode setting within the BIOS is incorrect. An incomplete MP Configuration Table may result in failure of an initial installation of ESX Server, failure to complete the boot process, or instability during normal operation.&lt;br /&gt;
&lt;p /&gt;
For stable operation on these systems, ESX Server requires a BIOS MPS Table Mode setting of Full Table APIC. With the exception of the specific systems referenced below, the following BIOS settings must be applied in order if available:&lt;br /&gt;
&lt;p /&gt;
System Options &amp;gt; OS Selection: Select Windows 2000.&lt;br /&gt;
&lt;br /&gt;
Advanced Options &amp;gt; MPS Table Mode: Select Full Table APIC.&lt;br /&gt;
&lt;br /&gt;
When presented with multiple Windows options (Windows 2000, Windows Server 2003, Windows .NET, and so on) select Windows 2000. If both BIOS settings are available and can be modified, both must be set correctly. You should confirm these settings after any BIOS upgrade operation.&lt;br /&gt;
&lt;p /&gt;
For the HP ProLiant DL 740 and DL 760 servers specifically, set the OS Selection BIOS setting to Linux to allow for proper operation when hyperthreading is enabled. The remainder of the BIOS settings, and the order in which they are applied, are as specified above.&lt;br /&gt;
&lt;br /&gt;
If any BIOS setting is incorrect, you may see one or more messages in /var/log/messages or /var/log/vmkwarning on the Service Console similar to the following:&lt;br /&gt;
May 11 22:36:30 esx101 vmkernel: 0:00:00:00.00 ALERT: Chipset: 303: no PCI entries - Check BIOS Settings&lt;br /&gt;
&lt;br /&gt;
May 11 22:36:30 esx101 vmkernel: 0:00:00:00.000 cpu0) ALERT: Chipset: 433: no PCI entries in MPS table - check BIOS settings&lt;br /&gt;
&lt;br /&gt;
May 11 22:36:30 esx101 vmkernel: 0:00:00:00.000 cpu0) WARNING: IOAPIC: 986: no PCI entry for busID 2 busIRQ 8 - trying ISA irq 15&lt;br /&gt;
&lt;p /&gt;
You may also see unnecessary hardware interrupt sharing, which is explained in detail in knowledge base article 1290 at www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1290.&lt;br /&gt;
&lt;br /&gt;
You may need to use the ROM-Based Setup Utility (RBSU), SmartStart CD, or other BIOS configuration tool to make these adjustments. Hewlett-Packard's Web site includes extensive documentation on how to adjust BIOS settings on HP and Compaq systems, including generalized RBSU guides which may be found at search.hp.com/query.html?qt=title%3A%22ROM-Based+Setup+Utility+User+Guide%22.&lt;br /&gt;
&lt;br /&gt;
The "OS Selection" section of the HP RBSU User Guide notes that, in certain circumstances, adjusting the OS Selection BIOS setting may result in an automatic change of the MPS Table Mode BIOS setting (emphasis added):&lt;br /&gt;
&lt;br /&gt;
The OS Selection option allows you to select the primary OS for the server. A list of supported OSs for the server displays on the menu, with the ROM defaulting to Microsoft Windows 2000 when the server supports it. Default server Multi Processor (MP) settings and PCI Hot Plug reservation settings are automatically set based on the OS selected.&lt;br /&gt;
&lt;br /&gt;
Although an automatic change may occur, the individual BIOS settings should be confirmed explicitly if you intend to use this system with VMware ESX Server. For additional assistance in making these changes, please contact HP Technical Support.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2411">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">compaq</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">hp</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">bios</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">os</category>
      <category domain="http://communities.vmware.com/tags?communityID=2411">selection</category>
      <pubDate>Mon, 03 Mar 2008 03:12:24 GMT</pubDate>
      <author>jason@boche.net</author>
      <guid>http://communities.vmware.com/docs/DOC-3280</guid>
      <dc:date>2008-03-03T03:12:24Z</dc:date>
      <clearspace:dateToText>1 year, 8 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Shortcut Guide for Setting Up VCB 1.1 and BackupExec</title>
      <link>http://communities.vmware.com/docs/DOC-2770</link>
      <description>&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring Windows on the VCB 1.1 Proxy&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Virtual Machine Backup Guide (pg 34.)&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
To disable assignment of drive letters&lt;br /&gt;
1.) Shutdown Windows.&lt;br /&gt;
2.) Disconnect the VCB proxy from the SAN&lt;br /&gt;
3.) Boot the proxy and login as admin&lt;br /&gt;
4.) CMD - diskpart&lt;br /&gt;
5.) diskpart - automount disable&lt;br /&gt;
6.) diskpart - autmount scrub&lt;br /&gt;
7.) Shutdown Windows&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring SAN&lt;/span&gt;&lt;/h1&gt;
1.) Create a SAN zone for each initiator to communicate with the proper disk array port&lt;br /&gt;
2.) Configure the disk array to allow the VCB proxy R/W access to all appropriate VMFS LUNs&lt;br /&gt;
3.) Reconnect VCB to SAN&lt;br /&gt;
4.) Boot Windows.&lt;br /&gt;
5.) Verify that the VCB Proxy has access to the VMFS LUNs in the disk management MMC.&lt;br /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring Network on the VCB Proxy&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Virtual Machine Backup Guide (pg 35.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.) If firewall between VCB/VC Server open port TCP/IP 443&lt;br /&gt;
&lt;br /&gt;
2.) Establish TCP/IP ports 902  and 443 for all ESX server hosts.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;blockquote&gt;&lt;span style="color:#0000ff"&gt;esxconfig-firewall -q returned the following:&lt;/span&gt; &lt;br clear="all" /&gt;				&lt;span style="color:#0000ff"&gt;Incoming and outgoing ports blocked by default. &lt;br clear="all" /&gt;				Enabled services: CIMSLP aam VCB CIMHttpsServer vpxHeartbeats LicenseClient sshServer CIMHttpServer symantecBackupExec&lt;/span&gt; &lt;br clear="all" /&gt;				&lt;span style="color:#0000ff"&gt;Opened ports: &lt;br clear="all" /&gt;				vcbssh : port 443 tcp.in tcp.out udp.in udp.out &lt;br clear="all" /&gt;				vcbssh : port 902 tcp.in tcp.out udp.in udp.out&lt;/span&gt;&lt;/blockquote&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring the ESX 3.5 Clients Firewalls&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Firewall Configurations for Backup Clients on the ESX Server 3 (pg 1.)&lt;/span&gt;&lt;br /&gt;
Only required if using BE to back up the ESX hosts&lt;br /&gt;
&lt;br /&gt;
1.) Select the ESX Host&lt;br /&gt;
2.) Configuration then Security Profile under software&lt;br /&gt;
3.) Click Properties&lt;br /&gt;
4.) Enabled the Symantec Backup Exec Agent - Opens TCP Ports 10000-10200 for incoming connections&lt;br /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring Symantec Backup Exec 11d for Windows Server 2003&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Firewall Configurations for Backup Clients on the ESX Server 3 (pg 3.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.) Open Symantec Backup Exec 11D&lt;br /&gt;
2.) Tools - Options&lt;br /&gt;
3.) Click Network and Security&lt;br /&gt;
4.) Enable remote agent TCP dynamic port range and enter "10001 and 10200"&lt;br /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring Firewall Ports or Port Ranges on the Service Console&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Firewall Configurations for Backup Clients on the ESX Server 3 (pg 3.)&lt;/span&gt; &lt;br /&gt;
Only required if using BE to back up the ESX hosts&lt;br /&gt;
&lt;br /&gt;
1.) Log into service console with root permissions&lt;br /&gt;
2.) esxcfg-firewall -0 command to open up the correct ports for the backup products.&lt;br /&gt;
3.) Restart services: service mgmt-vmware restart&lt;br /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring SSL Verification&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Virtual Machine Backup Guide (pg 40.)&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring VMware Consolidated Backup &lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: Virtual Machine Backup Guide (pg 36.)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A user account should be created for VCB to communicate with Virtual Center. This can be a local user on the VC server or an AD user. This user should be assigned the VCB role with the follwoing permissions:&lt;br /&gt;
&lt;br /&gt;
VirtualMachine/Configuration/DiskLease&lt;br /&gt;
VirtualMachine/State/CreateSnapshot&lt;br /&gt;
VirtualMachine/State/RemoveSnapshot&lt;br /&gt;
VirtualMachine/Provisioning/Allow Virtual Machine Download&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:#ff6600"&gt;C:\Program Files\VMware\VMware Consolidated Backup Framework\config\config.js&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.) Specified all non default entries (HOST, USERNAME, PASSWORD)&lt;br /&gt;
Here is what my config.js file looks like and I created a C:\mnt directory&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;blockquote&gt;&lt;span style="color:#0000ff"&gt;BACKUPROOT="E:&lt;br clear="all" /&gt;	mnt"; &lt;br clear="all" /&gt;				HOST="VirtualCenter.FQDN.com"; &lt;br clear="all" /&gt;				//PORT="443"; &lt;br clear="all" /&gt;				USERNAME="VCBUser"; &lt;br clear="all" /&gt;				PASSWORD="XXXXXX"; &lt;br clear="all" /&gt;				//TRANSPORT_MODE="san"; &lt;br clear="all" /&gt;				//LOGLEVEL=6; &lt;br clear="all" /&gt;				//SNAPSHOT_POLICY="automatic"; &lt;br clear="all" /&gt;				//VM_LOOKUP_METHOD="ipaddr"; &lt;br clear="all" /&gt;				PREEXISTING_MOUNTPOINT="delete"; &lt;br clear="all" /&gt;				PREEXISTING_VCB_SNAPSHOT="delete"; &lt;br clear="all" /&gt;				//MAX_RETRIES=0; &lt;br clear="all" /&gt;				//BACKOFF_TIME=10;&lt;/span&gt;&lt;/blockquote&gt;
&lt;h1&gt;&lt;span style="color:#000000"&gt;Configuring a backup job in Symantec Backup Exec 11d&lt;/span&gt;&lt;/h1&gt;
&lt;span style="color:#ff0000"&gt;Reference: README-backupexec.html&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.) create a new backup job in symantec&lt;br /&gt;
2.) choose any directory for the time being ex C:\temp&lt;br /&gt;
3.) Choose a type of backup - I choose full&lt;br /&gt;
4.) Uncheck Use the windows change jounral if available.&lt;br /&gt;
5.) Settings/Advanced options then check Back up files and directories by following junction points&lt;br /&gt;
6.) Frequency/Schedule and select Submit job on hold, then click run now.&lt;br /&gt;
8.) Configuring the GUI selection list.&lt;br /&gt;
9.) Open a command prompt CMD and go to the the backupexec dir that has the browse-start/end batch files.&lt;br /&gt;
10.) run the batch file - browse-start-bat (backupjobname) (FQDN of guest VM to backup)&lt;br /&gt;
11.) Go back to SymantecBackup Exec&lt;br /&gt;
12.) Uncheck the folder in step 2 ex C:\temp&lt;br /&gt;
13.) If left default in the config.js the mounting point will be C:\mnt\(FQDN of guest VM)&lt;br /&gt;
14.) Select the files to backup from the guest VM&lt;br /&gt;
15.) Go to the Settings/Pre/Post Sripts&lt;br /&gt;
16.) Pre &amp;#38; post scripts type the path to &amp;#38; use pre-backup.bat (jobname) (FQDN VM)&lt;br /&gt;
17.) Make user all the following boxes are check&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color:#000000"&gt;&lt;i&gt;Run job only if pre-job command is successful&lt;/i&gt; &lt;br clear="all" /&gt;				+ run post-job command only if pre=job command is successful+ &lt;br clear="all" /&gt;				+ run post-job command even ifjob fails+ &lt;br clear="all" /&gt;				+ all pre and post commands to be succesfful only if completed with a return code of zero+ &lt;br clear="all" /&gt;				+ Run these commands is set to On each server backed up.+&lt;/span&gt;&lt;/blockquote&gt;
18.) Go back to CMD and run browse-end.bat (jobname)</description>
      <pubDate>Thu, 07 Feb 2008 12:21:47 GMT</pubDate>
      <guid>http://communities.vmware.com/docs/DOC-2770</guid>
      <dc:date>2008-02-07T12:21:47Z</dc:date>
      <clearspace:dateToText>1 year, 4 months ago</clearspace:dateToText>
    </item>
  </channel>
</rss>

