Since OM12 Management Servers do share the same functionality which was hosted originally by the RMS in SCOM 2007 (RTM/SP1/R2), it’s easy to make the OM12 Management Console high available by using Network Load Balancing.
Yes, you’ll need at least two OM12 Management Servers for it. But IMHO – based on experiences out of the field – any serious OM12 MG should have at least two OM12 Management Servers. Otherwise the Resource Pools won’t be able to function properly.
This posting is based on OM12 SP1 and Windows Server 2012. Both OM12 SP1 MS servers do have only one NIC available, so it’s important to configure the NLB Cluster for multicast. When you don’t do that and use the default setting instead (unicast) the servers might become unreachable.
There is much to tell, so let’s start.
Step 01: Installing NLB on both OM12 MS servers
This is very easy since it’s all wizard driven. Yes, it can be done by PS as well of course. In this posting however I use the GUI for it.
- Open Server Manager > Manage > Add Roles and Features > a wizard kicks in now;
- Before you begin screen > Next;
- Select installation type screen > default selection Role-based or feature-based installation > Next;
- Select destination server screen > select the local server > Next;
- Select server roles screen > nothing to do here, since NLB is a feature > Next;
- Select features screen > select Network Load Balancing > Add Roles and Features Wizard screen appears now, about requiring extra tools to be installed > Add Features
- Confirm installation selections screen > Install.
- The NLB functionality will be installed now and soon this message will appear: Installation succeeded on <FQDN>.
> Close.
Repeat these steps for the other OM12 SP1 MS server which will become part of the NLB Cluster.
Step 02: Creating a NLB Cluster
Now it’s time to create the actual NLB Cluster which will be configured in such a manner that it will reroute all the OM12 SP1 Management Console traffic (TCP 5724) to one of the members of the NLB Cluster.
Again, this can be done by PS, but I have configured it all by using the GUI.
- Open Server Manager > Tools > Network Load Balancing Manager > a wizard kicks in now;
- Click right on Network Load Balancing Clusters and select New Cluster;
- Enter the name of the first server which is going to be part of this new NLB Cluster > Connect;
- Now the available interfaces will be shown. Select the interface you’re going to use for this NLB Cluster > Next
- This screen doesn’t require any modifications > Next;
- > Add
- Enter the IPv4 address that’s going to be used by the NLB Cluster. I used an IPv4 address in a range outside the IP addresses I use normally for my servers, so it’s easier to differentiate;
Enter the subnet mask > OK. The screen looks like this now:
> Next; - Enter the FQDN of the NLB Cluster. In this example I used OM12Console.sc.local. Also select the option Multicast. With servers using a single NIC selecting Unicast will most likely render them inaccessible over the network… > Next;
- Now the Port Rules are shown. By default one Port Rule is added but requires some additional attention. Otherwise NLB won’t work as expected…
> Edit > unselect All so only the IPv4 address of the NLB Cluster is shown;
> modify Port range to 5724, used by the OM12 Management Console connection;
> Set Protocols to TCP only;
> Set Affinity to None;
Now your screen should look like this:
> OK > Finish. - Now the NLB Cluster will be created and the first NLB node added to it. This might take a few minutes and during this time your network connection will bounce a few times. But when the NLB Cluster is configured properly, the connection will be OK again;
- In the Network Load Balancing Manager screen the progress will be shown, when all is OK you should see something similar to this:
- In the same screen you’ll see also this:
So you know for sure the NLB Cluster is OK and the first NLB node is up & running!
Before we add the second OM12 SP1 MS server to the NLB Cluster we’re going to do something else first: adding a new Host record on our DNS server so the IPv4 address is properly resolved.
Step 03: Creating a proper Host (A or AAA) record for the NLB Cluster
This is easy as well. Open the DNS snap-in and simply add a host record for the NLB Cluster. In this case the name is OM12Console (sc.local will be added automatically) and the IPv4 address is 192.168.137.200:
Before we add the second OM12 SP1 MS server to the NLB Cluster, it’s better to test the functionality of the NLB Cluster first. When only one NLB node is added, it’s easier to troubleshoot.
Step 04: Testing the NLB Cluster for the OM12 SP1 Management Console connection
Also easy. Simply add the feature Telnet Client to your server and start a cmd-prompt.
- Enter this command: telnet <FQDN of NLB Cluster> 5724 and hit enter.
- When all is well you should see a black cmd-prompt screen, basically telling you the NLB Cluster is up and running and handling OM12 SP1 Management Console connections!
Step 05: Adding the second OM12 SP1 MS server to the NLB Cluster
Yeah, I know, finally! But at least we know by now all is working as intended, which is very important.
- In Network Load Balancing Manager right click on the NLB Cluster you created earlier in Step 02 > Add Host to Cluster;
- Enter the name of the second OM12 SP1 MS server you want to add to the NLB Cluster > Connect > select the interface you want to use for the NLB Cluster > Next;
- Don’t modify anything in this screen > Next;
- The Port Rules are good as they are, so no modification required > Finish;
- Now the second OM12 SP1 MS server will be added to the NLB Cluster. Again this can take some minutes and during this time your network connection will bounce a few times. But when the NLB Cluster is configured properly, the connection will be OK again;
- In the Network Load Balancing Manager screen the progress will be shown, when all is OK you should see something similar to this:
- In the same screen you’ll see also this:
So you know for sure the whole NLB Cluster is OK and the both NLB nodes are up & running!
Step 06: The Real Word
So now we have our NLB Cluster in place. Let’s test it with the OM12 SP1 Management Console.
- Start the OM12 SP1 Management Console. By default it will connect to the OM12 SP1 MS server it connected to the last time;
- In the OM12 SP1 Management Console go to Tools > Connect;
- Enter the FQDN of the NLB Cluster in the Server name box > Connect;
- Since it’s the first time this connection is used it will take a few seconds extra, so be patient. But soon enough you’ll see this in the left bottom of the OM12 SP1 Management Console:
- And then you’ll see this:
Three tests to see it’s really working:
- Open a cmd-prompt, enter this command: netstat <enter>. Scroll through the list and you’ll see an entry like this:
- In the OM12 SP1 Management Console go to Tools > Connect
You’ll see the Recent Connections (only the successful connections will be shown here!) and among them the FQDN of the NLB Cluster will be shown! - The REAL TEST:
- Open an OM12 SP1 Management Console on a system which isn’t an OM12 SP1 MS server;
- Connect the Console to the FQDN of the NLB Cluster;
- When the connection is made and the Console is working, look for EventID 26328, source OpsMgr SDK Service in the OpsMgr event logs of the OM12 SP1 MS servers in order to know to what OM12 SP1 MS server the Console is connected to;
- Stop the Data Access service (System Center Data Access Service) on that server and set it (temporarily!) to Manual so OM12 won’t start it for you;
- Go back to the OM12 SP1 Management Console. It will throw a SDK error;
- After a minute or so the OM12 SP1 Management Console will continue working since it’s reconnected to the other node of the NLB Cluster. Test it by clicking on any View in the Console;
- In order to check it, look for EventID 26328, source OpsMgr SDK Service in the OpsMgr event log of the OM12 SP1 MS which is the node of the NLB Cluster with the running Data Access service.
- Don’t forget to start the Data Access service again on the OM12 SP1 MS server where you stopped it previously (Step 3.4) and set it to start Automatically again.
Recap
Configuring NLB for the OM12 Management Console isn’t hard at all and will make your OM12 environment even more robust, without making huge investments. One thing to reckon with though: in this posting I used servers with only one NIC. In real life it’s better to use a dedicated NIC for it.