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

SCVMM 2016 - Custom Property

$
0
0

I'm using SCVMM 2016 to manage multiple different Hyper-V Host Clusters. I created a custom property field called "vLAN". We have a cluster called "APPRDHCB1" which has about 50 virtual machines on it. They are all on the same vLAN (110). I'm looking for an easy way to populate the custom property (vLAN) field which is named "vLAN" and set that property to "110" without editing each VM's property field. Any help is appreciated!


Pat


Live migration between two clusters

$
0
0

Hello! I have two different hyper-v failover clusters. One on by Windows 2012 R2, one on by Windows 2016. We use VMM 1801 for migrate virtual machines between cluster. I run VSM migration and on several VM i get error:

Error (12700)
VMM cannot complete the host operation on the 'hyp20.domain.local' server because of the error:
Unknown error (0x8010)

Recommended Action
Resolve the host issue and then try the operation again.

System Center Virtual Machine Manager 2016 we portal?

$
0
0

Hello All,

I am a new in this forum and i would like your help about SCVMM 2016.

I have setup SCVMM 2016 and i would like to configure web portal for tenants users .

The only i have found is with Azure pack and Service provider foundation but i can not find any official link from Microsoft.

Can you please inform me if there is any or how i configure it?

Thanks.


SCVMM 2012 - A Hardware Management error has occurred trying to contact server. Unknown error (0x803381a6)

$
0
0

Hi,

Just recently I have been experiencing a problem where all the virtual hosts I am monitoring in SCVMM will go from responding to Needs Attention and all the VMs have the status of Host Not Responding.

The errors in the job log are all the same for each of the virtual hosts (there are 3 in a cluster).

Error (2927)
A Hardware Management error has occurred trying to contact server RC-HYPERV-1.riddlesdown.local  .
Unknown error (0x803381a6)

Recommended Action
Check that WinRM is installed and running on server RC-HYPERV-1.riddlesdown.local. For more information use the command "winrm helpmsg hresult".

I've checked the WinRM service on all servers and it is started on all of them, there are no firewalls between the SCVMM server and cluster nodes, VMM service account is a member of the local administrators on the cluster nodes.  I can't see anything in any of the events logs around the time everything has stopped.

I can fix it by forcibly stopping the WinRM service (when I try to stop it normally it times out), restarting the WinRM and VMM agent services, then refreshing the host cluster.

Any ideas why all the nodes suddenly stop responding and what I can do about fixing it?


SCVMM2016-UR5: MSA2040 SMI Storage - error 26280 / 20406 MM could not enumerate instances of class CIM_RegisteredProfile

$
0
0

Hi,

we use SCVMM 2016 with UR5.

When we would add our MSA2040 Fibre Channel Storage over SMI and SMI-S, we get the Errors:

Error (26280)
Storage discovery of fabric provider san-a.ttcon.local for user manage failed from SCVMM-Server.intdomain.local

Recommended Action
Specify valid provider, port and user credentials for storage discovery.

Error (20406)
VMM could not enumerate instances of class CIM_RegisteredProfile on the server . Failed with error HRESULT 0x80338104 The WS-Management service cannot process the request. The WMI service returned an 'access denied' error. 

Recommended Action
Ensure the provider is running, and then try the operation again.

For Tests we disable SMI-S and try to connect, but it don´t helps.
Also we Change the RunAs Account to .\manage with updated Password, but same error.

Can someone helps?


Kind regards Joerg


VMM Client Error (2912)

$
0
0

Hi Everyone,

I am hoping for a little advise on an generic issue I am having on mutable Hyper-V hosts within vmm. I have around 20 servers that are reporting the following error when trying to do a refresh or reinstall.

-----------------------------

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

WinRM: URL: [http://***:5985], Verb: [INVOKE], Method: [GetVersion], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]

The request is not supported (0x80070032)

Recommended Action
Check that WS-Management service is installed and running on server '***'. For more information use the command "winrm helpmsg hresult". If '***' 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.

---------------

Actions / Checks I have tried so far :

1. Reinstalled client. This results in the same issue.

2. ensured all systems ( including the vmm server are on the latest updates and VMM version )

3. Reset performance counters

4. Checked WinRM was configured on remote boxes

5. Firewalls is off on both ends

6. No proxy configuration in place.

7. This is effecting 2012 r2 and 2016 servers core and desktop

8. Checked wmi for corruption

9. Increased time outs and max concurrent in WinRM

10. Restarted all related services on client box

11. If I remove and reinstall the Hyper-V server from console I also get the same error when re-adding it.

Can't add host in subdomain

$
0
0

Hello All,

scenario:
- SCVMM 2016 UR5 in mydomain.com
- four new hosts in sub.mydomain.com

When trying to add any of the hosts, using the sub\administrator as the runas account I get:
(410) Installation failed on hostXX.sub.domain.com, RPC server unavailable
(10444) unable to impersonate supplied credentials
and the text about disjointed namespaces etc.

I have ruled out:
- Firewall issues
- missing components ($Admin share etc.)
- Credential issues

Running this from the SCVMM server returns data without a problem:
Test-WSMan -ComputerName "hostXX.sub.domain.com" -Authentication (default and Kerberos) -Credential $creds (sub\administrator)

An SCVMM trace shows the process:
- going through a cluster discovery (which fails),
- adding the host to the database (success),
- querying WinRM for the existence of a SCVMM service (success),
- then (pretty sure this is the culprit)
   Connecting to WMI for server hostXX.sub.domain.com. Service name is VMMInstallDetector (..)
   COMException [ex#24a5b] caught by Connect Failed to connect to [hostXX.sub.domain.com]  (more stuff, RPC unavailable etc)
- then a rollback

A message analyzer trace shows:

SCVMM IP -> host IP         Operation, Status:  (401), POST /wsman, Version: HTTP/1.1

Additional info: There is a firewall between the two subnets (has an any:any rule between the two for now) where I can see Kerberos traffic going to the DC's in the subdomain.

Anyone have an idea where to look? I'm hesitant to just do a manual agent install. This should work without a problem in a "vanilla" - subdomain scenario, and I'm concerned this will rear its ugly head down the line if I just try to circumvent it now.

Thx in advance for help and/or pointers!
M.

Store in Library (Windows Azure Pack/SCVMM)

$
0
0

Good Afternoon,

I hope this post is in the correct spot as it pertains to Windows Azure Pack integrating with SCVMM. If I am in the wrong place please let me know.

When creating a plan in Windows Azure Pack, I've noticed an additional setting within the Virtual Machine Cloud services labeled 'Store virtual machines to the library and deploy virtual machines from the library.'

When enabling this option, no additional functionality is added to the tenants dashboard. I'm wondering how this functionality is utilized by a tenant user?

My goal is to enable tenants to 'park' virtual machines that aren't actively being used, with the potential for redeployment in the future.

Thanks!


Windows Server 2019 Guest OS in SCVMM 2016

$
0
0

Good Afternoon,

I'm curious as to when SCVMM 2016 will have the ability to specify Windows Server 2019 as a guest operating system when creating a virtual machine template?

Any idea?

Thanks!


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.  

Console time error

$
0
0

Hi,

On some VMs and some moments we get a weird error when connecting to the Console of a VM.

It's actually an RDP error since the HyperV Console uses RDP to connect to the VM over it's 'VM Bus' instead of the VM's IP stack and NIC. We get the error in VMM, Failover Clustering Manager and HyperV Manager.

The error about time is also misleading since there really is no time difference. VM lives in same location as the Host. Nothing too exciting.

When doing a search for the error I only get answers related to an actual RDP situation (Terminal Services, etc.) but since this is actually VMM we experience this in, the answers don't match our situation.

Also, when we migrate the VM to another HyperV host, this issue is gone. So there is a workaround, but we'd like to solve it permanently.

Anyone ?

Greetings,
Richard

Unable to remove File Share from HOSTS

$
0
0

Hi,

I cannot remove file share from some hosts but I cannot understand why.

The "Remove" button from Hosts->Properties->Storage->File Shares is grey, only from one host I removed.

Could you help me?



thanks

Mario

JobVariable - How to set static-dynamic value for this varible

$
0
0

Trying to create an automated Checkpoint script to create checkpoints of all running VMs before Patching.

It would be great if I could loop through all VMs and create a background variable that could be watched via another process.

In the code below (will be placed in a function), I would like "-JobVariable RemoveCP" to be "-JobVariable Remove-$vmName"

That way it can delete the previous months checkpoints on all running VMs at the same time. Is that possible using -JobVariable or should I be looking at using Start-Job instead, or something else entirely?

$vmName="Server-02"
$checkpointName = "BeforeUpdate"

# Create ARRAY of all Checkpoints for $vmName
$Checkpoints = Get-VMCheckpoint -VM "$vmName"

# Show how many Checkpoints EXIST
write-host Number in Array: $Checkpoints.Count

If ($Checkpoints.Count -ge 1)
# Check IF 1 or more Checkpoints EXIST
    {
      foreach($element in $Checkpoints)
      # LOOP through each Checkpoint in ARRAY $Checkpoints
        {
          # Identify each positional element in the ARRAY
          $elementNumber = $Checkpoints.IndexOf($element)

          if ($Checkpoints[$elementNumber] -match ($checkpointName))
          # CHECK if any Checkpoint MATCHES $checkpointName
            {

              # Show ARRAY element NUMBER and Checkpoint Name
              write-host $elementNumber $element

              # Remove checkpoint in ARRAY MATCHING $checkpointName
             Remove-VMCheckpoint -VMCheckpoint $Checkpoints[$elementNumber] -RunAsynchronously -JobVariable "RemoveCP"
#             Remove-VMCheckpoint -VMCheckpoint $Checkpoints[$elementNumber]

# Display job progress - this is just for testing
While ($RemoveCP.status -eq "Running") 
{ 
   Write-Progress -activity "Removing Checkpoint" -status $RemoveCP.progress
   Start-Sleep -seconds 2 
}

            } Else {
              # ERROR: CONTINUE: Current Checkpoint does NOT MATCH $checkpointName for $vmName
                # That's OK. Move on to the next Checkpoint Element Number for $vmName

              # DO NOTHING HERE

            }
        }
    } Else {
      # ERROR: CONTINUE: No Checkpoints for $vmName
        # This must be a NEW VM with no checkpoints OR someone removed it
        # Either way, that's OK. Move on the the next $vmName

        write-host No Checkpoints for $vmName

    }


Thanks.

Dan

Clone multiple VM's Using VM's with SYSPREP required for new VM's

$
0
0

Hello ,

we need to clone vm using any existing vm in SCVMM environment .And the new VM should be syspreped .After machine is syspreped we need to assign new name and ip on cloned VM .Can this task be achieved using script .

JobVariable - How to set static-dynamic value for this variable

$
0
0

Trying to create an automated Checkpoint script to create checkpoints of all running VMs before Patching.

It would be great if I could loop through all VMs and create a background variable that could be watched via another process.

In the code below (will be placed in a function), I would like "-JobVariable RemoveCP" to be "-JobVariable Remove-$vmName"

That way it can delete the previous months checkpoints on all running VMs at the same time. Is that possible using -JobVariable or should I be looking at using Start-Job instead, or something else entirely?

$vmName="Server-02"
$checkpointName = "BeforeUpdate"

# Create ARRAY of all Checkpoints for $vmName
$Checkpoints = Get-VMCheckpoint -VM "$vmName"

# Show how many Checkpoints EXIST
write-host Number in Array: $Checkpoints.Count

If ($Checkpoints.Count -ge 1)
# Check IF 1 or more Checkpoints EXIST
    {
      foreach($element in $Checkpoints)
      # LOOP through each Checkpoint in ARRAY $Checkpoints
        {
          # Identify each positional element in the ARRAY
          $elementNumber = $Checkpoints.IndexOf($element)

          if ($Checkpoints[$elementNumber] -match ($checkpointName))
          # CHECK if any Checkpoint MATCHES $checkpointName
            {

              # Show ARRAY element NUMBER and Checkpoint Name
              write-host $elementNumber $element

              # Remove checkpoint in ARRAY MATCHING $checkpointName
             Remove-VMCheckpoint -VMCheckpoint $Checkpoints[$elementNumber] -RunAsynchronously -JobVariable "RemoveCP"
#             Remove-VMCheckpoint -VMCheckpoint $Checkpoints[$elementNumber]

# Display job progress - this is just for testing
While ($RemoveCP.status -eq "Running") 
{ 
   Write-Progress -activity "Removing Checkpoint" -status $RemoveCP.progress
   Start-Sleep -seconds 2 
}

            } Else {
              # ERROR: CONTINUE: Current Checkpoint does NOT MATCH $checkpointName for $vmName
                # That's OK. Move on to the next Checkpoint Element Number for $vmName

              # DO NOTHING HERE

            }
        }
    } Else {
      # ERROR: CONTINUE: No Checkpoints for $vmName
        # This must be a NEW VM with no checkpoints OR someone removed it
        # Either way, that's OK. Move on the the next $vmName

        write-host No Checkpoints for $vmName

    }


Thanks.

Dan



VMM WMI provides classes but no instances

$
0
0

I'm trying to read information from a newly installed SCVMM 2012 using WMI but the system has issues with classes not being registered for the root\SCVMM namespace. All other namespaces seem to work as expected.

If I use the Windows Management Instrumentation Tester tool or WMI explorer and enumerate classes it returns a full list of classes as expected. But whenever I try to access any of these classes it says: "class is not registered" error 0x80040154.

The RPC and WMI services are currently running. How can I determine why the classes are not registered and how to make sure they are registered for root/scvmm?

I've already reviewed articles like this and the wmi repository is valid:

https://blogs.technet.microsoft.com/askperf/2014/08/11/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/

https://social.technet.microsoft.com/Forums/windows/en-US/11b8186e-961d-49f0-85fe-d686fbf62e62/can-not-get-vmm-information-through-wmi?forum=virtualmachinemanager

error 2209 when restore vmm

$
0
0

Hello,

I need to reinstall  VMM2008 R2.

1. On fresh fully patched Server 2008R2 I installed VMM 2008 R2. I can open VMM console.

2. Then I try to restore my VMM 2008 from  the backup created using Backup Virtual Machine Manager (in the console).

I use the instruction from : http://technet.microsoft.com/en-us/library/cc956045.aspx

But get the error 2209. What I am missing?

C:\Program Files\Microsoft System Center Virtual Machine Manager 2008 R2\bin>scv
mmrecover -path c:\restore -confirm
SCVMMRecover 2.0 - Virtual Machine Manager database recovery command-line tool.
Copyright (c) 2008 Microsoft Corporation. All rights reserved.

Error ID: 2209
Failed to recover database VirtualManagerDB from location c:\restore to SQL serv
er. The SQL error is:
Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the ope
ration again. Ensure that the specified file is a valid VMM database backup.

Thanks,

Michael.


"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

Use Hardware Topology - Powershell?

Error (12700) VMM cannot complete the host operation on the 'HYPER-V-HOST01' server because of the error: 'GUEST-DC01' failed to modify device 'Virtual Hard Disk'. Unknown error (0x8002)

$
0
0

Hello,

We have this strange issue - when I try to extend a .vhdx - the job fails, however the disk is expanded, but I need to run a Repair-SCVirtualMachine job afterwards.

Info about the enviroment: 

Hyper-V 2016 Cluster with 16 hosts

HPE BL460c G9 blades running HPE 2018.03 SPP

The VM's are Veeam Replica VM's from a 2012 R2 Cluster, which has been made a Permanent Failover by Veeam. 

If I tend to install a clean 2012, 2012 R2 or 2016 VM with bare OS, a Dynamic Disk at 30GB on the SCSI Adapter - and extends with 1GB, no problems.

So, it seems that were having issues with Veeam Replica VM's.

Any suggestions? :)

Error (12700)

VMM cannot complete the host operation on the 'HYPER-V-HOST01' server because of the error: 'GUEST-DC01' failed to modify device 'Virtual Hard Disk'. (Virtual machine ID 370A1ACF-15CB-4EDC-BEA6-71A766482296)
Unknown error (0x8002)

Recommended Action
Resolve the host issue and then try the operation again.

Hyper-v host showing need attention on VMM 2012 Sp1

$
0
0

I have some W2k12 hosts, those shows need attention, I did restart of scvmmagent,wmi,winrm,virtual machine manager but not fixed issue. uninstall vmmagent from host, reinstall back, but no luck.

At last we have to take reboot of host and it fixed.

Please anyone let me know the permanent solution to fixed this issue without reboot.


Santy

Viewing all 2770 articles
Browse latest View live


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