How to Deploy Exchange CU2

Source: Internet
Author: User

How to Deploy Exchange CU2 Hybrid with Office 365
1. Install Exchange CU2
1) Prepare Windows Feature:
Install-windowsfeature as-http-activation, Desktop-experience,net-framework-45-features, RPC-over-HTTP-proxy, Rsat-clustering,rsat-clustering-cmdinterface, Rsat-clustering-mgmt, Rsat-clustering-powershell,web-mgmt-console, Was-process-model, Web-asp-net45, Web-basic-auth,web-client-auth, Web-digest-auth, Web-Dir-Browsing, Web-dyn-compression,web-http-errors, Web-http-logging, Web-http-redirect, Web-http-tracing,web-isapi-ext, Web-isapi-filter, Web-lgcy-mgmt-console, Web-metabase,web-mgmt-console, Web-mgmt-service, Web-Net-Ext45, Web-request-monitor,web-server, Web-stat-compression, Web-static-content, WEB-WINDOWS-AUTH,WEB-WMI, Windows-identity-foundation,rsat-adds


Download (http://www.microsoft.com/en-us/download/details.aspx?id=34992) and Install Unified Communications Managed API 4.0 Runtime (UcmaRuntimeSetup.exe):


2)
Setup.exe/prepareschema/iacceptexchangeserverlicenseterms

3)
Setup.exe/preparead/organizationname: "NOS"/iacceptexchangeserverlicenseterms

4)
. \setup.exe/preparealldomains/iacceptexchangeserverlicenseterms

5)
. \setup.exe/mode:install/role:mailbox/installwindowscomponents/targetdir: "D:\ExchangeServer\V15"/mdbname: " MBDB001 "/dbfilepath:" D:\ExchangeServer\V15\Mailbox\MBDBFile\MBDB001.edb "/logfolderpath:" D:\ExchangeServer\V15\ Mailbox\mbdblog "/customerfeedbackenabled:false/iacceptexchangeserverlicenseterms


Post-Installation Tasks:

Exchange PowerShell:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe-noexit-command "." D:\ExchangeServer\V15\bin\RemoteExchange.ps1 '; Connect-exchangeserver-auto-clientapplication:managementshell "


1)
Standard:
Set-exchangeserver-identity Exch01-productkey QXYKC-7H87P-YKC2Q-XRVQ7-GTJP2

Enterprise:
Set-exchangeserver-identity Exch01-productkey 7wjv6-h9rmh-f4267-3r2kg-f6pby

2) Creating accepted domains:
New-accepteddomain-name aplusnb-domainname aplusnb.cn-domaintype Authoritative


3) Enable Mailbox:

Get-user-organizationalunit "Nos.hk.cn/nos" | Where-object {$_. Recipienttype–eq "User"} | Enable-mailbox | Get-mailbox | Select Name,windowsemailaddress,database

4) Creating An email address policy:

New-emailaddresspolicy-name aplusnb-includedrecipients Allrecipients-conditionalcompany "APLUSNB"- Enabledemailaddresstemplates "SMTP: @aplusnb. CN"

Update-emailaddresspolicy-identity APLUSNB

Get-mailbox | Select Name,windowsemailaddress,emailaddresses,database

5) New Send Connector:

New-sendconnector-name "Send to Internet"-internet-addressspaces "*"-dnsroutingenabled: $TRUE- SourceTransportServers "Exch01"

Configure ReceiveConnector:

Get-receiveconnector-server Exch01
Get-receiveconnector "Default EXCH01" | Select Identity,permissiongroups

Get-receiveconnector


Get-receiveconnector "Default Exch01" | Set-receiveconnector-permissiongroups anonymoususers, Exchangeusers, ExchangeServers, ExchangeLegacyServers


6) Configuring SSL certificates

$Data = New-exchangecertificate-friendlyname "Exch01_certificate"-generaterequest-subjectname "C=CN, O=NOS, cn= mail.nos.hk.cn "-domainname mail.nos.hk.cn,autodiscover.nos.hk.cn,mail.aplusnb.cn,autodiscover.aplusnb.cn, Mail.seniorit.cn,autodiscover.seniorit.cn,exch01.nos.hk.cn,exch01,localhost-privatekeyexportable $true

Set-content-path "\\Exch01\C$\Exch01CertRequest.req.txt"-value $Data


You can use the contents of the Exch01CertRequest.req.tx file to request an SSL certificate from a certificate authority ( CA), open Web:
Http://DC01/Certsrv to Request a SSL Certificate and save to \\Exch01\C$\Exch01certnew.cer


Import CA:

Import-exchangecertificate–server Exch01-filedata ([byte[]]$ (Get-content-path "\\Exch01\C$\Exch01certnew.cer"- Encoding byte-readcount 0)) | Enable-exchangecertificate-server exch01-services "IIS,POP,IMAP,SMTP"


7) Configuring Outlook Anywhere:

Get-outlookanywhere-server Exch01 | Set-outlookanywhere-externalhostname Mail.nos.hk.cn-externalclientsrequiressl: $true- Externalclientauthenticationmethod:basic-internalhostname Exch01.nos.hk.cn-internalclientsrequiressl: $true- Internalclientauthenticationmethod:basic


8) Enabling Mapihttp:

Set-organizationconfig-mapihttpenabled $true

9) Set OWA ECP and EWS virtualdirectory Externalurl:

Set-owavirtualdirectory-identity "OWA (Default Web site)"-logonformat username-defaultdomain "nos.hk.cn"

$DomainName = "nos.hk.cn"
$hostname = "mail." + $DomainName
$owa = "https://" + $hostname + "/owa"
$ECP = "https://" + $hostname + "/ECP"
$mapi = "https://" + $hostname + "/mapi"
$powershell = "https://" + $hostname + "/powershell"
$activesync = "https://" + $hostname + "/microsoft-server-activesync"
$oab = "https://" + $hostname + "/oab"
$ews = "https://" + $hostname + "/ews/exchange.asmx"
Get-owavirtualdirectory | Set-owavirtualdirectory–externalurl $owa –internalurl $owa
Get-ecpvirtualdirectory | Set-ecpvirtualdirectory–externalurl $ECP –internalurl $ECP
Get-mapivirtualdirectory | Set-mapivirtualdirectory–externalurl $mapi –internalurl $mapi
Get-activesyncvirtualdirectory | Set-activesyncvirtualdirectory-externalurl $activesync –internalurl $activesync
Get-oabvirtualdirectory | Set-oabvirtualdirectory-externalurl $oab-internalurl $oab-requiressl: $true
Get-webservicesvirtualdirectory | Set-webservicesvirtualdirectory-externalurl $ews-internalurl $ews-basicauthentication: $True-Force
Get-powershellvirtualdirectory | Set-powershellvirtualdirectory–externalurl $powershell –internalurl $powershell-basicauthentication: $True


) Enable Mailbox Replication Service (MRS) MRSProxy:
The Mailbox Replication Service (MRS) Proxy Service helps facilitate cross-forest remote Mailbox moves. It ' s often used when performing a cross-forest migration from a legacy Exchange organization.

Get-webservicesvirtualdirectory | FL server,mrs*

get-webservicesvirtualdirectory-adpropertiesonly | Where {$_. Mrsproxyenabled-ne $true} | Set-webservicesvirtualdirectory-mrsproxyenabled $true


One) publishing Exchange:
With a solid firewall solution where only the following ports is opened:
Port for SMTP
Port for HTTP
Port 443 for HTTPS
Port 587 for SMTP submission
Ports and 143 for POP3 and IMAP4
Ports 993 and 995 for secure POP3 and secure IMAP4.
Hybrid Deployment and migrating to Office 365

1) Register Office 365 for test:
Https://products.office.com/zh-cn/buy/overview?param=TryOffice365EnterpriseE3

https://login.partner.microsoftonline.cn

Https://dc.aliyun.com/login/loginx


Login DC01:


Get-aduser-filter *-searchbase ' ou=nos,dc=nos,dc=hk,dc=cn '-properties userPrincipalName | foreach {set-aduser $_-userprincipalname ("{0}@{1}"-F $_.name, "seniorit.cn")}

Open the Exchange Management Shell and New-accepteddomain
New-accepteddomain-name seniorit-domainname seniorit.cn-domaintype Authoritative
New An email address policy:
New-emailaddresspolicy-name "Seniorit"-includedrecipients allrecipients-conditionalcompany "Seniorit"-Priority 1- Enabledemailaddresstemplates "SMTP: @Seniorit. CN"

Update-emailaddresspolicy-identity Seniorit
Get-mailbox | Select Name,windowsemailaddress,emailaddresses,database

New DNS Zone seniorit.cn on Dnsmgmt.msc


Office 365 Hybrid Configuration Wizard:
Http://aka.ms/HybridWizard

How to Deploy Exchange CU2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.