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

Hosts, Guests, and Domain

$
0
0
I have two server boxes. 
Server box #1 I've loaded Windows Server 2008 as the (hyper-v) host OS, plus SBS 2011 as a guest OS. 
Server box #2, I want to load Windows Server 2008 as the host OS and a guest OS of Windows Server 2008. 
I'm assuming that the host OS on server box #1 can just stay on 'workgroup'. SBS 2011 of course is a domain controller for my new domain. On server box #2, I want the guest OS to be on the same domain as SBS 2011. Should I put the host OS on server box #2 on the same SBS 2011 domain, leave it on workgroup, or does it matter?
Thanks!

NIC Teaming in Hyper-V Server 2012

$
0
0

I'm wanting to set up a server running Hyper-V Server 2012, and team the NICs. Much has been made of teaming being a new feature in Server 2012, but is it possible in the standalone Hyper-V Server 2012? I've done a fair bit of trawling on the internet and the instructions available mostly seem to be relating to the full version, using the GUI (which Hyper-V server doesn't have). There are a few mentions of being able to use Powershell and a suggestion that this should work on Hyper-V server, but no definite confirmation that it does and no concrete instructions on how to do it. Can anyone confirm the situation, and if possible instructions on how to do it?

Thanks


David

Multiple Replication

$
0
0

I'm using Windows 2012 Hyper-V and enabled replication of a virtual machine. Which works great.

Is it possible to replicate this specific VM to a 2nd server? IE have multiple replications running of a specific VM.

Do I need System Center Virtual Machine Manager

$
0
0

Hi!

We are looking at a new system, today we have physical servers, and want to buy a Hyper-V system 2012. We are going to buy 2 Hyper-V Datacenter 2012 hosts, that is connected to a Fiberchannel SAN. So my question is, do i really need system center virtual machine manager? This is not a big system, we are not going to deploy many vm`s and no need for different hardware or software profiles. What we need is live migration, I guess this will work without SCVMM?

Another question, is it possible to have the same vm running on both hosts at the same time, so if one host goes down, the vm will not be affected, so we dont have any downtime ?

Thanks for answers

/R

Andreas

rename msvm_virtualswitch

$
0
0

I set the property ElementName and save it using "Put", as shown below. But the network adapter shown in the Windows network connections does not get updated (attached image). Any idea on how to get it updated?

Thanks!

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> Get-WmiObject -Namespace root\virtualization msvm_virtualswitch -filter "Name='b8ec3154-9e5f-47a
3-a540-532b04b117e0'"


__GENUS                     : 2
__CLASS                     : Msvm_VirtualSwitch
__SUPERCLASS                : CIM_ComputerSystem
__DYNASTY                   : CIM_ManagedElement
__RELPATH                   : Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",Name="b8ec3154-9e5f-47a3-a540-5
                              32b04b117e0"
__PROPERTY_COUNT            : 29
__DERIVATION                : {CIM_ComputerSystem, CIM_System, CIM_EnabledLogicalElement, CIM_LogicalElement...}
__SERVER                    : HYPERV01
__NAMESPACE                 : root\virtualization
__PATH                      : \\HYPERV01\root\virtualization:Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",
                              Name="b8ec3154-9e5f-47a3-a540-532b04b117e0"
Caption                     : Virtual Switch
CreationClassName           : Msvm_VirtualSwitch
Dedicated                   :
Description                 : Microsoft Virtual Switch
ElementName                 : New Virtual Network - renamed
EnabledDefault              : 2
EnabledState                : 5
HealthState                 : 5
IdentifyingDescriptions     :
InstallDate                 :
MaxChimneyOffloads          : 0
MaxVMQOffloads              : 0
Name                        : b8ec3154-9e5f-47a3-a540-532b04b117e0
NameFormat                  :
NumLearnableAddresses       : 2048
OperationalStatus           : {2}
OtherDedicatedDescriptions  :
OtherEnabledState           :
OtherIdentifyingInfo        :
PowerManagementCapabilities :
PrimaryOwnerContact         :
PrimaryOwnerName            :
RequestedState              : 12
ResetCapability             : 5
Roles                       :
ScopeOfResidence            :
Status                      :
StatusDescriptions          : {OK}
TimeOfLastStateChange       :

 

PS C:\Windows\system32> $VS = Get-WmiObject -Namespace root\virtualization msvm_virtualswitch -filter "Name='b8ec3154-9e
5f-47a3-a540-532b04b117e0'"
PS C:\Windows\system32> $VS.ElementName = "teste renamed"
PS C:\Windows\system32> $vs


__GENUS                     : 2
__CLASS                     : Msvm_VirtualSwitch
__SUPERCLASS                : CIM_ComputerSystem
__DYNASTY                   : CIM_ManagedElement
__RELPATH                   : Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",Name="b8ec3154-9e5f-47a3-a540-5
                              32b04b117e0"
__PROPERTY_COUNT            : 29
__DERIVATION                : {CIM_ComputerSystem, CIM_System, CIM_EnabledLogicalElement, CIM_LogicalElement...}
__SERVER                    : HYPERV01
__NAMESPACE                 : root\virtualization
__PATH                      : \\HYPERV01\root\virtualization:Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",
                              Name="b8ec3154-9e5f-47a3-a540-532b04b117e0"
Caption                     : Virtual Switch
CreationClassName           : Msvm_VirtualSwitch
Dedicated                   :
Description                 : Microsoft Virtual Switch
ElementName                 : teste renamed
EnabledDefault              : 2
EnabledState                : 5
HealthState                 : 5
IdentifyingDescriptions     :
InstallDate                 :
MaxChimneyOffloads          : 0
MaxVMQOffloads              : 0
Name                        : b8ec3154-9e5f-47a3-a540-532b04b117e0
NameFormat                  :
NumLearnableAddresses       : 2048
OperationalStatus           : {2}
OtherDedicatedDescriptions  :
OtherEnabledState           :
OtherIdentifyingInfo        :
PowerManagementCapabilities :
PrimaryOwnerContact         :
PrimaryOwnerName            :
RequestedState              : 12
ResetCapability             : 5
Roles                       :
ScopeOfResidence            :
Status                      :
StatusDescriptions          : {OK}
TimeOfLastStateChange       :


PS C:\Windows\system32> $vs.put()

Path          : \\localhost\root\virtualization:Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",Name="b8ec315
                4-9e5f-47a3-a540-532b04b117e0"
RelativePath  : Msvm_VirtualSwitch.CreationClassName="Msvm_VirtualSwitch",Name="b8ec3154-9e5f-47a3-a540-532b04b117e0"
Server        : localhost
NamespacePath : root\virtualization
ClassName     : Msvm_VirtualSwitch
IsClass       : False
IsInstance    : True
IsSingleton   : False

Image - New Virtual Network - renamed


Adriano Signature

Backup a Windows Server 2012 HyperV Cluster

$
0
0

Hi All,

I have 2 servers in a failover cluster Running Windows Server 2012 attached to a FC SAN using Cluster Shared Volumes

My question is "Can 'Windows Backup' backup virtual machines running in this environment"

Simply running Windows backup on the server fails with "Windows Backup cannot backup an application with files on a CSV volume."

I am currently using Altaro HyperV backup trial on both nodes, this works brilliantly but I would like to know if ANY level of backup can be achieved without any such 3rd party software.

I note this same question has been asked but not answered on a different thread here - http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/dfd4f6ee-2f16-4ca4-ad84-89c86cdb448e

Shared nothing migration issues (2012)

$
0
0

I'm checking out some new features of 2012 and have 2 standalone servers (not clustered) attached to their own storage (10Gb iSCSI). I've got a dedicated live migration network between the two servers as well (10Gb). I created a dummy VM on server #1 with a few VHDs. Shared nothing is working but I have some questions about if my setup is correct, based on what's going on.

Issue #1 - The migration seems to take a long time and isn't using my available bandwidth. I have 10Gb everywhere but the data is moving through the systems at only between 800Mb - 1.5Gb throughout the whole process. We have great tier1 san (ssds, 15k sas) for our sandbox, so I know the source and destination storage aren't stressed. The data path looks like it comes off storageA via iSCSI into server1, travels over the migration network to server2, and then is pushed out to storageB via iSCSI.

What is the holdup? Why isn't it moving faster and using more of my 10Gb links?  My only thought is that since shared nothing is using SMB 3.0, maybe SMB is throttling things? 

Issue #2 - Possibly related but I'm not sure. I have multiple VHDs on my VM (one per lun for simplicity).  In perfmon as I watch the migration happen, those VHDs are moving one at a time. The destination machine writes to the first LUN only (with no activity on the others), then upon completion it starts writing to the next lun, and so on.

Is it limited to one disk copy at a time? Can it not do parallel copies during shared nothing migration?

Back up options for Hyper-V Virtual Servers That will allow backup while running with dynamically expanding disks?

$
0
0

I have some virtual servers that are dynamically expanding disks. I have read that to utilize a backup with VSS the VM must be shut down because of this. My employers are concerned with this method. They are stating that the VM's are "hacked" to work as they have them and that shutting them down is risky. Instead, They wish me to find a solution which can be:

- Run with the VM operating.

- Allow for restore of the VM (not rebuild).

I still feel the best way to do this is to shut them down and back them up. Am I wrong? Is there a better way and is what they are asking possible? Would backing up the VM from the inside be worth doing?

Thank you for your time and assistance.

KV



Unable to enable replication

$
0
0

I am having difficulty changing the replication for one of our VMs. I would appreciate some helpful advice.

The VM I am working with already has replication enabled. I want to change the replica server. Here is the situation:

No clustering. No shared storage (all storage is local to each machine.)

VHOST1 - Actively running the VM.
VHOST2 - Currently hosting the replica.
VHOST3 - Currently doing nothing. This is where I want to run the replica.

If I remove replication and then try to enable it again with VHOST3 as the replica server, I get this error: "Failed to perform the operation. The virtual machine is not in a valid state to perform the operation."

After removing replication, I can enable it on VHOST2 again with no problem.

If I go on VHOST2 and try to move the replica VM to VHOST3, I get this error:
The move operation completed, but Hyper-V could not delete a temporary version of this virtual machine that was created on the destination computer.
Deleting 'VM017' failed.
The operation cannot be performed while the object is in its current state.

I can create a dummy VM on VHOST1 and replicate that to VHOST3, but not this larger VM. Any ideas about what might be misconfigured?

Cam

iSCSI in converged network scenario

$
0
0

If we have a converged network with two teamed pNICs in LBFO on windows server 2012 Hyper-V node, Teamed adapter is assigned in vSwitch used for tenant, management, live migration, cluster and two iSCSI networks do we need MPIO?

LBFO in Hyper-V mode assigns iSCSI vNIC stream to a single physical adapter and its bandwidth only. If we have two iSCSI vNICs attached to the vSwitch how can be sure that the iSCSI vNICs is assigned to a different pNICs and to leverage of MPIO? What if we are using Hash mode of LBFO where the IP and port is the same and MAC is only different?

Thank You

Need help with hyper-v virtual switch on windows 2012 DC edition

$
0
0

Hi Guys am needing a bit of help here as have not done this at all before.

Ok setup is as follows:

I have a Dell R720 which is going to be my hyper-v host that is all it is going to do nothing else it has a network card with 4 Ports at the back of it. I have an existing network for the business and want all that internal traffic which heads out to another router to go through Port 1 of the NIC. I have also another VDSL line which is connected to port 2 of the NIC.

This is what I want to achieve. There are so far 5 VM's I have, the first 2 are to use the Port 1 as they will be a domain controller and backup server (I want the VM HOST to be isolated in a way from the internet or NIC2. The other 3 vms will be a web server and some other hosting servers which should have their own SEPERATE internet connection which is on port 2 and should not be able to see the domain controller or backup server.

So far I tried to create a virtual switch nics but am getting completely lost and confused so if someone would kindly just advise me step by step what I need to do it would be greatly appreciated.

Please help!

VM Nic teaming in windows 2012 hyper-v

$
0
0

Hi,

Do I understand it correctly that Windows 2012 allows configure nic teaming in Virtual Machine. For example:

VM HOST1
VM HOST2

Each host has 4 network cards. Using native windows Teaming I configure 2 network Teams in each host. 

HOST_TEAM1
HOST_TEAM2

I create VM and present both Teamed network adapters to VM and am I able to configure Team with native windows tools for this VM:

VM_TEAM1

It is two VMs will be configured that way in cluster environment.

thanks

Error trying to mount the DVD to a network based ISO image in Windows 2008 Hyper-V RC0

$
0
0

Greetings,

When I try to configre the guest OS settings to mount the CD/DVD drive to an ISO image I have setting on a file share, I consistently get an error. The only time I have been able to mount an ISO since upgrading to RC0 (I don't remember if I tested this in the BETA) is when the ISO is locally on the Windows 2008 Hyper-V server.

 

To be specific, I get the following error:

Virtual Machine Connection (title of the window)

Inserting the disk failed.

 

Failed to add device 'Microsoft Virtual CD/DVD disk'.

 

User account does not have sufficient privelage to open attachment '\\remoteserver\share\ISONAME.ISO'.

Error: 'General access denied error'

 

'NEWGUESTOSNAME' failed to add device 'Microsoft Virtual CD/DVD Disk'. (VMID 26C8B66F-5D3F-47F9-9D80-474D0F778522)

 

'NEWGUESTOSNAME': User Account does not have sufficient privelage to open attachement '\\remoteserver\share\ISONAME.ISO'.

Error: 'General access denied error' (0x80070005). (VMID 26C8B66F-5D3F-47F9-9D80-474D0F778522)

 

I am not sure what credentials it is using. It looks almost like it is using the new computer name as credentials or something like that. The account I am logged in as at the time is a Domain Admin and has access to every server and every share. I can browse to the ISO just fine through the Hyper-V Insert Disk function, it just won't take.

 

I have checked the Hyper-V server settings and the Guest OS settings and can't find where to specifcy what account to use to connect to remote ISOs. Anyone have any clue on what I am doing wrong?

Can we Expand a VHD or VHDX Without a Reboot in Hyper-V 3?

$
0
0

Will it be possible to resize a VHD/VHDX in Hyper-V 3 while the VM is online?

Fixed Size VHD uses still high I/O on Physical Host?

$
0
0

So we did a performance test for our servers and found that one of them is using very high I/O.

The picture below shows that the server pretty much doing read/write very minute through out  a day.

This server doesn't do much beside hosting 3 hyper-V machines and all VM are using fixed size VHD.

After we did a individual test on each VM and found out one of the VM(SQL server) has high I/O.

I thought that if it's a fixed size VHD, it shouldn't affect the I/O performance on the physical host because it already allocated the space while the VHD is created.

Is this not true? please advise?


Hyper V No Connection?

$
0
0

I got a windows 2008 Server running

The problem is I don't have any internet connection when I am on the server


 

I tried the Integration service setup disk but get an error saying I need to Download service pack 2?

where do I download that?

I also have tried using a External Switch that did not solve the problem

and when i am on the server at the  network connections it does not see any network adapter 

if you need any info I would be glad to provide you 

how do I fix this problem?

Hyper- V memory release issue with guest

$
0
0

I have installed server 2008 R2 with SP1 & install Hyper-V role in it. I am facing memory related issue in Hyper-V. I have configured dynamic memory for all virtual machines. hyper-v guest is not releasing memory. host have 12GB ram and VM is configured on dynamic memory.   


Akshay Pate Server Administrator

Shared nothing Live Migration Fails at 65%

$
0
0

I have multiple identical Hyper-V hosts (not clustered) with Server 2012 Datacenter on them.  When attempting to migrate machines

from one to the other (Share-Nothing), The will go to 65% and then they will fail.  The error that I get is:

'HYPERV07'. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx)

Virtual hard disks information transfer failed for virtual machine 'VM1': This

operation returned because the timeout period expired. (0x800705B4). (Virtual Machine ID

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Failed to receive data for a Virtual Machine migration: This operation returned because the timeout period expired.

(0x800705B4).

The operation timed out.

Some migrations will succeed, and some will not.  It doesn't matter if I do it with the machines live or shut down.  The Hosts are on the same subnet, in the same domain.  I have the Kerberos delegation configured for the hosts.  Each host has a ten gig interface (active) and a 1 gig interface (standby) in a NIC Team.  I get the same error if I try to migrate them from the GUI or Powershell.  Any help would be appreiated.


Hyper-V HA Failover Cluster - iSCSI connected storage

$
0
0

Hi

I'm just looking for some best practice guidance with iSCSI connected storage for Hyper-V/CSV, I have a HP SV4330 (Single node) and 3 HP DL380p G8's and 2 HP A5120 switches bound together using IRF so effectively they are one switch.

The question I have is should I use a separate subnet for each path (NIC) to my storage (HP SAN)

i.e.

MPIO A - 172.16.100.0

MPIO B - 172.16.200.0

or just have SAN controllers and iSCSI NICs all on the one subnet as the HP SAN uses a VIP (Virtual IP Address for all controller ports) for iSCSI connections via the iSCSI initiator so when it comes to MPIO I only get one IP choice, if I want to avoid routing at the switch level how do I achieve this best?

Any help much appreciated.


Spudney

Exchange 2010 DAG on 2012 Failover Cluster using HyperV

$
0
0

Hi,

We've just setup a Windows Failover Cluster running under Windows 2012 Datacenter. We're on a 2 node cluster connecting to an HP StoreVirtual P4350 iSCSI SAN.

We would like to install Exchange 2010 using Database Availability Group on 2 x Windows 2008 R2 Virtual Servers (or 2012 Virtuals but we couldn't get Exchange to install on 2012).

Is it possible to install in this environment? There is already a technet question (http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/9c68eef6-46ef-4d2b-83af-37bfe0bb7e9e ) but that refers to a document relating to Exchange 2007 NOT Exchange 2010?

Thanks,

Andrew

Viewing all 19461 articles
Browse latest View live




Latest Images