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

Best method to add ISCSI storage to a fileserver vm guest

$
0
0

Hello,

I have two Dell PowerVault NX3300 servers (Server 2012 R2), and one Equallogic PS6100 SAN.  The two servers are clustered together and host Hyper-V guests.  At this point, I'm running a 2012 R2 VM guest and can successfully migrate/failover between the nodes.  This guest VM will be a file server, and it will be accessing/sharing data that is stored on the SAN.  My question is: what is the best method to get the ISCSI SAN volume connected to this VM guest?  Since the vm guest is clustered between the two nodes, I need to make sure that it can access the SAN volume in an event of a failover.

*** Note: We plan on having a total of two different file server VM guests that will each connect to the SAN.  There may be more guest VMs created in the future, but they would not be file servers.

Each server has 8 physical NICs and are configured as follows on each server:

1 x management port

3 x VM nic team

2 x SAN ISCSI connections

(That leaves 2 open ports on each server)

There is a ISCSI SAN volume attached to the hosts as the cluster's CSV.  This is only to store VM guests - not data.

After reading multiple blog posts and other sites, I've come to realize that there may be two realistic options: (1) add the ISCSI SAN volume directly to the hosts, then add the disk to the VM as a pass-through and let the cluster configure it; (2) add the ISCSI SAN volume directly to the VM guest. 

Option 2 sounds simpler, but I'm also curious as to the best configuration of vNICs for the guest. 

Any help with this would be great.  If I'm missing something, please let me know!

Thank you


difference between virtual memory and phusical memory

$
0
0

Guys,

When adding virtual memory to a machine in a hyper-v environment, one can use less memory than in a physical pc. Why is that? Whats the difference between a virtual dc with 750 m virtual memory and a physical dc with 2 gb memory?

regards,

Hyper-V in Windows 8.. VM cannot get DHCP IP address

$
0
0

I had Both Virtual Box and Hyper-V on the same machine, I decided trying to shut down Hyper-V all the time was too much trouble so I removed VirtualBox.

Since then no machine can get a local IP address from the router.

I have even setup the virtual connections again:

I have various CentOS installs which I installed with generation 1.

I even tried changing the LAN Adapter to a "Legacy" one, but it still fails.

Any advice as to what is going on with this?

Thanks

Restoring Windows Server 2012 w/ADDS and DNS to Hyper-V

$
0
0

So I asked the Below question in the server 2012 general forum but i am sure it is the wrong forum so I though I would ask it here in the hyper-v forum .

So I have one DC in my environment that I would like to upgrade from Windows Server 2012 to Windows Server 2012 r2. I thought before I upgrade the production server I would convert it to a Hyper-V virtual machine and preform the upgrade on a machine that can be deleted if the upgrade goes horribly wrong. We use Symantec Backup Exec 2014 to backup and restore. So I was able to restore to a virtual machine,   the machine powers on, I was unable to open any of the ADDS administration consoles until I added a Microsoft loop back legacy NIC. To make matters worse when I try to run the in place upgrade from Windows Server 2012 to Windows Server 2012 r2 I receive and error asking me to first run ADPREP /FORESTPREP and /DOMAINPREP. Unfortunately when I run either one of these commands I receive an error saying that that ADPREP can find the DNS name for the domain or forest. So my question is how do I restore an ADDS server to a virtual machine and bring up all the services so that it functions in the capacity that the physical machine was functioning but in a closed environment. Thanks for your time and consideration of my inquiry.

Best regards,

Zajac

Hyper-V and Display resolution

$
0
0

Hi there,

 

I am trying to increase the display resolution to 1600x1050 for my virual server (Hyper-v), but the max I can get is 1280x1024.

I installed the Integration services and all the updates for the host os (win 2008 Enterprise) and guest os (win 2003 R2 Enterprise).

 

any idea?

 

Thanks,

LOA

ready made powershell script for automatic failover in hyper-v?

$
0
0

Hi

could anyone provide me with a powershell script that will help me make a automatic failover when my VM fails on one host?

im new in power shell if someone can help

thanks

CENTOS on Hyper-V not starting after conversion to VHD

$
0
0

A colleague sent me a CENTOS VM image (.ova)

I have successfully opened the image and have the VM running under my VMware server. 

I have run the Microsoft Virtual Machine Converter 3.0 against the image on the VM server, and it all completes correctly.  However, when I start the VM on the hyper-v server, it basically crashes, and boots into "Emergency mode"  The best I can tell is that it is missing a bootloader on the CENTOS end.  Am I missing something obvious here?  Can anyone point me in the right direction?

PVAN VMs can't ping the gateway

$
0
0

hi ,

I configured  the below and VM can't ping gateway

  1. two Logical network one is PVLAN and another one is VLAN Logical network
  2. Create one VM network on PVLAN   Using Primary VLAN ID 103  and secondary VLAN 5
  3. Create another VM Network  on the VLAN Logical network  with vlan ID 103
  4. Create UPLINK port contain both of the above VM network
  5. Create logical switch on the host  using the above uplink port and assign new virual network adapter with VLAN 103 Of the Second VM network
  6. now I can access the host  but when i create new VM "Test01"  and assign network adapter to the PLAN VM network  Using Primary VLAN ID 103  and secondary VLAN 5

PS C:\Windows\system32> Get-VMNetworkAdapterVlan

VMName VMNetworkAdapterName Mode     VlanList
------ -------------------- ----     --------
       Vnic-103             Access   103     
Test01 Test01               Isolated 103,5   

the vm access the gateway if it is use vlan network  but if failed if it is used PVLAN network

now  what is missing  to do to allow the vm to access internet or access the gateway ??

thanks


Ramy


Hyper-V 2012 R2 / Licensing / Service

$
0
0

Hello,

In the following environment: Hosts that run virtual machines for customers. Are we allowed to use the free hyper-V 2012 R2 server as service for running fully licensed(SPLA) virtual machines or is the free version only for your own use?


Hyper-V 2012 Replica on a large cluster - many VMs to a single target CSV

$
0
0

Hi all,

We have a Hyper-V 2012 cluster with 5 hosts and ~200 VMs (a few of them actually).

We have tried to start using Hyper-V Replica (HVR) a couple of times now, but every time at some point we encounter issues on the destination HVR Broker storage side. Probably too much bandwidth is required from the storage and we start having issues with merging snapshots in time. Size is also a limiting factor with ~16TB size CSV to contain all the VMs; the CSV is a NetApp LUN and we cannot scale the LUN larger than 16TB.

While potentially this could be addressed by using a faster storage, I am more worried about the side effects of starting and using 200 VMs from a single CSV and LUN. I know that currently there is no official way to split the replica VMs to different CSVs - except for a workaround mentioned here. But this workabound is not suitable for large clusters as it is not managable on this scale.

Any thoughts, comments or suggestions are welcome.


Regards, Leonid


NIC setup Hyper-V

$
0
0

Hello there, I am planning to implement 2xWindows Server 2012R2 Hyper-V for a small company. These two servers have 2x1Gbps NIC cards and please help me out what to do with these NICs?Shall I team 2 NICs of a server and make them one or shall I assign 1 NIC for Hyper-V VMs and other for Windows Server 2012R2 itself. My concern is to focus for reliable connectivity among the Virtual Machines?Please help me to decide?Thank You

Integrations services error 4000 - integration services does not match the expected version

$
0
0

I have a 2 node high availability cluster built on 2012r2 DataCentre. One VM continually fails to backup and gives the event log error

"Hyper-V Volume Shadow Copy Requestor failed to connect to virtual machine 'QuadPro' because the version does not match the version expected by Hyper-V (Virtual machine ID 094B6B22-BBED-4D0B-8E47-D8D4D0D3F986). Framework version: Negotiated (0.0) - Expected (3.0); Message version: Negotiated (0.0) - Expected (5.0). To fix this problem, you must upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu."

When I do the suggested action I get a message stating

"The computer is already running the current version of integration services (version 6.3.9600.16384)".

This VM was built through the failover management console under 2012r2. The VM in question is a 2008r2 standard server running a single database application.

Please advise.

Matt

Configure Hyper V Failover Cluster on Window Server 2012 R2

$
0
0

I have 3 node cluster of hyper v and configured csv all machine working fine but after run backup machines get paused, so i have removed backup agent, during starting one virtual machine csv volume get un accessible and all machine pertain to that csv get offline. subjected are the errors.

Cluster Shared Volume 'Volume2' ('Volume2') is no longer accessible from this cluster node because of error '(1460)'. Please troubleshoot this node's connectivity to the storage device and network connectivity.

Cluster Shared Volume 'Volume2' ('Volume2') has entered a paused state because of '(c0000015)'. All I/O will temporarily be queued until a path to the volume is reestablished.

after troubleshooting i found a patch for the related issue but its not working for window server 2012 R2,

Windows8-RT-KB2838669-x64: its not running so kindly assist how to get this fix.


Talha Faraz Malik

BSOD PROCESS_NAME: vmwp.exe

$
0
0


Hi All,

Recently I have got server failure. Info from memory dump is following. Cannot find the reason of failure. Please help.

6: kd> !analyze -v
*******************************************************************************
*                                                                            *
*                        Bugcheck Analysis                                    *
*                                                                            *
*******************************************************************************

MEMORY_MANAGEMENT (1a)
    # Any other values for parameter 1 must be individually examined.
Arguments:
Arg1: 0000000000041289, The subtype of the bugcheck.
Arg2: 00007fff141f4000
Arg3: 000000000000007b
Arg4: 00007fff141f4c01

Debugging Details:
------------------

Page 42459e not present in the dump file. Type ".hh dbgerr004" for details

BUGCHECK_STR:  0x1a_41289

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT

PROCESS_NAME:  vmwp.exe

CURRENT_IRQL:  0

ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) amd64fre

LAST_CONTROL_TRANSFER:  from fffff801429ec412 to fffff801429c2ca0

STACK_TEXT:  
ffffd000`2796eaf8 fffff801`429ec412 : 00000000`0000001a 00000000`00041289 00007fff`141f4000 00000000`0000007b : nt!KeBugCheckEx
ffffd000`2796eb00 fffff801`428e2c47 : ffff0000`00000000 ffffe000`0559e568 ffffd000`2796ed00 00000000`00000000 : nt! ?? ::FNODOBFM::`string'+0x19282
ffffd000`2796eb60 fffff801`4292f933 : 00000000`00000000 ffffd000`2796ed00 fffffa80`00000000 ffffe000`0559e568 : nt!MiLocateWsle+0x2b
ffffd000`2796ebb0 fffff801`4292f62e : 00000000`00000000 ffffd000`2796ed00 fffffa80`00000000 ffffd000`2796ec70 : nt!MiTerminateWsle+0x2f
ffffd000`2796ec00 fffff801`428e3c41 : 00000000`00000000 00000000`00000000 fffff580`10804638 00000000`00000000 : nt!MiDeletePageTableHierarchy+0xd2
ffffd000`2796ed70 fffff801`42934989 : ffffffff`ffffffff ffffffff`ffffffff ffffe000`0559e568 ffffe000`019db080 : nt!MiDeleteAddressesInWorkingSet+0x4e1
ffffd000`2796f660 fffff801`42c4e7ab : 00000000`00040000 ffffd000`2796f800 ffffe000`019db080 ffffe000`0559e080 : nt!MiBeginProcessClean+0x9d
ffffd000`2796f6a0 fffff801`42c83ce8 : 00000000`00040000 ffffd000`2796f800 00000000`00000000 fffff801`42cbffca : nt!MmCleanProcessAddressSpace+0x67
ffffd000`2796f700 fffff801`42c18504 : ffffe000`0559e080 ffffc000`0b5f4930 ffffd000`2796f800 00000000`00000000 : nt!PspRundownSingleProcess+0xac
ffffd000`2796f790 fffff801`42d22fc4 : 00000000`c0000005 ffffe000`019db080 ffffd000`2796fb00 ffffe000`019db128 : nt!PspExitThread+0x4c8
ffffd000`2796f8a0 fffff801`428b481a : ffffe000`05393bb0 00000000`00000000 00000000`00000000 00000000`0000000c : nt!KiSchedulerApcTerminate+0x18
ffffd000`2796f8d0 fffff801`429c7bc0 : 000000fb`b5ca40a0 ffffd000`2796f950 fffff801`429694e8 00000000`00000000 : nt!KiDeliverApc+0x2fa
ffffd000`2796f950 fffff801`429ce55a : 00000000`00000000 000000fb`b5d39aa0 ffffe000`00600d00 ffffd000`2796fb80 : nt!KiInitiateUserApc+0x70
ffffd000`2796fa90 00007fff`142165ea : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceExit+0x9f
000000fb`b652fac8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007fff`142165ea


STACK_COMMAND:  kb

FOLLOWUP_IP: 
nt! ?? ::FNODOBFM::`string'+19282
fffff801`429ec412 cc              int     3

SYMBOL_STACK_INDEX:  1

SYMBOL_NAME:  nt! ?? ::FNODOBFM::`string'+19282

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  52341cf4

BUCKET_ID_FUNC_OFFSET:  19282

FAILURE_BUCKET_ID:  0x1a_41289_nt!_??_::FNODOBFM::_string_

BUCKET_ID:  0x1a_41289_nt!_??_::FNODOBFM::_string_

ANALYSIS_SOURCE:  KM

FAILURE_ID_HASH_STRING:  km:0x1a_41289_nt!_??_::fnodobfm::_string_

FAILURE_ID_HASH:  {e01cf37e-0b3f-17aa-251b-4e0e5b8f0b0f}

Followup: MachineOwner

Time diffrence in Linux VM and host

$
0
0

Hyper-V host is having correct time, also windows guests having correct time. but Linux hosts after running for some days it changes it time. we find some work around and to add clocksource_failover=acpi_pm to the boot parameter in grub.conf. Most of the linux VM worked with this but still few are having different time.

Thanks in advance


Low Performance second VHDX & Good on the first one.

$
0
0

Hi, 

Let me describe the scenario.

Hyper-V 3 node Cluster:  3 x IBM X3650 M4

Shared storage (CSV): iSCSI - Multiplath IBM Storwize v3700

Hyper-v Node 1 is the owner of the CSV where the vhdx resides and where file server in running.

File Server Windows 2008 R2 up to date, with two VHDx attached on the same virtual controller IDE0. One for SYSTEM 40GB and second one for DATA 3TB.

We noticed that our file server VM was performing badly  when copying files so we began investigating and after reinstalling S.O. (Windows 2008 R2) and bringing back to production the performance didn't get better. We copied the same 7Gb file from the data VHDX to the system VHDX, it took about 10min, giving a 100Mbps rate transfer within two disks :-(

Now that we have two copies of the same file, one in the SYSTEM VHDX and the other one in the DATA VHDX we have transferred it to the same physical machine, a windows 2012:

IMAGE FILE size 7Gb being copied from the file server SYSTEM VHDX to physical machine:

IMAGE FILE size 7Gb being copied from the file server DATA VHDX to a physical machine:

Both copies where taken when the file server activity was low. 

So it looks that is related to virtual hard disk access but I have no clue on how to address this. 

Many thanks,


Remote Disk Management - RPC Server Unavailable

$
0
0

Hello,

i am trying to do remote disk management from server-manager with this result:

Error is received from a hyper-v 2012R2 host.

Anybody who knows how to fix this?


Thx

SQL Performance and Hyper-V Generation 2

$
0
0

Hi

Environment - HP DL580 G5 running 2012 R2 Hyper V

There are only 2 VM's on this box and the underlying storage is provided by Equalogic.

I have created 2 VM's running 2012 R2 Server with SQL 2012 Enterprise SP2 which are identical apart from one being generation 1 (imported from a 2008 R2 server) and the other being a native generation 2.

My issues is if I increase the memory to 20gb (runs fine on 10gb) on the gen2 server it will crash under load (dbbc checkdb or any other intensive operation).  Gen1 server has no problems running at 20gb.

I am suspecting a numa issue but before I go down this route was wondering if anyone else has seen this.  VMQ's have been disabled on both VM's

Failback after "Protected Network" failover in Hyper-V

$
0
0

Hi everyone

I have a two node hyper-v cluster on Windows Server 2012 R2. I use "Protected Network" feature combined with LACP teaming at the Hyper-V level. Protected Network works fine, it meens when network connection of a particular VM is broken, the Live Migration begins and VM starts working on a second node.

The problem is with a failback action. In the VM properties I have set the preferred owner and I allowed failback immediately. After loosing a network connection Protected Network feature migrates the VM to a second node (not preferred). But after the connection is reliable again on the first node, the failback does not happen. When I for example restart a Cluster Service on the first node, then all VMs are migrated to a preferred nodes. Failback also works fine after restarting one of the nodes. It does not work only after Protected Network failover.

Do you think failback is possible with Protected Network feature?

What is the best free backup solution for Hyper-V R2/2012? CSV support is necessary

$
0
0

Hi,

I need so guidance, please.

I’m planning to deploy a free backup solution for my virtual environment and I need your advice. I have the following configuration:

Failover Cluster:

  • Two Dell Servers
  • OS: Windows 2012 STD
  • Each server has two AMD Opteron 4180 6C @ 2.6 GHZ
  • 16 GB – RAM (supports 256GB)
  • QNAP NAS (CSV)
  • It’s hosting a DC, an Exchange 2010 and soon a SharePoint 2013 VM

Standalone Hyper-V:

  • Dell Server
  • OS: Windows 2008 R2 Datacenter
  • It has two Intel Xeon E5520 @ 2.2 GHZ
  • 16 GB - RAM
  • It’s hosting 3 VMs

In my research I found these apps. All of them are limited in some way but they do the job:

  • Veeam Backup Free Edition v7
  • Altaro Hyper-V Backup
  • Unitrends Enterprise Backup
  • PHD Virtual Backup for Hyper-V
  • HV Backup from CodePlex
  • Windows Server Backup (WSB)

What is your experience with them? What would you recommend?

When it comes to money, which one is more affordable? (In case I want to buy the full version)

Thanks in advanced. 

Viewing all 19461 articles
Browse latest View live


Latest Images