Thursday, 23 January 2014

Creating Service Connection Point (SCP) for Virtual Machine Manger using PowerShell

After an installation of System Center 2012 R2 Virtual Machine Manager today I was greeted at the end of the Wizard with a message that it couldn't register the SPN or SCP and to manually check them.

It's not the first time I've seen this message and rather helpfully the message directs you to run the ConfigureSCPTool.exe utility This is usually run with syntax similar to this:
"C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\setup\ConfigureSCPTool.exe"  -install VMMServer.DomainFQDN DomainShort\VMMServer

However when I ran it this time, it didn't create the Service Connection Point (SCP) for me (The SPN's btw were correct already).

The SCP is important as it provides a lookup point in Active Directory for the consoles to connect to the VMM server and I also believe that Bare Metal Deployment of Hyper-V hosts use it in some form.

I could have created the SCP manually using ADSI Edit, but since I'm scripting the installs at the moment, I took 5 minutes to wrap the creation into a script.
The script can be found here:

The script basically takes an input of your Domain NetBIOS (short) name, your Domain Fully Qualified Domain Name (FQDN), your VMM Server and the service account that your VMM service runs under (I haven't tested with a local system account!).

The script when run will create the SCP object under your server computer object in Active Directory with the required Keywords, Binding Information, Class Name and DNS Info.

5 comments: said...

Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. best vpn

Irfan Ali said...

I appreciated your work very thanks Best VPN China

sirking said...

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. Cheap VPN

online courses said...

Individuals requiring a dependable program for their fund specialty or designing related prerequisites can rely on MATLAB to convey with no issues. machine learning course

for ict 99 said...

The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Project Centers in Chennai.

Software management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.

Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully