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

RDP and Static Public IP

0
0

Hello, 


I received a block of statics from the ISP, but they were not private addresses. In other words, my server now has a public ip which I don't want for security reasons. 

I am not an expert at this, so my Q is, I just need to remotely login to the server using rdp. I presume A static is required for RDP, but can I make it a private address? Any thoughts would be appreciated.

Thanks

Spatio 

 


Virtual Storage Error Count report large number

0
0

Hi,

I've win 2012 std with hyperv role on it.

i've setup a virtual machine with 1 IDE disk and 1 SCSI disk all VHD on local disk.

when i monitor the server with veeam one it report that the Virtual Storage Error Count in large (9) on the SCSI driver even if this drive is not loaded at all.

why is that?

Hyper-V encountered an error during the import operation (Hyper-V 2012 R2)

0
0

I'm trying to import Hyper-V 2008 (without R2) VM to Hyper-V 2012 R2 host.

This error occured:

"Hyper-V encountered an error during the import operation.

'VM' failed to realize.

Failed to upgrade the VM version of the virtual machine 'VM'.

The VM version is not supported"

VM's Stuck in "Backing Up..." State

0
0

We are using System Center DPM 2012 SP1 to backup our Server 2012 Hyper-V Cluster and sometimes we have VM's that are stuck in a state of "backing up..." on the Hyper-V manager however DPM and the VSS Writers both say that the backups have failed. We are unable to migrate or shutdown the guest VM's that are stuck in this state. 

So far the only workaround we have found is to fail all the VM's that are not in this status to another host, then kill the cluster service on the host with the stuck VM's to force them to migrate to another host which also causes an unexpected reboot of the guest. 

I was wondering if there is any other method to cancel or get the VMs out of this state and/or fail them over to another host without having to kill the cluster service?

modify security on "Windows Virtual Machine" SCPs

0
0

Hi. Any domain joined VM will create serviceConnectionPoint object under the computer object in AD (http://blogs.technet.com/b/askcore/archive/2012/09/18/what-is-the-windows-virtual-machine-object-in-active-directory.aspx).

We have special security requirements in our AD and by default these SCPs for VMs are visible to any user which breaks our security rules. My questions:

a) is it supported to change security on this object (doubt it, but I'm asking anyway)

b) what happens if I change the security on this object, specifically if I remove Authenticated Users from the ACL? Can I expect any problems?

c) what exactly is the SCP used for/by in this case? The article I mentioned above explains what it is, but not really what is it used for.

Thanks in advance


How to get the maximum bandwidth/MaxSpeed/Capacity of a Hyper-V virtual-switch?

0
0
We are trying to monitor Hyper-V environment (Windows 2008 R2 and Windows 2012) using WMI, and have a very specific question Hyper-V virtual-switch.

We have referred the below mentioned classes and their properties.
1. Win32_NetworkAdapter (namespace:root\cimv2, property:Speed)
2. Msvm_InternalEthernetPort (namespace:Root\virtualization\v2, property: Speed and Maxspeed)
3. Msvm_EthernetSwitchBandwidthData (namespace:Root\virtualization\v2, property:Capacity and Reservation)

All of the above classes and their properties returns 10000000000 (10 GBps) as MaxSpeed, which is NOT correct (as we know that our network connection is of 1 GBps)
Here is our question: How to get the maximum bandwidth/MaxSpeed/Capacity of a Hyper-V virtual-switch?

VHD disk compact

0
0

Hi,

I have installed Hyper V 2008R2 server. I have created a two VM. The Type of disk of both vm is .VHD.

My question is: VHD is unable to compact white spaces automatically from the disk and it could not reduce the vhd size after deletion the data. Is there any solution for it .

Can .VHDX type disk can help me  to reduce the white space automatically?

IS there any way or method to compact the vhd without down the VM

Please suggest me the solution to over come this monthly disk compact activity on my vms to reclaim the host disk space

Thanks

Not able to Start Hyper-V(2012 R2) VM when placing the VM config file on Samba Share,Its giving error:Unable to initialize the saveset

0
0
---We are trying to setup Hyper-V on Samba shares samba version 3.6 exported from Ubuntu  M/c. Basically runnig the Public(share) from the Ubuntu and able to access it from Windows 2012 (create/modify everything). I used Hyper-V and placed the disks".vhd" on this , VM succesfull created and started. However when I placed the VM config files on this (samba) shares VM created successfully but its not starting, Its giving error like Unable to initialize the saveset -- Any idea how to place the Hyper-V VM config files samba share?

3 Node Failover Cluster With iSCSI

0
0
Is there any information available on the steps to create a 3 node failover cluster with iSCSI storage?  Is there a step-by-step guide?  I looked around but couldn't find much.  Thanks!

How to access Hyper-V Client from Hyper-V Server to the new machines?

0
0

Hi

We have a small company in that we have 50 machines, i am having windows 2012 r2 server, i installed Hyper-V with that i have created virtual OS(winxp and win7) in the Hyper-V server. My question is how to access them in client Machines, Can Anybody help me in this regards?

Regards

Meer Akbar Ali

Hyper-V VSS writer ecnouter errors during taking VSS snapshot on Windows 2012 R2

0
0

When taking VSS snapshot with Hyper-V VSS writer on Windows 2012 R2, there are frequently some warning/error logs in Windows Event log. This will make the Hyper-V VSS writer goes to a bad state and in BCD, the BACKUP_METADATA is also missing for the problematic VM.

The logs in Windows Event log are as below:

In Windows Log->Application, there will be logs as:

A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,

the error is likely to reoccur.

. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.

Operation:

   PrepareForSnapshot Event

Context:

   Execution Context: Writer

   Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}

   Writer Name: Microsoft Hyper-V VSS Writer

   Writer Instance ID: {fec29c4d-410b-4854-96b4-9637f3a24fdc}

   Command Line: C:\Windows\system32\vmms.exe

   Process ID: 2024

In Hyper-V-VMMS there are logs as:

Could not create backup checkpoint for virtual machine '********': Overlapped I/O operation is in progress. (0x800703E5). (Virtual machine ID 2AD8D389-65AE-45F7-89F8-FDF2F08CE3C2)

In Hyper-V-Worker there are logs as:

'******'has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x7A, ErrorCode1: 0x10EC78, ErrorCode2: 0xC000000E, ErrorCode3: 0x1BA09BE0, ErrorCode4: 0x21D8F000.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 2AD8D389-65AE-45F7-89F8-FDF2F08CE3C2)

'******' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0xEF, ErrorCode1: 0x11F2780, ErrorCode2: 0x0, ErrorCode3: 0x0, ErrorCode4: 0x0.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 16A22441-2ECB-474A-8998-ECA6102DE5AC)

'******'has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x7A, ErrorCode1: 0x119AEF8, ErrorCode2: 0xC000000E, ErrorCode3: 0x154C9860, ErrorCode4: 0x335DF592.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID A0CD6CF9-529F-4465-AD32-7A7D60069768)

The problematic VMs are with Windows OS, Windows 2008R2, Windows 2012 R2 and Windows 8.1.

My question is:

What is the cause of this problem? The event logs are not understandable at all.

How should I fix this problem?

Ping and Hyper-V virtual internal switch

0
0
Whenever I create a Hyper-V virtual switch (internal), ping binds to the IP address of the internal network switch instead of the IP address assigned to physical adapter. How do I prevent this from happening?

Guests not connecting to network

0
0

I'm running Windows Server 2012 R2. This host (a VM on an ESXi 5.1 host) can connect to the network in Internet just fine. I have used Hyper-V Manager to create a Windows 7 machine.

The Windows 7 machine does not connect to the network or Internet. I have a proper IP Address, DNS and Gateway, just not network/Internet connectivity at all.

Thoughts as to what I may be missing?

error 106 - The processor sets overlap when LBFO is configured with sum-queue mode -

0
0

Hello

I am getting the following error on members of my HyperV Cluster...

Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{CB681AE8-1686-4B65-9612-DB2525D1915B} (Friendly Name: Microsoft Network Adapter Multiplexor Driver #2) on switch 555DAF43-883A-42FB-B650-590607B9EC00 (Friendly Name: Fabric) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode

I have found many article detailing the process to set the Physical NICs to separate processors but I keep getting the error

My configuraton is as follows...

PS C:\Windows\system32> Get-NetAdapterRss "fabric*"


Name                                            : Fabric 2
InterfaceDescription                            : Intel(R) Ethernet X520 10GbE Dual Port KX4-KR Mezz #3
Enabled                                         : True
NumberOfReceiveQueues                           : 8
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :19
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : Fabric 1
InterfaceDescription                            : Intel(R) Ethernet X520 10GbE Dual Port KX4-KR Mezz
Enabled                                         : True
NumberOfReceiveQueues                           : 8
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : :2
MaxProcessor: [Group:Number]                    : :
MaxProcessors                                   : 16
RssProcessorArray: [Group:Number/NUMA Distance] :
IndirectionTable: [Group:Number]                :

Name                                            : Fabric
InterfaceDescription                            : Microsoft Network Adapter Multiplexor Driver #3
Enabled                                         : True
NumberOfReceiveQueues                           : 0
Profile                                         : NUMAStatic
BaseProcessor: [Group:Number]                   : 0:0
MaxProcessor: [Group:Number]                    : 0:38
MaxProcessors                                   : 4
RssProcessorArray: [Group:Number/NUMA Distance] : 0:0/0  0:2/0  0:4/0  0:6/0  0:8/0  0:10/0  0:12/0  0:14/0
                                                  0:16/0  0:18/0  0:20/0  0:22/0  0:24/0  0:26/0  0:28/0  0:30/0
                                                  0:32/0  0:34/0  0:36/0  0:38/0
IndirectionTable: [Group:Number]                :



PS C:\Windows\system32> get-NetAdapterVmq

Name                           InterfaceDescription              Enabled BaseVmqProcessor MaxProcessors NumberOfReceive
                                                                                                        Queues
----                           --------------------              ------- ---------------- ------------- ---------------
Live Migration- VLAN 40        Microsoft Network Adapter Mu...#4 False   0:0                            0
HeartBeat                      Microsoft Network Adapter Mu...#5 False   0:0                            8
HeartBeat1                     Broadcom BCM5709S NetXtreme...#41 False   0:0              8             8
Management                     Microsoft Network Adapter Mult... False   0:0                            8
Fabric 2                       Intel(R) Ethernet X520 10GbE...#3 True    0:19             16            63
Fabric 1                       Intel(R) Ethernet X520 10GbE D... True    0:2              16            63
Fabric                         Microsoft Network Adapter Mu...#3 True    0:0                            126
MAN1                           Broadcom BCM5709S NetXtreme...#38 False   0:0              8             8
Heartbeat2                     Broadcom BCM5709S NetXtreme...#39 False   0:0              8             8
iSCSI 2                        Intel(R) Ethernet X520 10GbE...#4 False   0:0              16            0
iSCSI 1                        Intel(R) Ethernet X520 10GbE...#2 False   0:0              16            0
CSV- VLAN 41                   Microsoft Network Adapter Mu...#2 False   0:0                            0
MAN2                           Broadcom BCM5709S NetXtreme...#40 False   0:0              8             8

As far as I can see I have the NICs on separate Processor, any help would be gratefully received

Thanks for reading, Colm

Colm

LAN connection missing - 2012R2 - VM

0
0

Hello

i have had a strange issue on some 2012R2 VM's (gen2) running on Hyper-V 2012R2, managed via VMM.

The LAN connection inside the VM is suddenly missing, (no the VM has not been migrated)
i can't find anything in the event log on the host or on the VM.

i look like this:


in some cases device manager look's like this:

the issue have occurred on 10-15 vm'es out of 700, and only on 2012R2 not on 2003/2008/2008R2/2012

The VM is still accessible on the network, but the VM itself is not able to reach any resources.

The fix is to uninstall the nic inn device manager, search for new hardware, and reconfigure the IP.

Thank you!



[Forum FAQ] How to enable Hyper-V guest machines to use hot-add memory

0
0

Since Windows Server 2008 R2, the Dynamic Memory feature of Hyper-V was introduced. We can configure the minimum and maximum RAM value of a Virtual Machine with this feature. It also enable us to change the Hyper-V host memory resource priority related settings.


Windows Guest VM


With Windows Server 2012 or later, a running Dynamic Memory supported Windows guest virtual machines can Hot-Add memory. You can use the following steps to hot-add memory to a running guest VM.


1. Open Hyper-V Manager -> right click the virtual machine -> settings.

2. Click Memory-> Input the new maximum memory value -> Apply -> OK. (Figure 1)


Figure 1 Adjust the maximum RAM value.


After we modify the Maximum RAM value, the guest VM can use the added memory immediately.


Linux Guest VM


With CentOS, Red Hat Enterprise Linux and Oracle Linux guest VM, you will notice that they cannot use the Hot-Added memory immediately. It is due to that there are some limitations.


1. This feature only available on 64-bit virtual machines and the specific Linux distributions.

a) CentOS 6.5 and 7.0 can use the Hot-Add memory feature when the Hyper-V host is Server 2008 R2 or later.

b) Oracle Linux 6.5 can use the Hot-Add memory feature, the Hyper-V host can be Server 2012 or later Hyper-V.

c) SUSE Linux 11 SP3 can use the Hot-Add Memory feature, the Hyper-V host can be Server 2012 or later Hyper-V.


2. By default, Hot-Add must be enabled manually on CentOS and Oracle Linux.


For Linux VMs, we can use same steps as Windows guest VMs to enable the Hot-Add memory feature in Hyper-V manager. Then, we need to configure the following in guest VMs.


a) Create a file “/etc/udev/rules.d/100-balloon.rules”. (You may use any other desired name for the file)

b) Add the following content to the file: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}="online" (Figure 2)

c) Reboot the system to enable the Hot-Add support.


Figure 2 Add the Hot-Add configure file.


Now, when we find that our Linux server at a high memory utilization, we can assign more memory resource to it in real time. (Figure 3 & 4)


Figure 3 Use the stress tool give system a memory stress test.


Figure 4 System use the added memory immediately.


Note: Please don't use the stress test tool on your product environment computer, it may crash your VM or get high workload.


However,
the operation may fail if the guest operating system is running with low memory. Here are some best practices:


1. Startup memory and minimal memory should be equal to or greater than the amount of memory that the distribution vendor recommends.

2. Applications that tend to consume the entire available memory on a system should be limited to consuming up to 80 percent of available RAM.

3. If you are using Dynamic Memory on a Windows Server 2012 operating system, specifyStartup memory, Minimum memory, and Maximum memory parameters in multiples of 128 megabytes (MB).


If you need further assistance, welcome to post your questions in the
Hyper-V forum.


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

vm2dmp.exe supporting Hyper-V 2012 R2

0
0

For education purpose, I am currently researching how memory content can be extracted and analyzed from snapshots and saved states from Hyper-V. Hyper-V saves this information in files with the extensions *.vsv and *.bin. To convert these files to a usable dump full memory dump (*.dmp), the "Hyper-V VM State to Memory Dump Converter" (vm2dmp.exe) was released in January 2010 (http://archive.msdn.microsoft.com/vm2dmp). However, this tool works only on files created with Hyper-V Version 2 (Hyper-V/Windows Server 2008 R2). When snapshots or saved states created on Hyper-V 2012 or 2012 R2 are tried being converted, the tool fails.

It seems that the format of the *.vsv and *.bin files has changed and the converter tool is not capable of processing the changed file format. Does anyone know about any changes from Hyper-V Version 2 to Version 3 or the new file format? I guess the format specification is not public available. However, it would be of enormous help to have the possibility to be able to convert those files created by Hyper-V Version 3 for the purpose of analysing as well.

I understand that it might not be possible to have the format specification of the snapshot files for further research. But as the vm2dmp.exe converter tool already exists for the previous version of Hyper-V, I believe that providing a tool or the information about the snapshot file format is worth a discussion. Provided with this information, it would ideally be possible to extend the existing or implement a new conversion tool to support a broader range of Hyper-V versions. I could imagine that this could also possibly lead to new capabilities in snapshot migration.

I appreciate any replies with ideas and further information.

Thanks,
Christian

Cluster migration from Windows Server 2008 R2 to Windows Server 2012 R2 rollback (Hyper-V)

0
0

Good day!

Can you help me. What's the best way to rollback from 2012R2 Hyper-V Cluster back to to 2008 R2.

We plan to migrate from 2008R2 to 2012R2 Hyper-V cluster with FC Storage.

We have very nice instruction about migration here.

But we have no info how to rollback if smth will going wrong.

Thank's a lot.

Windows server 2012 Datacenter and Guest 2012 R2

0
0

Hi ,

  • Is it licensed and activated to install Guest windows server 2012 R2  on a cluster windows server 2012 Datacenter edition
  • As we know Datacenter allows unlimited activations on the same server
  • I'm worried to get license issue for guest 2012 R2 on 2012 Datacenter

thanks


Ramy

Windows Server 2012 R2 Hyper V NIC Teaming

0
0

Hi There,

I have created an HYper-V Teaming from my UCS server which is 20GB per Physcial NIC and total after Teaming show up 40GB in my HyperV host.

when the time i create 2 virtual NIC profile , one is with host management and the another is for VM access withotu Host management.

Both NIC have downgraded to 10GB only. 

Is this a BUGs from Microsoft tht all virtual NIC will not present according to the maximum of 40GB or i missed out something in my host configuration ? 


Ong

Viewing all 19461 articles
Browse latest View live




Latest Images