Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Windows server 2012 R2 Datacenter : How to create Hyper-V which will be the replica of host OS

$
0
0

Hello Everyone,

Recently we purchased a brand-new IBM server and installed Windows 2012 R2 Datacentre, SQL server 2012, TFS server 2013, etc. 

We would like to generate the hyper-v (VHD) file which will the replica of the above OS and will run as guest OS from the above server. Can anybody advise me how to develop the hyper-v, VHD file of Windows 2012 R2 Datacentre host OS?

If in case I required to do the all installation again on a new Hyper-V machine then can I generate the C:\ and D:\ partitions same as what I did on host operating system?  

Any help would be much appreciated.


Thanks, Ankit Shah


Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html



disk2vhd efi vhdx vm fails to boot (solved)

$
0
0

Edit:  I was able to work around this.  From what I've read, a bare metal restore from a physical to virtual machine is not supported, but that's what I tried and it worked beautifully.  The only thing that went right today.

So, disk2vhd isn't needed (and as we've seen, didn't work).  Instead I took these steps:

1. Control Panel -> File History.  After it finishes searching for drives, at the bottom left of the page is a link to System Image Backup.  Run it, and select a target drive for the backup.  I used a 64Gb key drive.  Next, it will show you the volumes that will be backed up.  It automatically selects (and you cannot deselect) the volumes required for a bare metal restore.  Any additional volumes are optional.  You'll probably want to deselect the target drive for the backup.

2. After the backup is complete, either move the drive over to the Hyper-V host or access it over the network.

3. In Hyper-V Manager, create a VHDX virtual disk from the backup drive.  Then create a blank VHDX that is at least the size of the original machine's system disk (which may have multiple volumes).  In my case, this was a 2Tb disk, to which I added an extra 128Gb just to be sure.  This isn't the size of the image backup, it's the size of the disk from which the image backup was taken.  I made my disks fixed size.  I don't know if it would work otherwise.

4. Create a Gen 2 virtual machine (this was necessary for me since my original machine used EFI boot).  On the SCSI host adapter, attach the blank disk that will take the image restore, and attach a second disk containing the image backup (this can be deleted later). 

5. Create a second SCSI host adapter and attach a DVD drive to it (also may be deleted later).  Not sure if you really need the second adapter but I was just being cautious.  Assign the ISO image for your original machine's install disc (Windows 8.1 Pro Update 1, in my case) to the DVD.  Set the DVD to boot.

6. Run the VM and press a key when prompted to run from the DVD.  Select the Repair option, and drill down until you get to a page with the option for a System Image Restore.  Click on that and then select the drive containing your backup when prompted.  It will inform you that drive C: (your blank drive) will be wiped out and resized to match the original system drive that was backed up.  Then let it run.  In my case it took maybe three or four minutes, but it was a very sparsely populated 2Tb drive.

7. After the restore completes, you should be good to go.  After testing the new VM, I deleted the second SCSI disk with the backup image, as well as the DVD and its host adapter.

=================================================

I ran disk2vhd on a recently built Windows 8.1 x64 machine.  The conversion completed successfully, but I'm having no luck finding the right recipe to booting it in Hyper-V on a Server 2012 R2 machine.  I've tried both Gen 1 and Gen 2 (with and without Secure Boot enabled).  In both cases it apparently fails to find a boot loader.  The virtual disk is VHDX.

I ran disk2vhd twice.  Once including the additional volumes Windows creates for EFI, and once without.  The result is the same either way.

Any help much appreciated.


I want to create network redundancy for all VMs , Which is better Create Team on two Physical NIC of hyper-v host Create teaming on two Virtual NIC ?

$
0
0

I want to create network redundancy

Which is better and why

Create Team on  two Physical NIC of hyper-v  host

Create teaming on two Virtual NIC

SAN Switch?

$
0
0

I'm brand new to Hyper-V, so please forgive me.

I'm trying to share disks for a cluster in Hyper-V. I see the Virtual SAN Switch button and sort of assumed I could create a fully virtual SAN Fabric and connect those to fully virtual HBA's on each guest. I think I'm wrong and need some guidance.

Do I need a physical (real) SAN Switch to do this? If so, how can i share disks using Hyper-V and not investing in hardware?

Thanks for any guidance!


Scott D Hastings, Sr.

Move VMs from Hyper-V 2008 R1 to Hyper-V 2012 R2

$
0
0
We have a server running Windows Server 2008 (NOT R2) with the Hyper-V role installed and 6 VMs, 5 Linux VMs and 1 Windows Server 2003.  I want to move them to our newer server running Hyper-V 2012 R2, but when I tried exporting and importing one of the Linux VMs it would not start (Kernel panic).  Is there a _right_ way to do this?  I want to get them off that server so I can upgrade it to 2012 R2 as well.

What a powerful machine I need?

$
0
0

Hello,

Beginner's question:

I want to study Windows Server 2012, Project Server 2013, and SharePoint Server on the same machine.

Could you tell me the minimum requirements for the configuration to run this software: Processor, RAM etc?

I would like to run all these apps without the warning (Not responding)

NB: I tried with an HP Pavilion HPE h9-1120ef Phoenix (Intel i5 and 16 GB RAM): I have to wait 15 minutes for opening Internet Explorer.

Thanks for your advices.

 


Snapshots of VM with iSCSI-Devices

$
0
0

Hi together,

I have a question to understand snapshots(checkpoints) of VM Guest OS with a connected iSCSI-Drive.

Here is my lab-enviroment:

- Hyper-V-Host Windows Server 2012 R2 Standard Edition

- Guest OS: Windows Server 2012 R2 with an iSCSI-Drive connected via the build-in iSCSI-initiator for fileservice, the system-drive is an IDE-Drive provided by the Hyper-V-Host (Standard vhdx-File)

- the iSCSI-target is another Server 2012 R2 with the iSCSI-Target-Role installed

I did the following test:

- Take a snapshot of the VM (in the Hyper-V-Host Folder you can see only one AVXDX-File, the systemdrive of the VM)

- Modify some files on the iSCSI-Drive

- Restore the snapshot taken before

The Result is, that the iSCSI-Drive is modified, when the snapshot is applied to go back in time. I don´t understand this? Where are the modifications to the iSCSI-Drive stored? I can´t see any files?

Can anyone describe this behavior?

Thanks for your help.

Best regards
André Diekmann


André Diekmann

What settings for Hyper-V virtual Switch?

$
0
0

HOST: Windows Server 2012 R2

Guest VM: Windows Server 2012 R2

When I went to create a virtual switch, the "Allow the management operating system to share this adapter"  checkbox was checked by default.

I also checked the VLAN ID, Enable virtual LAN identification for management operating system.

Sadly, this killed the connection on the host and I had to get back in through the KVM and remove the virtual switch I had created, just so I could ping or RDP into the server again.

SOOO...I did some research and found differing opinions, any of which I try, throws a warning message that this COULD kill the network connection on the VM's AND the host. Natrually this makes me a bit nervous:

This blog says to leave the defaults checked, including the "Allow the management operating system to share this adapter".

http://kb.iweb.com/entries/23649667-Windows-Server-2012-Create-a-new-virtual-switch-in-Hyper-V

While this blog says to disable the "Allow the management operating system to share this adapter" setting that is enabled by default.

http://blogs.technet.com/b/networking/archive/2010/06/04/not-able-to-access-the-hyper-v-host-machine-on-the-network-even-though-virtual-machines-on-that-host-machine-can-communicate-on-the-same-network.aspx

What to do?

There doesn't seem to be a lot of step by step instructions online for how to configure this, and what little information I did find seemed to be contradicted from one blog to the next.

Small business server 2011 - Dynamic VHD growing out of hand

$
0
0

Hello!

Recently we have been experiencing some strange growth in our VHD files to our SBS 2011.

The settings are like this:

The SBS has a C-drive which is assigned with a dynamic VHD file. The D drive is a static VHD.

Some months ago the server would not start up due to no space left on the partition where the host is keeping the VHD files. So we had to run a Disk Compact. This solved our problem.

Now here is the problem:

Even though the SBS C-disk has only used 50gb, of its total space of 150gb, the VHD file is now 175gb big.. And still growing, everyday.. The Disk Compact feature won't shrink it down to a normal size anymore, it just gets bigger and bigger.

I tryed to uninstall our anti-virus on the server, which reduced the growth somewhat but its still getting bigger.

Any suggestions on how to solve this? :)

Problem creating virtual machine on server 2008 r2 hyper-v

$
0
0

This is on Server 2008 R2 sp1, using hyper-v manager (not scvmm).  I am able to able successfully create a new VM is I take the defaults and let hyper-v manager save the machine to the c: drive.  However, if I choose to create it on a second drive (S: in this case, which is a iSCSI partition, connected as a physical drive using iSCSI initiator, not mapped, but the local administrators group has full rights to it), the creation fails with the error:

New Virtual Machine Wizard

The server encountered an error while creating <name I gave it>

The operation failed.

That's all, no additional details, no error number, and nothing in the event log.  It seems this is a permissions issue, since it works on the C: drive, but not sure how to fix it.  I used procmon to watch for errors, but nothing I saw appears to be helpful.  I see the directories being created on S:, and the sid.xml being created on S:, then the sid.xml is deleted and the folder structure is left, and the error message appears.  I'm doing this on the hyper-v server, running hyper-v manager as an administrator (account is in local administrator group).

Any help is greatly appreciated.

Configuring Item-level recovery for Hyper-V ( misunderstanding.)

$
0
0

Hi ,

Using DPM 2012  , Configuring Item-level recovery for Hyper-V

Based on this article http://technet.microsoft.com/en-us/library/hh757981.aspx

it say  "If you use a version of Windows Server before Windows Server 2008, you must have the Hyper-V role enabled on the DPM server to perform item-level recoveries. During item-level recovery, DPM has to mount the VHDs of the protected virtual machines."

What is meaning of windows server before windows 2008  , it is for the DPM itself or the hyper-V host server

and how to enable hyper-v role on "Windows Server before Windows Server 2008"

I don't understand  which server it mean ?

thanks

another article"http://technet.microsoft.com/en-us/library/hh758184.aspx"

Server prerequisites

Install the Hyper-V role on the DPM server. DPM protects Hyper-V virtual machines even without the role, but you cannot perform item-level recovery (ILR) unless the role is installed.


HyperV can't delete the checkpoint subtree

$
0
0

Before deleting the checkpoint, I use the Window server backup to backup hyperV. Now when I delete the checkpoint subtree, cannot to delete it. It prompts the following error. 



Move VM from server with DC to server with no DC

$
0
0

I need to move my newly created VM's to new server that does not have a DC. I run two web servers, small business and do not need a DC environment. My Web servers are just the way I want them , I did not want to rebuild everything so I did a P2V via the SCVMM SP1 instructions.

I set up a DC on a VM to ran the SCVMM SP1 and now have my VM's that work great on the Host when logged into the Domain.

PROBLEM:

When I log the host off the Domain the VM's are no longer available.

If I log the host computer back onto the Domain, the VM's are both available.

1: I can not import the VM's into the Hyper V manager unless Host is logged on Domain - WHY.

2: The VM's should run on the host without having to be logged onto the Domain.

3: How do I disconnect the VM's from the domain to run on a workgroup.

One VM's is logged on to the domain, that is the DC VM. The other is not and never was.

Problem is the Hyper V Manager requires I be logged onto domain to see VM's.

Anyone have a simple answer.

Thanks  

 

Implementing QoS on a Hyper-V Failover Cluster

$
0
0
Dear All,
        How can one implement QoS on a Hyper-V Failover Cluster.  If the network of the cluster is based on two teams (Virtual Machine and Cluster+Heartbeat+LiveMigration).  The Virtual Machine Team is used for Virtual Machines only and the other team (Management) is only used for (Cluster+Heartbeat+LiveMigration).  How would I configure both teams in order to implement QoS?   

server 2012 r2 live migration fails with hardware error

$
0
0
  • Hello all, we just upgraded one of our hyper v hosts from server 2012 to server 2012 r2; previously we had live replication setup between it and another box on the network which was also running server 2012. After installing server 2012 r2 when a live migration is attempted we get the message:

    "The virtual machine cannot be moved to the destination computer. The hardware on the destination computer is not compatible with the hardware requirements of this virtual machine. Virtual machine migration failed at migration source."

    The servers in question are both dell, currently we have a poweredge r910 running server 2012 and a poweredge r900 running server 2012 r2. The section under processor for "migrate to a physical computer using a different processor" is already checked and this same vm was successfully being live replicated before the upgrade to server 2012 r2. What would have changed around hardware requirements?


    We are migrating from server 2012 on the poweredge r910 to server 2012 r2 on the poweredge r900. Also When I say this was an upgrade, we did a full re install and wiped out the installation of server 2012 and installed server 2012 r2, this was not an upgrade installation.

Encounter Error when trying to inspect VHD

$
0
0

Hi Hyper V Guru,

I am trying to do inspect on the disk of my VM by right clicking the VM-> select settings -> Select Hard Drive -> and click on the Inspect. However I am encountering the error message: "An Error occurred attempting to connect to the virtual disk management service on computer 'localhost'. Cannot connect to the RPC service on computer 'localhost'. make sure your RPC service is running. what is actually the issue that happen?

Second query: how do I accurately confirm that my VM has no snapshot?

Third Query: if my disk is fixed vhd disk, is it possible to expand it? what are the best procedures and steps of doing this task? what I should notice properly before expanding? will there be any risk of expanding VHD? as this is our production exchange server and very critical, I am really worry of doing this.

Thanks for your attention.

Regards,

Henry

Hyper-V VMM Service terminated with the following error: Not enough storage is available to complete this operation.

$
0
0

I have a Windows 2012 R2 Hyper-V Host server that has been performing perfectly up until one week ago. This is a lab environment, but it is an important lab for testing deployments of Exchange, SCCM, ADFS, as well as desktop deployment scenarios using ADK 8.1. The point is its an important lab environment for my consulting firm.

The problem: About a week ago I fired up the host server and thevirutal machine manager service will not start. The error is as stated in the post above. 

The host is nowhere near out of disk space and the disk is not corrupted. All file checks and disk checks pass with no errors. The files have all been verified for accuracy. The available disk space on the system disk is 40GB. All of the VM Guests and the default machine configuration files as well as Vhdx files are stored on a separate disk that check out good as well with over 400GB free space.

The event log shows the error posted above and the only other error in the event log is Event ID: 46

\Device\HarddiskVolume7

Volmgr - Crash dump initialization failed. 

Disk 7 has nothing to do with the Windows Server installation or Hyper-V files.

The only other thing I did on this machine is create 2 separate partitions on a separate disk and install Windows 8.1 and Windows 7 as a dual-boot option. The problem did seem to occur after doing this but not immediately. I also, cannot make the connection as to why this would have caused the service to fail. The Windows 8.1 and Windows 7 files are on a completely different disk with the BCD boot options being the only configuration change that was made to the system disk or C:\Root drive.

Please help! It's important to get this fixed as soon as possible.

David Cook

dshcook@itsaboutsolutions.com


David Cook

NIC Team Configuration

$
0
0

Dear All,
           I am creating a Hyper-V Failover Cluster, but I am slightly confused on some aspects of it.  The servers have 4 NICs and I am planning to make two NIC Teams.  One for Virtual Machine and One for Management (Cluster+Heartbeat+LiveMigration).  The Virtual Machine NIC Team would be used as an external switch inside Hyper-V and the other NIC Team would be used only for Management(Cluster+Heartbeat+LiveMigration) with no connection to Hyper-V in terms or switch.  In such a scenario:

1.  How both teams should be configured? specifically the Teaming Mode and Load Balancing Mode of both teams? Switch Independent+Hyper-V for Virtual Machine and Switch Independent+Address Hash for Management Team?

2.  How would I be managing all the networks (Cluster+Heartbeat+LiveMigration) in terms of connections and networks on a single Teamed NIC for Management? Additional Interfaces through NIC Teaming Utility for each network?

Thanks in advance.

 

CSV error on Windows 2012 R2 Failover Hyper-V cluster

$
0
0

Hi,

I have this errors in event log after start DPM 2012 R2 backup:

(Windows 2012 R2 fully patched w/Update1 and hotfix 2929869)

-System
-Provider
[
Name]
Microsoft-Windows-FailoverClustering
[
Guid]
{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}
EventID5217
Version0
Level2
Task38
Opcode0
Keywords0x8000000000000000
-TimeCreated
[
SystemTime]
2014-04-21T20:31:13.426903900Z
EventRecordID5615
Correlation
-Execution
[
ProcessID]
4356
[
ThreadID]
6960
ChannelSystem
ComputerEDDIE.faf.cuni.cz
-Security
[
UserID]
S-1-5-18
-EventData
VolumeNames\\?\Volume{98ae3f87-4621-4e76-8bba-10afd5d59418}\
SnapshotSet07b87499-6257-4b62-a73b-a52f7c39bc5c

and

System
-Provider
[
Name]
Microsoft-Windows-FailoverClustering
[
Guid]
{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}
EventID5217
Version0
Level2
Task38
Opcode0
Keywords0x8000000000000000
-TimeCreated
[
SystemTime]
2014-04-21T20:31:13.538409800Z
EventRecordID5616
Correlation
-Execution
[
ProcessID]
4356
[
ThreadID]
6960
ChannelSystem
ComputerEDDIE.faf.cuni.cz
-Security
[
UserID]
S-1-5-18
-EventData
VolumeNames\\?\Volume{98ae3f87-4621-4e76-8bba-10afd5d59418}\
SnapshotSet07b87499-6257-4b62-a73b-a52f7c39bc5c
ErrorCodeHrError(0x80042308)(2147754760)

ErrorCode

HrError(0x0000139f)(5023)

Is any way to resolve it ?

Thanks,

Snake AG

Difference between Interfaces of NIC Team and Virtual NICs of Switch

$
0
0

Dear All,
           I am slightly confused about the difference between the intefaces that we create through NIC Teaming Utility in the Server Manager and the Virtual NICs that are created through Add-VMNetworkAdapter?  I have only created the interfaces through utility so I only know about them, but I have seen blog posts with respect to Virtual NICs as well and almost all of them have been done through powershell.  So, I would love understand them both and their use in respective situations.

Viewing all 19461 articles
Browse latest View live




Latest Images