Follow Steve on Twitter Follow Steve on Twitter
Subscribe to Steve's RSS feed Subscribe to Steve's RSS feed

Important Update About vWire

Steve  | December 23rd, 2009

12 months ago I took on a new initiative here at Tripwire focused on virtualization management.  The vWire project was a separate line of business from Tripwire Enterprise, entirely focused on solutions to make the VI professional’s life easier.  What a ride it has been! O... Read more »

Follow Karen on Twitter Follow Karen on Twitter
Subscribe to Karen's RSS feed Subscribe to Karen's RSS feed

vWire Developer Videos Are Here!

Karen  | June 15th, 2009

People make a lot of jokes about "herding cats," and when I decided to video a group of our vWire developers for them to talk about their favorite vWire features, I worried it would be hard to get what are often considered the most introverted demographic in the world in front of... Read more »

Follow Matt on Twitter Follow Matt on Twitter
Subscribe to Matt's RSS feed Subscribe to Matt's RSS feed

OpsCheck and ConfigCheck are now completely free

Matt  | May 10th, 2009

We have had OpsCheck and ConfigCheck up over on vWire.com since the site was launched but we have noticed a trend.  A little less than half of the people who click on the buttons to get the tools don't actually download it.  There has always been a form in front of the download... Read more »

Follow Ted on Twitter Follow Ted on Twitter
Subscribe to Ted's RSS feed Subscribe to Ted's RSS feed

vWire Passed it Stress Test

Ted  | June 17th, 2009

My father recently underwent a stress test to determine how his heart performed under load.  The result was that he needed a pacemaker.  Tripwire's performance analysis team recently put vWire through a series of stress tests to determine how it would perform under load. I w... Read more »

Times Must be Tough!...
March 18th, 2009

Recent Virtual Black Hole Posts


Using PowerShell To Get Content From a File

by Steve  | December 8th, 2009

On my quest for PowerShell knowledge I was working on a script to rescan HBA’s and then to list the paths to the datastores but, I only wanted the script to run on certain specific hosts at a time. Usually the rule is when you add storage or paths to an ESX host you would do this to all hosts in the cluster at the same time and could use PowerShell to list the members of a cluster to work with but I was exploring the option of creating  a list of the ESX hosts that I wanted the script to run on and have that list saved in a file.  Using the “get-content” cmdlet, I was able to do just that. The only other things was the “foreach” loop, when reading the content of a file, you need to use “foreach-object” cmdlet.  Below is an example of the code to read the serverlist.txt file and then use that information to rescan and then refresh the HBA’s. 

get-content -path d:\scripts\serverlist.txt | foreach-object {Get-VmHostStorage (Get-VmHost -Name $_ ) -RescanAllHba}
Start-Sleep -s 30
get-content -path d:\scripts\serverlist.txt | foreach-object {Get-VmHostStorage (Get-VmHost -Name $_ ) -Refresh}

Nothing to exciting, just another method of getting information for your script to run against.


vSphere Service Console Partitioning

by Steve  | December 1st, 2009

There is a very good blog post on the best practices for vSphere (ESX 4) Service Console Partitions by Rich Brambley on the VM /ETC blog.  The original article can be found here.  In this article he had a very nice chart for custom partitioning.

Custom Partitioning

  • The following Custom Partitioning Design is recommended:
Mount Point Type Size Purpose
/ ext3 5.0GB The / (or “root”) partition stores the ESX system and all files not stored in another custom partition. If this partition is filled to capacity, the ESX host could crash. It is imperative to prevent this.
  swap 1600MB The swap partition is used to supplement RAM if the service console runs out of physical memory.
/home ext3 512MB The /home partition is created as a failsafe to help prevent / from filling up. Service console accounts (not vCenter) each have an associated /home folder. As a best practice, administrators should not use these folders for storage. If service console accounts are to be used and there are multiple users requiring access, the size of this partition may need to be increased. By default, /home is part of the / partition. By creating a custom partition for it the / partition will be protected if /home fills to capacity.
/tmp ext3 2.0GB The /tmp partition is also created as a failsafe to help prevent filling the / partition. /tmp is often used to untar support files, temporarily store copied logs and stage patches. By default, /tmp is part of the / partition. By creating a custom partition for it the / partition will be protected if /tmp fills to capacity.
/vmimages ext3 512MB Traditionally, /vmimages was used to store CD-ROM images (.ISOs) and Floppy Disk images (.flp, .img). However, most organizations following best-practices have moved this from each individual host to a single shared-storage location. However, by default ESX creates a /vmimages folder within / . This makes it dangerously easy for an Administrator to mistake it for the shared-storage repository and copy images into it that will fill / . As a failsafe to help prevent this, a small custom /vmimages partition can be created. If the local /vmimages folder is actually used, this size may need to be increased.
/var ext3 2.0GB The /var partition stores most system logs. Creating a custom /var partition provides substantial, dedicated log storage space (/var/log) while protecting the / partition from being filled by log files. Normally /var is part of the / partition.

 

  • The installer also automatically creates the following partitions without displaying them:
/boot ext3 260MB /boot stores the files necessary to boot the service console.
  vmkcore 100MB The vmkcore partition temporarily stores log and error information should the VMkernel crash.

 

Besides being a good test question is there really any reason not to “just go big”?  Most servers now ship with well over 50GBs of local storage. So why not create bigger partitions for the ESX Service console?  I would use the local VMFS partition as a temp storage to put some ISO or clones of virtual machines.  This would be just a place of temporary storage for me. This conversation becomes mute with ESXi and there are rumors that soon there will be just ESX(i) and the service console becomes a memory.  I am not a big fan of losing the service console but not much else I can do except rant a little when I can. By the way, “/boot” has been increased as a “safety net” for future upgrades to ESX(i).

Rich recommended setup is as follow and for the most part I agree completely

Primary:
/     - 5120MB
Swap  - 1600MB
Extended Partition:
/var  - 4096MB
/home - 2048MB
/opt  - 2048MB
/tmp  - 2048MB
I might even say to add 1GB to each partition in his example, except for the Swap partition. So what about you? How big is yours?


Where to download VMware Cold Clone

by Steve  | November 19th, 2009

I had the opportunity recently to try to help a friend on his quest to P2V a Microsoft ISA Server.  We tried all sorts of different setting to allow communication between the ISA and in this case both Virtual Center and a Platespin server trying to get either one to be able to discover and migrate the ISA Server.  We added the conversion servers to the management group on the ISA box and disable RPC checking and still no dice.  We actually got a little further with vConverter by getting it to connect and install the client but it was not getting any further in the conversion process.  I am sure if we had more time we could have figured out the ports that needed to be opened but, time was not on our side.  Did you know that you can still get a cold clone CD from VMware?  I was looking through all the VI install files for all the vConverter files and was coming up empty but I found a blog post with its location and thought it would be worthwhile to re-post the post by Vladan Seget on the www.vladan.fr blog site.  The original post “VMware Cold Clone to Convert your Physical Machines, Where to get it?” can be found here

You cannot do a hot conversion every time.  Sometimes you need to perform a cold clone to convert your physical servers. Then you’re asking, where to get the converter cold clone boot CD?

So, there exists the cold-clone disc. This is a bootable CD-ROM disc that you actually boot the physical server from. The disc contains a pre-installed Windows 2003 image that runs a built-in version of Converter. Since you boot from the CD, none of the server’s processes start-up so you can get a good clone of the hard drive.

In case you want to download you must go and:

Make sure that you log-in before you download. This means that you have to have an Store account, that means that you have already bought some product with VMware before.

Source: VMware


Let’s Talk About VMware DPM

by Steve  | November 10th, 2009

Today’s topic is going to be about VMware’s Distributed Power Management or otherwise known as VMware DPM.  If you have not heard about VMware DPM before, I found an interesting video interview with Anne Holler who works at VMware as a Senior Staff Engineer.  I found this interview at Vladan Seget’s ESX Virtualization site here and it is worth checking out.  The video is pretty short, only about four minutes in length and gives a pretty good overview of how VMware positions DPM in conjunction with HA and DRS.

In a lot of the environments I have worked in over the years actually had most of the processing power happen at night during the backup process.  Actually at one point I had a cluster that was oversubscribed to put it mildly.  If you have ever driven a standard transmission then you know about the red line on the tachometer that you should not go over or the engine would blow up.  Let’s just say my oversubscribed cluster was riding that line during the day and when the backup schedule kicked off I actually saw CPU% on the individual VMware ESX hosts themselves reach levels of 102%.  Just like clockwork ever day when the backup’s kicked off the host would really max out.  Pretty cool to watch but I digress.  The point is I am not sure I would really think about using VMware DPM in my production environment.  Now if I just built a brand new ten node cluster what was designed to cover the growth for x amount of time and I had just gotten started with putting virtual machines on the cluster then sure why not set that up?  I would have plenty of resources available that I would feel pretty confident about that but in most places that I have worked or spent any time at there was not really that amount of spare resources and most customers were always trying to cram as much as they can on the clusters.

VMware DPM was actually introduced in Virtual Center 2.5 and VMware ESX 3.x as an “experimental” feature and only had one way of ‘waking’ a server and that was with a magic wake on lan packet.  That worked great until you rebooted Virtual Center or restarted the Virtual Center server service for any reason.  After the reboot Virtual Center would see the host as down and was not able to bring it back to life.  That was one reason why the technology was experimental at the time.  Now in vSPhere, VMware DPM actually has three different wake methods it can use to bring the host back up. Along with using wake on lan DPM will also use IPMI wake and ILO wake. One other really cool thing that was added to VMware DPM was the ability to schedule when an ESX host would wake back up.  So if you know you were going to have a heavy load at 9am you could schedule the host to wake up at 8am to be pretty for the start of the business day.

So to recap, I am not sure that VMware DPM would be something I would setup and use on a regular basis.  I have also worked in certain environments that the Change Control Board would literally lay an egg if they knew that hosts could and would shut down for any reason. 

That is my take on this. So what’s your take on VMware DPM and are you using it currently in your environments? I would really like to what you all have to say and think on this? Inquiring minds want to know.


Configuration Control - TripwireTripwire's solutions for virtual and physical infrastructures provide comprehensive configuration management, improving availability, security, and compliance.
x

Subscribe to The Virtual Black Hole RSS Feed Email Notification

Enter your email address:

Delivered by FeedBurner