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.

Advertisements

On demand training, Windows Azure Pack pt 2

August 15, 2014

Yesterday I posted a short article covering Windows Azure Pack video training resources. Today I will guide you to free hands on resources. 🙂

In case you dont know what Windows Azure Pac is the following text is taken from TechEd North America page on Channel 9

The Azure Pack is a collection of Microsoft Azure technologies available to Microsoft customers at no additional cost. Once installed in your datacenter, the Azure Pack integrates with Microsoft System Center and Windows Server to help provide a self-service portal for managing services such as websites, Virtual Machines, and Service Bus; a portal for administrators to manage resource clouds; scalable web hosting; and more.

Windows Azure Pack: Introducing Windows Azure Pack

Windows Azure Pack: Installation and Configuration

Windows Azure Pack: IaaS Management

Windows Azure Pack: Service Management Automation

Windows Azure Pack: Virtual Machine Roles


On demand training, Windows Azure Pack

August 14, 2014

July 16–17, 2014 Microsoft had a Live training event called Windows Azure Pack: Infrastructure as a Service Jump Start ft a instructor team of Microsoft employees.

During two days you could learn how to use Windows Azure Pack to deliver Infrastructure as a Service (IaaS) in your datacenter. The content is now available on Microsoft Cannel 9

Have you checked out the Ch9 App for Xbox 360? Pretty nice to be able to watch the content on your home entertainment system 🙂

Full course outline for the two days:

Day One

Day Two

So join the Instructor Team for an exploration of Windows Azure Pack’s (WAP’s) infrastructure services (IaaS)

Windows Azure Pack builds on the power of Microsoft CloudOS brought to your local data center that enables you to deliver an enterprise-class, cost-effective solution for self-service, multitenant cloud infrastructure and application services based on Microsoft Azure, Windows Server and System Center technologies.

· Andrew Zeller | Microsoft Senior Technical Program Manager

· ​Symon Perriman | Microsoft Senior Technical Evangelist
Twitter: @SymonPerriman

· Joe Levy | Microsoft Program Manager
Twitter: @Jodoglevy

· Shriram Natarajan | Microsoft Program Manager
Twitter: @shriramnat

· John Ballard | Microsoft Principal Program Manager

​· ​Vybava Ramadoss | Microsoft ​Program Manager
Twitter: @vybava

· Anshuman Nangia | Microsoft Program Manager


My blog 2.0

May 29, 2014

HomeLab I powerful lab doesn’t have to be expensive.

The reason I started blogging was that I wanted to help a friend of mine getting started with a lab setup and it turns out that that post has been one of the more popular ones. I have decided to be more active on my blog and share the things I find.

What would be better then start off the 2.0 version of the blog where I once started.

Building your own Azure in the living room

In a series of articles I will build a home lab complete with operations system, management software and virtual machines. I will use Windows Server 2012 R2, System Center 2012 R2. I will use evaluation software downloaded from TechNet Evaluation Center More on that in the next part of the series

Part 1: The hardware

I wanted two machines so that I could build a cluster. I got the hardware for the lab little over a year ago and have complemented the purchases since then. Each of the machines are equipped with a Intel i5 processor, 32 GB RAM and three hard drives, one mechanic large drive for more static content, ISO, templates and such and two blistering fast SSDs.

Some of the hardware is a little bit old at the moment so you might need to get some newer parts if you want to build the machines. On the other hand used parts are now a bit cheaper and the speed of this rig is pretty awesome so that might be a cheaper way to go.

I wanted to get some relative small form factor and decided to go with the Shuttle XPC Barebone PC.
The integrated motherboard and the ability toadd up to 32 GB RAM and the necessary expansion slots/functions needed for the lab. Based on my experience you can never get enough RAM so to lower the cost of the rig I decided to go for the i5 processor and get all the RAM at once.

The components I complemented the PCs with are listed below.

Processor:
Intel Core i5-2320 Quad-Core Processor 3.0 GHz 6 MB Cache LGA 1155 – BX80623I52320 (EOL)

Memory:
Corsair XMS3 — 32GB DDR3 Dual/Quad Channel Memory Kit

Storage:
OCZ Agility 3 – SATA III 2.5″120 GB (EOL)
INTEL 530 240GB SATA SSD MLC
WD Green WD20EARX 64MB 2TB

I use the smaller SSD drive for the OS and the Intel SSD for the VM:s as mentioned before the 2 TB spinning disk are used to store images and tools and less intensive VMs

Stay tuned for the next part in the Building your own Azure in the living room series.

Part 2: The Windows 2012 R2 installation

By the way my wife approves of keeping the machines in the living room.


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

74-409, 70-246 and 70-247 and how they work together

January 4, 2014

I got a question on twitter regarding the new Microsoft exam 74-409 and the Microsoft Private Cloud exams 70-246 and 70-247.

The new 74-409 Server Virtualization with Windows Server Hyper-V and System Center exam is as I see it a replacement for the old MCTS/MCITP Exam 70-659 Windows Server 2008 R2, Server Virtualization.

Server virtualization is a foundation for a cloud implementation. If you stay on premise in a private cloud, reach out to add online resources in a hybrid cloud or simply move your workload online into a public cloud.

Microsoft Private cloud exam 70-247 Configuring and Deploying a Private Cloud with System Center 2012 teaches you how to use System Center to build your private cloud.

70-246 Monitoring and Operating a Private Cloud with System Center 2012 teaches you how to integrate and maintain your workload in that cloud.

If you haven’t started studying for the Microsoft exams I would suggest that you start with 74-409 followed by 70-247 and 70-246, top that off with a Microsoft Certified Solutions Associate (MCSA): Windows Server 2012 and you are Microsoft Certified Solutions Expert (MCSE): Private Cloud + Microsoft Certified Specialist: Server Virtualization with Hyper-V and System Center.

By the way you know that you can get the 74-409 for FREE 🙂 Check out this article to get started.

Earn Your Microsoft Certified Specialist: Server Virtualization Title with a Free Exam