Archive for the ‘SCVMM’ Category

SCVMM 2012 error – You cannot access Virtual Machine Manager server localhost. Ensure that your account is a member of a valid user role, and then try the operation again. ID: 1604

April 27, 2012

When opening the SCVMM Console and trying to logon to it, i got the following error:

You cannot access Virtual Machine Manager server localhost.

Ensure that your account is a member of a valid user role, and then try the operation again.

ID: 1604

Weird. Last time i ran it it worked fine.

Into the Eventlogs of the SCVMM server then. There i found this entry:

“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 operation again.”

Event ID 2605, Virtual Machine Manager

So, no connection to the SQL Server that holds the database? Onto the SQL Server then. There, in the Eventlog was this error:

Login failed for user ‘CONTOSO\sa_scvmm’. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <ip-address of scvvm server>]

Event 18456 MSSQLSERVER

Hey, that’s weird. After some googling, this error turns up related to UAC (User Account Control) issues on servers.

So i right-clicked the SCVMM Console and ran it with “Run as Administrator”.

And behold, it worked!

Wait, wut? Does that mean i have to start the SCVMM Console as Administrator every time from now on?

So i closed the console, and re-opened it, now without “Run as Administrator”.

Still worked fine. Hmmkay…. Some weird one-time error?

Advertisements

Setup was not able to retrieve the service account from the specified Virtual Machine Manager Server

March 17, 2011

I was at a customer installing a nice new instance of SCOM 2007 R2 and SCVMM 2008 R2.
Both installed fine.
Then tried to setup the connection between the two, a.k.a. the PRO tips.
After adding all service account sto the needed groups (local admin groups on servrs and admin groups within scvmm/scom) i got to the point of running the SCVMM integration setup on the SCOM server.
This by mounting the SCVMM ISO and running setup, then choosing “Configure Operations Manager”
This setup failed with the following error:

“Setup was not able to retrieve the service account from the specified Virtual Machine Manager Server”
A little googling turned me to this blog post of Aidan Finn.
Which seemed to be exactly the same issue. Only, his solution of running the “ConfigureScpTool.exe -Install” did not work for me.
The tool ran fine. Well, i think it went fine, because it doesn’t provide any feedback about if it succeeded or failed. Hmm.
Checked with ADSIEdit, and still no SCP object was created for the SCVMM Server object.

So i connected to my testenvironment where i also have scvmm and scom running, and opened ADSIedit to find out what the missing SCP records looked like.
I then manually created these in ADSIedit for the new environment, of course with using the proper computernames and settings.
Quick guide:
– open adsiedit, navigate to the computerobject of your scvmm server
– rightclick, create new object
– on object class, select “serviceConnectionPoint”
– on value, type: MSVMM
– then click finish.
Your object is now created, but needs to be adjusted.

The following attributes have to be entered/modified:
– keywords
I had 5 entries here:
* The product-ID of SCVMM, being something like “02024-110-8022126-75063”
* the second entry was the number “1.0”
* the third entry was the SCVMM serviceaccount name, in the format of domainname\serviceaccount for example contoso\sa_scvmm
* the fourth entry was just “Microsoft”
* and the last was the product name, “Microsoft System Center Virtual Machine Manager 2008”
! Note that all 5 entries did not have any quotation marks in them !
– serviceBindingInformation
Enter the TCP Port number that your SCVMM service listens to, typically 8100
– serviceClassName
Enter “MSVMM” here (without the quotes)
– serviceDNSName
Enter the FQDN of your SCVMM server here
– serviceDNSNameType
– Enter “A” here (without the quotes)

And waddayaknow, it worked 🙂
I could now connect from another server using the SCVMM console using the dns name of the scvmm server.
No more kerberos errors and all..

SCVMM 2008 R2 error adding hosts

October 20, 2010

I had a clean install of SCVMM 2008 R2 running as the first VM on a Hyper-V 2008 R2 cluster.
When trying to add the Hyper-V hosts to SCVMM to start managing them, i got an Error (406):

Access has been denied while contacting the server node4.domain.local.

Recommended Action
1. Verify that the specified user account has administrative privileges on node4.domain.local.
2. Verify that DCOM access, launch, and activation permissions are enabled on node4.domain.local for the Administrators group. Use dcomcnfg.exe to modify permissions, and then try the operation again.

Also, SCVMM couldn’t access it’s own library (access denied), which actually was on the same server. Weird.
After trying every possibility concerning user rights and access rights, i decided to reinstall the whole box.
After that, the problem returned. Darn.
Then i remembered that i had manually added a proxy server to the winhttp service, for accessing the microsoft update site.
This because the Microsoft Update Service did not pick up the IE Proxy settings.
The command i used to set it up was:
netsh winhttp set proxy (ip address of proxyserver):(portnumber) bypass-list:""
This way, it would not use the proxy for all local network traffic.
Such as traffic from SCVMM to itself, or to the nodes.
After removing the proxy with “netsh winhttp reset proxy” , i was finally able to successfully add hosts to SCVMM, and the SCVMM server was able to connect to its own library again.
Apparently the “local” bit didn’t really do what it was supposed to….