Showing posts with label Virtualization. Show all posts
Showing posts with label Virtualization. Show all posts

Thursday, June 11, 2009

Hyper-V Config 4096 Error

In my case it was old references to removed VMs on my Hyper-V host: 
"The Virtual Machines configuration DC6D0B26-9438-4504-9500-73342A42EC0B at 'E:\UTIL02-VM' is no longer accessible: The system cannot find the path specified. (0x80070003)"
So, I just delete configuration reference XML file  "DC6D0B26-9438-4504-9500-73342A42EC0B.xml" from: 
"C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines"
But be careful, do not delete valid reference!

Monday, November 10, 2008

Virtual servers drive size on ESX 3.5

From http://techblog357.blogspot.com/2008/01/esx-server-35-general-system-error.html:

"The problem? A general system error occurred: The file is too big for the filesystemThis was the error I received when attempting to create a 600GB Virtual Disk on VMWare ESX Server 3.5.This was a problem. I learned the reason why though. Since I partitioned the storage volumes during installation the installer used block size 1 which only allows Virtual Disks of 256GB.The solution? Reformat the volume with larger block sizes.
Block size Max Virtual Disk size:

1 - 256 GB
2 - 512 GB
4 - 1024 GB
8 - 2048 GB"
I had same problem.

Tuesday, August 05, 2008

Add ESX server license to VMware Virtual Center

1. Copy a generated license file to the VMware license server directory (default - C:\Program Files\VMware\VMware License Server\Licenses).
2. Run VMware License Server Tolls - goto "Start/Stop/Reread" Tab - Push "ReRead License File" Button.
3. After that you can connect with VMware Host.
4. If VMware Infrastructure Client connected to Virtual Center still show evaluation mode, you need to go to Administration - VirtualCenter Management Server Configuration - License Server and ucheck "Evaluate VirtualCenter Server" check box and choose "Use license services on this VirtualCenter Server" radio button (if the license server installed locally).

Wednesday, July 30, 2008

VMware Licensing for Foundation Edition ESX 3.5

It is same for 3i.
Just a couple of points:
  1. You must register your VMware software on www.vmware..com/lisensemgmt site
  2. After registration you need to create and download both licenses: VI3 foundation edition and VI3 Consolidated Backup
  3. Open foundation license and consolidated backup license file with NOTEPAD and merge them in one file.
  4. From VMware Infrastructure Client - Configuration - Licensing Features: Point to the merged file as the Host License File.
  5. Under Add-Ons (Edit) check the box against Vmware Consolidated Backup.

Thursday, March 06, 2008

Mouse does not work after converting MS VM to VMware VM

Before any conversion uninstall MS VM tools.
After conversion if mouse does not work in VMware infrastructure Client console session - in my case it just disappers from the console, try to do next from http://www.petri.co.il/forums/archive/index.php/t-19387.html
" go into the registry and navigate to the keyHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}
Remove the value msvmmouf from the UpperFilters Regvalue.Reboot....
tadaaa!!
If you wish you can take out the drivers completely by deleting these registry hives completely :
The driver:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\msvmmouf
The Service:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\VPCMapThe CopyHook Shell Extension: ( for folder access )HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{30C14BA C-122C-42ED-B319-1139DBF48EB8}\InProcServer32HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandle rs\VPCCopyHook
After a reboot you can delete the "Virtual Machine Additions" folder from program files..."

Tuesday, February 19, 2008

Manual P2V conversion using paragon image

Recently I did conversion of windows 2000 sp4 server to the VM on Microsoft Virtual Server 2005 R2 sp1. Here are steps:

Create a blank VM with fixed disk. The disk size should be enough to accommodate all partitions of the physical server.

Create an image of system partition (c: -drive) of the physical server using an image software - I did use Paragon Drive backup 8.51 Server edition. Copy the image to a network share (do not use a domain controller share)

On virtual server host insert paragon recovery CD and restore the C: partition to the new VM created in step 1.

Now we need to replace HAL on VM, insert OS CD in my case windows 2000 sp2 and run repair (non-destructive) on windows installation.

After repair the VM OS should start (start it without network connection) - remove it from domain and change IP address. You need to apply all windows service packs and updates, which was on the physical server.

Now (if applicable) you need to create additional partitions with same drive letters as on old physical server (in my case e: and g:), the size of the partitions is not important as long it will be bigger as used space on the old server.

After that copy folders from the old server partitions to the VM partitions and it should restore all previous shares.

Basically we done, but remember until it is finished start up of VM might be painfully slow - sometimes 20-25 min. And it is recommended before doing image disable all unneeded services and remove unneeded applications, antivirus and network teaming.

Monday, December 10, 2007

WVS from VS 2005 conversion

from http://faq.windowsvirtualization.com/
"Currently, there is no direct import capability, so it’s largely a manual exercise. A Virtual Server VM consists of a configuration file (.vmc) and one or more data files such as Virtual Hard Disks (VHDs) and other media such as .ISO and .VFD. For the purposes of migration, it’s the VHDs which are the most important ones as these obviously hold the important data.

If your VM is using a shared SCSI bus as part of a test/dev cluster, stop now. You will have to break your cluster, migrate one node and move to an alternate form of shared storage such as iSCSI for migration. That’s a blog post for another day and I won’t be covering that in this post.

…

The first real consideration is the Virtual Machine additions which will likely be installed in your VM. If they are, it’s may be easier to remove them before bringing the VM into WSv. If you know you have the latest version of the VM additions from VS 2005 R2 SP1 (v13.813), you can uninstall the additions when the VM is booted under WSv, but earlier versions of the additions may fail to uninstall when booted under WSv. If you’re unsure of which version you have installed, it’s best to uninstall while you have a working VM under Virtual Server. Once the additions are uninstalled, make sure the VM is shut down, not saved. Saved states are not compatible between Virtual Server and WSv.

Now copy all the VHDs configured in your VM across to your server running WSv. Let’s assume for the time being that this is the simplest case where there is a single VHD for the VM. Simply walk through the new virtual machine wizard and attached the existing VHD. Easy, yes?

If you have more VHDs to add, at the end of the wizard, choose to not start the VM. Instead, open the settings for the newly created VM and add each VHD in turn to the configuration. If you need more than four VHDs (or three plus a CD/DVD), attach a SCSI controller and attach the remaining VHDs to the SCSI controller instead.

You may now have some questions. The one I’m particularly thinking you’ll ask is what if my VM under Virtual Server was booting from an emulated SCSI controller, not from IDE. The answer is relatively long winded and I’ll explain another day, but if that is the case, attach the boot VHD to the IDE controller 0 at location 0. It should still boot. The less obvious one question was what if my boot VHD was on SCSI and is > 127GB in size? Again, the answer is for another day. Just use IDE and trust me!

If the VM is not yet running, start it, connect to it and login. You will probably be presented with the new hardware wizard. Cancel it by pressing escape for now. As an interesting experiment, especially if you ended up adding drives to a SCSI controller, you’ll notice that they won’t show up yet in Disk Management or Explorer. That’s because you don’t yet have the drivers installed for the “synthetic” SCSI controller. They will be installed with the Integration Components.

Insert the Integration Components CD from the Action menu option in the Virtual Machine Connection application. It should auto-play, but if not, run setup.exe from the \support\x86 directory. Follow the prompts and reboot as requested. On completion, your VM should be good to go.

One other point for Windows Server 2003 VMs, I would strongly recommend you upgrade to SP2 if you haven’t already to gain the maximum benefits of running under Windows Server virtualization. Otherwise, go have fun!"

Monday, September 18, 2006

Virtual Server 2005

WinImage version 8.0 can mount and create VHD images from physical machine.
Good article - but a little bit old - about P2V and V2P conversion: http://www.dbazine.com/sql/sql-articles/cook14