Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Tuesday, December 18, 2007

Windows Server 2008 Hyper-V

Microsoft today had a webcast to announce what many people in the industry already knew, Windows Server 2008 Hyper-V. This is not an updated version of Virtual Server 2005 but a hypervisor from Microsoft. My boss expects it take over VMWare in a couple of year but I'm not sold yet. I am surprised at how developed (at least on paper) it already seems to be. Microsoft says it has support for Windows product lines and Linux (Novell now, Redhat in January) in their presentation. You can deploy it with 2008 Server Core as well. Hyper-V costs $28 which seems insanely cheap for Microsoft, the presentation said you can spend $28 and consolidate your Windows 2003 machines on it. I will have to download 2008 RC1 with Hyper-V and check out the features more in depth.

Things that stood out in the presentation.

Hyper-V server costs $28!
Low overhead design from the beginning (for Microsoft).
Server Core.
MMC 3.0 UI.
1/3 cost of VMware (Says Microsoft)

I tend to believe that last point since people are already familiar with the Windows world but not VMware when they are virtualizing. Of course if you are virtualizing mostly none Windows machines I'm not sure if Hyper-V will work. It does seem fatter as the hypervisor / Server Core both need to be (I think) in order to provide all functionality and it needs more hardware (memory) than VMware.

Links: Here are some links for Hyper-V.
Download Hyper-V
Hyper-V Overview

Netbackup VSP tmp file locks

I work on a Netbackup 5.0MP6 Windows Master Server and sometimes on clients the drives fill up with VSP tmp files. They use every single bit of space and the official fix from Veritas is to reboot the server and then delete the files. Not a very good solution if you have any kind of real server environment. Here is how you can get around that.

The symptoms: Symantec Netbackup creates tmp files on the root drives to backup open files on Windows clients, these are suppose to be deleted after the backup but they often do not ending up filling the drives to capacity. They look like these files.

_vxfiVspCacheFile_1.tmp
_vxfiVspCacheFile_2.tmp
_vxfiVspCacheFile_0.tmp

The cause: Virus scanners, including Symantec's own Norton antivirus puts locks on the VSP (Veritas open file backup) tmp files and they do not get deleted. The only sure fire way to delete them is to reboot the server.

The solution: I have heard this does not always work but I've never had a problem with it on Windows 2000 or 2003 servers. We can use a little program called Process Explorer from Microsoft (System Internals) to unlock the file and delete it. First stop your antivirus from its' real time scanning. Then start up Process Explorer and put in the Vsp tmp file name that shows up on your drives (they could be hidden). Process Explorer will fine the handle locking them and you can right click and close the handle locking these files. I recommend that you try Process Explorer on something else first if you've never used it since you can close any handle and blue screen your box if you don't know what you are doing. Once the handle is closed, you can delete the tmp files, turn antivirus back on and pick up your fat raise... yeah right.

Now how do we prevent it? No good way really, turn off virus scanner? yeah right. Turn off open file backups in VSP? If you don't need it. Don't use Netbackup, haha. With Windows 2003 you can use VSS (Windows built in Volume Shadow Copy Service or Volume Snapshot Service or VSS... Microsoft...) in the newer version of Netbackup (6.5 for sure) but I haven't tried this yet. Maybe it will work better since VSS lets you set max amount of disk space to use.

Links: I used the following in my original search to solve this problem.
MCSE forums
Bob's Blog
Download Process Explorer