Jak na… – Připojení management konzole OpsMgr SP1 k management skupině OpsMrg R2

Pokud máte ve svém IT prostředí instalován System Center Operations Manager 2007 SP1 a chtěli byste se připojit se svou konzolí verze OpsMgr SP1 k jeho příští verzi OpsMgr R2 (kterou souběžně testujete), asi narazíte na problém s kompatibilitou verzí. Konzole kontroluje verzi management skupiny OpsMgr a pokud se neshodují, nepřipojíte se.

 

Je zde však jedno řešení…

  1. Otevřeme registry Windows.
  2. Otevřeme složku ManagementGroupSessionManager, pokud neexistuje tak ji vytvoříme
    HKEY_CURRENT_USER\Software\Microsoft\Microsoft Operations Manager\3.0\Console\ManagementGroupSessionManager
  3. Vytvoříme klíč DWORD DisableServerVersionCheck
  4. Hodnotu klíče dword nastavíme na 1
  5. Nyní se nám podaří připojit k prostředí OpsMgr R2 s konzolí OpsMgr SP1

Tímto kontrolu obejdeme.

Jak na… – Přidání OpsMgr 2007 RunAs účtu pomocí PowerShell skriptu

Určitě se i ve vašem IT najdou situace, kdy k administraci raději využijete skriptů než aplikačních rozhraní. Tato situace může nastat pokud potřebujete dělat více změn najednou nebo jen prostě máte skriptování rádi.

 

Zde je krátká ukázka, jak lze jednoduše přidat RunAs účet do prostředí OpsMgr 2007. Převzato ze System Center Weblogu.

#Create RunAs Account

#Connect to MG
$mg = (Get-Item .).ManagementGroup

#Create new account object
$oAccount = New-Object Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringWindowsCredentialSecureData

#Input basic account details
$oAccount.Domain = "MyDomain"
$oAccount.UserName = "testaccount"
$oAccount.Name = "Test Account"
$sPassword = "MyPassword"

#Set Password (more complicated than the previous settings)
$oPassword = New-Object System.Security.SecureString
foreach($char in $sPassword.ToCharArray())
{
$oPassword.AppendChar($char)
}
$oAccount.SecureData = $oPassword

#Finally add the account
$mg.InsertMonitoringSecureData($oAccount)

Pokud by jste chtěli načítat informace o větším množství účtů z textového souboru nebo zadávat tyto údaje pomocí příkazové řádky, lze skript upravit. Podrobnější informace získáte pomocí PowerShell příkazu Get-Credential.

POZOR! – Uvolněna verze Operations Manager 2007 R2 Release Candidate

Mám pro vás jednu horkou novinku. Na stránkách https://connect.microsoft.com/ byla před pár hodinami uvolněna poslední beta verze produktu System Center Operations Manager 2007 R2 Release Candidate. Pokud proběhnou testy podle harmonogramu, můžeme se přibližně v polovině Q2 těšit na verzi RTM.

OpsMgr R2 nám kromě zabudovaných oprav pro stávající verzi přinese především:

  • rozšířenou nativní podporu pro dohled vybraných verzí operačních systémů Unix a Linux
  • vylepšení kontroly poskytovaných IT služeb (SLA) na úrovni jejich dostupnosti a výkonu
  • rozšíření možností pro monitorování systémů a webových služeb
  • a mnoho dalšího…

Je zde také několik rozšíření proti verzi BETA.

  • Nový Power Management MP template (monitorované systémy musí být Windows Server 2008 R2 nebo Win7)
  • Vylepšená “trace configuration tools”
  • Vylepšená distribuce konfigurací Run As účtů
  • Schopnost spouštět “inline tasky” pro non-Microsoft servery
  • Podpora pro upgrade z Beta verze na Release Candidate
  • Nová a aktualizovaná dokumentace (Usage Guide, Design Guide, Deployment Guide, Upgrade Guide, Security Guide, Operations Guide)

Další informace o verzi OpsMgr R2 naleznete ZDE a ZDE.

Co je nyní ke stažení?

Operations Manager 2007 R2 Release Candidate (verze 6.1.7043.0):

  • SCOM_2007_R2_RC_Select.zip 1,277.26 MB

OpsMgr 2007 R2 RC dokumentace:

  • Operations Manager 2007 Supported Configurations
  • Operations Manager 2007 R2 RC Design Guide
  • Operations Manager 2007 R2 RC Deployment Guide
  • Reporting Deployment and Usage Troubleshooting
  • Operations Manager 2007 R2 RC Upgrade Guide
  • Operations Manager 2007 R2 RC Security Guide
  • Operations Manager 2007 R2 RC Operations Guide
  • Operations Manager 2007 R2 RC Usage Guide
  • Operations Manager Management Pack Guide for Operations Manager 2007 R2

Service Level Dashboard v2 Beta for Operations Manager 2007 R2

Service Level Dashboard 2.0.zip

  • SLD 2.0 Beta Release Notes.rtf (this document)
  • Microsoft.EnterpriseServiceMonitoring.ServiceLevelDashboard.R2.mp
  • Service Level Dashboard 2.0_x86.msi
  • Service Level Dashboard 2.0_x64.msi

Documentation

  • Service Level Dashboard 2.0 for Operations Manager 2007 R2 User Guide.doc
  • Supplemental License for Service Level Dashboard for OpsMgr 2007 R2.rtf

Máte svůj management systém správně aktualizován? – 3. díl (SCOM, SCE, hotfixy a troubleshooting)

Následující postup může být použit jak na System Center Operations Manger 2007 tak i System Center  Essentials 2007. Jelikož budu popisovat zásahy do registru, upozorňuji na opatrnost a nutnost vytvoření zálohy před manipulací s nimi.

Na produkty OpsMgr 2007 a SCE 2007 vyšlo již mnoho hotfixů. Některé byly volně ke stažení, jiné byly ale neveřejné. Po instalaci x-tého hotfixu může dojít k následující situaci.

Možná to znáte:

  • Společnost Microsoft uvádí nový dohledový systém System Center Operations Manager 2007 RTM. Moc se nám líbí a tak instalujeme veškeré role na nový server. Vše pracuje jak má, začínáme poznávat jak to celé funguje.
  • Po několika týdnech provozu se zdá, že OpsMgr/SCE je nějak pomalý a zadrhává. Hledáme co s tím a nalézáme několik hotfixů pro OpsMgr/SCE 2007, které by mohly pomoci. Instalujeme je tedy na náš systém. Opravdu nám pomohly, ale jen na krátkou dobu.
  • Systém je opět pomalý. V očekávání vyhlížíme SERVICE PACK 1 pro OpsMgr/SCE 2007. Po dalších několika měsících se dočkáme a instalujeme SERVICE PACK 1 do našeho prostředí. Aktualizace napravila mnoho nešvarů verze RTM. Opět plně využíváme dohledový systém.
  • A společnost uvádí novou verzi operačního systému Windows Server 2008. Tak si ji nainst alujeme do našeho prostředí. Ale co to? Opět musíme instalovat další hotfixy. A už nejen na management servery, ale i na sledované OS Windows Server 2008. Dobrá vše proběhne hladce a máme vše pod kontrolou.
  • Jednoho dne se rozhodneme re-instalovat management konzolu na našem RMS. Zdá se nám nějak pomalá. Spustíme přidat odebrat programy, vybereme System Center Operations Manager, odznačíme “user interfaces”, potvrdíme a je to. Odinstalace proběhla v pořádku. Stejnou cestou opět chceme komponentu přidat. Spustíme, vybereme, potvrdíme – … a vidíme chybovou hlášku:

Error 1334.The file File196.2FD07918_9082_437D_99BC_FD43602A4625 cannot be installed because the file cannot be found in cabinet file Data.Cab. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
MSI (s) (00:84) [12:38:44:863]: Product: System Center Operations Manager 2007 — Error 1334.The file File196.2FD07918_9082_437D_99BC_FD43602A4625 cannot be installed because the file cannot be found in cabinet file Data.Cab. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.

Co se stalo? Co teď s tím?

  1. Bereme instalační CD OpsMgr 2007 RTM, spouštíme instalaci a opět chyba. Instalační program nám oznámí, že máme instalovanou jinou verzi OpsMgr 2007.
  2. Dobrá bereme instalační CD s verzí OpsMgr 2007 s SP1, ale další chybová hláška. Co dál? Reinstalace celého dohledového systému? Máme tam data ze systémů. To je moc složité.

Jedno řešení existuje. není úplně standardní, ale je plně funkční.

  • Otevřete editor registru Windows
  • Najděte klíč “HKCR\Installer\Products\DF6E5EFF035E66C49971553D96AA0E4D\Patches
  • ***DŮLEŽITÉ*** Udělejte zálohu tohoto klíče (“Patches”) pomocí exportu do *.REG souboru
  • Po vytvoření zálohy smažte v tomto klíči položky REG_SZ pro jednotlivé GUIDS
  • Otevřete REG_MULTI_SZ klíč “Patches”, smažte jeho obsah obsahující dříve smazané názvy GUIDS
  • Opět spusťte instalaci komponent pomocí přidat odebrat programy. Vše proběhne v pořádku. 
  • Nyní je management konzole ve verzi RTM. Provedeme re-instalaci OpsMgr 2007 Service Pack 1 a případně dalších hotfixů.
  • Provedeme import zálohy klíče registru.
  • Po instalaci hotfixů měnících verze souborů .DLL, nám agenti spadly do ”Pending Actions”. Zde je proto schválíme.

     

    GUID pro OpsMgr 2007 x86:

    727B3A3ADCF2D1945BFF1FD34105570A    (MOM2007QFEPreSP1.msp)
    8CABA70B215243145A51419A9073262F    (MOM2007SP1.msp)

    GUID pro OpsMgr 2007 x64:

    727B3A3ADCF2D1945BFF1FD34105570A (MOM2007QFEPreSP1.msp)
    8817A55B3D84652468BCF9B1E587B78F (MOM2007SP1.msp)

    Nyní je dohledový systém OpsMgr/SCE 2007opět plně funkční a můžeme hledat další hotfixy.

  • Jak na… – chybu: DNS – External Resolution Monitor je stále v kritickém stavu

    Pokud máte ve svém OpsMgr prostředí importovánu poslední verzi DNS management packu (6.0.6480.0), můžete se setkat s následující chybou:

    MP obsahuje kontrolu schopnosti DNS serveru ověřit externí doménu. V této verzi MP je od výrobce přednastavena doména “www.microsoft.com”. Zde je ten problém, který má za následek zobrazení chybového stavu vašeho DNS serveru. MP by měl správně použít jen doménu “microsoft.com”.

    Pro DNS servery na Windows Serveru 2003 a Windows Serveru 2008 je náprava velmi jednoduchá. Pomocí funkce override změníme pro všechny objekty typu “DNS Server” tuto adresu na “microsoft.com”. Chyba by se již neměla dále vyskytovat.

    Pokud však problém stále trvá, problém bude někde jinde (např. FIREWALL) a nezbývá než kontrolu externí adresy opět pomocí override vypnout.

    Kde najít další management packy?

    Zde je krátký seznam několika 3rd tvůrců management packů pro System Center Operations Manager 2007. Seznam není zdaleka kompletní. Jde jen o krátký přehled, co vše lze pomocí OpsMgr 2007 monitorovat.

    Máte svůj management systém správně aktualizován? – 2. díl (SCOM podruhé)

    V předchozím díle příspěvku jsem uvedl seznam doporučených hotfixů pro System Center Operations Manager 2007 se Service Packem 1, které by měly být ve většině prostředí instalovány. Minimálně doporučené hotfixy jsou po určité době začleněny do balíčku Service Pack nebo R2 verze.

    Nyní vám k tomu přidám přehlednou tabulku s těmito doporučenými hotfixy a rozpisem určení pro jednotlivé role OpsMgr 2007 SP1. Tabulka je také rozdělena podle typu operačního systému.

     

    Pokud však výše popsané doporučené hotfixy váš problém s prostředím dohledového systému nevyřeší, můžete se podívat na celkový seznam hotfixů, které byly vydány pro OpsMgr 2007 a OpsMgr 2007 SP1 k datu 13 března 2009. Informace pro tyto seznamy jsem čerpal z blogů Kevina Holmana (PFE, Microsoft) a Waltera Eikenbooma (Getronics PinkRoccade).

    Opět jen malé doporučení: INSTALUJTE JEN POTŘEBNÉ HOTFIXY, NE VŠECHNY NAJEDNOU!

    A příště bychom si mohli říci něco o řešení problémů s instalací hotfixů 😉

    KB958490
    Fixes a problem in which dependency monitors indicate an incorrect state on System Center Operations Manager 2007 Service Pack 1-based systems.

    KB959497
    Fixes a problem in which the Service Control Manager logs event ID 7031 when the System Center Operations Manager 2007 SP1 SDK service stops unexpectedly. Requires you to apply a hotfix to resolve this problem.

    KB960363
    Fixes a problem in which charts in a performance report are incorrectly scaled. Or, a report that contains multiple charts does not display the charts in the expected order. These symptoms occur in System Center Operations Manager 2007 SP1.

    KB968332
    Describes an issue in which you cannot perform a distributed installation of the SCOM 2007 Reporting service onto a server when the Root Management Server and the OpsMgr SDK Service use different language versions.

    KB967503
    Explains that antivirus software blocks script execution in System Center Operations Manager 2007. You must verify that your antivirus software is not blocking scripts from running to resolve this problem.

    KB967537
    Help and Support

    KB957561
    Describes how to install the Web Console component of System Center Operations Manager 2007 on a stand-alone server.

    KB957562
    Describes how to configure the Operations Manager Connector Framework (OMCF) in System Center Operations Manager 2007 to use Security Sockets Layer (SSL) functionality.

    KB954090
    Describes a problem in which the Web Console shows an incorrect scope of objects in a performance view that is scoped to a specific group. Provides a resolution.

    KB956172
    Fixes a problem that the CcmExec.exe process crashes on a Windows 2000-based computer if both a System Center Operations Manager 2007 SP 1 agent and a System Center Configuration Manager 2007 client are installed on this computer.

    KB958253
    Fixes a problem in which you cannot obtain all installed patch information by using the patch list column in the Operations Console because of a maximum character limitation.

    KB951528
    Describes a problem that occurs when you open the properties for a rule, and you view the Product Knowledge tab. Occurs after you add non-English company knowledge into a rule and save the rule into a new management pack.

    KB957566
    Describes a problem in which the installation of the secondary management server of System Center Operations Manager 2007 rolls back. A resolution is provided.

    KB957568
    Describes the Microsoft support policy for System Center Operations Manager 2007 running on hardware virtualization software.

    KB961725
    When you run the System Center Operations Manager 2007 DBCreatewizard utility on a 64-bit operating system you may receive the following BadImageformatException: System.BadImageFormatException: Could not load file or assembly ‚Microsoft.Mom.UI.Wrappers,…

    KB960883
    When you try to run ASP.Net 2.0 on a FIPS enabled server you may receive an error similar to the following: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

    KB957560
    Describes a problem in which the Microsoft System Center Operations Manager 2007 console crashes with a NullReferenceException exception. A resolution and a workaround are provided.

    KB951529
    Explains that without validation checks on the rule name in Operations Manager 2007 operations console may cause scripts to run in the Rule Name field or the Description field.

    KB952857
    Resolves the problem that occurs when you run the Custom Event Report against the events that the GenericLog provider collects. The Custom Event Report returns no information. Requires you to apply a hotfix.

    KB953817
    Fixes a problem in which the Administrator Console may throw an exception when you try to use the "Set Resolution State" option for an alert that is generated on an agent in Operations Manager 2007.

    KB954329
    Fixes a problem that Audit Collection Service (ACS) forwarder may be unable to retrieve distinguished name for the GUID in the collected events in System Center Operations Manager 2007 Service Pack 1. Requires you to install a hotfix to resolve it.

    KB954823
    Describes a problem in which events that are generated by using the generic CSV text log collection rules cannot be displayed in a custom event report when parameters 1 to 20 are used as filters. Provides a hotfix.

    KB957135
    Discusses a problem in which any changes to alerts may not be reflected by the Operations Manager console if one or more alerts contain future date. Provides a resolution.

    KB957199
    Describes the circumstances under which the System Center Operations Manager 2007 Service Pack 1 operations console cannot display English product. Provides a hotfix.

    KB957511
    Fixes a problem that warning alerts and warning monitor state changes do not occur as expected for a Web application that is created by using the Web application template in System Center Operations Manager 2007 Service Pack 1.

    KB957565
    Explains that you cannot install the Microsoft System Center Operations Manager 2007 management server role on a computer on which the role was previously installed and removed. A resolution is provided.

    KB957567
    Explains that event ID 7024 is logged, and the Health Service does not start, when you try to deploy a System Center Operations Manager 2007 Service Pack 1 agent. Provides a resolution.

    KB952937
    Explains that the relative date picker returns wrong dates when you run any report in a month that has fewer days than the previous month in System Center Operations Manager 2007. Requires you to install a hotfix to resolve this problem.

    KB954049
    Describes the hotfix rollup package for Operations Manager 2007 SP1 and System Center Essentials SP1, dated July 25, 2008. This hotfix package provides support to install these products on a Windows Server 2008-based computer.

    KB953141
    Discusses support requirements For Windows Server 2008 to support System Center Operations Manager 2007 SP1 and System Center Essentials 2007 SP1.

    KB946437
    Describes how to disable the use of certificates that are imported by using the MOMCertImport.exe tool.

    KB939606
    Fixes a problem where it may take several hours to approve newly discovered computers, and an agent that was approved for an Operations Manager server cannot be approved for a second Operations Manager server.

    KB946433
    Describes the mode that Global System for Mobile Communications (GSM) modems must support to work with Short Message Service (SMS) notifications in Microsoft System Center Operations Manager 2007.

    KB946435
    Describes a problem that occurs when you try to use the Agent Exception Monitoring configuration wizard to configure a remote file share for crash dump files in Operations Manager 2007. A resolution is provided.

    KB948730
    Describes an issue in which the Windows Management Instrumentation (WMI) provider host process (Wmiprvse.exe) stops responding on a Dell computer. Additionally, Event ID 1000 is logged in the Event Viewer Application log. Provides a resolution.

    KB941017
    Fixes a problem in System Center Operations Manager 2007. Specifically, the Inventory views, such as the "Columns to display," "Sort columns by," and "Group items by text" values are not localized as expected. Instead, they are displayed in English.

    KB941045
    When you create user roles, accounts, and profiles in the Japanese version of System Center Operations Manager 2007, they are not translated into Japanese. A hotfix is available.

    KB942168
    Fixes an issue that occurs in System Center Operations Manager 2007 after you install RemotelyAnywhere on the Root Management Server. The Health service does not start.

    KB943211
    Fixes a problem that occurs in System Center Operations Manager 2007 when you try to implement Active Directory integration scenarios for untrusted domains.

    KB938510
    Describes a problem where you cannot obtain elevated user rights in management servers and in agents in System Center Operations Manager 2007 or System Center Essentials 2007 environments. A hotfix is provided.

    KB939769
    Fixes a problem in which you notice a delay in fetching "Actions for Tasks" and "Actions for Reports" for a selected row in System Center Operations Manager 2007. This delay may be 10 seconds or longer.

    KB941307
    Health monitor may display state changes in an incorrect order in System Center Operations Manager 2007. This problem occurs when the state changes occur very quickly. A hotfix is available to resolve this problem.

    KB941943
    Describes a problem that occurs when lots of optimized performance counters are collected. Provides a hotfix.

    KB938507
    Describes a problem in which the report scheduling fails when the regional settings on the client computer and in the server computer are different in System Center Operations Manager 2007. A hotfix is provided.

    KB940224
    Describes a problem where the Optimized Performance Counter Collection collects multiple values of zero when the counter value is a constant zero and the tolerance type is a percentage.

    KB948069
    Explains that an error message occurs when you try to run reports in System Center Operations Manager 2007. You can give access to all SDK accounts to work around this problem.

    KB941977
    Fixes a problem that occurs in System Center Operations Manager 2007 when you try to edit Web application monitoring settings.

    KB946434
    Describes why Action tasks that are typically available are not available when you select many items in any of the views in Operations Manager 2007. You can make a registry change to modify this behavior.

    KB948095
    When the Exchange Server is installed on cluster virtual servers, the Exchange server cannot be detected as a “back-end” server. So the back-end clustered Exchange server will not be displayed in the Exchange back-end server view.

    KB948097
    The CPU percentage Utilization monitors are targeted to the Windows server 2003 processor class. However, there is no available Windows server 2003 processor class instance by default, due to the corresponding discovery rule: Discover Windows CPUs is disabled by default.

    KB948098
    Gateway server is not working properly after installation. The server status is always displayed as “not monitored” in SCOM administrator console -> Administration -> manager servers. 

    KB946427
    Describes an issue that occurs when you try to monitor the physical nodes of an SQL cluster by using the agent in System Center Operations Manager 2007. A resolution is provided.

    KB946432
    Describes that registry entry names that contain a backslash character () are considered as part of the registry path when you use "Registry Probe" in System Center Operations Manager 2007. Steps to reproduce the issue included.

    KB946436
    Describes an issue that occurs because the current user does not have a user-persisted connection setting to connect to a Management Server computer.

    KB946422
    Describes symptoms that may occur when you generate a report in System Center Operations Manager 2007 or in System Center Essentials 2007. To resolve this problem, you must install a service pack.

    KB946429
    Describes an issue that occurs when you try to view the AD Domains topology view in System Center Operations Manager 2007.

    KB946431
    Describes a problem that occurs if you select all the items on the Alert Criteria page in the subscription wizard. Operations Manager 2007 displays the default selection for alert criteria instead of displaying all the criteria that you selected.

    KB946420
    Describes a problem that occurs when you click "Print Preview" to view a System Center Operations Manager 2007 report or a System Center Essentials 2007 report. The background color of the report is black instead of white.

    KB946419
    Describes an issue in which the Opsmgr reporting feature and the Essentials reporting feature do not work correctly when you configure Microsoft SQL Server 2005 Reporting Services to run in SharePoint integrated mode. Provides a workaround.

    KB946417
    Describes an issue in which the Health Service does not start when you restart a RMS server. Event IDs 20056, 2001, 29104, 101, and 103 are logged in the System Center Operations Manager 2007 event log.

    KB946421
    Describes how to recover from a situation where the Root Management Server encryption key is unavailable after you have replaced or reinstalled the Root Management Server server.

    KB946425
    Describes the issue where you receive an error message when you try to remove the System Center Operations Manager 2007 database role. Provides a resolution.

    KB945946
    Describes a problem that occurs if the management server does not have accounts specified for its data warehouse "Run As" profiles.

    KB943706
    Provides a hotfix that addresses two problems that are related to the OpsMgr SDK Service in System Center Operations Manager 2007.

    KB944443
    Describes a list of updates in System Center Operations Manager 2007 Service Pack 1 Release Candidate.

    KB941811
    Fixes a memory leak that occurs in an agent of System Center Operations Manager 2007. Provides a hotfix and hotfix installation instructions.

    KB941557
    Fixes a problem that occurs when an agent of System Center Operations Manager 2007 Service Pack 1 reports to management servers that are running the original release of System Center Operations Manager 2007. Provides a hotfix.

    KB944347
    SCOM Reporting installation fails when the DB name contains special characters

    KB941985
    Describes a problem in System Center Operations Manager 2007 where a management group intermittently stops receiving new alerts if the management group contains an Exchange Server computer. Event ID 2115 is logged.

    KB943239
    Contains a list of best practices to use when you create an override in System Center Operations Manager 2007.

    KB943307
    Describes behavior in System Center Operations Manager 2007 after you delete a management pack, and then reimport a management pack. When you view the imported management pack, discovery information is missing.

    KB942864
    Describes the tools that you can use to obtain trace logs in System Center Operations Manager 2007 and in System Center Essentials. A Microsoft CSS representative use these trace logs to perform advanced troubleshooting.

    KB942865
    Describes a problem that occurs if the data warehouse database was created by using the DBCreateWizard program from the Operations Manager 2007 media.

    KB942866
    Describes an issue that occurs in System Center Operations Manager 2007 after you put a computer agent into Maintenance mode. The agent unexpectedly continues to generate heartbeat alerts. A resolution is included.

    KB942863
    Describes how to create an alert-generating rule to collect Facility values from a UNIX or Linux system.

    KB942862
    Describes an extension in the support boundaries for the Reporting Server feature in System Center Operations Manager 2007. We now provide full support for the installation of the Reporting Server feature on a domain controller.