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

Applications Crashing on Virtual maschine hosted by Hyper-V with Heap Corruption

$
0
0

Hello everbody,

we currently investigate an issue regarding services/applications which crashing with internal .net error

The process was terminated due to an internal error in the .NET Runtime at IP 00007FFAD128A48F (00007FFAD0EA0000) with exit code 80131506.

Using Paged Heap Verfication and Analyzing serveral dumps, it seems that the GC causes that issue, if it runs on gcServer mode. This only happens since we update .net to 4.5 on that virtual maschine and it only occurs if the memory of the VM is 64 GB (which is used by the crashing service/application up to 90%).

We can produce the same error with a real simply .net application and it only occurs with gcServer (gcConcurrent is independet). As the crash can only reproduce on high memory VMs (meaning not on small memory VM - 10 GB -  and not on real hardware up to 64 GB). We want to ask if this is maybe a Hyper-V issue, and is maybe allready known and can be fixed. In the past, that crash sometimes causes also a restart of the whole VM.

Thanks for your support!


Install in Virtual Machine from Host machine

$
0
0

I've installed Hyper-V service on my windows 8.1 64 bit laptop and create a virtual server of

Windows 2012 server .

Now I need to know how can I install other software like SQL Server ,.... on my virtual marching from Host (windows 8.1 ) hard drive .


Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

VMNetworkAdapter trunk (8021q) mode for a Hyper-V Guest

$
0
0

Hello,

I am running a Windows 2012R2 Server (Datacenter) as a Hyper-V host. On top of it I am running a Virtual Machine with CentOS 7 (I'm using the Integration Services installed by default). The VM has 1 network adapter (normal, NOT legacy). I want to configure the VMAdapter of the virtual machine in trunk mode allowing all VLANs.

In PowerShell I executed the following commands:

PS C:\Users\Administrator.PUB> Get-VMNetworkAdapterVlan

VMName                VMNetworkAdapterName Mode   VlanList
------                -------------------- ----   --------
 test                  test                 Access 0
PS C:\Users\Administrator.PUB> Set-VMNetworkAdapterVlan -VMName "test" -Trunk -AllowedVlanIdList 1-4094 -NativeVlanId 0
PS C:\Users\Administrator.PUB> Get-VMNetworkAdapterVlan

VMName                VMNetworkAdapterName Mode   VlanList
------                -------------------- ----   --------
test                  test                 Trunk  0,1-4094

At this point, the VLAN tagging is working correct. I have acces in the VM to all my VLANs using VLAN tagging (8021q). If I reboot the VM, things doesn't work anymore. I do not have acces to the tagged VLANs anymore (only the native one).

I'm looking in the VLAN configuration of the Host and all seems ok:

PS C:\Users\Administrator.PUB> Get-VMNetworkAdapterVlan

VMName                VMNetworkAdapterName Mode   VlanList
------                -------------------- ----   --------
test                  test                 Trunk  0,1-4094

If I reexecute the command "Set-VMNetworkAdapterVlan -VMName "test" -Trunk -AllowedVlanIdList 1-4094 -NativeVlanId 0" all is working again. If I shutdown the VM and start it again, the things are working OK. If I reboot the machine, somehow the configuration gets lost. Has anyone experience this problem until now?

Thank you,
Mihai

Hyper-V failover confusion

$
0
0

I'm trying to study for 70-414 and am trying to setup a home test lab to help out.  I have two physical servers and an iSCSI storage device.  I've been trying to figure out on my own how to best set this up but am at a loss.

I think I want a failover Hyper-V cluster.  Is this even possible with my current setup?  Or do I need a file server to host the storage?

I've tried creating a failover cluster with shared storage pointing directly to my iSCSI device and I created a single VM and that worked.  But, when I tried to create another VM it wouldn't work because it said the storage disk that I created was already owned by the first VM.  It is a 1 TB drive that I want to share with multiple VMs.  I'm wondering if I need to have a file server hosting this so that I can have multiple VMs on a single shared disk or if I'm just doing something else wrong.

Invoke a process inside a VM from outside?

$
0
0

Hi all

Is there a way to programmatically execute a process inside a virtual machine from outside? I couldn't find any Hyper-V API that supports this. Neither did I find a PowerShell Cmdlet that could help me out with this. Note that I cannot simply do a remote execute because sometime we have network isolation in place and I therefore cannot reach such virtual machines via network.

Thanks

Capacity Planner Error

$
0
0

I am trying to use the Hyper-v Capacity Planner but keep getting an error. The Planner runs completely through and then errors out with "Errors occurred while collecting counters on primary. Check logs for more details." I check the logs and it has this error

"Exception recvd. at CollectPrimaryCounters One or more errors occurred.    at Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.CollectPrimaryCounters(Int32 MachineIndex)
   at Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.<>c__DisplayClass1.<CalculateCapacityInternalStep1>b__0(Int32 currentCounterInfoList) Inner Exception: One or more errors occurred.    at Microsoft.Virtualization.HVRCapacityPlanner.Utilities.<>c__DisplayClasse.<CountersCalculation>b__c(Int32 line)".

I have no idea what this is. All firewalls are off.


Fred Wilburn

Can Disk2VHD or another tool ignore existing VHD files when converting physical drives?

$
0
0
I have an SQL Server running a HyperV roll on windows Server 2012 that I want to convert to a VHD. It has two 1 TB RAID arrays and the database is stored on the D drive along with a 500 GB Static VHD. Is there a tool that will allow me to Disk2vhd the server and the database without including this VHD file?

VM lost ethernet conectivity

$
0
0
Hello, I have a cluster Hyper-V 2012 R2, all machines work ok, but one machie lost ethernet conectivity, I disconect virtual switch and reconect and the etehrnet y conected again. Some can help me with problem? Thanks you.

Isaias


Hyper-V WMI Provider - Searching and Setting Port Mirroring

$
0
0
Is there any way to search for VMs with Port Mirroring disabled through WMI provider?? I'm working on a little application to set port mirroring to destination but I can't find anything in WMI Provider API. I know this can be achieved using PowerShell cmdlets but I would rather use WMI and C# if possible. Thanks.

Just FYI, new blog post "New Cloud Service Provider Guide to Deploy Scalable Tenant Network Infrastructure"

$
0
0

Just FYI, new blog post "New Cloud Service Provider Guide to Deploy Scalable Tenant Network Infrastructure" athttp://aka.ms/I23oh3

Thanks -


James McIllece

Smart Paging File Location and Gust server loading

$
0
0

Hi

We configured virtual servers with fixed memory size, say 25 GB. While starting the machine we are getting error  "Could not initialize memory: There is not enough space on the disk". So we changed the location of Smart Paging File, still got the same error, finally changed the current configuration and checkpoint location to another drive and now it's fine. So  while starting the server or while the server is up, .bin file is created as same size as fixed memory (startup memory).

My concern is how the .bin is linked with smart page file? in our case even after changing the location of Smart page file got the error, that means the .bin is trying to create with configuration path.

For better performance we believe always we have to mention fixed memory than dynamic. Because of the above error we kept the configuration / smart paging and checkpoint location local to server than in SAN, but in case of server failure it will affect the recovery of guest server configuration files 

Expect a clarity on this.

Regards


LMS

Hyper V and HRL files

$
0
0

I have been running 2012R2 Hyper-v for several months. I have been using the Replica functionality from day 1. I have 18 VMs running on 3 different servers, 4 VMs on one, 5 VMs on another and 9 VMs on another. All host servers and VMs are running 2012R2. I have NIC teams on each server. Each server has 64Gb of RAM. This is a small shop, so I am the only IT person here. I use Symantec BUE 2014 with the Hyper-v option, Shavlik Patch Management and Protect and Condusive V-locity. Everything has been running fine. Replications are fast and take just seconds.

I decided to use Extended Replication over a WAN for a Disaster Recovery solution. I have a 10Mb pipe to a local server farm. All of the servers replicate fine. But…

A couple of times a day, each VM replicates a large HRL file, anywhere from 1.2Gb to 2.3Gb in size. When the replication was local, this was not a problem and pretty much unnoticed by me. When the Extended Replica tries to replicate this large HRL file over the WAN, as you can imagine, everything goes to a crawl.

I have looked through Task Scheduler, Event logs, files, etc. trying to find what is causing this large file to develop. I have excluded files from virus scanning, removed patch scanning, removed disk defrag, basically about everything I can think of.  Can anyone think of what to do next? Any place to look? Anything? Any ideas are welcome. 


Fred Wilburn

How to allocate virtual hardware to Windows 7 Guests on Hyper-V 2012 R2?

$
0
0

I'd like to get an idea how to size a server.

An example would be a Server 2012 R2  Enterprise or Datacenter Edition server running Hyper-V to run 10 guests each running Windows 7 Pro 64-bit.

All guests will need to be running and available 24/7, but at any one time it is likely that only 5 will be in active use by a user.  Of course, at some point it is possible that all 10 could be in active use.

How could we look at sizing the server itself for RAM and CPU as well as how to allocate CPU/RAM to the guests?

If each guest was a physical machine, they would likely each have a single 2011-era  Pentium CPU and 4GB RAM to themselves and we would like around that performance available even if all machines were actively being used simultaneously.




Hyper-V INtegration services for RHEL 7.0

$
0
0

Hi all,

  I am trying to get OS and IP info on RHEL 7.0 on HYper-V 2012R2 but the data given is very consistent . I mean some times I get data and some times not .

The script output is copied below when it works correctly.

Caption     : 
Data        : getaddrinfo failed
Description : 
ElementName : 
InstanceID  : 
Name        : FullyQualifiedDomainName
Source      : 2

Caption     : 
Data        : 
Description : 
ElementName : 
InstanceID  : 
Name        : NetworkAddressIPv4
Source      : 2

Caption     : 
Data        : 
Description : 
ElementName : 
InstanceID  : 
Name        : NetworkAddressIPv6
Source      : 2

Caption     : 
Data        : 3.10.0-123.el7.x86_64
Description : 
ElementName : 
InstanceID  : 
Name        : OSBuildNumber
Source      : 2

Caption     : 
Data        : 0
Description : 
ElementName : 
InstanceID  : 
Name        : OSDistributionData
Source      : 2

Caption     : 
Data        : 0
Description : 
ElementName : 
InstanceID  : 
Name        : OSDistributionName
Source      : 2

Caption     : 
Data        : 199168
Description : 
ElementName : 
InstanceID  : 
Name        : OSKernelVersion
Source      : 2

Caption     : 
Data        : 7.0
Description : 
ElementName : 
InstanceID  : 
Name        : OSMajorVersion
Source      : 2

Caption     : 
Data        : 
Description : 
ElementName : 
InstanceID  : 
Name        : OSMinorVersion
Source      : 2

Caption     : 
Data        : Red Hat Enterprise Linux Server  ### OS Name
Description : 
ElementName : 
InstanceID  : 
Name        : OSName
Source      : 2

Caption     : 
Data        : 129
Description : 
ElementName : 
InstanceID  : 
Name        : OSPlatformId
Source      : 2

Caption     : 
Data        : 3.10.0
Description : 
ElementName : 
InstanceID  : 
Name        : OSVersion
Source      : 2

Some times same script give me less details missing OS info as below

Caption : Data : 0 Description : ElementName : InstanceID : Name : OSDistributionData Source : 2 Caption : Data : 0 Description : ElementName : InstanceID : Name : OSDistributionName Source : 2 Caption : Data : 199168 Description : ElementName : InstanceID : Name : OSKernelVersion Source : 2 Caption : Data : 129 Description : ElementName : InstanceID : Name : OSPlatformId Source : 2 Let me know the correct place where i can open support ticket with Microsoft or any way for resolution?

Thanks in advance,

Rakesh

SMI USB DISK DRIVER VERSION 6.3.9600.16384

$
0
0

   I have this Microsoft Windows SMI USB DISK (driver version 6.3.6900.16384) (winblue_rtm.130821-1623) flash drive. I had downloaded a bunch of important files to it from my company which are very important on it to retrieve. The flash drive was working fine then one day it won't allow me access to it. It stated Temp.Exe now. It shows empty but when looking at the storage space it shows it had almost full data contained on it. It won't allow me access to gain the stored files on it. I don't understand this and I am running windows 8.1 systems.  I can't loose this data on the flash drive can anyone help with this issue?  It makes no sense to me...


VM doesnt boot after expanding VHD

$
0
0

Hi,

I am running Win2008 R2 HyperV and i was running a VM with a VHD.

I expanded 50 GB disk to 80 GB after expanding the VM boots into repair mode and when i click command prompt it goes to x: drive but i can't see C: drive.

what are the options to repair this VM i don't have any backup for this? please suggest.

Regards,

Maqsood


Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified

Script to check and start VM working, but not as ScheduledJob / Scheduled Task

$
0
0

Good Day All,

I’ve seen several threads on the subject, and I feel like I’ve exhausted the recommended help offered in them.

What I have is a Windows 7 VM that likes to drop into a “Saved” state, sometimes once a month or so. I don’t know why, and considering the purpose of the machine, it’s not that big of a deal. I thought it would be easier to just write a script that checks the VM, and starts it if it’s not. This is what I’ve ended with:

Import-Module Hyper-V
$VM = Get-VMIntegrationService -VMName HVAC-Win7 -Name Heartbeat
if($VM.PrimaryStatusDescription -ne "OK"){start-vm HVAC-Win7}

Once it works, I intend to add some additional things to log that the script does to a log file, but I'm more concerned with getting it working for the time being.

This works from PowerShell as is (above), but not as a Scheduled Task or as a Scheduled Job. Here’s the syntax I used to create the Scheduled Job:

Register-ScheduledJob –Name "Keep HVAC Alive" -ScriptBlock { Import-Module Hyper-V ; $VM = Get-VMIntegrationService -VMName HVAC-Win7 -Name Heartbeat ; if($VM.PrimaryStatusDescription -ne "OK") { start-vm HVAC-Win7 } }

And

Register-ScheduledJob –Name "Keep HVAC Alive" –FilePath C:\Scripts\HVAC\TestVMStatus.ps1

I’ve created the Tasks per best practices (as far as I’m aware), the action is powershell.exe, and the argument was the path to the script.

Both the Task and the Job are configured to run even if the user is not logged on, and as highest privileges. The account used to run it has ‘logon as a batch job’ rights (no error is presented when the account is selected and the password is provided).

When the Job is configured to run as SYSTEM, it runs, but nothing happens. When it’s configured to run as me, it just hangs. When it’s configured to run as a Hyper-V Mgmt account I created and gave rights to, it runs, but does not start the VM. The logs don’t say much, just that they started and terminated as one would expect.

Any other ideas? Thank you in advance for your help!


Windows Server 2012 R2 Licensing Error

$
0
0

Hello all,

i install the hyper-v role and remote desktop services in windows server 2012, enable the remotefx but when i try to connect to the vm i get the error : the remote session was disconnected because there were network problems during the licensing protocol.

Can you please help?

cluster aware updating hotfix plugin succeeded with 0 installed updates

$
0
0

we try to apply Hot fixes to Hyper-V 2012 Nodes using CAU

we prepared every thing for using CAU Microsoft Hot fixes plugin

then generate update preview list successfully 

then Apply updates for cluster the log show succeeded operation 

but when you Run report for applied updates it shows 0 installed updates

can anyone help why 0 updates installed

thanks


Ahmed

Microsoft Teredo Tunneling Adapter and Microsoft 6to4 Adapter

$
0
0

Hi ,


as per best practice of Cluster Hyper-v All drives on all nodes should be the same version

But I found network drivers "Microsoft Teredo Tunneling Adapter and Microsoft 6to4 Adapter" are installed one some nodes and not installed on other nodes


IP Ver 6 is enabled on all network drivers

So What should I do and How ?  Install the drivers or uninstall it  and how to do that ?

thanks in advance.


Ramy



Viewing all 8743 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>