Ref: E2010 WSB does not support passive database copies (DAG)

 

 

http://exchangeserverpro.com/exchange-2010-passive-database-copies-included-backups-dag-members 

So what do we learn from this?

Reminder, the below should be read in conjunction with the notice at the start of the article, as backing up passive database copies using Windows Server Backup is not a supported scenario

  • Yes, passive database copies stored on a volume are backed up by Windows Server Backup
  • Yes, this allows backups of passive database copies to be restored, although not directly
  • Yes, this would allow a backup of a passive database copy to be used for disaster recovery of a database
  • No, the backup time stamp is not written when a passive database copy is backed up, so any monitoring of backups that involves checking that time stamp needs to take that into consideration

http://blog.chrislehr.com/2010/03/exchange-2010-dag-backups-using-windows.htm

LAB: Exchange 2010 SP2 DAC – Part3–Configure DAC

 

 

http://eightwone.com/2010/08/17/dac-active-manager-activate/

PrimaryActiveManager
Get-DatabaseAvailabilityGroup -Status | fl identity,PrimaryActiveManager

image

ActivationPreference
Get-MailboxDatabase  | fl identity,activationpreference

image

 

DatabaseCopyAutoActivationPolicy

選用

DatabaseCopyAutoActivationPolicy 參數會指定所選取的信箱伺服器上信箱資料庫複本可用的自動啟用類型。此參數的值為:

  • Blocked   無法在所選取的信箱伺服器上自動啟用資料庫。
  • IntrasiteOnly 可在同一個 Active Directory 站台上的伺服器中啟用資料庫複本。這可防止跨站台的容錯移轉或啟用。此屬性用於內送郵件資料庫複本 (例如作為主動複本的被動複本)。無法在此信箱伺服器上啟動已在另一個 Active Directory 站台上啟動資料庫複本的資料庫。
  • Unrestricted   對於在所選取的信箱伺服器上啟動信箱資料庫複本,並沒有任何特殊限制。

Get-MailboxServer -Identity LAB5-DAG12 | fl identity,DatabaseCopyAutoActivationPolicy

image

image

Set-MailboxServer -Identity LAB5-DAG11 -DatabaseCopyAutoActivationPolicy IntraSiteOnly

image

Enable DAC on DAG

image

LAB: Exchange 2010 SP2 DAC – Part2– Setup Backup Site

Scenario 2: Active/Passive model with different namespaces

http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/designing-site-resilient-exchange-2010-solution-part2.html

CAS/HUB
WNLB

   

LAB5-CAS21
192.168.1.151

   

LAB5-CAS22
192.168.1.152

   

NLB VIP
192.168.1.150

   

CAS Array
Mail11.Lab5.com

   

 

image

New-Exchange

署站台恢復組態時,Exchange 2010 會變更您規劃命名空間設計的方式。正確的命名空間規劃對於讓資料中心轉換成功十分重要。從命名空間的角度來看,站台恢復組態中使用的每個資料中心都會被視為作用中。因此,每個資料中心在該站台的各種 Exchange 2010 服務 (包含 Outlook Web App、Outlook 無所不在、Exchange ActiveSync、Exchange Web 服務、RPC 用戶端存取、郵局通訊協定第 3 版 (POP3)、網際網路郵件存取通訊協定第 4 版 (IMAP4) 和簡易郵件傳輸通訊協定 (SMTP)) 都需要自己的唯一命名空間。此外,其中一個資料中心也會主控自動探索的命名空間。這個設計也可讓您將單一資料庫從主要資料中心轉換至另一個資料中心,以驗證第二個資料中心的組態,作為資料中心轉換驗證和作法的一部分。

建議的最佳作法是,使用 「分割 DNS」作為用戶端使用的 Exchange 主機名稱。分割 DNS 與 DNS 伺服器組態相關,其中內部 DNS 伺服器會傳回主機名稱的內部 IP 位址,而外部 (面向網際網路) DNS 伺服器會傳回相同主機名稱的公用 IP 位址。使用分割 DNS 會在內部和外部使用相同的主機名稱,因此這個策略可以讓您所需要的主機名稱數目減到最少。

下圖說明站台恢復組態的命名空間規劃。

站台恢復 DAG 部署的命名空間

站台復原 DAG 的命名空間

如上圖所示,在這些命名空間的分割 DNS 組態中,每個資料中心都會使用個別和唯一命名空間,且分別也包含 DNS 伺服器。被視為主要資料中心的 Redmond 資料中心是以 protocol.contoso.com 的命名空間設定。Portland 資料中心則是以 protocol.standby.contoso.com 的命名空間設定。命名空間可以包含待命的指定 (如範例圖表中所示),它們可以以地區 (例如,protocol.portland.contoso.com) 為基礎,或者以符合組織需求的其他命名慣例為基礎。主要需求為,不論您使用的命名慣例為何,每個資料中心都應該有其自己的唯一命名空間。

Certificate

image

image

 

image

Set-ClientAccessServer –AutodiscoverServiceInternalUri

image

Set-OabVirtualDirectory

image

Set-EcpVirtualDirectory

image

Set-WebServicesVirtualDirectory

image

Set-OWAVirtualDirectory

image

Test-OutlookWebServices

image

Auto Outlook profile successfuly.
image

image

Create CAS Array & configure RpcClientAccessServer on B site

image

image

image

 

B-Site DAG

LAB5-DAG11   192.168.1.131/ 172.16.0.5
LAB5-DAG12   192.168.1.132/ 172.16.0.6

OAB on B-Site
image

Add DAG Member

image

Add-Database copies

image

LAB: Exchange 2010 SP2 DAC – Part1– Setup Primary Site

 

http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/planning-deploying-testing-exchange-2010-site-resilient-solution-sized-medium-organization-part2.html

image

Primary Site        
Site Name LAB5-DefaultSite      
LAB5-AD1 192.168.1.101 Root CA    
LAB5-AD2 192.168.1.102      

 

 

CAS/HUB WNLB      
LAB5-CAS01 192.168.1.117      
LAB5-CAS02 192.168.1.118      
NLB VIP 192.168.1.110      
CAS Array Mail01.Lab5.com      

image

 

image

image

New CAS Array

image

New-ClientAccessArray -Name "LAB5 CAS Array" -Fqdn "Mail01.LAB5.com" -Site LAB5-DefaultSite

image 

Configure CAS service URL

image

image

Enable Outlook Anywhere

image

Set-RpcClientAcessServer
Get-MailboxDatabase -Server LAB5-DAG1 | Set-MailboxDatabase -RpcClientAccessServer "Mail01.Lab5.com"
image

Configure Autodiscover
image

image


Set-OABVirtualDirectory <CAS2010>\OAB* -ExternalURL https://mail.contoso.com/OAB

Set-WebServicesVirtualDirectory <CAS2010>\EWS* -ExternalURL https://mail.contoso.com/ews/exchange.asmx

Set-OWAVirtualDirectory <CAS2010>\OWA* -ExternalURL https://mail.contoso.com/OWA

Set-ECPVirtualDirectory <CAS2010>\ECP* -ExternalURL https://mail.contoso.com/ECP

Set-AutodiscoverVirtualDirectory
Set-AutodiscoverVirtualDirectory -Identity "LAB5-CAS01\Autodiscover (Default Web Site)" -InternalUrl https://Mail01.Lab5.com/autodiscover  -ExternalUrl https://Mail01.Lab5.com/autodiscover

image 

Test-WebServicesConnectivity failed on CAS

image

Run New-TestCasConnectivityUser.ps1 on Mailbox Role

image

Test-OutlookWebService image

Get-ClientAccessServer
image

Set-ClientAccessServer –AutodiscoverServiceInternalUri
image

image

Outlook Auto-profile

image

image_thumb[30]

 

DAG        
LAB5-DAG01 192.168.1.111 MPAI Network 172.16.0.1 Replication Network
LAB5-DAG02 192.168.1.112 MPAI Network 172.16.0.2 Replication Network
DAG-LAB5 192.168.1.100 CNO    

image

image