Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all 2259 articles
Browse latest View live

Bare Metal Deployment fails randomly

$
0
0

Hello all!

First post here :)

I'm trying to bare-metal provision Hyper-V hosts in VMM, mostly using this as a template:

https://utbrudd.bouvet.no/2014/09/30/virtual-machine-manager-bare-metal-host-deployment-woes/

Problem is, some machines fail with the error:

VMM could not run the specified query select * from Msvm_VirtualEthernetSwitch where Name = "3AF862FC-8F08-4F94-B27D-5869696927E9" on the server NewHVHost01.example.com Failed with error HRESULT 0x803381fa The WS-Management service cannot process the operation. The operation is being attempted on a client session that is unusable.  This may be related to a recent restart of the WS-Management service. Please create a new client session and retry the operation if re-executing the operation does not have undesired behavior.

This occurs almost when they are finishing (around 96%) the New-SCVMHost job. I've tried with the same physical box, and the same script multiple times, and the result is not always the same. There are sometimes where the machine loses completely connectivity and it's not even pingable. There were some occasions where the server got the "Logical Switch" for Management, the machine was pingable, but it didn't create the whole network stack as specified in the config.

Also, there were other machines that completed the deployment (with warnings because I have the SMBIOS GUID issue) but the installation finished and the machine was perfect, with all the networks for iSCSI, Heartbeat, Management, VMs, etc.

I've tried already this: https://deploymentbunny.com/2014/11/05/nice-to-know-improve-bare-metal-deployment-success-rate-in-system-center-virtual-machine-manager/

any help on this matter would be greatly appreciated.

Dani



System Center Installation

$
0
0

A customer has sent me the below question.

Question

Can you please confirm if an installation key is required for System Center Datacenter Server Management licenses and System Center Configuration Manager 

Can you please help me revert on with the same 

Build Server in a healthy host using PS

$
0
0

Hello All,

I am building server using the below script . 

Problem Statement: The server is not getting build in a healthy host at times. 

Is there a mechanism , I can control the build using the Star rating of the hosts in a Cluster.

Any thoughts or anyone has implemented a kind of solution. 

$cloud = Get-SCCloud -Name "MyCloud"
$CostCenter = "Lab"
$ServerName = "PriyaServer"
$Application = "Test"
            $Template = Get-SCVMTemplate -All | where  {$_.Name -eq "VMM_BASE_SOE_2012R2_ent" }
            $virtualMachineConfiguration = New-SCVMConfiguration -VMTemplate $template -Name "$ServerName" -CostCenter "$CostCenter"
            New-SCVirtualMachine -ComputerName "$ServerName" -Name "$ServerName"  -VMConfiguration $virtualMachineConfiguration -Cloud $cloud -Description "Priya Server"

please advice.

Regards.


Priyabrata

Create Hyper-V Cluster fails with Permission Denied

$
0
0

Scenario:

SC VMM Server 2016

2 Hyper-V Hosts with Windows Server 2106

A RunAs account (Let's call it "VMMAdmin") that has Admin Rights on the VMM server, on the 2 nodes, and permissions in AD to create and delete Computers accounts and Read All properties. Actually, Full control on the OUs. Also member of the "Account Operators" group.

If I launch the "Validate Cluster" wizard from the VMM server (using the Failover Administration tool), and logged in as the RunAs account, it works.

If I login in one of the nodes as the VMMAdmin account and launch the "Validation Cluster" wizard, it works.

If I launch the "Create Hyper-V Cluster" wizard from the VMM console, it stops at the "Validate nodes for clustering" step, throwing this error:

Error (25312)
Unable to execute the task because of error: Access is denied

Recommended Action
Check if the user has permission on the VMM server and retry the operation.


I've checked logs EVERYWHERE and can't find where the issue is. Any help, would be greatly appreciated.


Cluster without Block storage, only SMB3 file shares.

$
0
0
Is it possible to run a SCVMM cluster without Block storage, only with SMB3 file shares?

Linux Agent Issue - agent is not correctly installed on new vm

$
0
0

Hi experts,

i'm using scvmm template to deploy centos 6.5&7.0 vm, here is my issue i got:

1.I  followed this article https://technet.microsoft.com/en-us/library/jj860429(v=sc.12).aspx to install the agent successfully.

2.I installed LIS4.1 on template machine successfully.

3.I can see vmmagentguest service is in running state on the template machine. 

4.My vmm server is 2012 r2 with ur10, i can create a linux vm with that template without any errors from vmm job console.

But there is no linux agent service running on that newly created vm, there is a folder /opt/microsoft but nothing exist under that folder.

Is this normal or can i just ignore it ? should it be a sub-folder vmmguestagent exist under /opt/microsoft/?


Virtual Machines with same name in SCVMM 2012 R2

$
0
0

Hello All,

I have installed SCVMM 2012 R2 as a standalone in my environment and my SCVMM is integrated with WAP portal. While provisioning VM using SCVMM i observed that VMM allows 2 Virtual Machine with same VM name and Computer name.How is it possible to avoid VM with same name in SCVMM?

Hyper-V with C#: Connecting to Service Provider Foundation

$
0
0

I want to program Service Provider Foundation with VS C# according to https://msdn.microsoft.com/en-us/library/jj643293.aspx

When I try to add a service Reference I get following error:

There was an error downloading 'https://<ip>:8100/SC2016/VMM/Microsoft.Management.Odata.svc/$metadata'.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <ip>:8100
Metadata contains a reference that cannot be resolved: 'https://<ip>:8100/SC2016/VMM/Microsoft.Management.Odata.svc/'.
There was no endpoint listening at https://<ip>:8100/SC2016/VMM/Microsoft.Management.Odata.svc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <ip>:8100
If the service is defined in the current solution, try building the solution and adding the service reference again.

We use SC2016. I installed  WCF Data Services 5.6.0 tools and WCF Data Services Client for OData V1-3 (5.8.1).

Does anyone has an idea what the problem is or has a hint how I could identify it?

Thanks!

KR



Key Storage Drive. Delete. How?

$
0
0

Added a Key Storage Drive to my VMM server, in a lab env. And after that the VM wont live migrate, I guess it because of the KSD I added. Went in to delete it, its greyed out, when its started and powered down. How do I remove it?  

And I know its not supported by VMM.. Just want to be able to live migrate again. :)

How to automate VMM agent warning to trigger alerts using SCOM

$
0
0

Hi All,

Can someone help me to automate VMM agent status or trigger alerts about the agent warning using SCOM 2012 R2.

Thanks,

Ashok

SCVMM 2012 crashes when adding a Windows 2016 host machine

$
0
0

Hi,

I'm running SCVMM 2012 SP1 Version 3.1.6018.0. This is hosted on a machine runningWindows Server 2012 R2.

Trying to add a host machine running Windows Server 2016 Datacenter

We have plenty of Windows Server 2008 R2 and Windows Server 2012 R2 hosts added in; 29 in total. All running happily with their respective virtual machines on each one.

We are just beginning to explore Windows Server 2016. Whenever I go to add this Server 2016 host, SCVMM crashes. Forcing a restart of the service on the VMM host server to get the console back. I can see the machine is added when I get the console back but it continues to crash (forcing me to restart the service each time) until I remove the 2016 host. As soon as the host is removed, SCVMM is happy again and doesn't crash.

If I watch the jobs as the machine is added I can see that it gets to the "Refresh Host" stage and seems to stop here. All other processes complete OK.

Log on the VMM Server show the following at the time of the crash:

Event 1026 .NET Runtime

Application: vmmservice.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException
   at System.Guid.TryParseGuidWithNoStyle(System.String, GuidResult ByRef)
   at System.Guid.TryParseGuid(System.String, GuidStyles, GuidResult ByRef)
   at System.Guid..ctor(System.String)
   at Microsoft.VirtualManager.Engine.EngineFSUtils.GetVolumeIDFromVolumeName(System.String)
   at Microsoft.VirtualManager.Engine.Adhc.SMStorageRefresher.CreateVolume(Microsoft.Carmine.WSManWrappers.Storage.MSFT_Volume, Microsoft.Carmine.WSManWrappers.Storage.MSFT_Partition, Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper)
   at Microsoft.VirtualManager.Engine.Adhc.SMStorageRefresher.GetVolumes()
   at Microsoft.VirtualManager.Engine.Adhc.WindowsHostDataProperties.PopulateProperties()
   at Microsoft.VirtualManager.Engine.Adhc.WindowsHostAbstractionLayer.GetHostProperties(Microsoft.VirtualManager.Remoting.HostData, System.Version)
   at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.GatherAllInformation(Microsoft.VirtualManager.DB.Adhc.Host, System.Object, Boolean, Boolean, System.String ByRef, System.Guid, Microsoft.VirtualManager.Engine.ITaskContext)
   at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.RefreshLockedHost(Microsoft.VirtualManager.DB.Adhc.Host, System.Guid, Microsoft.VirtualManager.Engine.ITaskContext, Boolean)
   at Microsoft.VirtualManager.Engine.Adhc.RefreshVmHostSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.Adhc.AddHostSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SubtaskRun(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

And...

Event 1000 Application Error

Faulting application name: vmmservice.exe, version: 3.1.6027.0, time stamp: 0x51bf69cb
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18340, time stamp: 0x57366075
Exception code: 0xe0434352
Fault offset: 0x0000000000008a5c
Faulting process id: 0x20ec
Faulting application start time: 0x01d23e5d03b793b1
Faulting application path: D:\Microsoft System Center 2012\Virtual Machine Manager\Bin\vmmservice.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 0a916db2-ab27-11e6-80e3-42f2e9db8049
Faulting package full name: 
Faulting package-relative application ID: 

Any ideas what the problem could be? I can't see any documentation showing that there are any incompatibilities. And debugging VMM doesn't give me any useful information.

Regards,

Simon




How do VMM count resources?

$
0
0

How do VMM count Resources?

Host 1 with 10gb of ram: VMM says: 1.16GB left
Performance Monitor Says: 2388 MB left

http://prntscr.com/d7q37b

Host 2 with 4 gb of ram: VMM says:  468 MB left
Performance Monitor Says: 67 MB left

http://prntscr.com/d7q1wb

VMM UR11 Hotfix 1 - Can't create VM template of Windows 2016 Server

$
0
0

Hello!

Just applied latest hotfix on VMM 2012 R2 UR11  in order to deploy Windows 2016 Server as guest OS. After creation and shutdown VM I can't create VM template. Note: I'm still able to create VM template of Windows Server 2012 R2.

Migration improvements in VMM 2016?

$
0
0

I am wondering if anyone knows if a certain aspect of migrating VMs in VMM is improved in VMM 2016?

We have 6 Hyper-V hosts which use shared storage on an SMB3 file share. It is not a failover cluster and we do not want it to become a failover cluster.

We can happily do Live Migration in VMM 2012 R2 for those VMs that are actually running.

In HyperV Manager (in Windows Server 2012 R2) we can also do Live Migration using the Move Wizard ("move only the virtual machine"). And the Move Wizard also works brilliantly if the VMs are Off. It finishes in no time and leaves all the VM's files where they are on the file share.

But if we try to Migrate a VM, which is off, using VMM, it mostly does something totally idiotic. It actually copies all of the files from the file share to the origin host and from there to the destination host and from there back to the file share. But since the files are already there, it creates a new folder with "_1" appended to the name. Of course this takes forever for large VMs and leaves weird duplicate folders on the file share.

Does anyone know if this is improved in VMM 2016? VMM should just move the VM and leave all files where they are - just like HyperV manager does.



roll out Windows Server Containers functionality

$
0
0

Is it possible to automatically roll out the entire Windows Server 2016 container functionality with System Center Virtual Machine Manager within a VM?

Patrick



Connect via Console greyed out

Running SCVMM 2012R2 on a Server 2016 Host OS

$
0
0

Will running SCVMM 2012R2 update 11 on a Server 2016 host OS be a supported platform in the future? Or is it already supported? i have reviewed the software requirements for SCVMM 2012R2, but it has no mention of Server 2016 (supported or unsupported)

Many thanks

Console not remembering column layout

$
0
0

Hi.

Can we please have this fixed? The issue is there since (at least) VMM2012 and still there in VMM2016. For example, in the VMs and Services pane, when I add the column "Maximum Memory", the next time I start the VMM console, it's not there and I have to add it again. Same goes for some other columns, I know about "Disk Write Speed", haven't tested all of them.

Or is there something I'm missing?

Thanks

VMM 2016 console not displaying correctly when maximized

$
0
0

Hi,

in VMM 2016 I noticed the console doesn't display correctly when the window is maximized. As you can see from the attached screenshots, when maximized, it's as if some pixels are "cropped" - you can see it the best at the upper left and right corners and the window title.

The screenshot is not clipped in any way, this is the way it's displayed on screen when maximized.

Any idea what's wrong there? The black parts are of course non-public information that I removed.

If it helps, running VMM console on WS2016 RDSH, ie. connected via RDP.

Edit: I recommend opening the Maximized screenshot in new window/download it to see it in full resolution

Windowed:

Maximized:



How to show Current logged in user in Cost Center tab

$
0
0

I have several VMs and managed by VMM, but I can just see whether the VM is running or not, I cannot see the current user of the VM,  I can get the logged in user name by powershell: Get-WmiObject -ComputerName "computername" -class win32_computersystem | Format-List username

this is very inconvenient for me, I want to show the current logged in username in the tab such as cost center, so I can see the logged in user to avoid reboot or shutdown the VM in accidently

Could someone tell me how to do it? Thank you very much! 

Viewing all 2259 articles
Browse latest View live


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