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

VMM Host status stuck in "Needs Attention".

$
0
0

I have a few server in my environment on which VMM agent is installed. When I check the Host status of some of the server among them, they are showing as  "Needs Attention". I tried refreshing the host and VMs. Even I re-installed the VMM agent but with no help. Error messages on them are listed down below. 

1. WinRM issue: Error code-20506.



For one server overall status is showing as OK in the VMM console. But still not able to resolve the "Needs Attention" issue. 

Someone please help me in sorting this out.

Thanks in advance :)

Regards,

NG


Network in VMM

$
0
0

Hello,

i have a question to the understanding of VMM Network.

For Example:

my environment:

  • Hyper-V Cluster in Berlin
  • Hyper-V Cluster in Munich.
  • My Network is VLAN Base. Trunk port to my Hyper-V NIC for the v-switch.
  • Vlan 10 - Server for application
  • Vlan 20 - Server for infrastructure
  • Vlan 30 - VOIP Server
  • Vlan40 - buildingmonitoring (only on Side Berlin)

So my question is:

  • What i need to create in VMM to get this environment.

I found this side Configuring VM Networks in VMM Illustrated Overview

I think i should use the VM networks in a Vlan based configuration

So i need:

  • one logical network(vlan-based independent networks) for example Name "Company".
  • in this logical network i create 2 Side Berlin & Munich
  • in the Side i create all Vlans on this side. For Berlin Vlan 10,20,30,40 and for Munich 10,20,30
  • and now i can create for each Vlan one VM Network? So i create 7 VM Networks

And when i create a new VM Network and select the button "Specifiy a Vlan". The Script create this Command

$logicalNetwork = Get-SCLogicalNetwork -Name "Company" -ID "6a730a7a-1d24-4589-865e-e4e2fb3a1838"
$vmNetwork = New-SCVMNetwork -Name "Munich_Vlan10" -LogicalNetwork $logicalNetwork -IsolationType "VLANNetwork"
Write-Output $vmNetwork
$logicalNetworkDefinition = Get-SCLogicalNetworkDefinition -Name "Munich" -LogicalNetwork $logicalNetwork
$subnetVLAN = New-SCSubnetVLan -Subnet "10.0.0.0/28" -VLanID 10
$vmSubnet = New-SCVMSubnet -Name "Munich_Vlan10_0" -LogicalNetworkDefinition $logicalNetworkDefinition -SubnetVLan $subnetVLAN -VMNetwork $vmNetwork

Why the VM subnet name is Munich_Vlan10_0and not only Munich_Vlan10. Is this a problem when i change it to Munich_Vlan10?

Or is my understanding of VMM Networking completly wrong?


Thx for help.




SCVMM template based RHEL 7.2 customization not starting?

$
0
0

Hello,

I'm trying to deploy RedHat 7.2 via SCVMM using a template. The "master" VM is properly running, the SCVMM agent is installed, LIS is provided out of the box with the OS. So far so good. 

After creating a "generation 2" VM template based deployment, the new VM is being created. However, the customization is never running and therefore the new VM will not get a new host name and IP settings are not configured either. I'm running the VM with DHCP, so the latter part is not critical, but the hostname is not being changed. I was able to invoke the customization manually, I just can't recall what I did to get it started.

Any suggestions on how to get it working?

I've tried to deploy the VM with a root password set and an empty on. Now change ....

Appreciate your thoughts, V.

Add user input runonce commands

$
0
0

Is it possible to ask input of the user during deployment of the (linux) vm in scvmm?

In the guest OS profile, you can choose a new root password etc but i I want to add additional users to a linux vm during the deployment.

SCOM Alert for SCVMM

$
0
0

Hi,

We received the following critical alert in SCOM, but I can't find any information on what this is about and how to resolve this problem. Any advice would be greatly appreciated.

Live migration breaks Network Location Awareness on multi-homed VM

$
0
0

We have several multi-homed VMs, running reverse proxies and VPN gateway.

Whenever these are live migrated, we have a problem, where the reverse proxies lose access to the domain (ADSI calls fail, even though SSPI succeeds).

In these cases, the LAN adapter has become unidentified.

In order to have it re-classified properly as Domain, we either have to

a) reboot the image

b) disable the external NIC, then disable the LAN NIC, re-enable the LAN NIC, then re-enable the external NIC.  If the external NIC is enabled, it prevents successful discovery of the LAN NIC.

I've seen other posts for years about similar issues with NLA and multi-homed computers.  MS, you really need to allow us to force adapter usage.

This to me screams that there's some kind of broadcast discovery going out all adapter, and choosing the wrong source IP.  There was a long-standing bug relating to broadcast on multi-homed windows hosts, where a broadcast UDP packet would go out all adapters but use the source address of only 1 of the adapters.  This prevents replies from all the networks joined to the other adapters.

Maybe it's somthing else, but it means live migration is not possible, since it breaks our reverse proxies and requires manual intervention.  Quick Migration does not do this, but failover uses Live migration.

Cheers

Adrien de Croy

Deploying VM from template.

$
0
0

Greetings.

I'd encountered issues when deploying a VM from template.

I'd created a VM with clean windows server 2012, without any applications, roles or features. After that, I am created a VM template from that machine. It's created nice and without any issues. But when I'm tried to deploy a VM from that template, it's stucked in ~75%. When I connecting with this VM I see a black screen with stucked installation. It wrotes that the installation stucked because of vmbus.sys is missed or corrupted. I'd tried several times and with different WServer 2012 reinstalls. I'd tried to install a template as a part of the service, but it drops a same mistake.

I would appreciate any help.

Thanks!

Unable to deploy gen2 VM

$
0
0

EDIT: I updated the title to clarify that this seems to apply to ANY Generation 2 VM (including a new blank one), not just existing templates.

I'm not entirely sure what changed.  We have a variety of templates defined for different operating systems.  It seems that suddenly none of the ones based on Windows Server 2012 R2 will deploy.  Other templates (such as Server 2008 R2, Linux) will deploy fine.

It starts the process, copies over the VHDs, etc, and I believe at sometime around sysprep, it errors out:

Error (20413)
VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.a6d3767d-0673-440d-91ab-7eabfcac1b7d\report.txt.

We are on Update Rollup 9.  EDIT: Just upgraded to UR 10 - same problem occurs.

The same error occurs whether we deploy from the VMM Admin Console or the Self Service Portal.

Looking at the referenced file, it shows:

----------------------------------------------------
------------ exceptionObject.ToString() ------------
----------------------------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Carmine.HyperVImplementation.WinBlue.VirVMComputerSystem.GetBootTypeAndValue(Msvm_BootSourceSettingData bssd, BootSourceSubType& bootDeviceSubType, String& bootDeviceValue)
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks()
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask()
   at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.VmOperations.NewCloudVmSubtask.RunNewVmSubtask(NewVmSubtaskBase newVmChildSubtaskToRun)
   at Microsoft.VirtualManager.Engine.VmOperations.NewCloudVmSubtask.NewVmFromTemplateAndConfig()
   at Microsoft.VirtualManager.Engine.VmOperations.NewCloudVmSubtask.RunSubtask()
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)

If this was just affecting one template, I would assume we had somehow changed it and broke it.  However, since it is affecting multiple different Server 2012 R2 templates, I feel like something is wrong at a different level.  Any ideas?





Using VMM, created a VM Subnet, but not getting DHCP Ip Address

$
0
0

I created a Logical Network in VMM, and then created a VM Subnet, and created an IP Pool.  However, when I try to assign an adapter to the vm subnet, it looks like it is not getting an ip address through DHCP.

What am I missing ?

Please help

thank you

Also, if I go ahead and add the network adapter, I get an error message "The virtual network adapter 'Windows 10 [MAC: xxxxxxxxxx] doesn't have a CA (Customer Address) assigned from the VMSubnet related IP Pool."  Recommended Action "Assign a CA address from the VMSubnet Address Pool to the virtual network adapter and try again."

Error 609 when deploying from template

$
0
0

I've created a VM template from a VM that was installed on the host. When trying to deploy a VM from this template it fails at 97% Customization Failed with the error  Error (609) Virtual Machine Manager cannot detect a heartbeat from the specified virtual machine. Either the virtual machine is not running or Virtual Machine Additions is not installed.  Recommended Action Verify the status of the virtual machine.

Guest OS Profile has the correct OS setup, no ISO remained on the template, virtual guest services were updated before creating the template.

Any ideas suggestion?

Is it possible to create vm with virtual processor and clock speed?

$
0
0

Hi All,
I am using SCVMM 2012 R2. During vm creation in SCVMM console, it takes the number of virtual processors but not the clock speed. Is it possible to do it? Or, has been removed from SCVMM 2012 R2? If removed, what is the reason?

Thanks in advance,
Mohak

 

Creating a Lab environment template

$
0
0

Hey Guys,

Im looking at SCVMM to set a lab environment for use on demand to help with the 70-410, 70-411 and 70-412 Exams so here goes the question....

Can i setup a service template that will create a set of VM's on a automatic isolated VM Network (internal only) so multiple services can be launched on demand with the following setup:

  • Windows Server 2012 R2 - DC of domain contoso.com
  • Windows Server 2012 R2 - Standalone Server
  • Windows Server 2012 R2 - Member Server of contoso.com

Preferably i would like IP's set auto-fixed so i.e. DC = XXX.XXX.XXX.001, Standalone = XXX.XXX.XXX.002 and so on.

This will be for self deployment through the self-service portal.

Can this be done? if so any suggestions?

Thanks in Advance,

Kenza


Create VM from a vhd under a particular azure private cloud

$
0
0

Hi,

I am trying to create a new vm under a particular private cloud using an image file, whose location and name I know afore hand. I went through the documentation at New-SCVirtualMachine.

I was able to create a new vm successfully with the Parameter Set: NewVmFromVirtualDisk

However this new vm needs to be under a private cloud. So when I try to supply the -Cloud parameter and pass in the value I get the error:

Parameter set cannot be resolved using the specified named parameters.

q1) Am I approaching it right?

q2) How can I link the new VM to be under a particular private cloud, or alternatively create a vm under a particular cloud by specifying the vhd file?

q3) How to setup the networking for a new VM. Can it be done alongwith the create call? Or is there some other API that I need to invoke after its creation to setup the networking on the newly provisioned VM?


scvmm console

$
0
0

Good morning,

I installed SCVMM R2 on a 2012 R2 VM and it's working fine, but from my Windows I cannot connect to the console from my Windows 7. When I try to connect after enter my credential, it hangs and noting happen.

Please help 


FD

Adding and separating storage to VMM Cloud

$
0
0

Hi

I have a VMM configuration with Hyper-v clusters using CSV storage. I want to create a new cloud and assign storage from an alternative storage array. As a test I have added a new volume/LUN to the host cluster as either available storage or shared storage/CSV. As available storage I cannot add it as a resource to the vmm Cloud, as a CSV it becomes part of the current CSV.

It looks like I need to create a new storage classification but I cannot find a way to add the new disk to a storage classification. Is this the way to do it?

Thanks

Steve


Can you have a WSUS server as Update Server for multiple SCVMM environments?

$
0
0

Hi All,

Can you have a WSUS server as Update Server for multiple SCVMM environments? I tried adding an existing WSUS server (that was already connected to a production SCVMM environment) to a dev vmm environment and it the connection between the production environment and the WSUS broke. I had to read the WSUS server and rebuild the baselines. Good things I had that documented :)

Any documentation is greatly appreciated. I wasn't able to find anything related to this issue.

Regards,

TTwa


TTwa

Create 2012R2 Template - the language will be change

$
0
0

The VM is 2012R2 china, create the vm template is fine. but use this template create VMs, the location and unicode will be change to en-us, form zh-cn.  What's wrong with it? I need to use xml for create vms?

SCVMM 2012, Conntect via conosle does not work when logged in with specified credentials

$
0
0

Hi all

I have a problem with the SCVMM 2012 console. When I start the console I select the "Specify credentials" option and then I enter my admin credentials. Afterward the console opens and everything works except the "Connect via Console" function.

When I try to connect to a VM I get the following message:
Virtual Machine Manager lost the connection to the virtual machine for one of the following reasons: Another connection was established to the console of this machine. The virtual machine has been shut down or put into the saved state. The user credentials provided do not have the necessary privilege to connect (0x0003, 0x0300)

It seems that the Virtual Machine Viewer runs not under the admin credentials which I enter at the beginning and therefore the console cannot connect.

Has someone the same issue ? Is it by design that the console connection does not work with specified credentials or is a sort of a bug or error ?

Thx

J0fe

Digital signature of DLL from Console Add-in

$
0
0
Hello,

I created VMM Console Add-in with one DLL inside. I signed it using my company's official certificate (provided by GlobalSign). Windows shows that signature is OK. However, when I try to import the Add-in in VMM Console I get warning message
"The following assemblies in the add-in are not signed by a trusted authority:"

How can I get rid of this warning?
What is the proper way to sign DLLs in an Add-in?

Wait for unsaved data in stop-scvirtualmachine PS command?

$
0
0

The HyperV Powershell cmdlet Stop-VM has the -Force parameter. Quoting TechNet:

"Specifies that the shutdown of the virtual machine is to be forced. If the virtual machine has applications with unsaved data, the virtual machine has five minutes to save data and shut down. If the virtual machine is locked, it is shut down immediately."

Can similar behavior be achieved with VMMs Stop-SCVirtualMachine?

This also has a -Force parameter, but I think that just turns off the VM. Quote: "Stop-SCVirtualMachine with theForce parameter stops a virtual machine in the same manner as turning off a computer."

If not directly supported, could I do something like: Stop-SCVirtualMachine -RunAsynchronously -Shutdown and then a loop where I wait a few seconds and the (re)check the state of the vm. And if the vm Status is not "off" after x minutes, then do Stop-SCVirtualMachine -Force? Would that work? I know that is probably harsher than what Stop-VM will do after 5 minutes, but I need to be sure that the vms are off.

And what are the possible values for vm Status? Is that documented anywhere?

Viewing all 2770 articles
Browse latest View live