• 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

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!

Distributed Power Management glitch

Duncan Epping · Feb 8, 2008 ·

I was just testing the new, but still experimental feature, Distributed Power Management. I’ve installed 3 ESX Hosts and added all of them into an HA-DRS Cluster. I enabled DPM and set the mode to manual and pressed “Generate recommendations”. I had one host with an HA failure and DPM recommend me to switch off another host. Which in this case would leave me with no host for redundancy… weird.

I’ve also witnessed that the host with two VM’s running on it was recommended for a power down, instead of the host that did not have any VM’s running.

The VMware website states:

 When resource requirements of workloads increase, DPM brings powered-down hosts back online to ensure service levels are met.

I guess having a full working HA cluster is definitely top priority to meet service level agreements, so be careful with this option and test it really well…

Xen HA clustering

Duncan Epping · Feb 7, 2008 ·

The company I work for, Ictivity, recently started testing with Xen(not Xensource!) and HA clustering. There were two case studies, one based on Suse and one based on Red Hat. Both definitely have it’s own advantages and disadvantages but it seemed promising to me. Today I noticed a blog on ONLamp.com about how to set this up. It’s a good read and gives you insight information. You can do this with open source only software so it will not get any cheaper than this. If this solution is suitable for an enterprise environment is definitely a point of discussion, but it is good to see there are more alternatives coming our way.

The idea of using virtual machines to build high available clusters is not new. Some software companies claim that virtualization is the answer to your HA problems, off course that’s not true. Yes, you can reduce downtime by migrating virtual machines to another physical machine for maintenance purposes or when you think hardware is about to fail, but if an application crashes you still need to make sure another application instance takes over the service. And by the time your hardware fails, it’s usually already too late to initiate the migration. So, for each and every application you still need to look at whether you want to have it constantly available, if you can afford the application to be down for some time, or if your users won’t mind having to relogin when one server fails.

Cool Tool: Active Directory Topology Diagrammer

Duncan Epping · Feb 7, 2008 ·

For anyone doing regular checks of Microsoft AD this tool is a must have:

With the Active Directory Topology Diagrammer tool, you can read your Active Directory structure through Microsoft ActiveX® Data Objects (ADO). The Active Directory Topology Diagrammer tool automates Microft Office Visio to draw a diagram of the Active Directory Domain topology, your Active Directory Site topology, your OU structure or your current Exchange 200X Server Organization. With the Active Directory Topology Diagrammer tool, you can also draw partial Information from your Active Directory, like only one Domain or one site. The objects are linked together, and arranged in a reasonable layout that you can later interactively work withthe objects in Microsoft Office Visio.

Checking for snapshots, html email report!

Duncan Epping · Feb 6, 2008 ·

When reading the VMTN forum I stumbled upon a topic about checking the VMFS for snapshots. Besides snaphunter by Xtravirt, which is an excellent script, there isn’t much out there. You can check the VirtualCenter database for snapshots but this way you would not notice the orphaned snapshots. (Orphaned snapshot occur when the vmsd file gets corrupted.) A couple of months before Xtravirt posted their script I wrote my own snapshot checking script named snapcheck.sh. [Read more…] about Checking for snapshots, html email report!

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 477
  • Page 478
  • Page 479
  • Page 480
  • Page 481
  • Interim pages omitted …
  • Page 492
  • 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