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

SCVMM Local Installation

$
0
0

Hello,

I am trying to install SCVMM on my machine in order to learn about this system.

Is there any server I can use in the configurations?


SCVMM PowerShell - How to add a Non-Library VHD to an existing VM

$
0
0

Hi,

 

I hope this is the right forum for this type of question. If not please let me know and I will re-post the question if you point me in the right direction.

 

Is it possible to add a VHD, located in either in a CSV (preferred) or any SAN volume addressable via GUID - i.e. a VHD not stored in a library, to an existing VM using SCVMMs PowerShell interface? If yes how do I do that?

I know how to do this using the "PowerShell Management Library for Hyper-V", but that solution has several drawbacks:

  • Does not work well in clustered environments - one has to identify the host currently running the VM first
  • Any changes to a VM via Hyper-V will not represented in SCVMM right away - and the time till the refresh seems unpredictibale. Is there a way to force a refresh on a single VM via PowerShell?

Any help or insight is appreciated.

 

Cheers, Frank

 

 

Modifying "Connect via RDP" action in VMM console

$
0
0

Is it possible to modify the "Connection via RDP" action in the VMM console, or perhaps a way to add a new command to that drop-down menu?

I have an environment where VMM users do not have direct IP connectivity to the operating VMs.  RDP access is done via an RDP gateway.

So when the "Connection via RDP" action is executed, instead of:

mstsc /v:HOST

I'd like it to do:

mstsc /v:HOST /g:GATEWAY

If I could intercept the execution, I could insert an wrapper script to adjust the command line as required.  Is there a way of modifying the executable used for this action in the VMM console?

SCVMM has Web portal address?

$
0
0

 Hi Microsoft

What is the default web address for SCVMM web client?

if the SCVMM machine name is SC2012R2 in a domain pwstest.local, what is the possible web link ?

I cannot remmember  but I have not changed the default setting  during the SCVMM installation.

Thanks

Recho

Not able to create new Virtual Machine through VMM2016

$
0
0

When I try to deploy the VM it stuck on 1.2 Deploy File option and after some time throws the below error

Error (2912)
An internal error has occurred trying to contact the 'xxxxxxx' server: NO_PARAM: NO_PARAM.

WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={9E5F4249-5DA5-4E93-95C1-C2AE37100FA9}]

There are no more endpoints available from the endpoint mapper (0x800706D9)

Recommended Action
Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.

I already tried below steps

Verified the certificate on host and VMM server --> Didn't work

Changed the BITS port to 8500 and still the issue same --> Didn't work

Changed the settings to allow unencrypted BITS option on All Hosts and Library Server --> Didn't work

Added a new Hyper V Host and able to create VM on it which means issue with the existing host.

I can not re-add the Hyper V Host/Cluster due to some reasons.

Enabled the debugging on VMM server and following are the logs

WinRM: URL: [http://xxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]

CreateSession: going to use custom timeout for wsman operations: 300 secs.

Bits Client job (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}) is in an error state.

WinRM: URL: [http://xxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]

CreateSession: going to use custom timeout for wsman operations: 300 secs.

private\product\engine\Deployment\BitsDeployer.cs,1028,WSManProviderException [ex#c2c5] caught by GetProgress (catch CarmineException) [[(WSManProviderException#[bafc]) { Microsoft.Carmine.WSManWrappers.WSManProviderException: An internal error has occurred trying to contact the 'xxxxx' server: NO_PARAM: NO_PARAM.  WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}]  

Check that WS-Management service is installed and running on server 'xxxxx'. For more information use the command "winrm helpmsg hresult". If 'xxxxx' is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.     

at Microsoft.VirtualManager.Engine.Deployment.NativeDeploymentClientJob.GetProgress(UInt32& state, UInt64& fileSizeBytes, UInt64& transferredBytes)     at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.GetProgress(UInt32& clientState, IVmmDbConnection dbConnection)  *** Carmine error was: HostAgentFail (2912); HR: 0x800706D9 *** \\shared-path\MSSCVMMLibrary\ISO\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO ** xxxxx ** 443 **

 WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}] ** xxxxx **  [s#246c2c5] 
 Task`1.SubtaskRun(this: (Task`1<NewVmFromTemplateSubtask>#[6]) { TBD }, TaskID: (guid) 2b590350-c1ef-47c4-aeb3-1a15a8282668) in t:\btvsts\2811\private\product\engine\TaskRepository\Task.cs:line 254 [s#1c6f680] RefreshDriver`1.RefreshThreadFunction(this: (RefreshDriver`1<HostClusterReference>#[3]) { tbd }, obj: (WaitCallbackState<HostClusterReference>#c05248) Microsoft.VirtualManager.Engine.RefreshDriver`1+WaitCallbackState[Microsoft.VirtualManager.DB.Adhc.HostClusterReference]) in s:\btvsts\4576\private\product\engine\Common\RefreshDriver.cs:line 566 Full call stack from when the exception was thrown:   at Microsoft.VirtualManager.Engine.Deployment.BitDeployer.Copy(IVmmDbConnection dbConnection) at Microsoft.VirtualManager.Engine.Deployment.DeploySubtask.RunSubtask(IVmmDbConnection dbConnection)    at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployFilesWithFallback(DeploySubtask mainSubtask, DeploymentHelper mainHelper, DeploySubtask fallbackSubtask, DeploymentHelper fallbackHelper, WindowsCopyCredentialFixup credentialFixup, Boolean useFallback, Boolean isSubtaskAlreadyChild, String traceMessage, IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.DeployVm(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.DeployVm(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.RunSubtask(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run(IVmmDbConnection dbConnection)     at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)     at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()  ; error = (ErrorInfo#83052e14) HostAgentFail (2912); HR: 0x800706D9 }]

private\product\engine\Deployment\BitsDeployer.cs,1034,Failed to transfer C:\Test-Piyush-VM\SW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO due to [There are no more endpoints available from the endpoint mapper (0x800706D9)], removing the entry from the current xfer list...

private\product\engine\Deployment\BitsDeployer.cs,1151,WSManProviderException [ex#c2c5] caught by GetProgress (catch WSManException) (exception already reported),

private\product\engine\Deployment\BitsDeployer.cs,802,Cancel a main job.,

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1728,WinRM: URL: [http://xxxxx:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300 secs.,{00000000-0000-0000-0000-000000000000},

private\product\engine\Deployment\NativeDeploymentClientJob.cs,602,Suspending BitsClientJob (JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}).,{00000000-0000-0000-0000-000000000000},

private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,2586,WinRM: URL: [http://xxxxx:5985], Verb: [INVOKE], Method: [SetJobState], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={5FC0958F-C112-499C-89AD-A1A73C42B7DF}],{00000000-0000-0000-0000-000000000000},
[3]0C6C.33D8::‎2019‎-‎04‎-‎30 17:23:22.280 [Microsoft-VirtualMachineManager-Debug]4,4,private\product\common\wsman\wsmanWrappers\WsmanAPIWrapper.cs,1169,WsmanAPIWrapper::CreateSession: going to use custom timeout for wsman operations: 300  UrlGroup: https://shared-path:443/e7d3d115a66af3d7263b2bd5b3a9ea4dc6c002e6/, UrlSuffix: MSSCVMMLibraryA5cISOA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO/C:A5cTest-Piyush-VMA5cSW_DVD5_SA_Win_Ent_8.1_64BIT_English_MLF_X18-96759.ISO

Could not deploy VM files for VM Test-Piyush-VM using BITS, nothing to fallback to

Can anyone please advise on this?

Service Templates - Overview of application profile execution context

$
0
0

I've been trying to use a VMM service template as a method to deploy one (or more) VMs to a VMM Cloud with custom configuration.  I'm trying to findgood documentation on the application/scripting functions in the application profile section.

For each of the Script Application, Script to Applicationand Script to Application Profile items:

I'm trying to find out for each type of script (script application/script to application/script to application profile):

  • Where exactly does each script run in the build sequence?  I'm assuming it's on the VM itself, and the "pre-install"/"post-install" refers to the install of theapplications listed in the application profile.  Not sure about "Creation:" and "Deletion:" scripts.
  • In what user context does each script run if no run-as account is specified?  LocalSystem?
  • Is there an interactive session open when the script is running?  That is, could I connect to the console of the VM and observe what is happening?

Does anyone have any tips for debugging?

Really, what I'm looking for is something to give a good overview as to how VMM actually executes these steps, so I can understand the execution environment for my scripts.

Moving VM from a Hyper-V Server to VMM Managed Hyper-V Server fails at the end

$
0
0

Dear Experts,

I need your advice to Move VMs from a Hyper-V Server to SCVMM managed Hyper-V Host. Fact is I have deployed SCVMM and I need to transfer all the VMs from my old system. I am trying to move my VMs from Hyper-V manager and its transferring all the files and at the end of transfer it fails.

Please let me know what is the exact process to transfer VMs from a Hyper-V host which is not managed by VMM to a VMM managed Hyper-V host.

Notice that my Windows Server 2012 r2 is running on old Hyper-V hosts and Server 2016 are running on VMM Managed Hosts

Thanks and Best Regards

Minhuj 

 

 

SCVMM 2019 - New Logical Switch error

$
0
0

Hello

I have added Windows server 2016 Hyper V host to System Center Virtual Machine Manager 2019.

I have Logical Switch created in VMM with Uplink Mode: Team

When i try to add New Logical Switch to Windows server 2016 Hyper V host i get error:

Error (505)
Virtual Machine Manager was unable to create a new virtual switch 2D70BE71-51B8-4B53-8C94-468752C31619.

Recommended Action
Check the virtual switch name, and then try the operation again.

I dont have any other Switches configured on Hyper V host.

Can someone help me with this?\

Thank You !


Who will be announced as the next Virtual Machine Manager Guru? Read more about May 2019 competition!!

$
0
0

What is TechNet Guru Competition?

Each month the TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance to be announced as MICROSOFT TECHNOLOGY GURU OF THE MONTH!

One winner in each category will be selected each month for glory and adoration by the MSDN/TechNet Ninjas and community as a whole. Winners will be announced in dedicated blog post that will be published in Microsoft Wiki Ninjas blog, a tweet from the Wiki Ninjas Twitter account, links will be published at Microsoft TNWiki group on Facebook, and other acknowledgement from the community will follow.

Some of our biggest community voices and many MVPs have passed through these halls on their way to fame and fortune.

If you have already made a contribution in the forums or gallery or you published a nice blog, then you can simply convert it into a shared wiki article, reference the original post, and register the article for the TechNet Guru Competition. The articles must be written in May 2019 and must be in English. However, the original blog or forum content can be from beforeMay 2019.

Come and see who is making waves in all your favorite technologies. Maybe it will be you!


Who can join the Competition?

Anyone who has basic knowledge and the desire to share the knowledge is welcome. Articles can appeal to beginners or discusse advanced topics. All you have to do is to add your article to TechNet Wiki from your own specialty category.


How can you win?

  1. Please copy/Write over your Microsoft technical solutions and revelations to TechNetWiki.
  2. Add a link to your new article on THIS WIKI COMPETITION PAGE (so we know you've contributed)
  3. (Optional but recommended) Add a link to your article at the TechNetWiki group on Facebook. The group is very active and people love to help, you can get feedback and even direct improvements in the article before the contest starts.

Do you have any question or want more information?

Feel free to ask any questions below, or Join us at the official MicrosoftTechNet Wiki groups on facebook. Read More about TechNet Guru Awards.

If you win, people will sing your praises online and your name will be raised as Guru of the Month.


PS: Above top banner came from Rajeesh Menoth.

problems moving virtual machines inside of cluster

$
0
0

Even though I have made no changes to my environment, other than normal OS patches, I unable to move my vm's between host servers.  This is true for host server that are part of a cluster and those that are not.  When I attempt to do this inside of VMM, I get a error message stating that "CLR is not terminating". Research I am finding points to .Net Framework 4.5 not being installed.  I have not found any more recent for Windows Server 2016 and this error.  Other article talk about different circumstances when the problem occurs.  I only see this attempt to move VM's between hosts.  Also when using Hyper-V Manager  and attempting to move between hosts I receive: "Virtual machine migration operation failed at migration source. Failed to establish a connection with host: '*': no credentials are available in the security package. The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the source host."  For all my hosts authentication is configured to use Kerberos and NOT CredSSP.    

Please keep in mind, this was working as configured for most of this year.  I have not changed the RunAs account in VMM for this operation, it is enabled, active, and there are no problems with the password.    

Any help helping to location more information about this problem or how to resolve would be greatly appreciated.  

Who will be announced as the next System Center Virtual Machine Manager Guru? Read more about May 2019 competition!!

$
0
0

What is TechNet Guru Competition?

Each month the TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance to be announced as MICROSOFT TECHNOLOGY GURU OF THE MONTH!

One winner in each category will be selected each month for glory and adoration by the MSDN/TechNet Ninjas and community as a whole. Winners will be announced in dedicated blog post that will be published in Microsoft Wiki Ninjas blog, a tweet from the Wiki Ninjas Twitter account, links will be published at Microsoft TNWiki group on Facebook, and other acknowledgement from the community will follow.

Some of our biggest community voices and many MVPs have passed through these halls on their way to fame and fortune.

If you have already made a contribution in the forums or gallery or you published a nice blog, then you can simply convert it into a shared wiki article, reference the original post, and register the article for the TechNet Guru Competition. The articles must be written in May 2019 and must be in English. However, the original blog or forum content can be from beforeMay 2019.

Come and see who is making waves in all your favorite technologies. Maybe it will be you!


Who can join the Competition?

Anyone who has basic knowledge and the desire to share the knowledge is welcome. Articles can appeal to beginners or discusse advanced topics. All you have to do is to add your article to TechNet Wiki from your own specialty category.


How can you win?

  1. Please copy/Write over your Microsoft technical solutions and revelations to TechNetWiki.
  2. Add a link to your new article on THIS WIKI COMPETITION PAGE (so we know you've contributed)
  3. (Optional but recommended) Add a link to your article at the TechNetWiki group on Facebook. The group is very active and people love to help, you can get feedback and even direct improvements in the article before the contest starts.

Do you have any question or want more information?

Feel free to ask any questions below, or Join us at the official MicrosoftTechNet Wiki groups on facebook. Read More about TechNet Guru Awards.

If you win, people will sing your praises online and your name will be raised as Guru of the Month.


PS: Above top banner came from Rajeesh Menoth.

Dave Rendon - wikiazure

I want to ask how can I dismount a VHD which the VHD file is no more existed?

$
0
0
So I have a VHD set by ImDisk RamDriver, for some reason I forgot to unmount this VHD with the VHD file not exist now, and I can't unmount it right now with any ways such as Dismount in powershell or detach in diskpart cli or detach in disk manager, they will all show me "Device is not ready". Do I have another way to dismount this VHD?

Service Template - Set computer name based on creating user or other data

$
0
0

I want to allow my users to create VMs from a template in VMM and have the computer name of the deployed OS be generated from the user name and department (e.g. DEV-QA-BOB)

As I want to use application profiles to deploy some applications after initial OSD, I will need to use service templates.

How can I set the computer name? At the moment the only way I can see to do it is to run a script on the deployed VM to rename it. Is there any other way?

Run a Powershell script Post-Deploy using VM Template

$
0
0
We are using SCVMM 2012 R2 and need to run a PowerShell script post-install that adds users to the local admins group.  Is this possible when using VM templates to deploy VMs? I looked into the application scripts, but they appear to require VM services?

VMM2016 can't build new VM

$
0
0

Hi,

I am running VMM 2016 and HyperV Core 2016 and it used to function fine when building new VMs, now it fails each time with the following error:

Error (20408)

VMM could not get the specified instance Scvmm_EthernetSwitchPortInternalSettingData.InstanceID="Microsoft:Definition\1f59a509-a6ba-4aba-8504-b29d542d44bb\Default" of class Scvmm_EthernetSwitchPortInternalSettingData on the server xxx.xxx.xx.xxx.co.uk. The operation failed with error HRESULT 0x80338000 The WS-Management service cannot process the request. The class Scvmm_EthernetSwitchPortInternalSettingData does not exist in the root/virtualization/v2 namespace.

However, if I use HyperV manager then I can build the VMs OK and VMM2016 will then allow control of most functions, my othe rHyper-V Core 2016 servers running under the same VMM2016 instance are working just fine.

Can anyone shed some light on this please?




Discontinue using VMM

$
0
0

Hello,

I want to stop using VMM 2012 on a 7 node hyper-v cluster and just use failover cluster manager.  Maintenance has expired and I don't want to upgrade to a newer version.

Is it as simple as uninstalling the vmm agent on each node? I no longer need the server that VMM sits on. I think the database resides on another server as well.

Thanks

ES

Unable to migrate VM to cluster storage (storage spaces direct)

$
0
0

Hello

When I try to migrate VM that resides on an old host (windows 2016) to our new windows 2019 cluster vmm dont see the cluster shared volumes as an volume to migrate to. It wants to use the c:\

I get this error 

"There is not enough disk space on the available volumes.
Maximum disk space on the most appropriate volume, accounting for the host resource utilization  (in megabytes): 112084 
The virtual machine requirement (in megabytes): 327495 
The maximum available space at the time of evaluation, after considering the virtual machine requirements (in megabytes): 112084"

The strange this is if i Migrate one VM that is less then 112gig it works and I can then in the migrate process choose cluster storage.. 

Im running vm2019 and the cluster volumes is set as available for placement.

Anyone knows how to do?


VMM PXE Provider does not appear to be working when booted from UEFI mode over Ipv6

$
0
0
When the deployment happens through IPv4, its booting from “DCMgr\boot\windows\bootmgfw.efi” .
But in case of IPv6 it’s trying boot from “boot\x64\wdsmgfw.efi” is there something I am missing here? My DHCP server is configured on different server and WDS SCVMM is configured on the different server.
Everything is working fine when the deployment happens from IpV4. is this the correct behavior or are we missing any configuration??

Set switch issue vmm 2019

$
0
0

Hello.

I have a set switch created in vmm 2019 that used vlan based independent networks.

When i deploy the set switch i get this error


Error (50362)
Logical networks that use network virtualization and are not managed by Network Controller are not supported on the selected host (XXXXXXXXXXXX') OS version.

Recommended Action
Logical Networks that use Network Virtualization without Network Controller are not supported on Windows Server 2019 and above. Please manage the logical network using Network Controller for Network Virtualization.

Anyone. Im not using network virtualization..

Update library job stuck

$
0
0

We are running VMM 2016 and have a job that appears to be hung up. The job is 'Update Library' and nothing I have tried seems to have any effect on it.

1. Tried to manually stop with powershell. Said the job was unable to be canceled and to wait for it to finish

2. Right clicking it yields no options

3. Tried restarting the vmm service to no impact

4. Tried deleting the library got an error saying there was a job running against it to wait for it to finish

Viewing all 3230 articles
Browse latest View live


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