The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Virtualization’ Category

Synchronize your NTP time using pool.ntp.org: the internet cluster of ntp servers

Posted by jpluimers on 2011/07/15

If you use NTP for syncing your time, then choose pool.ntp.org as your time server:

The pool.ntp.org project is a big virtual cluster of timeservers providing reliable easy to use NTP service for millions of clients.

I use it for instance to synchronize the time on my ESXi servers.

Note: when you run Windows VMs as ESXi guests; let ESXi time-sync them through the VMware tools, and disable Windows’ own time syncing. I didn’t disable it, and my Windows VMs were consistently off by over 30 minutes.

–jeroen

via pool.ntp.org: the internet cluster of ntp servers.

Posted in *nix, ESXi4, Power User, VMware, Windows, Windows 7, Windows Vista, Windows XP | 4 Comments »

Resize your VMware ESXi/ESX/vSphere disks (via JJClements.co.uk)

Posted by jpluimers on 2011/06/13

James Clements explains how to resize your VMware ESXi/ESX/vSphere disks.

You can resize the disks live when using ESXi/ESX/vShere 4 and up.

When using Windows Vista or 2008 and up, you don’t need special tools for resizing the partitions on those disks: the built-in disk manager can do it.

When using Windows 2003 Server, Windows XP or less, then you need the EXTPART tool from Dell as explained by GeekSeat:

All you need to do now is provision the extra space to the VM, then run the tool at the command line and follow the wizard:

C:\>extpart.exe
ExtPart - Utility to extend basic disks (Build 1.0.4)
(c) Dell Computer Corporation 2003
.
Volume to extend (drive letter or mount point): c:
Current volume size : 66285 MB (69504860160 bytes)
Current partition size : 76285 MB (79990815744 bytes)
Size to expand the volume (MB): 76285

that’s it – job done . . zero downtime (watch out of course . . this works differently if you have a clustered disk to extend – see: http://geekseat.wordpress.com/2011/01/25/replacing-clustered-storage-for-a-sql-cluster-emc-ce-ms-clustering/ )

Note the “Size to expand” is actually the number of MB you are adding to the volume as Redelijkheid explains.

Sometimes you need to do this in multiple steps as diskmgmt.msc does not always give the free partition space in megabytes.

There is no need to reboot after expanding using ExtPart.

Edit: 20111222; you can download ExtPart through the DELL web-site; there are also direct http downloads of the EXE and README, and direct ftp downloads for the EXE and README.

If you don’t trust ExtPart, there is always the GParted way as explained by BleepingComputer.com.

–jeroen

via: 

Posted in ESXi4, ESXi5, ESXi5.1, Power User, VMware, VMware ESXi | 2 Comments »

Removing the VMWare Server SSL Certificate Trust Warning – via: IIS Hacks | Server and System Administration

Posted by jpluimers on 2011/05/09

When you install VMware Server 2.0 on Windows Server 2008, Internet Explorer will give you a warning that it cannot load the local VMware Server console web-site at https://servername:8333.

The reason is that the security certificate is self-signed by the local machine, not by a trusted CA.

Internet Explorer does not allow you to add that CA, but you can from within Windows Explorer.

The Removing the VMWare Server SSL Certificate Trust Warning article explains how.

Note that on x64 Windows Server 2008 systems, the VMware Server certificate by default is in the C:\Program Files (x86)\VMware\VMware Server\SSL directory.

Finally, you will need to add https://servername:8333 to the trusted sites in Internet Explorer.

–jeroen

via: Removing the VMWare Server SSL Certificate Trust Warning – IIS Hacks Server and System Administration

Posted in Power User, VMware | 2 Comments »

VMware Workstation and multi-core hosts/guests

Posted by jpluimers on 2011/05/06

With the gaining popularity of Desktop systems with multi-core processors, it becomes interesting to use multi-core CPU guests in VMware workstation.

Right now, Intel Core i3 through i7 processors can provide from 2 to 6 cores, some cores even supporting hyper-threading and providing 12 virtual cores using a single physical processor.

Does it make sense now to run all your VM guests with multiple virtual cores / vCPUs?

On the VMware forums and knowledge base, there are many threads and articles with information on vCPUs.

The consensus is that VMware workstation can take longer to schedule a synchronized set of cores for a VM than VMware ESX(i) has, and the host OS needs CPU cycles too.

The reason is that VMware workstation needs the underlying host Operating System for that, whereas ESX(i) has it’s own kernel.

In the VMware workstation 7 beta, under some circumstances, adding more vCPUs actuall made the guest run slower (this has been fixed).

You need to be careful when vCPUs in the guest compete with pCPUs in the host; it can lead to frequent freezes in the guest.
The rule of the thumb is that you should not use more than 50% of the host pCPU cores as guest vCPUs.

So the best is to start with one (1) vCPU, and only crank it up when needed.
Take into account however that for Windows XP you will need to  change the HAL to support multiple CPUs, which can be a pain.

In some cases it can pay off big to increase the number of vCPUs, especially when they are actually used.

Another thing you need to be aware of is that modern CPUs van vary their clock speed, now even depending on the number of cores used. In the past this had influences on timekeeping, but not so any more with modern Core i# processors.

Finally, with the increase of hard-disk space, people use snapshots more often. This can dramatically decrease the performance, as the number of open files per VM increases.

I hope this helps you choosing the number of vCPUs in your guest.

–jeroen

Note: Both VMware ESXi and VMware Workstation 7.1+ can even support vCPU with multiple cores to help cope with guest OS CPU licensing limitations: set the cpuid.coresPerSocket property in your vmx for that.

Posted in Power User, VMware | 1 Comment »

VMware Workstation 7.1.4 and VMware Player 3.1.4 released (Build 385536) #vmware

Posted by jpluimers on 2011/04/01

Earlier this week, VMware released Build 385536 of both VMware Workstation 7.1.4 and VMware Player 3.1.4.

Since I use a lot of USB equipment, I love the fixes they did in that area.

Also, since I use Windows 7 a lot, I appreciate the support for Windows 7 SP1 as well.

–jeroen

Posted in Power User, VMware | Leave a Comment »

Increasing your Windows XP NTFS disk size under VMware Workstation 7

Posted by jpluimers on 2011/02/11

Searching how to increase your Windows XP NTFS partitions of Virtual Machines running under VMware Workstation 7 gets you a truckload of links trying to get you to do all sorts of  command-line like vmware-vdiskmanager and such.
That was indeed the case up till VMware Workstation 6.5, but from version 7 on, it has become much easier.
But the links with difficult steps keep appearing at the top of the search queries.

Hence this blog entry: increasing the NTFS partition size in a Windows VM is easy!

The increase is a two step process:

  1. In VMware Workstation,  increase the size of the physical disk
  2. Increase the NTFS partion on that physical disk

Step 1 has become much easier since VMware Workstation version 7, you can do it from within VMware Workstation now.
Dinesh describes this small process very well in his Expand Disk in VMware Workstation 7 blog postRead the rest of this entry »

Posted in *nix, Power User, VMware, Windows, Windows 7, Windows Vista, Windows XP | 1 Comment »

my 2010 blog in review

Posted by jpluimers on 2011/01/03

Don’t you love automated stuff.
Wordpress has a helper monkey that wrote me an email with stats, very similar to the results below.

From the stats page, I already know that popular posts not only include Delphi (where I originally came from) but also lots of other technologies: vmware, .NET, JRE, infrastructure.
Currently I’m doing quite a bit of iPhone/iPad work, so that likely will be reflected in the results next year.

What amazes me is the most popular day: according to the helper monkey it had 1 view :-)

Don’t you love the computing business :-)

–jeroen

Helper Monkey Results

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow. Read the rest of this entry »

Posted in Delphi, Development, Power User, Software Development, Virtualization, VMware, VMware Converter | Leave a Comment »

VMware workstation guestappscache directory with GUID based filenames: they are for Unity support

Posted by jpluimers on 2010/10/29

After upgrading VMware workstation, I noticed when making backups of my VMs that they contained lots of files in the guestappscache subdirectory that have names containing GUIDs.

I’m always wary for sudden seemingly random files being created.
It might be just some kind of virus slipping through the gates targeting a specific vulnerability.

The files appear to be for Unity, and it is easy to disable Unity. (I don’t use Unity: I use VMs to separate work and keep the clutter away from my host machine’s desktop <g>).

–jeroen

via: VMware workstation guestappscache directory – Google Search.

Posted in Power User, VMware | Leave a Comment »

Change your ESXi machine’s network hostname, DNS information (and SSL certificate)

Posted by jpluimers on 2010/10/22

Since you do this only once per server, it is easy to forget (I do) where to specify the hostname of your ESXi server.

vm-help.com describes in Change your host’s network name how easy it is in ESXi 3.x (and also how to change the DNS information and SSL certificate).

ESXi 4.x is very, but not completely, similar Read the rest of this entry »

Posted in ESXi4, Power User, VMware | 1 Comment »

Great new ESXi 4.1 feature: USB Pass Through

Posted by jpluimers on 2010/10/18

A great new ESXi 4.1 feature us the much simplified support of USB Pass Through.

In fact it is one of the biggest reasons I updated so quickly; I have been running it now for almost 3 months now. Read the rest of this entry »

Posted in ESXi4, Hardware Interfacing, Power User, USB, VMware | 3 Comments »