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

hyper-v 2012 promiscuous mode for the vswitch

$
0
0

Hi,

I have been try to figure out on how you can enable promiscuous mode for the 2012 hyper-v v-switch.  So far, tried couple of the google search and none of them give any good response.

Wonder if anybody here has get it to work successfully?

Thanks


hyper-v 2012 vcpu usage and allocation?

$
0
0

Hi,

I am wondering if anybody ever notice how the cpu usage seems to be focus on the one core of cpu instead of offloading to other cpus?

Or, is there a way to tell hyper-v to load balance the usage onto other vcpus???

Thanks

Hyper-V 2012 and iSCSI Latency

$
0
0

What are the best practices for Microsoft's iSCSI initiator? Are there any registry changes that are recommended to improve performance? We are currently experiencing a high read latency ranging from 30 to 70ms from the SAN however our I/O is only about 30% of what the SAN is capable of...

Cant query VM's file using root\virtualization WMI namespace in Windows 2012 R2

$
0
0

I am using following script to get list of disks attached to vm.

$HyperVParent = "localhost" 
$HyperVGuest = "testvm" 

$VMManagementService = Get-WmiObject -class "Msvm_VirtualSystemManagementService" -namespace "root\virtualization"
$Vm = Get-WmiObject -Namespace "root\virtualization\v2" -ComputerName $HyperVParent -Query "Select * From Msvm_ComputerSystem Where ElementName='$HyperVGuest'" 
$VMSettingData = Get-WmiObject -Namespace "root\virtualization\v2" -Query "Associators of {$Vm} Where ResultClass=Msvm_VirtualSystemSettingData AssocClass=Msvm_SettingsDefineState" -ComputerName $HyperVParent 


#Getting the Path's for Attached VHD's 
$VirtualDiskResource = Get-WmiObject -Namespace "root\virtualization" -Query "Associators of {$VMSettingData} Where ResultClass=Msvm_ResourceAllocationSettingData AssocClass=Msvm_VirtualSystemSettingDataComponent"
-ComputerName $HyperVParent | Where-Object { $_.ResourceSubType -match "Microsoft Virtual Hard Disk" } 
     
ForEach-Object -InputObject $VirtualDiskResource -Process { 
    Write-Host "Virtual Hard Disk At: $_.Connection[0]" 



#Getting the Disk Attachments for Passthrough Disks 
$PhysicalDiskResource = Get-WmiObject -Namespace "root\virtualization" ` 
    -Query "Associators of {$VMSettingData} Where ResultClass=Msvm_ResourceAllocationSettingData AssocClass=Msvm_VirtualSystemSettingDataComponent" ` 
    -ComputerName $HyperVParent | Where-Object { $_.ResourceSubType -match "Microsoft Physical Disk Drive" } 
     
ForEach-Object -InputObject $PhysicalDiskResource -Process { 
    Write-Host "Passthrough Disk At: " ([WMI]$_.HostResource[0]).ElementName 
    Write-Host "Passthrough Disk Drive Number: " ([WMI]$_.HostResource[0]).DriveNumber 
}

Same query would not work on Windows 2012 R2. 

Aparently root\virtualization namespace is deprecated from the Windows 2012 R2. Did anyone observed the same?

Problem with backup and hyper-v on server 2012 - Guest hanging then stopping backup causes hyper-v manager to hang

$
0
0

Hi,

We have a deployment of 3 x Server 2012 Physical Hosts, each Physical host is running 2 VM's (variety of guest OS 2003, 2008, 2012) and hyper-v replica is enabled on all of the guests.

One of the guests is a 2012 server standard which is being used as a file server and is hosting around 2.5TB of data. With both a 3rd party backup software and WSB backing up to an external USB drive (4TB) the backup gets to just over 1.3TB of data backed up then users complain they are unable to access files on the file server.

We had been running the 3rd party software on all guests with no issues, but the backups are scheduled to run out of hours. Obviously with the amount of data on the file server we expected it to over-run but also hoped that while the backup was running the server should also have been operational! We decided last night to use WSB to see if it was the 3rd party software that was the cause and have found out it isn't!

Just to provide a bit more info, the Servers have plenty of CPU and RAM available for the host and guest. The Host OS runs off 2 x SATA drives in RAID-1 and this particular guest runs off 4 x SATA drives in RAID 10.

While WSB was in progress (at the time of checking when users were complaining) the state of the VM was shown as 'running-critical'. When we stopped the backup it did so quite quickly but the hyper-v manager stopped showing any data on the guests, we were then forced to reboot the host, which also hung on shutdown causing us to have to hard power-cycle the unit.

All the other hosts are fine, and operation of this host is fine, also backup of any of the other guests on this host cause no problems, other than the fact they are small enough to complete their backups out of hours. But surely with VSS backing up during the day shouldnt be a problem (we use WSB to backup physical servers during the day at other sites with no issue)

It now means we only have a full backup of their main file server from the weekend, and its now looking like we will only be able to run another backup this weekend. Obviously there is the replica to go to in the event of a failover, but we need this problem sorting urgently, any help here would be greatly appreciated!

Hyper-V Replica replication before initial replica import

$
0
0

Hi all,

Forgive the wordy title, I'm tired an can't think of a proper title :P

I have a question I hope someone could answer about Hyper V replica. When you setup replication on the source Host, you can choose to send the initial replica over removable storage, in our case, an External HDD. Once the initial replica is created, I see that the Host begins sending changes to the target server after it's 5min cycle. On the target side I see it receiving changes. This to me looks like its simply sending changes after the replication is enabled, and will use the initial replica to "Fill the gaps," if you would. However If you go to the VHD you're replicating, I see it's associated HRL file doesn't get any smaller, it just keeps growing.

Whats going on here? Is it simply keeping them unit it can verify the initial replica has imported? Is it still going to try and replicate that entire HRL?

Adding Virtual Machines to a cluster but they don't show in the Roles

$
0
0

Hello,

I'm new to the clustering and I had a stand alone server with 8 Virtuals running on it.  I create a cluster and joined this server to the cluster. I first tried to figure out how to move the vmachines in to cluster and gave up.  So I just deleted them in Hyper-V manager and copied the vhdx to the LUN on my cluster and went to Roles and clicked New Virtual Machine and selected the hard drive and all seem to work as excepted. Then I noticed the Machine showed back up in Hyper-V manager is that normal? So then I tried this same approach on a second server it seemed to work but the Vmachine does not get added to the Roles only the first machine is listed in the Roles on the Cluster. It does show in the Hyper-V manager.  Am I missing something? 

What I have it a two node cluster both running server 2012  with a P2000 G3 storage.

Thanks 

Randy


hyper v wizard hangs

$
0
0

Hi,

every wizard in hyper v manager that I run hangs, but it completes the action I guess it those not sent the confirmation that it is done, this happens with all the servers, if I try to create a VHD from a windows 7 machine it creates it and give's me an error that it already exists,  I think this started happening after I installed the CA,

all of the pc's/servers/users are auto enrolled with certificates

i'm ruining windows 8 and hyper v core 2012




OEM version of Windows 2012 Datacenter contains licenses for vm ?

$
0
0

Hi,

We are going to order a physical server with Microsoft Windows 2012 Datacenter OEM, and then we have unlimited number of virtual machines. We are also going to by CALS for these. But my question is what about installation software and keys for the virtual machines.

Do we need to download / buy spesific software or keys for the virtual machines or is this bundeld in the Datacenter OEM version ? Se information below from hardware manufactor

Windows Server 2012 Datacenter 2CPU OEM. Multilingual EN, DE, ES, FR, IT, JA. Server license for maximum 2CPU and unlimited virtual use rights. No CAL (Client Access Licenses) for access to Windows Server 2012 included, although CAL are required. OEM DVD, Microsoft Product Identifier, consists of a COA Certificate of Authentic license label adhered to PRIMERGY HW with Product Key, and End User License Terms.

Thanks for answers.


/Regards Andreas

Hyper-V Server - VSS Writer & Backups

$
0
0

Here is the scenario:

We have a Windows 2008 R2 Hyper-V Server and we have a problem with the VSS writer on the server.  The problem is seen when attempting to perform backups on the machine (we have used Symantec Backup-Exec as well as Acronis).  When a backup starts on the host, the job just freezes and no information is reported on the server doing the backups except that it times out.  On the Hyper-V host, when doing a "VSSADMIN LIST WRITERS" command, everything comes back as: State: [1] Stable, Last error: No error, when no backup has been attempted however when you have attempted a backup, it just freezes and doesn't report back anything at all.  In order to fix the freezing a reboot of the host is required.  Additionally, on the reboots I've noticed a stream of "Hyper-V-Integration-Data-Exchange" errors (Event 4096), Hyper-V-Integration-Data-Exchange) - The Data Exchange integration services is either not enabled, not running or not initialized."  (This is only seen during a reboot.) 

Thanks!

Hyper-V Server 2008 R2 (6.1.7600) :: HDD SMART stats

$
0
0

I'm running Microsoft Hyper-V Server 2008 R2 (6.1.7600). I only have access to command line based operations. It is the free version so I don't have a GUI. 

The Hyper-V is on a server with a RAID10 setup. I wanted to check each drives individual SMART stats. I know how to do this on a server without Hyper-V, but I'm stuck as I can't even open a browser to download any tools. Any guidance/help is greatly appreciated.

The RAID card is a PERC H200 Adapter.

Hyper-V Virtual Switch Speed connected to trunked ports

$
0
0

Hi

I have a Hyper-V HA Cluster with three hosts/nodes, all three run Server 2012, All 3 have a 3 physical NIC Team for VM external traffic, I have this team connected to a Cisco 2970 switch which has the corresponding 3 ports on the switch set to trunk ports according to the Network Admin, everything works but file transfer speeds appear slow between VM's and physical servers but physical servers the speeds are as expected from a 1Gb network, should the ports on the switch be aggregated in some way or 3 standalone trunk ports?

I tag the VLAN for each VM at the VM level settings not at Physical switch or Virtual switch level.

Any help on this much appreciated.

Spud!


Spudney


Permission Error when Deploy Hyper-V Over SMB

$
0
0

Hi

I want to deploy hyper-v over smb.I create a share folder an give full permision to contoso\administrator & Server 01(which host Hyper-V & DC) but when i want tyo create new virtual machine it show me following error.

any body can help me ?


I Love God,because he help me to find Technet.

Cant query VM's file using root\virtualization WMI namespace in Windows 2012 R2

$
0
0

I am using following script to get list of disks attached to vm.

$HyperVParent = "localhost" 
$HyperVGuest = "testvm" 

$VMManagementService = Get-WmiObject -class "Msvm_VirtualSystemManagementService" -namespace "root\virtualization"
$Vm = Get-WmiObject -Namespace "root\virtualization\v2" -ComputerName $HyperVParent -Query "Select * From Msvm_ComputerSystem Where ElementName='$HyperVGuest'" 
$VMSettingData = Get-WmiObject -Namespace "root\virtualization\v2" -Query "Associators of {$Vm} Where ResultClass=Msvm_VirtualSystemSettingData AssocClass=Msvm_SettingsDefineState" -ComputerName $HyperVParent 


#Getting the Path's for Attached VHD's 
$VirtualDiskResource = Get-WmiObject -Namespace "root\virtualization" -Query "Associators of {$VMSettingData} Where ResultClass=Msvm_ResourceAllocationSettingData AssocClass=Msvm_VirtualSystemSettingDataComponent"
-ComputerName $HyperVParent | Where-Object { $_.ResourceSubType -match "Microsoft Virtual Hard Disk" } 
     
ForEach-Object -InputObject $VirtualDiskResource -Process { 
    Write-Host "Virtual Hard Disk At: $_.Connection[0]" 



#Getting the Disk Attachments for Passthrough Disks 
$PhysicalDiskResource = Get-WmiObject -Namespace "root\virtualization" ` 
    -Query "Associators of {$VMSettingData} Where ResultClass=Msvm_ResourceAllocationSettingData AssocClass=Msvm_VirtualSystemSettingDataComponent" ` 
    -ComputerName $HyperVParent | Where-Object { $_.ResourceSubType -match "Microsoft Physical Disk Drive" } 
     
ForEach-Object -InputObject $PhysicalDiskResource -Process { 
    Write-Host "Passthrough Disk At: " ([WMI]$_.HostResource[0]).ElementName 
    Write-Host "Passthrough Disk Drive Number: " ([WMI]$_.HostResource[0]).DriveNumber 
}

Same query would not work on Windows 2012 R2. 

Aparently root\virtualization namespace is deprecated from the Windows 2012 R2. Did anyone observed the same?

Create Non HA VM on Hyper-V Cluster

$
0
0

Hi Guys,

I am planning to deploy two Windows 2012 nodes in Hyper-V cluster with one provisioned CSV.
Is it possible to create VMs, that won't be HA?

Thanks!
Petar


VMConnect not available on 2012 Server core

$
0
0

I have just gone down from 'Minimal Server Interface' to 'Server-Core'.  Problem is I can no-longer run vmconnect to connect to a VM.  Is this by design, do I need to go back to Minimal Server Interface before I can connect to a VM from this Server or have I done something else wrong which is stopping vmconnect from working?

Thanks

I Cant start a virtual machine with Virtual FC Switch attached directly to SAN without FC Switch (MPIO One HBA two ports eahc one) FC Switch is required ?

$
0
0

I have twoIBMx3650M4with QLogicQLE2562fiber plates2 portseach andare connecteddirectly to the SAN, butI cannotcreatevHBAfromthe administrationof theQLogicbecause Isay I'm notconnected to aConnectionPoint-to-Point .The question is,to usethefiber withinVMs, i need toif or whena switchto performFibreZoningorMaping?,Becauseaccording to mytopologydoes not work not evencreating avirtualswitch andadding itto aVM, I get syntheticfiber channelerrorand theVMdoes not start.

I´m using FC IBM DS3512 SAN Storage, DS Storage Management 10.86 and the latest drivers in that and Windows Server 2012 MPIO and Qlogic.


manyThanks


GusNET


TMG firewal

$
0
0

I am a studentatMajanCollege University College last semester. Now’s doingis thegraduationproject. The project is design a network to connect four building in the college with the TMG firewall. I need from you to help me to answer questions.

Name:

Age:

Specialization:

Questions:

  1. Why do you need TMG? 

  1. What it can do for my network?

  1. Why we use the TMG firewall?

  1. What is the extra feature of the TMG firewall?

Thank you

All the answer will be secrets 

Hyper-V Console access with FreeRDP

$
0
0

I managed to connect to Hyper-V consoles via FreeRDP, which means that now it's possible to connect to Hyper-V from Linux, Mac OS X and Windows (including Server Core / Hyper-V server), without needing vmconnect / RSAT.

In order to ease thing up I also added a Powershell cmdlet. Here's the blog post about it:  

http://www.cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/

It would be great if somebody could help in testing it and providing feedback! :-)

Thanks!

Windows 2008 SP2 VM - Can't install KB2230887 hotfix for Dynamic Memory

$
0
0
I have a Windows Server 2008 SP2 Standard VM x86 VM running on a Windows 2008 R2 SP1 host server. I have other VM's running Windows 2003 which are using Dynamic Memory on this server. However, I can't seem to get Dynamic Memory working on the Windows Server 2008 SP2. SP2 is installed and I've installed the latest Integration Components. When I downloaded the hotfix http://support.microsoft.com/kb/2230887, I get two options: vista sp3 x86 Fix324410 vista sp3 x64 Fix324410 Neither of these install on my Windows 2008 VM. I get the message "The update does not apply to your system" for both. What am I doing wrong? Thanks... dbaddorf
Viewing all 19461 articles
Browse latest View live




Latest Images