Technorati Tag: Infrastructure,Virtual Server
- Deploy Virtual Server R2 (more information here)
- You'll need an Host server for the new virtual machines;
- You'll need a Virtualizer server to perform the conversion job;
- You "should" have a Target server to virtualize.
- Add the required components on the Virtualizer server:
- For each Target server that you have to virtualize (moving it on the Host server):
- Delete unused spaces and defrag local disks.
If you've Dynamic-Partition you need to convert them back to Basic
(it's not so easy and PAY ATTENTION you can only virtualize system with Basic-Partions!) - Copy locally and Run gatherhw.exe.
It will generate servername.xml and copy it back to the virtualizer server. - Check that everything is fine with:
VMScript.exe /hwvalidate /hwinfofile:servername.xml - On the Virtualizer server run the following command to generate the migration scripts: vmscript /hwGenerateP2V /hwInfoFile:<GuestMachine>.xml /name:<VirtualMachineName> /vmConfigPath:<Your VSMT Directory>\vmconfig /virtualDiskPath:d:\vmdisk /hwDestVS:<YourVSMcahine> /virtualDiskDynamic /vmMemory:256
- Check that PXE support on your host server network card is on (to boot from the network)
- On the Virtualizer server run the following commands:
- C:\<VMST Directory>\p2v\<GuestMachine>\<GuestMachine>_Capture.cmd
this will create the image and at the end of the process wil shut-down the Target server. - C:\<VSMT Directory>\p2v\<GuestMachinet>\<GuestMachine>_CreateVM.cmd
this will create the configuration file for the new virtualized server (.vmc). - C:\<VSMT Directory>\p2v\<GuestMachine>\<GuestMachine>_DeployVM.cmd
This will link the configuration to VirtualServer starting the new virtualized server.
Final Note (unfortunately last but not least):
VSMT doesn't support Dynamic-Partition. Every "real" WIndows server system is installed with Dynamic-Partion
...so any consideration is up to you...
The only thing you can do is to TRY to virtualize the disks of you server with WinImage without leveraging VSMT.
There is a lot of work to do for VSMT team for making it suitable for real world scenarios!
No comments:
Post a Comment