Hyper-V
couple of questions related to vhd
Hi,
I have a remote Hyper-V host (2008 R2) with couple of VMs.
I would like to convert (from Hyper-V manager) one vhd of one of machines to dynamic from fixed.
The vhd is 74GB (fixed) I have only 30GB free on the partition.
Question :
I guess for converting I need double free space. For converting 74GB I need free space 80GB+
Correct? If yes I can move another VM to another partition.
Is there a chance that after conversion the disk will fail. Backup option is problematic...
If I will use disk2vhd can I convert from fixed to dynamic or just the size could be change using utility (used it long time ago).
Thanks.
--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis
Hyper-V authenticating linux samba
Hi friends,
make the HyperV authenticate in a domain with Linux Samba?
Thank you.
Only hypervisor server with AD Virtualized
Hi friends,
I have a HyperV server 2012 with two virtual servers.
The room is small.
A virtual server is file server and the other active directory, dns, dhcp. (Ad functions)
For good practice it is recommended that the hypervisor is outside the domain, to prevent we can not log into the hypervisor server failure ad server (virtualized).
Where is written that recommendation? (Even though it's logical!)
Hyper v depends on some authentication in active directory to start the virtual machines?
The user could log in cache? There is limitation of cached login? (I need the KD explaining these points of failure).
Thank you.
Upgrading integration services for 2012R2 (Exchange 2016) breaks VM
Hi,
I have a 2012R2 Gen2 VM running Exchange 2016 (all patched) which I can't upgrade the integration services for. When I try to upgrade the integration services for this VM, it hangs at "Getting Windows Ready - Don’t turn off your computer" for 15 minutes.
As soon as I log in, the VM does not have network connectivity and is very unresponsive. Hyper-V doesn't show any integration services version.
A reboot of the VM puts me right back into the 15 minutes of waiting and the unresponsive VM after login.
After waiting another like 20 minutes after login the VM shows “We couldn’t complete the updates – Undoing changes – Don’t turn off your computer”.
After a few automatic reboots & “Getting Windows ready”’s, the VM works again in the pre-upgrade state (old integration services).
Does anyone know a fix/workaround to upgrade the integration services on that particular VM with Exchange 2016 installed?
Thanks!
Regards
Daniel
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Can't run powershell commands such as get-vm, Get-VMHardDiskDrive on hyperv 2012 server
Hi Everyone,
I have run into problems running powershell command in hyperv 2012 r2 server (the free gui less hyperv).
If I drop into powershell and run for example commands such as:
get-vm
Get-VMHardDiskDrive
and others I get
The term 'Get-VM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spel
ling of the name, or if a path was included, verify that the path is correct and try again.
When I check the powershell version I get:
PS C:\Users\Administrator> (Get-Host).Version on the host
Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1
I read on some forum that I have to import modules, but I am not sure which one for the commands to work.
When I run the powershell command Get-Module -listavailable, I get:
PS C:\Users\Administrator> Get-Module -listavailable
Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 1.0 BestPractices {Get-BpaModel, Get...
Manifest 1.0.0.0 BitsTransfer {Add-BitsFile, Com...
Manifest 1.0.0.0 CimCmdlets {Get-CimAssociated...
Manifest 1.0.0.0 DirectAccessClientComponents {Disable-DAManualE...
Script 3.0 Dism {Add-AppxProvision...
Manifest 1.0.0.0 DnsClient {Resolve-DnsName, ...
Manifest 2.0.0.0 International {Get-WinDefaultInp...
Manifest 1.0.0.0 iSCSI {Get-IscsiTargetPo...
Manifest 2.0.0.0 IscsiTarget {Add-ClusteriSCSIT...
Manifest 1.0.0.0 Kds {Add-KdsRootKey, G...
Manifest 3.0.0.0 Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get...
Manifest 3.0.0.0 Microsoft.PowerShell.Host {Start-Transcript,...
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clea...
Manifest 3.0.0.0 Microsoft.PowerShell.Security {Get-Acl, Set-Acl,...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Format-List, Form...
Manifest 3.0.0.0 Microsoft.WSMan.Management {Disable-WSManCred...
Manifest 1.0.0.0 MsDtc {New-DtcDiagnostic...
Manifest 2.0.0.0 NetAdapter {Disable-NetAdapte...
Manifest 1.0.0.0 NetConnection {Get-NetConnection...
Manifest 1.0.0.0 NetEventPacketCapture {New-NetEventSessi...
Manifest 2.0.0.0 NetLbfo {Add-NetLbfoTeamMe...
Manifest 1.0.0.0 NetNat {Get-NetNat, Get-N...
Manifest 2.0.0.0 NetQos {Get-NetQosPolicy,...
Manifest 2.0.0.0 NetSecurity {Get-DAPolicyChang...
Manifest 1.0.0.0 NetSwitchTeam {New-NetSwitchTeam...
Manifest 1.0.0.0 NetTCPIP {Get-NetIPAddress,...
Manifest 1.0.0.0 NetworkConnectivityStatus {Get-DAConnectionS...
Manifest 1.0.0.0 NetworkTransition {Add-NetIPHttpsCer...
Manifest 1.0 NFS {Get-NfsMappedIden...
Manifest 1.0.0.0 PKI {Add-CertificateEn...
Manifest 1.0 PSDesiredStateConfiguration {Set-DscLocalConfi...
Script 1.0.0.0 PSDiagnostics {Disable-PSTrace, ...
Binary 1.1.0.0 PSScheduledJob {New-JobTrigger, A...
Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExe...
Manifest 1.0.0.0 PSWorkflowUtility Invoke-AsWorkflow
Manifest 2.0.0.0 RemoteDesktop {Get-RDCertificate...
Manifest 1.0.0.0 ScheduledTasks {Get-ScheduledTask...
Script 1.0.0.0 ServerCore {Get-DisplayResolu...
Script 2.0.0.0 ServerManager {Get-WindowsFeatur...
Cim 1.0.0.0 ServerManagerTasks {Get-SMCounterSamp...
Manifest 2.0.0.0 SmbShare {Get-SmbShare, Rem...
Manifest 2.0.0.0 SmbWitness {Get-SmbWitnessCli...
Manifest 2.0.0.0 SoftwareInventoryLogging {Get-SilComputer, ...
Manifest 2.0.0.0 Storage {Add-InitiatorIdTo...
Manifest 2.0.0.0 TLS {New-TlsSessionTic...
Manifest 1.0.0.0 UserAccessLogging {Enable-Ual, Disab...
Manifest 1.0.0.0 Wdac {Get-OdbcDriver, S...
Script 1.0 WindowsErrorReporting {Enable-WindowsErr...
Manifest 1.0.0.0 WindowsServerBackup {Get-WBDisk, Get-W...
Does anyone have an idea on how to get these commands working?
Thank you.
Regards
Alfred56
HyperV replica standalone
I want to know if it is a mandatory requirement for the HyperV work only if there is an Active Directory?
The HyperV extend the schema?
To my knowledge, an Active Directory is required in HyperV scenario clustered.
To use the HyperV role replica I need an Active Directory?
Does a HyperV cluster with linux samba work?
Thank you.
Sync versions of Integration Services on clustered hosts
Hyper -V export and import
Hi,
I have exported one of my virtual machine ( mail server) from server A
Now i am trying to import it to a new hyper-v server (sever B)
i am presented with 3 options, register, restore and copy. Which should i choose?
The intention is to shut down the old mail server from server A.
But at the moment, we would like both of them to be up first.
Thank you
Hyper-V Host Reachable but some guests are not visible via network
Hey,
we´ve got a Problem with one of our standalone Hyper-V Hosts.
Problem is that the Hyper-V Host is reachable via network but some guests are not.
All Guests are in the same NIC-Team / HV-Switch.
The Issue occurs first at last friday morning. - Strange that the same issue occurs today - also friday.
If i restart the Host - then it´s all working again.
I´ve cannot see any event logs which contain valid information for the reason - just that dns lookups are not working anymore because the Domaincontroller and DNS ist a VM.
Hyper-V Host is Server 2012 R2 with actual patches - VM´s are also all Server 2012 R2 with actual patches.
Any Suggestions?
BR Dominic
MCSE Server Infrastructure 2012
Server 2012 VM stuck on "Please Wait" during boot up
I am running Server 2008 R2 with Hyper-V. All virtual machines are stored on an iSCSI SAN. I have three host servers in a failover cluster.
Yesterday, one of my host machines failed and shut down unexpectedly. Failover occured as expected but the machines which were on that host were shut down uncleanly. One of them was a VM running Server 2012 which runs SCCM 2012.
I got the failed host machine back online and spread my VMs out over the 3 servers again. At this point I had not started my 2012 VM back up.
I tried to boot my server 2012 VM today and it has been stuck on a dark blue server 2012 screen with Please Wait and a spinning circle for 45 minutes at the time of writing this post.
I don't know what's happened to this machine - or why it is stuck. It was shut down cleanly yesterday when the failure occurred. Is there anything I can do to get this VM up and running again?
Edit:
It finally finished booting so I could log on. It took an hour and 6 minutes to get to the login screen. If anyone has any ideas why this might have taken so long (all other VMs are fine and boot quickly) and how to prevent it from happening in the future, I'm all ears!
It's now taking a while to actually login, mind you... stuck on applying user settings... so presumably there's still a problem somewhere.
PassThrough Disk Attached VM did not joined to Cluster [Windows 2012 R2]
Hi All,
Good Day!!!,
We are building 8 node Windows Cluster, before create cluster we created all Mgmt VM for System Center Suits. Except DPM VM are joined to Cluster as HA . But DPM VM We could not able to join to cluster since pass through disks are attached to VM .
Cluster: windows server 2012 R2 - 8 Node
we converted all LUN as Dynamic Disk in Host machine first and attached to DPM VM.
we tried to attach disk first to cluster as per below links did not worked.
https://blogs.technet.microsoft.com/askcore/2013/01/24/behavior-change-when-working-with-pass-through-disks-in-windows-server-2012-failover-clusters/
Thanks in Advance.
Regards, Kesa_Kara Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
updates for 2012
Dear All,
I have an issue with Veaam replication on windows 2012 HyperV cluster. The issue is that CSV space usage is filling up every time replication that occurs. On Veeam forums they sugest the following updates to fix this issue. But these updates are available only for 2012 R2 and not for 2012, where can i find these updates for 2012?
https://support.microsoft.com/en-us/kb/3060678https://support.microsoft.com/en-us/kb/2935810
https://support.microsoft.com/en-us/kb/3140250
https://support.microsoft.com/en-us/kb/3137728
https://support.microsoft.com/en-us/kb/3130944
Virtual Machine Management service is not available
"Time out has expired and the operation has not been completed.
If you just enabled Hyper-V, please restart now."
This would be fine were it not for the fact that I have both enabled Hyper-V in Windows features, as well as in enabling Intel Virtualization and VT-d in my BIOS (i.e. all the virtualization related setting I have been able to find). I have also restarted my pc an estimated twenty times today.
This was starting to look like a Docker issue until I opened Hyper-V Manager (v. 10.0.10586.0), in which my virtual machine list is empty but for this message.
"The Virtual Machine Management service is not available."
Clicking Start Service does not seem to be do anything on the surface. However, if I open my Event Viewer, the following error pops up.
"The vmms service terminated with the following error:
The parameter is incorrect."
Which parameter it's talking about is, sadly, a complete mystery to me. The Details tab of the event includes the following.
"EventData
param1 vmms
param2 %%87
76006D006D0073000000"
This is where I go off on a swath of Google-fueled wild goose chases, which I have tried to summarize.
- Open Services in Windows and start Virtual Disk > Virtual Disk started but had no effect on Hyper-V.
- 'bcdedit -set hypervisorlaunchtype off' in bash > Setting was toggled as expected but had no effect on Hyper-V.
- Disable and re-enable Hyper-V in Windows features > No effect.
- Disable and re-enable virtualization in BIOS > No effect.
- Update Windows > No effect.
- Throw up hands in despair and cry in a corner > Made me feel slightly better.
As far as I can tell something, somewhere is breaking down whenever I try to start a virtual machine with Hyper-V. Unfortunately I cannot for the life of my fathom what that something is.
Anyone have any insights to kickstart my investigation? Any pointers would be much appreciated.
Audit changes to VM's Hyper-V
Is there a way to view who made changes to a Hyper-V virtual machine? Such as adding a network, increasing RAM/CPU ect... I have poured through the advanced event logs under the Hyper-V section but I don't see these changes in any of the log files.
We had an admin today increase the RAM and CPU on a machine but I can't seem to find any trace of those changes in the Hyper-V logs. There are some entries in the log but they are all mostly system tasks occurring in the background. This is for Windows 2012 and 2012 R2.
Am I missing something? The end goal is to know who made changes to a VM and what thosechanges were.
Server 2012R2 attempting to run Hyper-V on HP DL380 Gen9
My client has a brand new HP DL30 Gen9 that they want to use for Hyper-V
The first install went smoothly, and the OS was running within 30 minutes. Then the problem hit. When you install the hyper-v role (server manager or powershell) it goes for its first reboot and comes back up, shows the installing features screen, reboots again, and then server will not boot.
I get the logo, but no spinning dots.
I can get in to safe mode, but not normal mode.
I checked all the bios settings, went through hours on the phone with HP, i tried to rebuild this thing in so many combinations i've lost count, with hp intelligent provisioning, without, in UEFI mode, in legacy bios mode, with just a base set of drivers and with the full set of updated HP drivers. I have also tried it with Server 2008R2, Server 2012, and server 2012R2. Everytime, OS loads fine, then when you install hyper-v it never comes back after the second reboot.
I've had HP out ot change the mainboard, we have used up to date and old drivers. this thing has been rebuilt about 18 times in the last three days
I have however had a minor breakthrough. If i disable a couple of features in BIOS it boots normally. Unfortunately those features are the virtualisation technology features, which kinda makes this useless!
Any ideas?
Hyper-V replica for Linux
Hello,
is there any limitation for Linux VM replication in HyperV 2012 R2?
Thank you.
Unable to move VM after iSCSI Target crashed
Dear Windows Server community
I am in the process of migrating my storage to a new volume on my Synology DS1515+. While migrating files (not iSCSI), the iSCSI Target crashed. The iSCSI Initiator on my Windows Server 2012 R2 showed the Target with the status "Reconnecting". After I rebooted the Synology NAS (had to force shutdown), all the iSCSI drives reconnected, but I can not move any machines from it to other volumes. I do the following:
- Open Hyper-V
- Select machine (on iSCSI drive No1) > Move
- Move the virtual machine's storage
- Move all of the virtual machine's data to a single location
- Browse for iSCSI drive No2
- Finish > The following Error message comes up:
There was an error during move operation.
Storage migration for virtual machine failed.
Operation not allowed because the replication state is not initialized.
I am not running a cluster or had to deal with replication before, just one machine hosting multiple VMs and storing them on two iSCSI drives. I was able to move all the other machines exactly the same way. Does anybody know why I get this error and how I can fix it?
I am studying economics and computer science, but I am a little overwhelmed with my little server and NAS in the basement ;-)
Thank you in advance for your help.
VM not starting from a Saved State
Guys,
Thanks for reading this question and any support you can offer would be really appreciated as I have spent 3 days trying to work out how to resolve this.
I have a Virtual Machine on Hyper-V Server 2012 that is failing to start from a saved state. The error that I am receiving is:
start-vm : 'Newcastle - Domain Server' failed to restore. (Virtual machine ID
374C3160-65E8-4BC0-90D7-7E59005E5C4B)
'Newcastle - Domain Server' Microsoft Emulated IDE Controller (Instance ID
83F8638B-8DCA-4152-9EDA-2CA8B33039B4): Failed to restore with Error 'The
system cannot find the file specified.' (0x80070002). (Virtual machine ID
374C3160-65E8-4BC0-90D7-7E59005E5C4B)
'Newcastle - Domain Server': Attachment
'IDE\DISKST31000528AS____________________________CC38____\5&2CA5C2&0&0.1.0'
not found. Error: 'The system cannot find the file specified.' (0x80070002).
(Virtual machine ID 374C3160-65E8-4BC0-90D7-7E59005E5C4B)
At line:1 char:1
+ start-vm -name "Newcastle - Domain Server"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.HyperV.PowerShell.VMTas
k:VMTask) [Start-VM], VirtualizationOperationFailedException
+ FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Comm
ands.StartVMCommand
The disk drive DISKST31000528AS is attached and I have checked in the BIOS, rechecked twice :-)
I just cannot work out what to do as I need to get this up and running urgently as there is data that needs to be taken off it and put onto our other server. I have tried to force stop the VM but it gives me a command cannot be run due to the VM state (or something).
Any help would be really appreciated .....
Thank you
Unable to see all pcs in DNS
I have a Windows 2008 r2 vm on HyperV on Windows 2012. When I scan my network I dont see all the devices in DNS.