• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

ESX

Vinternals: howto disable the Capacity Planner

Duncan Epping · Feb 12, 2008 ·

Vinternals wrote a short article on how to de-install or hide the Capacity Planner plugin for VirtualCenter:

Capacity planner is rather pesky to have hanging around on every VirtualCenter box in the enterprise… especially if you use some other tool for the job! So just add this line to the end of your VirtualCenter install script:

msiexec /qn /x {2A2750C9-E14E-4635-8595-C1CD214445B0}

and away she goes!

Altenatively, you can simply hide it from the Virtual Infrastructure client by adding the following in the section of vpxd.cfg

<vcp2v>
<dontstartconsolidation>true</dontstartconsolidation>
</vcp2v>

Issue with performance stats in VirtualCenter?

Duncan Epping · Feb 11, 2008 ·

I noticed at a few customer sites that the Performance tab of VirtualCenter was getting sluggish but never got the chance to really pinpoint the problem. A couple of days ago user “jterpstr” posted about this on the VMTN forum and it seems that the old rows aren’t deleted from the database for some reason. The table grows to an enormous amount of rows which causes some queries to become unresponsive or very very slow. For more info and a possible solution keep track of this topic om the forum. Thanks to the guys in this thread for pinpointing the problem and narrowing it down to a possible cause.

Installing VirtualCenter 2.0.2 on a Windows 2000 SP4 server

Duncan Epping · Feb 11, 2008 ·

Today I encountered a weird problem. When I started the installation of VirtualCenter 2.0.2 on a Windows 2000 Server I received the following error notification:”Setup cannot continue. The “VMware VirtualCenter Server 2.0″ requires Update 1 Rollup for Windows 2000 SP4. Please see KB article 816542 at http://support.microsoft.com/kb/816542/.”

I checked the server but the patch was installed, so I rebooted the machine to be sure the installation of the update was completed but no luck. I reinstalled the patched and tried to install VC but again no luck. Next thing to do was check the VMTN forum and luckily someone already encountered the same weird problem and they received the following fix from VMware support:

************ Problem ***********
Update from VC 2.0.0 to VC 2.0.1 not possible.
Error message that “Update Rollup 1” is not installed.

************ Root Cause (if known) ***********
Wrong registry check of installer.

************ Solution ***********
Replace NTDLL.DLL by KERNEL32.DLL in the registry:

HKLM\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\Update Rollup 1\Filelist\0]
“FileName”=”NTDLL.DLL”
“Version”=”5.0.2195.7006”
“BuildDate”=”Thu Jan 13 10:09:36 2005”
“BuildCheckSum”=”77ecb”
“Location”=”C:
WINNT
system32”

VCB: I forgot all about “automount disable” what now?

Duncan Epping · Feb 11, 2008 ·

Before installing VCB and connecting the proxy host to the SAN you should disable automount via diskpart(cmd, diskpart, automount disable, automount scrub). When you don’t disable automount Windows will signature all “incoming” disks. When this happens the VMware hosts will not recognize the VMFS volumes anymore. But fortunately you can re-label the luns as VMFS.

Check with “fdisk -lu” what the current ID value is of the volumes, it’s “SFS” if Windows wrecked it. Write all the devices down and label them again as VMFS:
fdisk /dev/sd? (? the letter for that specific volume)

p
d
n
p
1
default
t
fb
X
b
1
128 (disk alignment, check your SAN manual for the correct value, 128 is correct in most cases…)
W

Now rescan the HBA devices, esxcfg-rescan vmhba0 etc etc.

Howto: Rename a VM

Duncan Epping · Feb 10, 2008 ·

There are a couple of ways to rename a Virtual Machine, but there are two in my opinion that stand out:

  1. Shutdown the VM
  2. Rename the VM in VirtualCenter
  3. Migrate the VM and move it to another Datastore
  4. done!

And from the service console:

  1. vmware-cmd -s unregister /vmfs/volumes/datastore/vm/vmold.vmx
  2. mv /vmfs/volumes/datastore/vm-old /vmfs/volumes/datastore/vm-new
  3. cd /vmfs/volumes/datastore/vm-new
  4. vmkfstools -E vm-old.vmdk vm-new.vmdk
  5. find . -name ‘*.vmx*’ -print -exec sed -e ‘s/vm-old/vm-new/g’ {} \;
  6. mv vm-old.vmx vm-new.vmx
    for every file that hasn’t been renamed (.vmsd etc.)
  7. vmware-cmd -s register /vmfs/volumes/datastore/vm-new/vm-new.vmx
  8. done!
  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 73
  • Page 74
  • Page 75
  • Page 76
  • Page 77
  • Interim pages omitted …
  • Page 83
  • Go to Next Page »

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in