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

Schedule Snapshots Rotation

$
0
0

Hello,

I have two Hyper-V servers running Replica feature, it is working great, but it only protects me from hardware failure.

Now I want to have snapshots enabled for quick rollbacks (and full backups for more restoring options, but that's for later).

I found this script which describes how to schedule a snapshot each 7 days: https://support.managed.com/kb/a1872/how-to-automatically-rotate-hyperv-snapshots.aspx

From what I understand, it will rotate the Snapshot each 7 days, creating a new one and deleting the previous... but I am looking for something more complicated.

What I really wanted was having a snapshot each 7 days, just like that example, but keeping the last two weeks, and also have a new snapshot daily. So I would always have three separate snapshots instances (2 weeks old, 1 week old and "yesterday"). If I notice performance degradation, I will only keep 2 snapshots (1 week and 1 day old).

Does anyone know how to do it?

Thanks,
Rafael


Problem updating multiple SQL tables

$
0
0

Hello,

We are using Hyper-V with Windows 7.0 Enterprise SP1 as guest OS, on Windows 8.1 workstations to be able to run multiple versions of a Application we are working with.

This software is used to setup and store large configurations in a database (Acess, SQL Server, Oracle...). ODBC Manager is used to establish connections to all databases we use. The Application uses many forms, each saving data in a specific table.

All is working good except when a form tries to update multiple tables (master-details); only the first table (master) is updated and we experience a crash from the Application. The problems seems to come from the fact we are running this Application in a Hyper-V VM...

In all, 3 similar workstations, with Hyper-V setups, are experiencing this problem. Workstations with he same version of the Application installed (NO Hyper-V) are able to update the same databases successfully.

I tested with Oracle and SQL Server (both local and on network server) with same result. I can use Access successfully for this operation, no problem both locally and on a net share.

I will continue to test trying to trace with a local SQL Server instance but would like to get ideas what to look for. I suspect Transactions but yet to find a error message which could help me pinpoint the problem...

Any help appreciated at this point !

Thanks,

Michel



2012 r2 hyper v pagefile system managed

$
0
0

Not sure this is the right location to ask this, but I haven't found clarification on my question through my searches. I was hoping an expert can shed some light on my confusion.

So I have a 2012r2 hyper-v host with 1 vm

32gb ram

now I know Microsoft says with 2012 r2 to leave it managed and they claim they improved pagefile usage to not create a large page file when running a hyperv host. but my system does have currently a 32gb page file. after researching I found that by default if there is a dump that the page file will immediately increase to the size of the memory, but after 4 weeks it will decrease. but I haven't seen that happen. I did create a crash about 2 months ago testing something but it hasn't changed and I also deleted the registry key LastCrashTime but still hasn't change. I have another host in a similar situation with no vms on it yet. I was trying to get help understanding, why the large pagefile if Microsoft says they addressed it and that to leave it system managed, if it can have the same result as 2008r2 at system managed? I'm tempted to hard set the size of the page file.

If someone mentions for crash dump , there already is a reg key to address having a dedicated page file just for dumps on different location.

Hyper-V "Physical Hard Disk" option not available (Greyed out)

$
0
0

Hi guys,

I have a Physical Server with Windows Server 2012 Core Standard with Hyper-V Role. A virtual machine hosted has three physical disk connected. After an unexpected shutdown I had to remove the SCSI Physical connected disks, because an start error. After that, the VM start without problems. But when I try to attach again any Physical Hard Disk to ISCI connector option is not available:

Already turn the disk offline basic...

Also try with PowerShell: 

Get-disk

Add-VMHardDiskDrive -VMName XYZ -ControllerType SCSI -DiskNumber DISK Number

But, I get this "Not Found":

I aprreciate very much your help.

Regards


Any way to tell WHEN and WHO created a VM?

$
0
0

Howdy,

I'm just wondering if there's a Powershell command or somewhere in the VM properties that might show me which ID created a given VM and when it was created.  Anyone know if that's something easy to find?

If it's a script I can run against a bunch of VMs at once, that'd be great.  Or if I have to check the manually, that work too but wouldn't be as ideal.

Thanks!

Error 12240

$
0
0

Hi I have a strange error which I could do with some input on and wondered if anyone knew of this.

I have a HyperV 2012 R2 Server with an Guest VM running Windows 2003. Whenever I try to backup this VM I am seeing the following event in my Hyper V Server

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          17/04/2015 13:36:17
Event ID:      12240
Task Category: None
Level:         Error
Keywords:
User:          domain\administrator
Computer:      ABG-HYP-C1.domain.local
Description:
'': Attachment 'C:\ClusterStorage\volume2\hyper-v\virtual hard disks\virtual hard disks\ime\c_2014-05-23t203548_7C48229E-2270-4FE5-80A5-45E3389FB073.avhd' not found. Error: 'The system cannot find the file specified.' (0x80070002). (Virtual machine ID )
Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" /><EventID>12240</EventID><Version>0</Version><Level>2</Level><Task>0</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime="2015-04-17T12:36:17.389577800Z" /><EventRecordID>1523</EventRecordID><Correlation /><Execution ProcessID="2016" ThreadID="6356" /><Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel><Computer>ABG-HYP-C1.rndsystems.local</Computer><Security UserID="S-1-5-21-1292428093-1035525444-682003330-500" /></System><UserData><VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events"><VmName></VmName><VmId></VmId><String>C:\ClusterStorage\volume2\hyper-v\virtual hard disks\virtual hard disks\ime\c_2014-05-23t203548_7C48229E-2270-4FE5-80A5-45E3389FB073.avhd</String><ErrorCodeString>%%2147942402</ErrorCodeString><ErrorCode>0x80070002</ErrorCode><Param1></Param1><Param2></Param2></VmlEventLog></UserData></Event>

Now the file mention doesnt exist, it doesnt have any snapshots. Other VMs are fine.  I have migrated the VM to another server - and get the same issue on that server.

The server works fine and starts up.  I have seen other reports mentioning check the permissions on the file/folder to make sure the Machine ID has permissions - it does.  I have changed the status of the Fsdepends registry key as i've also seen - makes no difference.  I just cannot get rid of this error.  I have opened the machine config XML file and there is no mention of it there.

My last resort is to create a new VM and use the same disks.

The only difference between this and other VMs on that server is that this is an old Legacy 2003 box.

I am stumped any ideas?  Thanks in advance

can you use an application in hyper-v environment in Windows server from each client computer or that is not possible?

$
0
0

hi,

I like to know besides running 2 or more operating systems,like exchange or SQL  ect .

what other benefits it has for example when you install 2-3  applications in t hyper_v environment can you use those applications from each client computer or that is not possible at all. ( I don't mean cloud )

thanks

johan


h.david

Windows 8.1 / Hyper-V : Failed while adding virtual Ethernet switch connections

$
0
0

I used to have a virtual switch that was bound to my wireless adapter. It was at one point removed, but now I want to re-create it.

But, now Hyper-V throws this error any time I try to bind a virtual switch to my wireless adapter:

Error applying Virtual Switch Properties changes

Failed while adding virtual Ethernet switch connections.

Ethernet port '{Guid}' bind failed: The system cannot find the file specified. (0x80070002).

I've tried uninstalling/re-installing my network adapter. My efforts have had no effect.


vEthernet (New Virtual Switch) doesn't have a valid IP configuration

$
0
0

I made a virtual machine using hyper-v, the only thing is i don't know how to set up the Ethernet on the machine. Please help:)

I asked the Microsoft community and they sent me here:)

The OS is 

windows 10 Pro 64-bit

I have a picture of the message when i try to troubleshoot it, but it wont let me insert it on to this post since i have not verified my account, i don't know how to though. 

2012 R2 Hyper V Cluster

$
0
0

Hi

we have windows Server 2012 r2 Hyper V failover Cluster..  we face slow network performance issue in widows 2012 R2

terminal Services .. VMQ is disable on Physical NIC of Hyper V Network.

Remaining Servers are working perfectly only issue face on terminal user login on terminal server node..

Any idea 


Hyper-V Replica Trust Group...

$
0
0

Hi all;

As you know, when configuring Hyper-V Replica on a Replica Server, it able use to specify multiple primary servers. Right?

As I can specify which servers are trusted to replicate to replica server, why bother me to create a Trust Group  and join that primary servers to it? What is the primary purpose of creating Trust Group?

Thanks


Please VOTE as HELPFUL if the post helps you and 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.

Moving to Hyper-V - licen

$
0
0

Hi all,

I have 6 physical servers which I want to move to Hyper-V 2 node cluster (each 2 CPU). Hyper-V nodes will run on Windows 2012 R2 Standard edition. All 6 physical servers are already licensed (2003 and 2008 servers).

My questions:

1. Do I need to licence servers again when they are moved to virtual environment? What is the best way/tool to do it?

2. I want to install additional Windows 2012R2 server as new virtual server on Hyper-V. Is this covered with Standard license which is used for Hyper-V? As far as I know I should be able to run 2 addiotional VM's (VOSE) on Hyper-V with Standard license.

3. Windows 2012 R2 Standard licence covers 2 CPU and 2 VOSE. I know (think) that if I want to run 6 VM's on 2 node Hyper-V cluster I need to have 3 Windows Server standard licence for each host. Am I right? But my scenario is that I already have licenced physical server and want to move them to Hyper-V 2 node cluster?

I think I do not need any additional license if I want to run them on single node Hyper-V. But what if it's 2 node cluster - my scenario?  

4. Am I able to use live migration in this scenario? I have shared storage. Do I need anything else?

Thanks

Tomas

Looking for suggestions on VM arrangement between 2 drives, 1 SSD , 1 Spindle

$
0
0

Right now I have my OS (C:\) on the SSD in a 36Gb partition, then I have 5 VMs on the same SSD in a second (D:\) partition. I only run 1, 2 at the most as needed as I need to work in different developer environments. All of the VMs are differencing disks based on 2 parent disks. I have a second spindle disk (H:\) that I am using for backups of the VMs and I have also moved the paging file there.

But I have 13.2 GB free and I since I need to add more VMs I was wondering how I should rearrange these. I am thinking since Parent disks are read only that maybe they should be moved to the spindle (H:\). But what about the Page file? Should I leave it on the spindle or would I get better performance from it being on the SSD?

The Hyper-V machine is an Intel core i7-4770 @ 3.40Ghz with 24 GB of RAM running Windows 8.1.

Thanks,

Phil

Backup Hyper V with TSM

$
0
0
hi ,

We started to try the product TSM TDP HYPER V 7.1.1  , everything works correctly but the problem is that avhdx (Snapshot) file remains after the backup finish and not migrate to machine and this file is grow all the time 

the backup method is incremental forever

Is there a method to delete or migrate the avhdx file at the end of tsm backup ?

David

Problem with VMQ

$
0
0

Hello.

We have Windows 2012 R2 Datacenter Hyper-V cluster. 4 of VMs are TMG servers (2 proxy/reverse proxy and 2 Exchange 2010 Edge with TMG). TMG server pairs included in NLB clusters.

On each Hyper-V node I enable network team (Dynamic mode) with SCVMM Logical Switch.

I try to enable VMQ on its nodes. All is okay, but 4 TMG VMs don't receive VMQ for NLB virtual adapters and lost connection thru NLB. Other NLBs (SharePoint, Exchange, AD RMS, CRL) work as expected. TMG VMs get VMQ only for 3rd, non-NLB adapter (TMG intra-array communication).

I try to disable VMQ on problem virtual adapter but without success.

Last Emulex network adapters firmware and drivers were installed. I also install KB3031598 on Hyper-V nodes.

I disable VMQ on physical adapters until another solution.



Expand Dynamically Expanding Virtual HD Space

$
0
0

Hi Server Expert,

I have a Server 2012 Hyper V server that being installed with few VMs. Those VM are using dynamically Expanding virtual HDD.

Take an example from one of the server below:

A VM called "Finance Server". this server virtual HDD has been configured with dynamically expanding virtual hdd. On the hyper v server, we created 500GB partition and this partition is being used to store the virtual hdd of the "Finance Server". I created 3 dynamically expanding VHD as I would like to have 3 partitions on the Finance Server. The three dynamically expanding VHDs are A.vhdx,B.vhdx, and c.vhdx. A.vhdx is 50GB, B.vhdx is 100GB, and C.vhdx is 150GB. each of the dynamic VHD will correspond to the partition in the "Finance Server". So, C partition is using A.vhdx, D partition is using B.vhdx, and E partition is using C.vhdx.

The Problem Encounter:

D partition is out of disk space. in this case, how am I going to expand it? Should I expand the space on the Hyper V server? currently the "Finance Server" is using 500GB of the HDD space. if we increase disk space by 200GB in the Hyper V Server, after extend the 500GB to 700GB, how am I going to use the space that just being increased into the "Finance Server"'s D drive? does it mean that by increasing the Hyper V disk space of 500GB to 700GB, the Finance server will be able to automatically consume the new space of 200GB or I need to login to Finance Server and activate it?

Now, if the finance VM is able to consume the 200GB free space from the server, how should I allocate it to the partition D inside the  finance server? does it mean that by increasing the size of D drive by using the new space of 200GB will solve the issue? or I still need to expand the size of dynamic VHD? as I know dynamic VHD is not able to expand as it will always grow right?

Thanks

Regards,

H

Adding promiscuous mode in server 2012 hyper-v

$
0
0

I am running a esxi lab within hyper-v and the vms within this do not want to connect to the network. I have been told that I need to enable promiscuous mode on the virtual switch and I can't find the option anywhere. I cannot get guest OSes to connect to the network under the vmware vsphere. 

Is there any way to enable this? Please respond. Thank you. 

rights needed for 3rd party backup app for exchange

$
0
0

Hi,

 I'm running Exchange 2013 Standard on its own server 2012 Standard Hyper-v VM. The host is Windows Server 2012 Server Core (non GUI). The Exchange guest doesn't have enough free room for backups. I pointed VSS to a mapped drive on the hyper-v host as it had a lot of room. However, I'm getting an error when running a 3rd paty backup that says

"Error in accessing/creating destination location, Error: Could not find a part of the path 'R:\ExchTemp\Exchange Server(VSS)\Exch'.. Folder: ) in VSS plugin backup".

Vendor support cannot help.

The actual mapped path is R:\ExchTemp\Exchange Server(VSS)\

I am able to find it from Windows explorer.

The host is not part of the domain. It's a workgroup server.

When I try to assign full rights to Everybody for this folder through icacls on the host, I get:

E:\>icacls "E:\RemoteBackupDCTemp" /grant Everybody:(OI)(CI)F /T
Everybody: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files

When I check rights on the Host through Icacls I get:

E:\>icacls "E:\RemoteBackupDCTemp"
E:\RemoteBackupDCTemp KDHPHOST\Administrator:(OI)(CI)(F)
                      CREATOR OWNER:(OI)(CI)(IO)(F)
                      NT AUTHORITY\SYSTEM:(OI)(CI)(F)
                      BUILTIN\Administrators:(OI)(CI)(F)
                      BUILTIN\Users:(OI)(CI)(F)

Successfully processed 1 files; Failed processing 0 files

I am logged on as the domain administrator and am mapped to the host as administrator.

Any help is greatly appreciated.

Name and hash codes for Hyper-V Server 2012R2 RTM

$
0
0

Hi,

can some one please confirm the download from http://technet.microsoft.com/en-us/evalcenter/dn205299.aspx is the final RTM version ?

File name: "9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVERHYPERCORE_EN-US-IRM_SHV_X64FRE_EN-US_DV5.ISO"

SHA1: "99829e03eb090251612673bf57c4d064049d067a"

MD5: "9c9e0d82cb6301a4b88fd2f4c35caf80"

I see different hashes, and filenames, for ISO downloaded from MSDN.

Thank you in advance,

Simone


Allocating Virtual Machines in Hyper-V

$
0
0

Does anyone have a good reference for the rules and recommendations for allocating VM's.  In other words how to determine the number of VM's I'll need relative to the roles that the VM's will play.  Also determining how VM's per physical server?  Thanks for your help.

Michael T. Glenn


Michael T. Glenn

Viewing all 19461 articles
Browse latest View live




Latest Images