Archive for category Hyper-V / Virtual Server
Hyper-V Server 2008 R2 Host backup (wbadmin)
Posted by Victor Tong in Hyper-V / Virtual Server, Windows Infrastructure on May 12th, 2011
Hyper-V Server 2008 R2 Host backup (wbadmin)
After using Hyper-V Server 2008 R2 (Free edition), I have a question about how to backup the Host.
I did research on Internet, most people is talking about using Windows Server Backup to do Host backup. Their instruction is based on Windows Server 2008 GUI.
Then, I tried to use the general server core approach to add Windows Server Backup to Hyper-V Server 2008 R2 to see if it works or not.
And the testing result is positive.
Steps for adding Windows Server Backup in Hyper-V Server 2008 R2
Step 1: Check if Windows Server Backup is installed by using the following command
oclist
Step 2: Use the following command to add feature
ocsetup WindowsServerBackup
Step 3: Check again to see if Windows Server Backup is installed
oclist
Step 4: Use the following command to do system backup with system state
wbadmin start -backuptarget:p: -allcritical -systemstate
Step 5: Backup completed
Failed to start VM in my i7-2600K Hyper-V server 2008 R2
Posted by Victor Tong in Hyper-V / Virtual Server, Windows Infrastructure on May 5th, 2011
MS Hyper-V R2 SP1 (workgroup), Virtual Machine failed to change state
Backgroud:
1. Download Hyper-V R2 SP1 from http://technet.microsoft.com/en-us/evalcenter/dd776191.aspx
2. This server is running in workgroup mode
3. Disable firewall for all profiles
4. Enable all remote access through sconfig
5. Connect through Vista and Win7 in same workgroup with using Administrator account (Same administrator’s password on all machines)
6. hosts file modifed with adding hyper-v server name and IP
7. Windows firewall is disabled on all clients and server.
8. HRremote run to configure anonymous DCOM on client.
9. Remote Management can access to Hyper-V server and create Virtual Machine.
Problem:
When I start Virtual Machine. It has the error message “XXXXX failed to change state”.
I tried to simulate this issue with W2K8 R2 to the same machine. But this issue does not appear in W2K8 R2. I faced this problem in MS Hyper-V R2 SP1 only.
I re-installed 3 times and this issue can be reproduced in my machine.
I tried W2K8 R2 Standard (Full and Server Core) without problem. I can use my Vista to manage it succesfully.
I checked in event viewer. It has an event 3040.
Log Name: Microsoft-Windows-Hyper-V-Worker-Admin
Source: Microsoft-Windows-Hyper-V-Worker
Date: 5/4/2011 9:27:08 AM
Event ID: 3040
Task Category: None
Level: Error
Keywords:
User: NETWORK SERVICE
Computer: hyperv
Description:
‘W2K8_R2_Trial’ could not initialize. (Virtual machine ID CEF2E5E4-97A1-4393-9B5D-24805C81BE09)
Event Xml:
< Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event“>
<System>
<Provider Name=”Microsoft-Windows-Hyper-V-Worker” Guid=”{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}” />
<EventID>3040</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0×8000000000000000</Keywords>
<TimeCreated SystemTime=”2011-05-04T01:27:08.857Z” />
<EventRecordID>14</EventRecordID>
<Correlation />
<Execution ProcessID=”808″ ThreadID=”2224″ />
<Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
<Computer>hyperv</Computer>
<Security UserID=”S-1-5-20″ />
</System>
<UserData>
<VmInitialize xmlns:auto-ns2=”http://schemas.microsoft.com/win/2004/08/events” xmlns=”http://www.microsoft.com/Windows/Virtualization/Events“>
<VmName>W2K8_R2_Trial</VmName>
<VmId>CEF2E5E4-97A1-4393-9B5D-24805C81BE09</VmId>
</VmInitialize>
</UserData>
< /Event>
Solution:
Finally, I find out a hotfix which is related to this issue.
KB2517374: “You cannot start virtual machines on a computer that is running Windows Server 2008 R2 and on which a CPU is installed that supports the AVX feature”
http://support.microsoft.com/kb/2517374
After applying this Hotfix, I can start the Virtual Machine.
Total views: 23,665 viewsMS will not provide hardcopy certificate anymore
Posted by Victor Tong in Active Directory, Exchange Server, Hyper-V / Virtual Server, Uncategorized, Windows Infrastructure on July 17th, 2009
Today, I receied July 2009 MCP Flash. It has big news. MS will not provide hardcopy certificate by default. If you need hardcopy, please pay $$$.
In my career, I took a lot of MS exam and got a lot of MS certificates. If they need me to pay extra $$ for my certificate, I will consider to end my MS certificate plan.
If you are not agree to MS new certificate arrangement, please goto the following url to express your angry and complain.
I left my comment to this url too.
Actually, I paid a lot of effort to take different MS exam from NT4 to Windows 2008. If exam will not provide paper printout certificate any more, I consider to discontinue my MS cert path in coming future. And in my peer group, I am one of the driver to encourage my peers to take MS exam. In coming, I will discourage my peers to take MS exam and technology. I am strongly disappointed to this arrangement.
I would like to propose the following suggestion for MS if they are really consider to our voice.
1. establish a plan for existing holder to choose to maintain the existing plan. They can order paper certificate w/o paying extra shipping and handling charge
2. Discount the exam fee (Not a short period to CHEAT user), deduct whole shipping and handling fee.
3. Send me an official email and tell me that it is MS new arrangement.
And please note it in the email “if you don’t accept it please do not use MS product”.
I am vvvvvery angry w/ this new arrangement.
I just planned my OCS and W2K8 virtualization in coming months. I will cut it. And I won’t suggest OCS as Enterprise Voice and IM solution to my customer. I will not suggest Hyper-V as Virtualization platform.
I will not take Win7 exam for driving new Desktop deployment.
Angry Loyal MS user
Victor Tong
http://www.0101news.com/?page_id=165
Virtual Server to VMware Server
Posted by Victor Tong in Hyper-V / Virtual Server, VMware on July 12th, 2009
Previously, I built my testing lab by using Virtual Server 2005 SP1.
Currently, I am running VMware Server 2.0 (64-bit) in my Vista box. And I am going to convert vhd file to VMware Server.
I downloaded VMware Converter 4 from VMware.com. I found that this tool can help me to migrate vhd file to VMware server easily (Very Easy).
Screens:
Complete convertion.
You can find converted file in your defined path.
Add this VM to VMware datastore.
Total views: 3,603 viewsVista Diskpart: Extend Volume
Posted by Victor Tong in Hyper-V / Virtual Server, VMware, Windows Infrastructure on June 28th, 2009
I have a W2K3 VM that has a 16GB virtual disk. And I just assign 8GB for the volume. Recently, I found 8GB volume is not enough. I am going to extend this 8GB volume to 16GB volume.
This post is talking about how to use diskpart in Vista Repair mode to extend volume.
Steps:
1. Boot Vista DVD in repair mode
2. Launch command prompt
run diskpart
list volume
3. select the volume that you want to extend
4. Run “extend” syntax
5. Volume extended.
Install Virtual Server 2005 SP1 on Vista
Posted by Victor Tong in Hyper-V / Virtual Server, Windows Infrastructure on June 22nd, 2009
If you are going to install Virtual Server 2005 SP1 into Windows Vista, you will find that it is not easy to install pre-requisite one by one.
Following is a batch file which can help you to install all required components for Virtual Server 2005 SP1 installation.
- Download the following file and rename it from virtualserver_vista.txt to virutalserver_vista.bat.
- Run virutalserver_vista.bat
- This bat file will help you to install required components
File: virtualserver_vista.txt
Comments