Archive for May, 2009

How to: Backup your SCOM 2007 environment

After you set up your SCOM 2007 (Microsoft Systetm Center Operations Manager) environment, the first thing you want to do is making a backup of this. There are a few steps you neet to do. Let’s have look on these steps.

1) Backup your SQL 2005 databases
2) Backup your RMS encryption key
3) Backup your IIS metabase
4) Backup your management packs (unsealed)
5) Backup your files
6) Backup your registry

Step 1) Backup your SQL 2005 databases
First off al we are going to backup the SQL 2005 databases.
- OperationsManager
- ReportServer
- ReportServerTempDB
sql_011    sql_021    sql_031

sql_041    sql_051

Step 2) Backup your RMS encryption key
The next step is to backup the RMS (Root Management Server) encryption key.
We are going to use the tool SecureStorageBackup.exe, located in the installation directory of SCOM 2007.
rms_01    rms_02    rms_03

rms_04    rms_05    rms_06

Step 3) Backup your IIS metabase
The next step is to backup the IIS metabase.
iis_01    iis_02    iis_03

iis_04    iis_05

Step 4) Backup your management packs (unsealed)
Now we are going to backup the unsealed management packs. The sealed management packs can be downloaded from the vendor’s website again.
mgp_01    mgp_02    mgp_03

mgp_04    mgp_05    mgp_06

Step 5) Backup your files
The next step is to backup the SCOM 2007 configuration files. Make sure you backup the following directory.(in my example!!)
- C:\Program Files\System Center Operations Manager
This can also be different, but this is the installation directory of your SCOM 2007 environment.
- C:\Program Files\System Center Management Packs
This is the defualt location of your sealed management packs.

Step 6) Backup your registry
The last step is to backup some registry keys. Make sure you backup the following registry keys.
HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Operations Manager
HKEY_CURRENT_USER\Software\Microsoft\Microsoft Operations Manager
reg_01    reg_02

Exchange 2007 SP1 Rollup 8 is available

Exchange 2007 SP1 Rollup 8 is available. You can download it here.

Update Rollup 8 for Exchange Server 2007 SP1 fixes the issues that are described in the following Microsoft Knowledge Base articles:

  • 948856  Event ID 9667 occurs when you create a new named property on an Exchange Server 2007 server
  • 952935  A software update is available that provides the log tracing feature for the LogTruncator tag in Exchange Server 2007
  • 954639  Exchange Information Store service stops responding intermittently on an Exchange 2007 server
  • 955480  Meeting requests from external senders are displayed as Busy instead of Tentative in an Exchange 2007 environment
  • 956633  User calendar permissions are removed after you run the Set-MailboxCalendarSettings cmdlet in an Exchange Server 2007 environment
  • 957640  The “test-*” command fails when you run it on a site that contains only CAS roles in an Exchange 2007 environment
  • 958239  Exchange Server 2007 does not generate an event log message for public folder replication messages even though a property validation exception is thrown and the replications do not occur
  • 958881  All HTML content in attachment files of messages is run through an HTML filter when you open or save the attachment by using Outlook Web Access (OWA)
  • 958938  The importance attribute of a message is lost when an Exchange 2007 user accesses a high-importance message or a low-importance message from Exchange Server 2007 by using a non-Outlook POP3 client or IMAP4 client
  • 959510  A meeting request that is sent from OWA causes a “553 5.0.0 Message-Id header line format error” NDR message in an Exchange Server 2007 environment
  • 959748  An account with the “Exchange View-Only Administrator” permission can review user mailbox contents by using an administrative application in Exchange Server 2007
  • 959861  Some clients cannot connect to back-end Exchange Server 2003 IMAP servers after Exchange 2007 Service Pack 1 RU2 is applied
  • 959990  An error occurs when you try to update a recurring appointment by using an Outlook client that is connected to an Exchange 2007 server
  • 960178  You receive an NDR when you send an e-mail using OWA Premium and the ANR cache if the Exchange organization name has more than one space
  • 960354  Edge Attachment Filtering does not honor the ExceptionConnectors value in Exchange Server 2007
  • 960367  Error message when you run the Export-Mailbox command on a folder that has more than 5000 items in Exchange 2007: “-1056749164″
  • 960495  The Information Store service crashes continuously on an Exchange Server 2007 server
  • 960633  The Microsoft Exchange Information Store service crashes on an Exchange Server 2007 that has the mailbox server role installed
  • 960703  Extended characters are replaced by question marks when you send an e-mail message that contains extended ASCII characters by using an IMAP4 client in Exchange 2007
  • 960775  You receive a “Message too large for this recipient” NDR that has the original message attached after you restrict the Maximum Message Send Size value in Exchange Server 2007
  • 960869  A queue that has multiple connections cannot enter a Retry state in Exchange Server 2007
  • 961152  The Exchange information store service (Store.exe process) crashes intermittently when you migrate user data from Lotus Notes to Exchange Server 2007
  • 961347  Error message when you export an Exchange 2007 mailbox to a .pst file and a filter is defined: “Export-Mailbox : Error was found for <username> (<SMTP address>)”
  • 961443  Users cannot use Outlook Web Access for Exchange Server 2007 to open an address book
  • 961524  Some journal messages are stuck in the Submission queue in Exchange Server 2007
  • 961606  After you apply Rollup Update 5 for Exchange Server 2007 S961606, Outlook Web Access users find the font size of plain text messages is extremely small when they use some third-party Web browsers
  • 961693  Japanese (1 byte Kana) characters in the subject and display name are corrupted when you try to reply or forward task requests or calendar items in Outlook client
  • 962235  The date and time information for a “Follow Up” flag is missing if an Exchange 2007 user sends a message to an external recipient
  • 966535  Duplicate messages are sent to an external recipient if the recipient is included in multiple distribution lists in an Exchange Server 2007 environment
  • 967038  Many log entries are generated in Exchange Server 2007 if you turn on the Exchange log to audit the logons that do not use the primary account for shared resource mailboxes
  • 967097  Users may receive duplicate calendar items for the updated instance on mobile devices
  • 967109  A delegate cannot accept a meeting request for an online meeting in an Exchange Server 2007 environment
  • 967255  Only the tracing information of the last user is logged when you configure Exchange Server 2007 to trace multiple users at the same time
  • 968310  Many log entries are generated on an Exchange Server 2007 computer when you enable the Exchange log to audit user logons that do not use the primary account for their mailbox
  • 968352  The W3wp.exe process crashes when you use the Italian version of the spelling checker on a message in Outlook Web Access in Exchange 2007
  • 968589  The managed policy does not work if the ptagProvisionedFid attribute is missing in Exchange Server 2007
  • 968673  The EdgeTransport.exe file of Exchange 2007 servers crashes continuously and Event ID 10003 and Event ID 5000 occur
  • 968745  Incomplete tasks show in the Complete tasks view in OWA 2007 in an Exchange 2007 environment
  • 968966  Many log entries are generated in Exchange Server 2007 if you turn on the Exchange log to audit administrator logons that do not use the primary account for mailboxes
  • 969690  Unresolved sender for delivery status notifications after applying update rollup 7 for Exchange Server 2007 Service Pack 1
  • 970687  A search operation in Outlook does not return a correct result if there is a corrupted HTML message in the target folder in an Exchange Server 2007 environment

Exchange 2010 delete the first mailbox database

After you’ve installed a new Exchange 2010 environment and you try to delete the first automatically created mailbox database, you’ll receive the following error.

db_01    db_02

————————————————————————————
The mailbox database ‘DB01′ cannot be deleted.

DB01
Failed
Error:
This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. Arbitration mailboxes should be moved to another server; run the command Move-Mailbox <Mailbox ID> -Arbitration -TargetDatabase <Database ID>.  To remove the arbitration mailbox if this is the last server in the organization, run the command Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLastArbitrationMailboxAllowed.
————————————————————————————

You cannot remove the database, because there are some mailboxes in it. Oké….let’s have look what mailboxes are left in this mailbox database.

Get-Mailbox -Database DB01

db_08

As you can see, there are no mailboxes left in de mailbox database, but why we are still receiving this error!! This is the answer…….there are two hidden mailboxes left in de mailbox database, called arbitration mailboxes. With the following command you’re able to see this mailboxes

Get-Mailbox -Database DB01 -Arbitration | ft -wrap -auto

db_04

When you move these two mailboxes to another mailbox database, all the error messages are gone! So let’s do that!

Move-Mailbox “SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}”  -Arbitration -TargetDatabase DB02
Move-Mailbox “SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}”  -Arbitration -TargetDatabase DB02

db_05    db_06    db_07

db_08    db_09    db_10

Exchange 2007 export all distribution groups

In some situations it’s verry usefull to have an export of all the available distribution group in your Exchange 2007 environment. With the following script you can export alle the distribution groups with there Name, Alias, SMTP address and secundary SMTP addresses.

—————————————————————————————————
Get-DistributionGroup | select name , alias ,EmailAddresses | foreach {
  “Name: “+$_.name
  “Alias: “+$_.alias
   $_.EmailAddresses | foreach {
     if($_.SmtpAddress){
     “SmtpAddress: “+$_.SmtpAddress
   }
}
write-host
}
—————————————————————————————————

When you copy and past this code in notepad and save it as Get_Dis.ps1 , you get the following export for example:

Name: Exchange Team
Alias: ExchangeTeam
SmtpAddress: Exchange2003Team@e2k7.local
SmtpAddress: Exchange2007Team@e2k7.local
SmtpAddress: ExchangeTeam@e2k7.local

Name: ICT Helpdesk
Alias: ICTHelpdesk
SmtpAddress: Helpdesk@e2k7.local
SmtpAddress: ICTHelpdesk@e2k7.local

Name: ICT Management
Alias: ICTManagement
SmtpAddress: ICTManagement@e2k7.local

SCOM 2007 Discovery Wizard

After you’ve succesfully installing Microsoft System Center Operations Manager 2007,  you wan’t to start managing your clients and servers. Therefore you first need to discover this clients and servers. With the following steps you can run the discovery wizard.

scom_011    scom_021    scom_031

scom_041    scom_051    scom_061

scom_071    scom_081    scom_091

scom_101    scom_111

In this example i’ve choosen for the “Automaic Computer Discovery”. With the “Advanced Discovery” you’ve some more options to discover you’re clients and servers, for example with a custom LDAP query on your Active Directory to find a specific client or server in your environment.

How to: Installing SCOM 2007 on Windows 2003 Server

In this post we’re going to install Microsoft System Center Operations Manager 2007. Because it’s a testenvironment, we’re going to install all the services on one virtual server.
I’m using a server with Microsoft Windows 2003 Server R2 Enterprise Edition with Service Pack 2.

First off all install the following prerequisites:

- Windows Powershell 1.0
- .NET Framework 3.5 Service Pack 1
- IIS (Internet Information Services
- ASP.NET 2.0
- COM+ components

After this is all done, we can install Microsoft SQL 2005 server for the SCOM database.*
*(Note! When you have more than ten SCOM agents, it’s recommended that you install a dedicated Microsoft SQL 2005 server)

sql_01    sql_02    sql_03

sql_04    sql_05    sql_06

sql_07    sql_08    sql_09

sql_10    sql_11    sql_12

Now Microsoft SQL 2005 server SP2 is installed succesfully, we’re going to prepare our Active Directory for Microsoft System Center Operations Manager 2007.

Create two new user account in your Active Directory. These users can be used for the following tasks:
(OpsMgr-SAA, Server Action Account) to gather operational data from providers, to run responses, and to perform actions such as installing and uninstalling agents on managed comptuers.
Make this user member of the Domain Admins Security Group.
(OpsMgr-SDK, SC Database Server) to logon to the System Center Database Server.
Make this user member of the Local Adminstrators Security Group on the SCOM SQL server*
*(Note! in this example not nessecary because there’s only one server for all the services.)

Create also a Security Group in your Active Directory for managing the System Center Operations Manager Environment.
(OpsMgr-Admins,
for managing the SCOM environment)
This group has full permissions to manage within a Management Group.

Now we can install System Center Operations Manager.

scom_01    scom_02    scom_03

scom_04    scom_05    scom_06

scom_07    scom_08    scom_09

scom_10    scom_11    scom_12

scom_13    scom_14    scom_15

scom_16    scom_17    scom_18

scom_19    scom_20    scom_21

scom_22    scom_23    scom_24

scom_25    scom_26    scom_27

High Availability in Exchange 2010

Exchange 2010 uses a new mechanism for High Availability. Watch this interresting movie from one of the members of the Exchange 2010 team.

 exchange_2010_ha

 The continuous availability architecture built into Exchange 2010 provides new benefits for organizations and their messaging administrators:

  • Multiple server roles can co-exist on servers that provide high availability. This enables small organizations to deploy a two-server configuration provides full redundancy of mailbox data, while also providing redundant Client Access and Hub Transport services.
  • An administrator no longer needs to build a failover cluster in order to achieve high availability. Failover clusters are now created by Exchange 2010 in a way that is invisible to the administrator. Unlike previous versions of Exchange clusters which used an Exchange-provided cluster resource DLL named ExRes.dll, Exchange 2010 no longer needs or uses a cluster resource DLL. Exchange 2010 uses only a small portion of the failover cluster components, namely, its heartbeat capabilities and the cluster database, in order to provide database mobility.
  • Administrators can add high availability to their Exchange 2010 environment after Exchange has been deployed, without having to uninstall Exchange and then re-deploy in a highly availability configuration.
  • Exchange 2010 provides a view of the event stream that combines the events from the operating system with the events from Exchange.
  • Because storage group objects no longer exist in Exchange 2010, and because mailbox databases are portable across all Exchange 2010 Mailbox servers, it is very easy to move databases when needed.