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

Hyper-V Virtual Switch configuration file?

$
0
0

Where is the Hyper-V Virtual Switch configuration stored? 

By that I mean if its stored in a config-file somewhere on the host itself or if its stored in the registry.

I've been researching this without a clear answer.


Knowledge is power.


Single VLAN ID out of 5 not working in Hyper-V 2012 Cluster / SCVMM 2012 SP1

$
0
0

I am having strange issues with one specific VLAN in a Hyper-V 2012 cluster.

The cluster has 3 servers, each one has a "Management" adapter and virtual switch for management traffic and "VM Data" adapter and virtual switch for virtual machine traffic. Host access is enabled for the "Management" virtual switch and disabled for the "VM Data" virtual switch. 5 VLANs are enabled for the "VM Data" adapters with IDs 1,2,3,5 and 7. A virtual machine with the virtual network adapter set to untagged or VLAN IDs 1,2,5 or 7 will work just fine, but there's no network access with VLAN ID 3. I triple-checked everything from switch config, host adapter config, virtual switches and the corresponding enabled VLANs, VM networks and logical networks... no luck. This issue happens on all 3 servers of the cluster.

Server 1+2: HP ProLiant DL380 G7 with HP (rebranded Broadcom) NICs

Server 3: Dell PowerEdge 2950 III with Broadcom NetExtreme II NICs

If i directly connect a PC to the switch ports, communicating with VLAN 3 works without a problem.

When enabling host access for the "VM Data" virtual switch with VLAN 3, the host also cannot communicate through the vEthernet adapter. Two virtual machines with VLAN ID 3 on the smae host can communicate with each other.

Assistance would be much appreciated, i ran out of ideas.

Best regards,

BS

Cloning a VM in powershell, it seems to delete or remove MS integration tools from the cloned VM???

$
0
0

Stop-scvirtualmachine -vm "fax-bbp template" 
$VM = Get-SCVirtualMachine -Name "fax-bbp template" 
$VMHost = Get-SCVMHost -ComputerName "HyperV20.ABC.local"
if($VM.Status -eq "PowerOff"){New-SCVirtualMachine -Name "VM04" -VM $VM -VMHost $VMHost -Path "C:\ClusterStorage\Volume2" }
set-scvirtualmachine -vm vm04 -description "XZY CORP-12345"
#connect to network and set vlan
$VM1 = Get-SCVirtualMachine -Name "VM04"
$Adapter = Get-SCVirtualNetworkAdapter -VM $VM1 
Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $Adapter  -VirtualNetwork "ConvergedNetSwitch" -vlanid 1002 -logicalnetwork "ConvergedNetSwitch"
#Add it to the cloud
$cloud = Get-SCCloud -Name ABC_Cloud
set-scvirtualmachine -VM VM04 -Cloud $cloud
Start-scvirtualmachine -vm "fax-bbp template"
Start-scvirtualmachine -vm VM04

Clone gets created just fine, everything is as I want it to be just there is no MS Integration Tools... I have checked my VM I am Cloning and it has MS integration tools installed?? I cannot seen to find anything to automatically install the integration tools via powershell


James_Stephan@yahoo.com visit my blog stephanco.blogspot.com

Changing to default location of the replicated hyperv servers

$
0
0

Here is my scenario:

I have 3 Hyper-v servers in site A. They are replicating to site B. My problem is that site B server is running out of room. I want to change the default location of the replicated files at site B to a NAS that I just put in. My question is, do I need to stop replication from the primary to the replica or can I just change the location on the replica server at site B to point to the NAS.

Regards,

Addicus

Hyper V and Veeam

$
0
0

Hi

Im hoping someone might be able to help ...

We are upgrading to a Hyper V virtualised set up.

We have two Host servers with DAS, one licence for server 2012 Datacenter and Veeam Back Up and replication.

Our initial plan was to set up our virtual infrastructure (which will only be about 15 servers) on Host A in site A, and using Veeam replicate all the data and machines to the identical host on site B so that in case of Site A becoming unavailable - either the server room or just the server, we could switch to Host B on Site B and all VMs and data would be up to date to whatever replication interval we had set.

Both Hosts are on the same VLAN, so addressing for them and the VMs is not an issue

The idea was the failover would (hopefully) be automatic, but if not, then very simple and performable by people with potentially very limited IT ability.

When trying to put this in place I find I am not able to copy, replicate the VMs to the filover server in such a way as they can then be immediately switched on and used if required.

Backing up is fine, as is replicating. Restoring to original Host also is no problem. Which covers individual VM issues, but the concern here is with disaster issues

Am I missing something, either in what I am doing or is the plan just doomed from the start?

Do we have to just buy a second Datacenter licence and cluster?(Finance people VERY against this option after the initial purchases of servers, OS and VEEAM.

Thanks for any help


Server 2012 Virtual Machine BSOD after hardware crash - 4 times

$
0
0

I have now had 4 Server 2012 VMs fail to boot after a hardware failure in the cluster, requiring the servers to be rebuilt. This has happened in a span of 2 months since we started deploying this configuration and using Server 2012.

This has happened at 3 different locations, meaning it is NOT tied to a specific SAN, switch, or server.
-The first and second failures was when the Hyper-v servers both BSOD at the same time, causing the guests to die. BSOD was due to a network driver issue, and both systems receiving the same bad packet.
-The third failure was in our lab as we were building the cluster prior to production deployment. We had a power outage that killed the SAN, but left the storage and switch running.
-The fourth failure was when we had the switch doing iSCSI reboot on us. None of the Server 2008 machines were effected, but 1 of our 2012 Domain Controllers BSOD and needed to be rebuilt from scratch.

Here's the hardware setup for each location. I have this setup in 15+ locations, the problem has happened in different locations, so it is not specific to one location's hardware.

-2 Cisco UCS servers running Server 2012 Datacenter with Hyper-V in a cluster.
-Nimble storage array for iSCSI volumes.
-HP switch for iSCSI backbone.
-All hardware and drivers are being updated at the time of the build.

The dead systems all share these things:
-Running Server 2012 standard
-Domain controller
-created from the same template VHDX file

At this point I have no faith that any VM will survive any sort of hardware crash or power outage. I can see it occasionally causing a VM to not boot after a crash, but we've had 5 system crashes, and of those 5, 4 of them have caused me to rebuild a Server 2012 guest VM. That's an 80% failure rate.

Anyone else experiencing this level of failure?

I've been doing iSCSI VMs on VMware for 6+ years, seen countless crashes, and never had to rebuild a VM because of it. This is my first go at hyper-v. I'm not trying to bash it and say VMware is better, I'm just amazed at what I'm seeing, as it's not expected.

I've followed all the guidelines of MS and the storage vendor for iSCSI configuration. The problem doesn't appear to be storage related though. The VM will boot, so the VHDx file is not corrupt,it just seems that Server 2012 as a VM is not very crash resilient.

I have some systems in the lab now getting ready to ship, I am going to see if I can BSOD a Server 2012 guest running on local storage.

Windows Server 2008 Hyper-V virtual network problems

$
0
0

Hello all,

I am renting a dedicated server running Windows Server 2008 R2 and I only have access through RDP at this moment. I have been trying to create a virtual network so I can set up a Ubuntu VM and connect it to the internet, but I have had no luck yet. There are 2 questions that I have:

1. In the dedicated server there is one Realtek gigabit NIC so I will have to use one card for both my OS and the virtual machines. When I try to create a virtual network and select 'External' and set it to work with the onboard NIC, my remote desktop can't connect to it anymore and I have to ask one of the technicians to remove it so I can RDP back into it. What am I doing wrong? Is there anything in the properties anywhere that I have to set up specifically?

2. Before I tried to fiddle with it there was already a virtual network present with the desired settings (external, using my NIC) that as a 'comment' has "Microsoft virtual switch", I did not set that one up as far as I know. I tried creating a VM and connecting it to this VNIC but it would not connect to the internet (no DHCP as far as I can tell). So I configured it manually by going into the VM (ubuntu 12.04 desktop) and putting in the gateway, netmask, ip and dns manually, using the assigned values by my datacenter provider. It said it was connected in Ubuntu, but I was unable to ping any domains or IPs. Any idea what could cause this? 

Thanks a lot in advance

Hyper-V Storage Migration Clean Up

$
0
0
I have noticed in Hyper-V 2012 when migrating VM around it leaves behind an empty folder structure. Is there a way cleaning this up automatically after the successful migration?

Any Known Issues With 2012 Clusters And Intermittent Network Drops For Guests Under High Load?

$
0
0

Hi,

When comparing running the same processes on a 2008R2 cluster versus a 2012 cluster, we are getting intermittent network drops on the 2012 vm that do not ever occur on the 2008R2 vm. The scenario is reading large files (50GB) from the virtual machine to a physical machine and then the physical machine writing back to another location on the virtual machine.

A colleague has mentioned he saw that there was a known issue in 2012 Hyper-V regarding network drops under heavy loading that has already had a hotfix released, but we can no longer find this - does anybody know if this is available still?

Also, are there any obvious differences between the virtual adapters in 2008R2 and 2012 (or the networking in general) that might contribute to this? The hardware is at face value identically specified so we are focusing on the Hyper-V differences to start with.

Cheers

Dan

[2012 Hyper-V Failover Cluster] 2 NLB clusters see each others traffic - how to split?

$
0
0

Hi,

for a relatively small environment I have the following setup:

  • 2-node Windows 2012 Standard Failover Cluster with Hyper-V
  • 4 NIC ports per host: one heartbeat + live migration, one internal network, one internal network for NLB and one external
  • On each node one TMG 2010 on 2008R2, forming one TMG array with NLB-cluster (I know, physical would be better, but no budget)
  • On each node one AppV server, forming one NLB-cluster
  • NLB all set to multicast, switch configured as per http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a0080a07203.shtml
  • Several other virtual machines

The switch (as of yet a Cisco 3750) is configured with static MAC and arp entries for the NLB multicast to work properly without flooding the network. Initially the Hyper-V hosts had only one connection to the internal network. As the MAC addresses of the Virtual IP's from both NLB clusters are registered on that port, all VM's saw the traffic to them. Therefore I added another port to the internal network, created another Virtual Switch in the internal network and connected the NLB vm's to that (and updating the static MACs of course). This way the non-NLB VM's don't 'see' the NLB traffic anymore. However, both NLB clusters are still seeing each others network traffic. For the AppV server that's not so much of an issue but the TMG's logfile is completely filling up with bogus traffic that is actually for the AppV NLB cluster. I can filter those messages out, but I'd rather not have that unneeded traffic seen at all.

I could add another physical NIC port, create another Virtual Switch and split traffic from both NLB clusters that way, but unfortunately there are no more free ports on the Cisco. Isn't there another way to split this? I cannot create more than one virtual switch on a physical port. So what I basically need is a programmable virtual switch that allows me to create something like static MAC to a virtual port - and allow me to connect a VM to that specific virtual port, in order to allow me to split the traffic.

Is something like that doable with Hyper-V 2012? Would I need some specific Virtual Switch extensions?


Need Procedure to present Shared LUN to Hyper-V 2012 VM Machine by Virtual SAN Manager of Hyper-V Manager 2012

$
0
0

Hi Team,

Now, we have 2 physical servers with Windows 2012, Hyper-V Installed and configured with Windows 2012 Cluster with shared SAS Storage presented via HBA cards.

Now, I want to do inguest clustering between Windows 2012 std edition VM Machine installed on Windows 2012 Cluster.

So, I have asked storage Team to Present 500 Gb Shared Storage to Physical Server and Created Virtual San manager Switch,

Added HBA Adapter in VM Machine and Connected it to Virtual SAN Manager Switch, now I am unable to see Newly Present 500 Gb LUN inside VM Machine, it is showing in diskmanagement of Base Hyper-V Server, So I have choose online, initiate disk and format it to NTFS without drive letter and without volume name.

Can someone help to complete the above task.

Follow-up mentioned articles.

http://blogs.technet.com/b/privatecloud/archive/2013/07/23/hyper-v-virtual-fibre-channel-design-guide.aspx

http://blogs.technet.com/b/keithmayer/archive/2013/03/21/virtual-machine-guest-clustering-with-windows-server-2012-become-a-virtualization-expert-in-20-days-part-14-of-20.aspx#.UkK5FjLrbIU


Kirpal Singh


VSS Writer wont online backup

$
0
0

We run Hyper-v on Server 2012 and have an issue with the vss writer not using online backup.

When we were running 2008R2, we had the same problem, but only with a couple of VM's, now we have gone to 2012 Hosts we have about 12 VM's that wont backup in online state.

When I list writers, it shows "Backup Using Saved State" for the VM's under Microsoft Hyper-v VSS Writer, so it would be a Hyper-v problem and not with DPM.

I have checked the Microsoft list of reasons when you cannot perform an online backup, but none of those apply.

How can I diagnose what is preventing the Hyper-v VSS Writer perform online backup?

Connection issues between Hyper-V server 2012 and physical domain

$
0
0

Hello,

I am having trouble connecting a virtual copy of Server 2012 to a physical domain.

The error message I get is "The following error occurred attempting to join the domain *insert domain name here*, the specified domain either does not exist or could not be contacted" 

I don't think it is a domain issue as it is asking for a username and password, both of which are correct.

Any idea's on how to resolve this issue?

Thank you.

Multicast to Host but not to Guest

$
0
0

Hi all

 

I have a strange situation. To give you some background, I have recently built 2 Hyper V3 2 node server 2012 clusters in a failover environment; all has been working without issue. The kit moves from location to location, so is frequently turned on and shutdown.

The other day upon bringing the server up, it was noted that the servers on cluster2 could not receive or stream mulitcast traffic, whilst those on cluster1 were fine. Initial thoughts were to it being a single guest machine problem, but upon rebooting the guest this made no difference. All guests were moved off of one node, rebooted the node and then shifted back, again to no avail. Wireshark was used to see whether the guests were receiving multicast traffic, and no they weren’t. Wireshark was also installed on the hosts, and it was being received to there.

The guest in question was failed over to cluster1 and then worked without issues. The kit is currently in transit so I’m unable to test anything but has anyone seen anything similar to this before. As I have said, this situation was not present the last time the clusters were turned on, only this time.

A little bit of background that may help: the hosts are HP385 G8 servers, and 3 ports from each HP server is connected to a cisco 3850 via LACP. The fourth port on the server is connected to each other as the heartbeat connection.

 

Many thanks


Enabling Hyper-V Replica Broker on a Failover Cluster

$
0
0

I'm trying to enable the Hyper-V Replica Broker on a Failover Cluster. I thought I'd got over first problem - which was not being able to create the HRB computer account. That now works, however, the role still stays offline and won't start.

I've tried searching online - but all the information about Hyper-V replica seems geared up for people not using Failover Cluster/SCVMM...

Regards
Lou

Sometimes I feel so happy
Sometimes I feel so sad
Sometimes I feel so happy
But mostly you just make me mad
Baby, you just make me mad



What is your preferred method of remote bare metal hyper-v 2012 server imaging

$
0
0

I need to remotely provision (image) 32 Dell 620 servers (they have iDRAC installed), I will have system center 2012. I was thinking PXE boot and place images on the servers. I know I can use the iDRAC to remote boot a virtual ISO file and install the OS that way. I am looking for a better faster and more pre-configured OS way.

I am used to using Shadow Protect (ghost like product) and making and placing 0 and 1 disk images on servers, I would like to continue along that vein. But with added ability to PXE boot and image the server that way. I am looking into clonezilla and want any thoughts of success or failures with server 2012 deployment.

I understand that you can use system center 2012 to deploy images to your bare metal servers (lots of moving parts and looks pretty complicated) and that it will then deploy a VHD image file to your server. I am assuming that means it will boot to the VHD file (hyper-v light) . I have heard this slows down disk read\writes and can cause some issues.

Thoughts with clear instructions please. Only link me to a website if it helps you to not type so much.

Also looking into the DELL KACE server.

Can anyone tell me if I need system center only or if I need Configuration Manager to image servers??


James_Stephan@yahoo.com visit my blog stephanco.blogspot.com

Nonpersistent disk in HyperV?

$
0
0
Is this possible to make a VM with a Nonpersistent disk?

Josh Bergman

Hyper-v storage

$
0
0

Hi everyone,

I am reading a lot about best practices for storage distribution regarding Hyper-V in order to get the best perfomance.

I need to setup a host with 3 VM's for a client (35-to 50 user environment) and from what I read it seems that I need the following:

1Drive for Host Operating System

Guests:

DC: 1 IDE Drive for OS, 1 scsi for Logs+Sysvol, 1 Scsi for Page file

File Server: 1 IDE for OS, 1 Scsi for for page file

RDS:(Session Based desktop deployment) 1 IDE for OS, 1 Scsi for Page File.

In addition I will need a separate scsi drive for an old custom application and an additional scsi disk for General data.

All of the above is a result of endless reading and I am wondering: A small environment needs 10 disks?? and what about Raid?

Would it make any difference if I do Raid 10 with 4 drives (Host OS separate on RAid1) and put each VM on a different partition? Also create different partitions for data and applications and different partitions for page files?

Thanks.

Enabling Replication After Removing It

$
0
0

Hi,

I've got two Hyper-V clusters here, each with some VM's and replication is set up between the two. These are both Windows Server 2012.

I recently had to remove replication from some virtual machines, to do this I did the following:

1. Removed replication from the primary VM using FOCM

2. Removed replication from the replica VM using FOCM

3. Deleted the replica VM using VMM 2012 SP1

I'm now trying to enable replication, but I get and error message saying:

Is there any logs or anything I can look at?

How can I get this to work?

Z

Windows 8.1 pro hyper-v memory usage

$
0
0
Hello,

I'm running windows 8.1 pro on a laptop with 8gb of ram. When running hyper-v i noticed that windows never seems to use more then 85% of the system memory (something that never happened in 8).

Take a look at the following screenshot:

Image

Windows says 1247mb available, 120mb free and 1127mb standby! 

Is this normal? is there any reason why windows refuses to use the standby memory for the VM needs?
Thanks. 

Best regards, Johnny Tordgeman.
My Blog

Viewing all 19461 articles
Browse latest View live




Latest Images