Archive

Posts Tagged ‘Exchange 2007’

Restoring Entire Mailbox Exchange 2010 Database using Backup Exec 2012 #Symantec #backupexec #msexchange

September 9, 2012 3 comments

In previous posts we have seen how to backup Mailbox database and restore single item from the backup.

In this post we will explore how to restore the entire database to its original location, although you might ask why would I do that when I can restore the item that I want directly from my backup set, Well there might be some scenarios where you want to restore an entire database:

– Database corruption either physically or logically.

– reseed operation.

– restoring to restore database for finer search and extraction.

we will use the same backup we did last time to restore the entire database, let us start:

User one received 2 emails (Diff 1 and Diff2):

image

It looks that those emails some how caused a Database corruption, and the database is dismounted and can’t be mounted again (this simulates a logical or physical corruption at the database level):

image

If I try to mount it I get the error:

image

Also there is an error in the event viewer:

image

Now I need to restore the entire database, from the Backup Exec management console Select the Exchange server and click restore, in the restore type, select Microsoft Exchange databases or storage groups:

image

In the Resource view, select the backup job you want to restore:

image

In the restore location, I will choose the original location since I want to restore it on top of the current one since the current one is corrupted, you might want to restore it to another location or the recovery database or to another server in case of dial-tone recovery.

image

In the overwrite page, I will choose to overwrite existing DB and logs, if you trust that logs are ok and your DB is having troubles due to a corrupted harddisk for example you can restore the database set and keep exiting logs and when the replay starts it will restore the database into the most recent status, however in my case there is a logical corruption caused by bad emails thus bad logs, so I don’t want these and I will overwrite them:

image

In the Temporary location, I will chose the default location, but you need to make sure that the selected location has enough space to hold the restored data:

image

In the next screen, you have the option to wait to start mounting the database, if you are restoring from differential backup or you want to run eseutil before mounting the database for example you might want not to mount the database otherwise, the backup exec will mount the database and start playing the logs directly, in my case I will choose to mount the database:

image

In the job name and schedule, set your options and click next:

image

on done, go to the Job list, select the restore job and click run now, the job will start restoring your database:

image

after the restore completes, the DB is mounted and everything is back to track :

image

User1 can login now to his mailbox, but you will note that Diff1 and Diff2 emails (the problematic ones) are not restored since they are weren’t backed up:

image

 

In the next post we will see how to restore differential backup, we have been talking about the full backups and we will see how to configure and restore differential backups.

Advertisements

#Kemp hardware load balancer sizing guide

June 14, 2011 Leave a comment

I just spotted a very cool sizing calculator for Kemp Hardware load balancer, this is a very awesome tool for Exchange and Windows administrators who are looking for sizing guides for their HLB ordered from Kemp. you can access it from here.

http://www.kemptechnologies.com/fileadmin/templates/sizingDoc/lme_calc_2k/lme_calc_2k.htm

an awesome tool and must see.

Is it ok to remove Exchange Server objects using ADSIEDIT #Exchange #Exchange2010

February 17, 2011 2 comments

usually when people facing a failed exchange server or failed installation, admins/consultants were using the ADSIEDIT tool to remove the Exchange server object from active directory, people were using this article http://support.microsoft.com/kb/833396.

I have seen an internal discussion that shocked me, for years I was using this article to remove failed Exchange2010/2007 Servers from AD, I know that I can use the recover option but it was fast and easy to use ADSIEDIT and as long it is ok to use it.

The discussion was about how safe it is using ADSIEDIT to remove Exchange server object from AD, surprisingly the response was that it is not recommended for Exchange 2007/2010 to use that method, also the above KB only applies for Exchange 2003, and there is no documented way to manually remove Exchange 2007/2010 and the only way to do it is using the setup /m:recoverserver, Thus using ADSIEDIT is not recommended nor supported.

Microsoft recommends only using ADSIEDIT only as a last resort if nothing works.

I know that it was popular even on the forums to use ADSIEDIT, from now and on use it only if server recovery failed.

more references:

Recover an Exchange Server

#Exchange #Exchange2010 custom KBs

January 11, 2011 Leave a comment

here is my KBs for the last 2 weeks:

KB1: Error when you try to move a user’s mailbox from Exchange 2003 database to another server or another database : The information store could not be opened. The MAPI provider failed. MAPI 1.0 ID no: 8004011d-0289-00000000 Error: -2147221231

Cause/Solution: the user is hidden from being displayed in the GAL, to move the use unhide the user from the GAL and try the move operation.

KB2: you create a new user the following error appear:

Failed to generate email addresses based on template “CCMAIL: at MEXDOMAIN01”. Additional message: “Failed to find the address type object in Active Directory for address type “CCMAIL:AMD64″.”.

Failed to generate email addresses based on template “MS:PRODUCTOSF/MEXDOMAIN0”. Additional message: “Failed to find the address type object in Active Directory for address type “MS:AMD64″.”.

Solution:

To resolve this issue you need to edit your policy in Active Directory using ADSIEdit tool and delete disabledGatewayProxy entries of MS and CCMAIL

1. On your DC, open adsiedit.msc (Support Tools must be installed in order to be able to add ADSIEdit)

2. Connect to Configuration Naming Context

3. Browse to Services –> Microsoft Exchange –> YOURORGANIZATON –> Recipient Policies

4. On the right click Properties of Default Policy

5. Click Show only objects with entries

6. Find disabledGatewayProxy

7. Edit its content

Remove:

MS:ORGANIZATIONNAME/ORGANIZATIONNAME

CCMAIL: at ORGANIZATIONNAME

KB3: users moved from Exchange 2003 to Exchange 2010 SP1, or after applying Exchange 2010 SP1 cannot update distribution group membership with error

Changes to the distribution list membership cannot be saved. You do not have sufficient permission to peform this operation on this object

Solution:

you need to make changes as per this KB:

http://msexchangeteam.com/archive/2009/11/18/453251.aspx

also note that being Exchange administrator doesn’t mean that you will be able to manage the group, in Exchange 2010 SP1 the code checks if the user creating the change is the owner of the group or not, in the RTM version that wasn’t there, you can modify the groups using powershell to use BypassSecurityGroupManagerCheck (pre-SP1 behavior).

KB4: cannot open Exfolders on Exchange 2010 with error Exception: The Active directory user wasn’f found.

Solution: Open adsiedit and check if there any objects in CN=Servers,CN=Fist administrative group,CN=Administrative Groups,CN=<Exchange Org Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local. Is the container “CN=Servers” empty, then delete it

#Exchange #Exchange2010 a deeper look to the UM Worker Process and WP Recycling

December 30, 2010 2 comments

A Deeper look to UM Process, Worker Process and Recycling:

Couple of days ago a thread came across in front of me,  that talks about the UM worker process and UM Service and I wanted to share the info with you.

As all of us know, the UM server is the server that provides Voice Mail, Outlook Voice Access and other Exchange cool voice features to users in the Exchange organization.

Referencing http://technet.microsoft.com/en-us/library/bb125141.aspx

There 2 very important processes within the UM server

The MS Exchange UM Service and the Exchange Unified WP (check the above diagram).

The MS Exchange UM service  is lightweight service that accepts connection on port 5060 or 5061 (depends on the security level of your SIP connection) but doesn’t handle the media stream but itself, this is handled by the EUWP.

How, the UM service accepts the connection from the SIP endpoint (whatever it is) and send to it SIP 302 redirect message to the port 5065 and 5066 (where the actual media is passing).

The Worker Process service is the service that handles the actual media, it doesn’t listen on 5061 it listens on either 5065 and 5066.

The idea that the WP RECYCLE itself every 7 days (this is to reset the WP because of the heavy loads due to voice mails..etc) so it needs to reset itself.

This causes the WP to recycle every 7 days and listen for a week on port 5065, and then listen for another week on 5066 and going back and forth like that.

This has been around since Exchange 2007 RTM, but since Exchange 2010 SP1 there is has been some reports that some PBX (like Nortel CS 1000, and Cisco CCM 6) not working with the Exchange 2010 SP1 UM, this could be due how Exchange 2010 SP1 constructs the 302 redirect message but no solid clues on that one, thus some users running on those PBX might not some drops in the voice mail call during the WP recycle.

NOTE: editing the Recycle schedule is not supported by Microsoft

 

Transitioning from Exchange 2003/2007 to Exchange 2010 planning session recording from Microsoft OpenDoors Egypt – Arabic Session

December 21, 2010 Leave a comment

This is a session recording from Microsoft Open Doors event for me and Mohamed Fawzy speaking about planning to transition from 2003/2007 to 2010.

http://vimeo.com/18044461

the slides are here:

 

#Exchange #Exchange2010 #Microsoft understanding IPv6 Support on technet

December 14, 2010 Leave a comment

if you have been following my blog then you know that there is lot of here and there about IPv6 support, Microsoft finally came up with an official article on technet.

http://technet.microsoft.com/en-us/library/gg144561.aspx

 

%d bloggers like this: