網頁

顯示具有 技術---Windows_Server_2008R2 標籤的文章。 顯示所有文章
顯示具有 技術---Windows_Server_2008R2 標籤的文章。 顯示所有文章

2012年9月29日 星期六

Configuring Exchange 2010 Client Access Server (part 1)

When we install Exchange 2010 on a computer, it will automatically install a default self-signed certificate for communicating between Exchange Servers. Due to this certificate never is created or signed by a trusted Root CA, it cannot use in any clients in the organization.
clip_image002The Exchange self-signed certificate will have Subject Alternative Name (SANs) that correspond to the name of the Exchange server as the server name and the server’s fully qualified domain name.
clip_image003If we want to use the self-signed certificate, administrator need to do extra steps that let clients trust these certificate. In the moment, we will do a easy solution that get a certificate from an internal CA ---- Microsoft Activity Directory Certificate Services.

How to request and enable certificate on CAS?

Run the New Exchange Certificate WizardIn EMC, click on the Server Configuration node next to click on the New Exchange Certificate… in the Actions pane. The New Exchange Certificate wizard will be launched.
clip_image005On the Introduction page , provide a friendly name as “Adatum Exchange Server” for the certificate next to click Next > button
clip_image008On the Domain Scope page, mark Enable wildcard certificate check box and then enter Root domain for wildcard as "*.adatum.com” or “adatum.com” due to we want to apply this certificate to all subdomains using wildcards. That is this option allows you to add subdomains without having to update an existing certificate in the future. (# 1)
clip_image009On the Organization and Location page, provide the related information next to click Browse… button for selecting Certificate Request File Path.
clip_image010Select a path, provide file name with extension “.req” and then save it
clip_image011Click Next > button after the request file name is specifically created and selected.
clip_image012On the Certificate Configuration page, click New button to continue the process if Configuration Summary is true.
clip_image013Click Finish button to close this wizard and continuously follow the step 1 to get the certificate issued from a CA.
clip_image014In the moment, a pending request certificate will be created. (# 2)
clip_image016
Submit the resulting certificate request file to Root CAIn I.E. or other Browsers, go to the URL of the internal Certificate Server as http://pki.dw.com/certsrv/ and login in by authenticated user next to click Request a certificate in this Web site.
clip_image023In the Request a Certificate page, click advanced certificate request
clip_image025Click Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file because we have already generated the request on the Exchange Server 2010.
clip_image027In the moment, please open the request file we generated earlier
clip_image021Select all content next to click Copy in menu
clip_image029Paste it into the Base-64 encoded certificate request field
clip_image031The result is as follows the diagram.
clip_image033Set the certificate template to Web Server
clip_image035Click Submit > button to generate the request
clip_image037Select DER encoded next to click Download certificate to save this file to one path
clip_image039
Completing a pending certificate request
In EMC, click on the Server Configuration node, navigate to Server Management to choose one server that we want to import a certificate, select the new certificate next to click on the Complete Pending Request… in the Actions pane. clip_image044Click Browse… button
clip_image045Select the certificate file that is downloaded earlier.
clip_image046Click Complete button to import a certificate to the Exchange server
clip_image047Click Finish button to close this wizard
clip_image048So does that will complete a pending certificate request (# 3) and is ready to be assigned to Exchange service.
clip_image050
Reference
(# 1) Please take care the following scenarios:
  • Wildcard certificates can’t be used in conjunction with OCS 2007 as secure communications for UM/OWA integration
  • Wildcard certificates are not supported for older mobile devices such as Windows Mobile 5.0
(# 2) When we select and open this request certificate,
clip_image018the certificate information tell us this CA Root certificate is not trusted and issued by point to itself.
clip_image019(# 3) When we select and open this request certificate again,
clip_image052In General tab, the information issued by has already been changed to Root CA
clip_image053In Certification Path tab, its chain in top level also link to Root CA.
clip_image054

2012年9月9日 星期日

Exchange Server 2010 Database (part 3)

(continue)
How to remove Mailbox Database?
Remove a Database by EMCIn EMC, click Mailbox under Organization Configuration and select a mailbox database on the Database Management tab that we want to remove next to click Remove in the Action pane
ScreenHunter_12A warning appears and ask us whether want to remove the selected database, and click Yes button if we are sure that.
ScreenHunter_13
Remove a Database by EMSIn EMS, use the Remove-MailboxDatabase cmdlet(#1) to remove a mailbox database and type Y if we are prompted to confirm that you want to perform the action.
<Syntax>
Remove-MailboxDatabase -Identity <DatabaseIdParameter>
ScreenHunter_14
After use the EMC or EMS to remove a mailbox database, the procedure doesn’t delete the files of database and its transaction logs. That is delete it manually in the location of the file.
ScreenHunter_15
How to modify the size limit of mailbox database?
In Exchange Server 2010, the default database size limit for Standard Edition is 50 GB but there is no default database size limit for Enterprise Edition. Due to the Exchange store will periodically check the database size limit, it will dismount a database if its size limit is reached.

We can modify the database size limit by adding or changing a value in the registry on the server that hosts the database. And this change will propagate to all servers that hold a copy of the database. In the moment, if a database is approaching its size limit, maybe result in the database is dismounted when exceed the limit then. (#3)

In EMS, we first need to know the global unique identifier (GUID) of the database.
<Syntax>
Get-MailboxDatabase [-Identity <DatabaseIdParameter>]

ScreenHunter_16Start Registry Editor and locate the following registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<Server Name>\Private-<database GUID>
If the Database Size Limit in GB DWORD exists for the subkey, directly change its value to desired size in GB. It it doesn’t exist, please create a new DWORD name and set its value to desired size in GB.
ScreenHunter_17
● How to change the database path?Change the path to a Database by EMCIn EMC, click Mailbox under Organization Configuration and select a mailbox database on the Database Management tab that we want to change the path next to click Move Database Path… in the Action pane
ScreenHunter_06The Move Database Path Wizard will show up
ScreenHunter_07In the Move Database Path Wizard, change the location of Database file path and Log folder path next to click Move button
ScreenHunter_09In the process of the move operation, the warning message will tell us the database must be temporarily dismounted if execute this so that will influence all users access mail. If no any question, please click Yes button to continue it.
ScreenHunter_10On the completion page, click Finish button if we have already confirmed the move process completed successfully.
ScreenHunter_11Back to EMC, the database file path and log folder path have already been changed and database status is mounted.
ScreenHunter_12
Change the path to a Database by EMS

In EMS, use the Move-DatabasePath cmdlet(#4) to set a new path for the mailbox database or logs and type Y if we are prompted to confirm that you want to perform the action.
<Syntax>
DatabasePath -Identity <DatabaseIdParameter>
[-EdbFilePath <EdbFilePath>]
ScreenHunter_16<Syntax>
DatabasePath -Identity <DatabaseIdParameter> [-LogFolderPath <NonRootLocalLongFullPath>]

ScreenHunter_17
What is the status of the related files?
The files state before do the move operation.
ScreenHunter_08The files state after do the move operation.
ScreenHunter_15ScreenHunter_13ScreenHunter_14
Reference:(#1) Exchange 2010 Remove-MailboxDatabase cmdlet
(#2) Exchange 2010 Get-MailboxDatabase cmdlet
(#3) A database is approaching its size limit. Exceeding the limit may result in the database becoming unavailable
(#4) Exchange 2010 Move-DatabasePath cmdlet
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.