How to add a product key when you are installing System Center 2012 R2 Operations Manager.

September 3, 2014

Once your installation is complete it’s time to make sure you apply your license key. As you know there isn’t any prompt for adding the license key during the installs.

Instead it’s a Post-installation task you must perform.

The process I really simple. We use the PowerShell Set-SCOMLicence cmdlet.

1. Open an elevated PowerShell prompt. (Run as Administrator).

2. Type import-module operationsmanager.

3. Type New-SCOMManagementGroupConnection to connect your management group

4. Run the command Set-SCOMLicense -ProductId “<yourlicensekey>“

5. Check the settings by running the command:

Get-SCOMManagementGroup | ft skuforlicense, version, timeofexpiration –a

You may have to restart the Management server/-s to make sure that these changes are registered correctly.

Advertisements

System Center 2012 R2 – Register SPN fails

September 2, 2014

I received the following error wile pasting the command from my solution document.

C:\Windows\system32>SETSPN.exe -A MSOMSdkSvc/MyServer domain\service_account

Unknown parameter MSOMSdkSvc/MyServer. Please check your usage.

I have encountered this before and thought I would share the knowledge to save you some troubleshooting.

As you know the data access service account runs as a domain user and doesn’t have access to creation of the service principal names in Active Directory. There for you must run the commands with administrative or delegated privileges to user objects.

The syntax for adding SPN are two commands are found at TechNet http://technet.microsoft.com/en-us/library/dd548282.aspx

SETSPN.exe –A MSOMSdkSvc/<ManagementServerFQDN> <domain>\<SDKServiceAccount>

SETSPN.exe –A MSOMSdkSvc/<ManagementServerNetBIOS> <domain>\<SDKServiceAccount>

It is really tempting to just copy the lines and replace the information between <> with your data. But if you do you should know that there are issues with that. Windows and the command prompt or PowerShell interprets the minus character differently.

To display the differences I have copied and pasted the same line from Notepad, the command prompt and from PowerShell into Notepad++.

Plain

As you can see there are no differences between the lines but if I display the text in Hex you will see where the problem occurs.

HEX

The Hex code for minus sign hyphen is 2d which both PowerShell and command prompt delivers correct (marked in green). But the line pasted from notepad displays something different (marked in red).

That is the reason you will get the error message even if it looks correct.

One way to sort this in your documentation is to use the slash / (hex 2f) which displays the correct character in all three cases instead of the minus sign. Another way is to change the minus sign in the prompt.


Study guide for Microsoft Certification Exam 74-409

May 20, 2014

Veeam are providing a “Free Study Guide for Microsoft Certification Exam 74-409: Server Virtualization with Windows Server Hyper-V and System Center

The guide is a 150 page pdf document that covers the exam objectives in 8 chapters.

You will learn about:

  • Virtual Machine Settings
  • Virtual machine storage
  • Hyper-V Virtual Networks and virtualization networking
  • Implementing virtual machines
  • Managing Virtualization Hosts and Infrastructure
  • Hyper-V Failover Clustering and Failover Clustering Roles
  • Virtual Machine Movement
  • Monitoring and disaster recovery