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

Hyper-V 2016 no GUI how to set Ip address on a VM and plug it to one of the switch (internal or external)

$
0
0

Hi

sorry for this beginner's question

How to set Ip address on a VM , and plug it to one of the switch (internal or external)

I suppose I need using the cmd  Set-VMNetworkAdapter , but how?

I join snapshot of my Hyper-v Powershell Session


How to relocate VM config files in Server 2016?

$
0
0

I'm trying to consolidate a number of vhdx files with their corresponding VM config files into a folder named after the VM (regardless of the vhdx or config file names).

Will I need to Export/Import the VM in order to accomplish this task?

Our "standard" directory structure scheme has been violated a number of times now and we need to reduce the potential for confusion/mistakes.

Can these new binary files in 2016 be moved? Can their parent directories be renamed?

I can obtain info about the VM like this:

((Compare-VM -Copy -Path 'H:\VM\<myguid>.vmcx' -GenerateNewID).VM) | Select *

But I'm not sure how this helps me correlate the .vmcx or .vmrs files with the .vhdx or assist in the task at hand.

Snapshot/Backup of Domain-Controller VMs not possible on Server 2016 Hyper-V Host?

$
0
0

Hello,

we have two Server 2008 R2 domain controllers running as VMs on a Server 2016 Hyper-V host.

We can't take snapshots of these VMs, getting Event-IDs 3280 from Hyper-V-Worker and 18012 from Hyper-V-VMMS, which also means we can't take backups.

We have tested this, and the error occurs as soon as ther server becomes a domain controller.
We can take snapshots without issues of all ohter VMs, which are no comain controllers.

Any ideas?

Kind regards

Hyper-V Generation 2 Windows 10

$
0
0

Hello I have a hyper-v client that I downloaded here.
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

However this is a generation 1 machine:

I need a generation 2. I tried using this but don't think it works for windows 10, at least I could not get it to work.
https://code.msdn.microsoft.com/windowsdesktop/Convert-VMGeneration-81ddafa2/view/Discussions

Can I download a client somewhere just like in my first link that is generation 2 by default maybe?

Configuration with two NICs on Hyper-V host

$
0
0

There are two physical NICs in Hyper-V host. I want one NIC dedicated to the host, and the other to provide external network to two VMs. Would below be appropriate?

  • First NIC: assigning it the host IP, without using it for any Virtual Netorks
  • Second NIC: Create an External Network, along with a Microsoft Virtual Switch, and use it to provide network services to the VMs. Virtual NICs for the VMs would be associated with that External Network. A static IP would be assigned to the virtual switch of this adapter, and each VM would be assigned a static IP as well.

Alternatively am I better of teaming the two NICs?

Thanks



Hyper-V 2012R2 Replica Brocker Replication to Hyper-V 2016 Fails

$
0
0

Hi Everyone.

Right now, we have a very strange issue, we just install a new Window 2016 Datacenter Physical Server to act as a replica server to receive our production workloads replicas, every works well until we replicate several machines from our Hyper-V Cluster Replica Brocker, the replicas start the initial replica process and when it reaches 98% fails with the following error. 

Event ID 33676 on Hyper-V-VMMS

Replication operation for virtual machine '*********' failed: One or more arguments are invalid (0x80070057). (Virtual machine ID 1729A75A-B136-45EE-A009-827D46FC2757) (Primary server: 'COBOGWBPSQLBRK.*****.com', Replica server: 'rep04.****.com')

Event ID 32034 in Hyper-V-VMMS

Hyper-V failed to import initial replica for virtual machine '******': One or more arguments are invalid (0x80070057). (Virtual machine ID 1729A75A-B136-45EE-A009-827D46FC2757)

The replicas that come from stand alone Hyper-V Servers works great and the Replication Health Status is Normal and continusly replicate the changes as in should do.

The issue is only with the virtual machines that are replicated from a Hper-V Cluster using a Hyper-V Replica Brocker



I'll appreciate all the help that you could offer



Can Hyper-V 2012 enable Powershell management of VMs on a 2008 R2 machine?

$
0
0
I have a large number of VMs, all hosted on W2K8 R2 SP1, that I would like to migrate to new W2K12 host machines.  Is it possible to manage the 2008 VMs with the Powershell cmdlets available on the 2012 servers?

Trying to export then import existing VM - "encountered error during import operation"

$
0
0

Hello,

I'm very new to Hyper-V and have had the task of "cloning" an existing VM we have in use.  From the Hyper-V management console, I have successfully (i think) exported the VM that I want to replicate, but then receive the following unhelpful error message when walking through the 'Import Virtual Machine' wizard.. 

"Hyper-V encountered an error during import operation"

I receive this after walking through the entire wizard, selecting the VM to import (the one I exported), and selecting destinations for the new VM files.

Any help is greatly appreciated as this is a critical business and time sensitive issue for me.

Environment is Windows 2012 R2

K



changing the primary Domain DNS name of this Computer to Fail

$
0
0


We have Windows Server 2012 R2 Domain Controller.. and have 4 ADC at different location.

when I take new PC in domain it gives me following error first. when I restart PC 2-3 times it connect to domain ..

It should connect to nearest Domain Controller but it's not connect to nearest DC... showing logon server after this cmd set l..

....

Joining domain inside Hyper-V - Server 2012 R2

$
0
0

Here is the situation:

I have created two virtual machines in Hyper-V. Both are connected to the same Hyper-V virtual switch, both have access to the Internet, both have their own IP adresses in my physical network:

My physical machine has IP 192.168.0.7

Virtual machine A has IP 192.168.0.20

Virtual machine B has IP 192.168.0.21

I can "ping" them any way around - it works.

Both virtual machine are running Windows Server 2012 R2, just installed.

On machine A I want to create a domain and I want machine B to join it. So I added Active Directory Domain Services role to machine A, created a domain called CrmDomain.local. I used all the default settings by the way.

I log in to machine B as Administrator, go to settings, type in CrmDomain to join. A new window pops up for credentials (so I guess it can find the domain), I type in Administrator password, hit Enter... It tries to connect for a couple of seconds, then this pops up:

http://image.prntscr.com/image/5307c865f4be4f5699ffb65c5b63070e.png

I don't know what am I doing wrong. I don't care about security - it's just for testing purposes.

Here is ipconfig/all from domain controller (machine A):

http://image.prntscr.com/image/7bc0eb7869fe4adc9bebe3f95a2cabf0.png

And here is machine B:

http://image.prntscr.com/image/6cfcd27341fc4f669d075c5a8b425cf1.png

I haven't touched any settings, it's my first time with server system :P

If I can give you any more informations, please let me know.

How to replicate a vhdx between VMs on a single Hyper-V host?

$
0
0
I have a standalone Hyper-V 2016 Core server. This server has two Windows Server 2012 R2 VMs. I want to replicate a virtual disk from one VM to the other in real-time on the same Hyper-V host. How can I achieve this?

Many thanks

Multiside Hyper-v Cluster: Access to storage of other site

$
0
0

My company has a geocluster/multisite hyper-v cluster. We have 2 close Datacenters/Sites
We have 2 hyper-v hosts on Site1, 2 hyper-v hosts on Site1, quorum in remote office.
We have 1 HP 3PAR on Site1 and 1 HP 3PAR on Site2. We have SAN replication. We use CSV
The design is OK and valid by Microsoft....

My questions are only for learn in depth:

1) Could hosts on site 1 access to storage on Site2 or always access storage on Site1 ??
2) If 2 hosts on site1 are off and storage on Site2 is off, I supppose that any VM can start, not ??

The FXC3.FaxAgent service terminated unexpectedly

$
0
0
hi Friends We have a new system for sending faxes named FAXCORE the main 
service (FXC3.FaxAgent)
 falls every morning at 5 am 
 at almost the same time 
the server platform is windows 2012 r2 on hyperv 




-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

-<System>
 <ProviderName="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
 <EventID Qualifiers="49152">7034</EventID>
 <Version>0</Version>
 <Level>2</Level>
 <Task>0</Task>
 <Opcode>0</Opcode>
 <Keywords>0x8080000000000000</Keywords>
 <TimeCreatedSystemTime="2017-01-14T03:03:54.569138400Z" />
 <EventRecordID>6953</EventRecordID>
 <Correlation/>
 <ExecutionProcessID="668" ThreadID="12936" />
 <Channel>System</Channel>
 <Computer>faxcore.local.lonrd</Computer>
 <Security/>
 </System>
-<EventData>
 <Data Name="param1">FXC3.FaxAgent</Data>
 <Data Name="param2">2</Data>
 <Binary>46005800430033002E004600610078004100670065006E0074000000</Binary>
 </EventData>
 </Event>

veeam backup vs hyperv suddenly fails (Microsoft Hyperv-V VSS Writer is non-retryable error state)

$
0
0

Hi

2012 r2 hyperv, using veeam backup and replication 9.5 for backups.

Suddenly backup stopped working an the error that throws:

1/15/2017 3:19:47 AM :: Unable to allocate processing resources. Error: Writer 'Microsoft Hyper-V VSS Writer' is failed at 'VSS_WS_FAILED_AT_PREPARE_SNAPSHOT'.
The writer experienced a non-transient error.  If the backup process is retried,
the error is likely to reoccur.
--tr:Failed to verify writers state.
--tr:Failed to perform pre-backup tasks.

If we run vssadmin list writers on hyperv host we see that Microsoft Hyperv-V VSS Writer is non-retryable error state. If we restart hyperv management service then this error disappears for awhile, until we dont trigger backup again.

we have even rebooted hyperv host but that did not solve it .

Please advise


bostjanc

Hyperv cluster : Owner CSV different Owner VM

$
0
0
What happen if  the owner csv is different to the owner Virtual machine when this VM uses that CSV ?

Hyper-V Core 2016 Kerberos Constained Delegation Failing

$
0
0

Hi all,

I am running some tests in a lab environment and have run into an issue that's left me quite confused. I'm running some base VMs in VMware Workstation, two of which are nested virtualization Hyper-V machines installed on Windows Server 2016 Datacenter Core. One last machine simple serves as a GUI management node and Veeam host.

A visual representation of my environment:

>Workstation Host (VMware Workstation as hypervisor)
>>LAB-VHOST01
>>>>LAB-DC01
>>>>LAB-ADCS01
>>>>LAB-NANO01
>>LAB-VHOST02
>>LAB-MGMT01

My challenge lies within trying to live migrate a VM from LAB-VHOST01 to LAB-VHOST02 using the management console on LAB-MGMT01 using Kerberos authentication. I've set up the cifs and 'Microsoft Virtual System Moving Service' services on LAB-VHOST01 to delegate to LAB-VHOST02, and vise versa. 

However, when I initiate a VM migration with those two services delegated, it fails with a 'no credentials are available in the security package' Kerberos error message, and the event log on LAB-MGMT01 reports an Audit Failure on a null SID.

When I configure either of the VHOSTs to delegate to any service, the live migration is successful. My question then is, what services and/or hosts are actually involved in this process? I've tried delegating every service to the opposite host, but it fails as well. It only succeeds when automated delegation to any service is used. I've had no luck looking online and would appreciate any input.

Enable TPM on Hyper-V Machine

$
0
0

Hello

As always I have a hard time deciding in which forum to post, so feel free to move if there is a better option.

I have a Hyper-V client that I got here:
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

Now I need to be able to create a Virtual smart card on this machine. (tpmvscmgr.exe  create /name tpmvsc /pin default /adminkey random /generate)

However I get:

Creating TPM Smart Card...
TPM Virtual Smart Card management cannot be used within a Terminal Services session.
        (0x800704d3) The request was aborted.

If I enter tpm.msc on the machine it says:

Compatible TPM cannot be found

It works on my local machine and the cards created there can be found in the virtual machine. How to do so I can create them in my hyper-V?

Hyper-V MAC Adress Conflicts

$
0
0

Hello Community,

I have a Windows Server 2012 R2 Host with 6 VMs. suddenly the host went inaccessible across the network due to MAC address conflict which was logged in the event log as below.

(Warning) MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver.

I've seen a resolution in one of the MSDN wiki (http://social.technet.microsoft.com/wiki/contents/articles/31357.hyper-v-mac-address-conflict-event-16945.aspx) but doesn't seems to be the right way of resolving this (Change the MAC Address Manually - not a good practice at all !)

To Describe more on the setup - we have 4 VMs connected to Production Switch (Shared NIC) | 2 VMs connects to DMZ Network (VLAN Directly binds to VM, Not Shared). When the Host gone inaccessible, All VMS became inaccessible.

Appreciate any thoughts !

Nested VM doesn't have network conn. despite of MAC spoofing enabled

$
0
0

Hi all,

i'm trialing Hyper-v 2016, enabled Hyper-v in one of the VMs and also enabled MAC address spoofing on the NIC.

The issue is, even though the Hyper-v VM got MAC spoofing enabled however the nested VM cannot access network.

When I look at the network status of the VM using Hyper-v manager I don't see the MAC address of the nested VM either, seams like the MAC of the nested VM is not learnt

Any suggestions? 

NIC Teaming and iSCSI

$
0
0

Hi,

From the following article: https://blogs.technet.microsoft.com/askpfeplat/2013/03/18/is-nic-teaming-in-windows-server-2012-supported-for-iscsi-or-not-supported-for-iscsi-that-is-the-question/ we know that we can use iSCSI over LBFO and that it has some advantages over MPIO in SOME cases. And that iSCSI over LBFO is supported for targets.

Now, I have some storages that only have 2 NIC, some have 3, others 4. On the other side, my hyper-v servers have 4,5,6,8 NICs. Thus I have somewhat 2 solutions for implementation.

If I use MPIO, I would need to create virtual adapters on the storage server to create the paths on alternate VLANs up to 6 VLANs (As some Hyper-V server would have 6 NICs for iSCSI traffic) or I would need to create teams on the Hyper-v servers to access the storage (over 2 vlans) and run MPIO on top of the teams.

In the other case, I would just team on both sides and run iSCSI traffic over the teams (initiator and target). One seems to involve way less moving parts than the other (straight up teaming instead of teaming + vlan + MPIO). And I usually feel that simpler is usually better.

So would that work while still offering good performances ? Would the iSCSI traffic be able to use the bandwidth of the aggregated NICs properly?

Thanks for any comments

Viewing all 19461 articles
Browse latest View live




Latest Images