in

myITforum.com

This Blog

Syndication

1E Blog

Empowering Efficient IT

April 2009 - Posts

  • Upgrading a Clustered RMS from OpsMgr SP1 to R2

    The process for upgrading a clustered RMS from OpsMgr SP1 to (the release candidate of) R2 is a simple and straightforward procedure, so long as you have thoroughly read through the upgrade documentation provided by Microsoft (OpsMgr2007_Upgrade.doc). However, there are a few areas in the Release Candidate (RC) documentation which are a little unclear.

    The purpose of this post is to give some guidance and provide additional information to augment the Microsoft documentation and assist you with upgrading a clustered RMS to OpsMgr R2.

    Firstly, I must point out that OpsMgr still only supports an Active/Passive cluster configuration. The only exception to this is where you have the RMS running on NODE1, and SQL along with the OperationsManager database running on NODE2. But I digress…

    At the time of writing this post, some of the wording and terminology used in the documentation supplied with OpsMgr R2 RC is slightly erroneous. For instance…


    a. In the Cluster Administrator pane, right-click the service you want to change (for example, OpsMgr Health Service), and then click Properties.
    b. In the Properties dialog box, click Modify.
    c. In the Modify Preferred Owner dialog box, under Available nodes, select the node you are performing the upgrade on, make sure it is the only node listed under Preferred owners, and then click OK.

    Step 6 on Page 16 of OpsMgr2007_Upgrade.doc

    OK. I realize I’m being pedantic and the error isn’t obvious but the term “Modify Preferred Owner” is misleading. If you gloss over the instructions, you could be forgiven for setting the Preferred Owners on the cluster group rather than setting the Possible Owners for the cluster resource. This seems innocuous enough, however the ramifications of setting this on the Cluster Group are potentially catastrophic (namely, ALL clustered RMS resources will failover to the passive node during the upgrade which can cause irreversible damage to the RMS).

    As an amendment to the upgrade documentation provided by Microsoft, I recommend, instead of following step 6 and its subsequent sub-steps (detailed above), you simply open Cluster Administrator, right click the Passive cluster node and select Pause Node. This will temporarily prevent the Passive node from participating in a cluster failover, ensuring that the upgrade is performed correctly and (hopefully) without incident.

    Another noteworthy point is that when you upgrade the first node in the cluster, make sure to select the ‘Database Upgrade’ checkbox. This will not only upgrade the RMS and the relevant services and configuration, but also upgrade the database.

    As I stated at the beginning of this article, Microsoft have made the upgrade path from OpsMgr SP1 to R2 a very simple and clear-cut procedure. Just be sure to read the manuals thoroughly and familiarize yourself with the process.

     

  • Upgrading

    The process for upgrading a clustered RMS from OpsMgr SP1 to (the release candidate of) R2 is a simple and straightforward procedure, so long as you have thoroughly read through the upgrade documentation provided by Microsoft (OpsMgr2007_Upgrade.doc). However, there are a few areas in the Release Candidate (RC) documentation which are a little unclear. Normal 0 false false false

  • Making the Most of 'Run As' in OpsMgr 2007 R2

    With the upcoming release of OpsMgr 2007 R2 RTM, I wanted to offer some guidance on getting the best out of some of the new security enhancements in the R2 release. The ‘Run As’ functionality within OpsMgr provides the ability to carry out monitoring and execute administrative tasks using a specific account without ever presenting the account to the Operator. This allows the OpsMgr accounts to be configured with a minimum of security permissions and facilitates the configuration of specific accounts for individual applications and servers such as a dedicated account to access a SQL instance.

    In OpsMgr 2007 SP1, each object in a management pack is configured to use a specific Run As Profile. Run As Accounts are assigned to the profile for each agent that needs to use the account. For example, to carry out full monitoring of SQL on SERVER1 you create a Run As Account and assign it to the SQL Run As Profile specifically for SERVER1 (along with any other SQL servers that use this account). This functionality allows you to configure a distinctly different account for each agent individually or use the same account for multiple agents.

    The new R2 release of OpsMgr brings with it some additions to this security model. The main differences are with the granularity of the use of Run As Accounts and with the fact that the accounts must now be manually distributed to appropriate agents to add an additional layer of security.

    The following screenshots show the new process for creating a Run As Account, distributing the account and associating it with a Run As Profile.

    The first step is to create a Run As Account as you did in OpsMgr 2007 SP1, configure the name, account details etc. The only difference you will notice is on the last screen of the wizard, shown below (click the image to see a larger size):

    Dist Sec

    You have two options here; Less Secure and More Secure. Basically, less secure means that the account you are configuring will be distributed to all managed agents. This is a security risk but in order to actually impersonate the account, a user would have to be logged onto the agent, would have to submit a module into OpsMgr using the $RunAs replacement and would have to output the results to be able to glean the account details. This is no small feat but it still possible.

    With that in mind, the recommended setting is ‘More Secure’ which means that once the account has been created, you’ll need to go back into the properties for the object and choose the agents to which you want to distribute the account. This setting is especially important in environments where you are monitoring agents in un-trusted domains or DMZ’s since distributing an  unrecognized domain account to these machines results in the following error in the console and this error will appear multiple times (sometimes causing a mini alert storm).

    Untitled

    Once the account has been created, you need to assign it to a Run As Profile. In SP1, this used to be simply a case of selecting the agent and the account you want to use but Microsoft have now made this more granular to take into account applications such as SQL which can have more than one instance (and therefore set of credentials) per server. The selection screen for the new Run As Profile wizard is shown below:

    profile config 2

    When selecting the objects which will use the credentials, you can simply select the ‘All Targeted Objects’ option which will use the same account for all monitors, rules and tasks or you can select a specific Class, Group or Object to use the account. I find the use of groups most useful as you can configure your own custom groups and use them. However, the use of groups introduces its own problems. Because the Run As Account validation happens on the agent before the enumeration of groups, using groups in a Run As Profile may result in one or two of the above errors being generated. Unfortunately, these alerts are somewhat cryptic (as you can see in the image above) but a member of the Product Group has created a tool which helps to troubleshoot these alerts. I’ll cover this tool off in my next blog post.

    In summary, the new ‘Run As’ functionality in OpsMgr R2 adds significant flexibility to the product but at a cost of making configuration and planning more complex. However, I firmly believe that the benefits outweigh the added complexity.

  • Reducing the foot print of the Configuration Manager Client Directory

    The Configuration Manger 2007 SP1 Client directory has significantly increased in size from previous SMS versions.  The reason for the increase in size is because the Client directory now contains all of the necessary client prerequisites, including platform specific (i.e. IA64, x64 and x86) and language specific updates.  Depending on your environment and target client systems, many of these prerequisites are not required and do not need to be deployed in order to have a successful client upgrade or installation.

    Looking at the ConfigMgr 2007 SP1 Client directory structure (located in the InstallationDirectory\Client), you will find approximately 111 MB of data comprising of 96 files and 7 folders. 

     If your environment only consists of Windows XP x86 English systems, then this can be reduced considerably.  First, I recommend making a copy of this directory so that it can be used as a Package Source for upgrading ConfigMgr 2007 RTM Clients to SP1 using Software Distribution.  You will notice that there are three directories listed for each platform architecture – i386, ia64 and x64.  Since we are only dealing with x86 (i.e. i386) systems, then we can delete ia64 directory and save 18.7 MB (7 files and 1 folder).  Also, we can delete the x64 directory and save another 20.3 MB (14 files and 1 folder).  Once again, make sure you do not delete the files and folders from the original directory.

    Looking into the i386 directory, we find two subfolders: BITS20 and BITS25.  Because we do not have any Windows 2000 systems, we can delete the BITS20 folder and save 16.5 MB (24 files).  Opening the BITS25 directory, you will see multiple instances of the BITS 2.5 installation executable for Windows Server 2003 and Windows XP.  These are the different language specific installations.  We can delete all of the Windows Server 2003 files (18) and all of the non English Windows XP files (23) for a savings of 26.2 MB (41 files).  The end result of the Client directory should be 29.3 MB consisting of 10 files and 2 folders.  This results in a significant reduction from the initial 111 MB size.

    In summary, the new client directory can now be used to create a Software Distribution Package for upgrading RTM clients that are in slowly connect branch offices or remote locations.  It can also be used for initial installation of clients as well.

Copyright - www.myITforum.com, Inc. - 2010 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems