Posts

Showing posts from 2009

REF: Exchange 2003 POP3 效能

Image
  POP3 前後端效能影響說明如下 網路使用量 磁碟使用量 處理器 記憶體 POP3 前端伺服器 記憶體 POP3 前端伺服器幾乎不需要記憶體即可有效的操作。POP3 前端伺服器上同時 POP3 工作階段數目增加時,記憶體使用量不會有顯著增加。因為 POP3 用戶端不會持續長時間連線到前端伺服器 (這會讓記憶體使用量相對較小),所以記憶體不會顯著增加。可以在 POP3 前端伺服器上停用 MSExchangeIS (Store.exe) 服務,進而節省額外的記憶體。如果停用此服務,則 POP3 前端伺服器可以 256 MB 的 RAM 有效執行。 磁碟使用量 當判定專用 POP3 前端伺服器的硬體需求時,請考量您需要的磁碟空間。POP3 前端伺服器極少使用硬碟,因為它充當 Proxy 伺服器,將每個通訊協定工作階段傳遞給適當的後端伺服器。如果為 POP3 虛擬伺服器在 Exchange 系統管理員中啟用通訊協定記錄,則會在前端伺服器上使用硬碟來儲存所需的通訊協定記錄。Windows Server 2003 中的快取管理員也使用磁碟,來將資訊分頁到分頁檔案上,以及自分頁檔案中分頁資訊。作用中系統處理程序需要額外記憶體時,快取管理員使用分頁檔案以暫時從最近未存取的 RAM 儲存資訊。您可以增加伺服器上的 RAM,來讓分頁活動降至最小。 有 256 MB 或更多實際記憶體的 POP3 前端伺服器極少分頁。一個磁碟轉軸用於 POP3 伺服器對於大部份應用程式而言已足夠。如果您執行啟用了通訊協定記錄的大型伺服器,請考量新增第二個轉軸。 網路使用量 在 POP3 前端伺服器上,當您嘗試判定所需的硬體類型時,必須考量網路流量。因為 POP3 前端伺服器可以為多個後端伺服器提供服務,所以發生在前端伺服器上的網路流量經常相當高。任何高階前端伺服器的最小網路需求,是以全雙工模式 (表示資料可以同時傳輸及接收) 執行的單一 100-Mbp 網路介面卡。使用 1:4 的前端伺服器與後端伺服器比例,雙處理器 2.6-GHz 前端伺服器可以將大約 13 Mbps 的資料傳輸給後端伺服器,但是需要一個 GB 網路卡或多個 100 Mbps 網路卡。因為 100-Mbp 全雙工網路連線的飽和點一般認定是大約 7 到 8 Mbps,所以此範例會形成

Ticket: Exchange 2007 CCR - Update-StorageGroupCopy -DeleteExistingFiles

Image
  AutoDatabaseMountDial a. 嘗試切換node 上線 b. Resume-StorageGruopCopy c. 在passive node 執行 Update-StorageGroupCopy "bqt-ccr1\First Storage Gr oup" -DeleteExistingFiles   1. CCR\FSG 失敗下線   2. StorageGroupCopy 顯示suspend   3. 裝載資料庫失敗 -------------------------------------------------------- Microsoft Exchange 錯誤 -------------------------------------------------------- 無法裝載資料庫 'Mailbox Database'。 Mailbox Database 失敗 錯誤: 因為目前的 AutoDatabaseMountDial 設定而發生遺失容錯移轉之後,無法裝載資料庫 'BQT-CCR1\First Storage Group\Mailbox Database'。您必須先執行 Restore-StorageGroupCopy,才能裝載資料庫。 -------------------------------------------------------- 確定 -------------------------------------------------------- 摘要: 2 個項目。1 個成功,1 個失敗。 經過時間: 00:00:02 擱置 BQT-CCR1\First Storage Group 已完成 已完成的 Exchange 管理命令介面命令: suspend-StorageGroupCopy -Identity 'BQT-CCR1\First Storage Group' -SuspendComment '系統管理員已初始化 Update-StorageGroupCopy'

Issue: E14 DAG – Update Database Copy failed

Image
  Get-MailboxDatabaseCopyStatus Update-MailboxDatabaseCopy Resume-MailboxDatabaseCopy Summary: 1 item(s). 0 succeeded, 1 failed. Elapsed time: 00:00:03 Mailbox Database 0842341759 Failed Error: A server-side seed operation has failed. Error: An error occurred while running prerequisite checks. Error: A server-side seed operation has failed. Error: An error occurred while running prerequisite checks. Error: Service 'Microsoft Exchange Search' doesn't appear to be running on server 'BQT-E14CAS1'. Please verify that the server is operating, and that services can be queried remotely. [Database: Mailbox Database 0842341759, Server: BQT-E14MBS1.MSFT.corp.com] A server-side seed operation has failed. Error: An error occurred while running prerequisite checks. Error: Service 'Microsoft Exchange Search' doesn't appear to be running on server 'BQT-E14CAS1'. Please verify that the server is operating, and that service

REF: E14 Mailbox Role – Move Requests – Part 5

Image
    Auto Complete Mailbox Moves MoveMailbox.ps1 provides a synchronous mailbox move management experience similar to the Move-Mailbox cmdlet provided in Exchange 2007. By default, scripts are installed at C:\Program Files\Microsoft\Exchange Server\V14\Scripts. For more information, see Move Mailboxes by Using the MoveMailbox.ps1 Script in the Shell . Archive Mailboxes If archive exists, then the archive gets moved with the primary mailbox because the archive and the primary mailbox must reside on the same mailbox database. You will need to factor in the size of the archive before moving the mailbox, not only for database size, but for how long the move will take to complete. If you are moving from an Exchange 2010 server to Exchange 2003 or Exchange 2007 server, you will need to disable the archive before you can move the mailbox. For more information, see Disable a Personal Archive for a Mailbox . Shared Mailboxes and Resource Mailboxes In addition to the default use

LAB: Exchange 2010 Mailbox Role - Move request

Image
  1. [PS] C:\Windows\system32> get-mailbox -Identity bqt.e14user1 | fl -Property, database Database : Mailbox Database 1671221825 2. [PS] C:\Windows\system32> New-MoveRequest -Identity bqt.e14user1@msft.com -TargetDatabase "Mailbox Database 0842341759" DisplayName     Status        TotalMailboxSize          TotalArchiveSize      PercentComplete -----------        ------       ----------------             -------------             - -------------BQT.E14User1    Queued   231.2 KB (236,704 bytes)                           0 3. [PS] C:\Windows\system32> Get-MoveRequest DisplayName                                    Status                    TargetDatabase -----------                                    ------                    -------------- BQT.E14User1                           InProgress                Mailbox Database 0842341759 4. [PS] C:\Windows\system32> Get-MoveRequest | fl RunspaceId       

REF: E14 Mailbox Role – Move Requests – Part 4

Image
1. New-MoveRequest 會存在AD & target DB’s system mailbox 2. Offline Move 是讓user 無法存取, Online Move 則於搬完後才lock source mailbox 3. MRS Instance check 每個DB’s system mailbox 是否有move request 4. MRS 應該 只負責所屬AD site 的move request 5. New-MoveRequest -Identity Ayla@contoso.com -TargetDatabase "DB02" The cmdlet updates active directory and then places a special message to the system mailbox within that Active directory site that a move request has been initiated and the move is set to a status of Queued . Information about the move request is stored in two places: the target database's system mailbox and in Active Directory . If the move is an offline move, the mailbox is locked and can't be accessed until the move is in Completed status. For more information about scenarios in which offline moves are created, see Moving Mailboxes Between Exchange 2010 and Previous Versions of Exchange section previously in this topic. All instances of MRS periodically check the system mailbo

REF: E14 Mailbox Role – Move Requests – Part 3

Image
  1. 信箱搬移由Exchange 2007 CMDlet 改為Exchange 2010 MRS Service 2. MRS 可控制各AD site 的move request, 避免重複的move request 3. MSExchangeMailboxReplication.exe.config . 負責控制move request 設定 4. 可調整一次的信箱搬移數量, 預設為5, Exchange 2003 為4 5.  by default, MRSProxy is disabled 6. MRSProxy 負責remote forest 的跨樹系信箱遷移工作 Mailbox Replication Service When you use the Move Request cmdlets to perform the mailbox move the move will be conducted by MRS. As stated previously, MRS resides on an Exchange 2010 Client Access server and is the service that moves mailboxes from the source database to the target database . In Exchange 2007, the mailbox move was performed by the actual Move-Mailbox cmdlet. Using a service as the agent of the move allows you to move mailboxes asynchronously while they remain accessible to the user. During the move, you maintain the ability to view, cancel, and manage the move request from any Exchange 2010 server in your organization. You can start and stop the Microsof

REF: E14 Mailbox Role – Move Requests – Part 2

Image
    Reasons for Moving Mailboxes The following scenarios list the reasons for moving mailboxes: Transition    When you transition an existing Exchange 2007 or Exchange Server 2003 organization to Exchange 2010, you will move mailboxes from the existing Exchange servers to an Exchange 2010 server that has the Mailbox server role installed. Realignment    You can move mailboxes to realign based on specific values. For example, you may want to move a mailbox from one database to a database that has a larger mailbox size limit. Investigating an issue    If you need to investigate an issue with a mailbox, you can move that mailbox to a different server. For example, you can move all mailboxes that have high activity to another server. Corrupted Mailboxes    If you encounter corrupted mailboxes, you can move the mailboxes to a different server or database to leave the corruption behind. The corrupt messages will not move. Physical location changes    You can move m

REF: E14 Mailbox Role – Move Requests – Part 1

Image
  1. 提供跨 forest 的信箱遷移功能 2. 信箱資料是非同步搬移 3. 線上搬移不影響使用者存取 4. 信箱遷移記錄不存在於server 上, 而記錄於信箱上 5. Microsoft Exchange Mailbox Replication Service (MRS) - CAS   負責信箱遷移 6. 透過CAS 的MRS, 可以於ORG外進行move mailbox request 7. local mailbox move & remote mailbox move 8. 另一個文章未提到的重點, CAS role 的Loading 又加重很多   Cautions and Prerequisites to Moving Mailboxes You can't use the Exchange System Manager or Active Directory Users and Computers to move mailboxes from Exchange 2003 to Exchange 2010. You can't use the Move-Mailbox cmdlets in Exchange 2007 to move mailboxes from Exchange 2007 to Exchange 2010. When you move mailboxes, the user will lose the ability to view their message tracking information. Advantages to move requests Move requests are a new feature in Exchange 2010 . Creating a move request consists of running a series of cmdlets that perform the move request. There are multiple advantages to using move requests to perform the move:

REF: How to use Smart Cards with OWA & ROH? – Part 2

Image
  for Exchange 2007 OWA 透過Smart Card 存取, 請參考下列步驟, 不過調整此步驟會影響到預設的IIS 驗證權限, 請先確認下列是否以執行過下列設定, 若要測試請複製IIS Virtual Site 或用非production 的CAS server 1.  智慧卡驗證需要安全通訊端層 (SSL) 加密。根據預設,Outlook OWA 使用 SSL。 2.  使用 IIS 管理員 6.0 設定 Outlook Web Access 虛擬目錄以使用憑證驗證 在 IIS 管理員中的 [網站] 上按一下滑鼠右鍵,然後按一下 [內容]。 在 [目錄安全性] 索引標籤上,確認已選取 [啟用 Windows 目錄服務對應程式] 核取方塊。 按一下 [確定],關閉 [網站內容]。 展開您用來主控 Outlook Web App 虛擬目錄的網站。這通常是 [預設網站]。在您要設定使用憑證驗證的 Outlook Web App 虛擬目錄上按一下滑鼠右鍵,然後按一下 [內容]。 在 [目錄安全設定] 索引標籤的 [安全通訊] 中,按一下 [編輯]。 在 [安全通訊] 區段中,選取 [需要安全通道 (SSL)] (若尚未選取)。 附註: 如果您使用的是 Microsoft Exchange 安裝期間所建立的 SSL 憑證,則會顯示一則錯誤訊息,通知您該憑證不是受信任的憑證。請確定您信任發出憑證的憑證授權單位 (CA) 或使用 CA 所信任的 SSL 憑證。 在 [用戶端憑證] 區段中,選取 [需要用戶端憑證]。 選取 [啟用用戶端憑證對應]。 按一下 [確定] 以儲存變更。 在設定 IIS 管理員使用憑證驗證之後,您必須在 Exchange 中停用 Outlook Web App 虛擬目錄上的所有驗證方法。您可以使用 Exchange 管理主控台或 Exchange 管理命令介面執行此程序。   使用 Exchange 管理主控台將 Out

LAB: How to count Exchange 2007 Public Folder items?

Image
    [PS] C:\Documents and Settings\Exchadm\Desktop> Get-PublicFolderStatistics -Serve r bqt-mb07 | fl -Property totalitemsize,folderpath   [PS] C:\Documents and Settings\Exchadm\Desktop> Get-PublicFolderStatistics -Serve r bqt-mb07 Name                                     ItemCount               LastAccessTime ----                                     ---------               -------------- EX:/o=MSFT/ou=Exchange Administrative Gr   1                 12/8/2009 1:00:07 AM oup (FYDIBOHF23SPDLT)   Blog Extended Reading More Information & Reference

LAB: Exchange 2003 OWA change password

Image
  附註 如果您在您的環境中使用 Exchange 前端伺服器,SSL 只應在這些伺服器上啟用。 在單一伺服器的環境中需要 Exchange 伺服器上啟用 SSL。 下列值是 [PasswordChangeFlags 設定選項: 0: 需要 SSL 的密碼變更 1: 允許非安全連接埠的密碼變更 2: 停用密碼變更 若要進行 IISADMPWD 虛擬目錄執行下列動作: 按一下 [開始,指向 [程式集],指向 [系統管理工具,然後按一下 [Internet 服務管理員]。 用滑鼠右鍵按一下預設的網站],指向 [新增],然後再按一下虛擬目錄]。 在 [虛擬目錄建立] 精靈輸入 [[別名] 方塊中的 [ IISADMPWD ],然後按一下 [下一步]。 在 [目錄] 方塊中,鍵入 < 硬碟機 >: \winnt\system32\inetsrv\iisadmpwd 或位置,其中您的硬碟是預設硬碟磁碟,而然後按一下 [ 下一步 。 檢查只在讀取和 [執行指令碼核取方塊已選取,例如 ASP] 核取方塊,按一下 [ 下一步 ,再按 完成 。 請確認 [IISADMPWD 虛擬目錄只是基本驗證設定,然後如果您使用 [Windows 2003/IIS 6.0 確認應用程式集區設定為 ExchangeApplicationPool ]。   啟用並隱藏 Outlook Web Access 中的 [變更密碼] 按鈕 重要 此區段、 方法或任務包含,告訴您如何修改登錄的步驟。 然而,如果您不當修改登錄,可能會發生嚴重的問題。 因此,執行這些步驟時請務必小心。 為加強保護,修改登錄之前,請務必將它備份起來。 以後您就可以在發生問題時還原登錄。 如需有關如何備份和還原登錄的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件: 322756 如何備份和還原在 Windows 登錄 附註 此登錄值必須在前端和後端伺服器上啟用。 Exchange 2000 Server 和 Exchange Server 2003,您可以使用登錄,若要顯示或隱藏 [ 變更密碼 ] 按鈕。 要