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
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
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.
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
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?
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?
Alternatively am I better of teaming the two NICs?
Thanks
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.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
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..
....
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.
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 ??
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
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.
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?
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 !
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?
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