Exchange Installation Tips
January 28, 2013 at 10:40 am Leave a comment
Hi Folks
This for my own reference
Exchange Installation on Non Domain Controller
Exchange Installation on Non Domain Controller
* setup.com /PrepareAD /OrganizationName:”MyOrg”
* setup.com /PrepareLegacy ExchangePermissions –> When Co-existence with 2003
* setup.com /PrepareSchema
* setup.com /PrepareDomain
/PrepareDomain domainname
/PrepareAllDomains
—————————————————————————–
To Check the Exchange 2010 integration with AD –> Check for the Microsoft Exchange Security Group
———————————————————————————-
Exchange 2010 Prerequisties (Refer http://technet.microsoft.com/en-us/library/bb691354(EXCHG.140).aspx#WS08R2)
* Office Filter PAck – HT . MBOX
* Import-MOdule ServerManager
For CAS, HT , MBOX
——————-
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
For CAS,HT,MBOX,UM
——————
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Desktop-Experience -Restart
For CAS &HT
————
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
For HT & MBOX
————-
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart
For CAS & MBOX
—————
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
For CAS Only
————–
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
For HT OR MBOX
—————–
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart
For UM Only
—————-
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Desktop-Experience -Restart
For Edge Only
—————-
Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart
Only for CAS Set-Service NetTcpPortSharing -StartupType Automatic
———————————————————————————-
Removing CAS Roles
————————————————————————————
[PS] C:\>$vd = Get-OwaVirtualDirectory -Server lab-casex27-01
[PS] C:\>foreach ($objitem in $vd){ Remove-OwaVirtualDirectory $objitem}
Confirm
Are you sure you want to perform this action?
The Remove-OwaVirtualDirectory cmdlet is removing Outlook Web Access virtual
directory “LAB-CASEX27-01\owa (Default Web Site)”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is “Y”):
setup /mode:uninstall /role:ca
——————————————————————————————-
Getting Information on Existing Setup
——————————————————————————————-
Get-ClientAccessArray
Get-DatabaseAvailabilityGroup
Get-MailboxDatabase -Server “servername” | fl name,rpc ==> To identify that DB’s are assigned with relevant RPC
Get-ExchangeServer
Creating the CAS Array
————————–
New-ClientAccessArray -Name exchange -Site “Default-First-Site-Name” -Fqdn exchange.integratednetworks.net
Adding the CAS Array to the Mailbox
—————————————————————————–
Get-MailboxDatabase | Set-MailboxDatabase -RPCClientAccessServer “Client.msglab.local”
DAG Configuration
———————————————————————————
New-DatabaseAvailabilityGroup -Name DAG -WitnessServer HV01 -WitnessDirectory “c:\witness” -DatabaseAvailabilityGroupIPAddresses 192.168.1.6 –Verbose
Add-DatabaseAvailabilityGroupServer -Identity DAG -MailboxServer MB0X1 -Verbose
Add-DatabaseAvailabilityGroupServer -Identity DAG -MailboxServer MB0X2 -Verbose
—- Add-MailboxDatabaseCopy -Identity MB01 -MailboxServer EX10-MB02
Set-DatabaseAvailabilityGroup -Identity DAG1 -AlternateWitnessDirectory C:\DAGFileShareWitnesses\DAG1.contoso.com -AlternateWitnessServer CAS3
Setting the DAG Network
—————————
Set-DatabaseAvailabilityGroupNetwork -Identity “\MAPI Network” -ReplicationEnabled:$false
Set-DatabaseAvailabilityGroupNetwork -Identity “\Storage Network” -ReplicationEnabled:$false -IgnoreNetwork:$true
Set-databaseavailabilitygroup DAG –witnessserver HV01 -witnessdirectory c:\witness
To Failback
————————–
RedistributeActiveDatabases.ps1 –DagName DAG1 –BalanceDBsByActivationPreference –Confirm:$false
Test-ReplicationHealth
For OWA Blank Page Error
———————————————————–
Open the updatecas.Ps1 with Powershell
For Addressbook,Public Folders Migration from Exchange 2003 to 2010
——————————————————————-
Get-EmailAddressPolicy | where {$_.RecipientFilterType –eq “Legacy”} |
Set-EmailAddressPolicy –IncludedRecipients AllRecipients
Set-AddressList “All Users” –IncludedRecipients MailboxUsers
Set-AddressList “All Groups” –IncludedRecipients Mailgroups
Set-AddressList “All Contacts” –IncludedRecipients MailContacts
Set-AddressList “Public Folders” –RecipientFilter {RecipientType –eq “PublicFolder”}
Set-GlobalAddressList “Default Global Address List” -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq ‘user’ -or ObjectClass -eq ‘contact’
-or ObjectClass -eq ‘msExchSystemMailbox’ -or ObjectClass
-eq ‘msExchDynamicDistributionList’ -or ObjectClass -eq ‘group’
-or ObjectClass -eq ‘publicFolder’))}
To enable Antispam on Exchange 2010
————————————-
-.\install-AntispamAgents.ps1
– Restart-Service MSExchangeTransport
– Set-TransportConfig -InternalSMTPServers x.x.x.x,y.y.y.y ( Enter all the SMTP servers)
——————————————————————————————–
Exchange 2013
** Before Installing Exchange 2013 you must prepare the Active Directory , and the mahine used to preapre
the AD should have
Microsoft .NET Framework 4.5
Windows Management Framework 3.0 (.NET Framework 4.5 and Windows Management Framework 3.0 are included with Windows Server 2012 and don’t need to be installed separately. )
# Install-WindowsFeature RSAT-ADDS
Then prepare the Active Directory ( SUbstitute with /IAcceptExchangeServerLicenseTerms)
# setup /PrepareSchema
# setup /PrepareAD [/OrganizationName:]
# setup /PrepareDomain
Then Mailbox and Client Access Role together
———————————————-
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, 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
Thereafter install the below
1.Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
2.Microsoft Office 2010 Filter Pack 64 bit
3.Microsoft Office 2010 Filter Pack SP1 64 bit
Installing only the Client Access role
———————————————-
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, 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
Thereafter install the below
—————————–
•Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
How to access the Management Console
————————————–
High Availability
http://technet.microsoft.com/library/dd638129%28EXCHG.150%29
Chaning the Exhange Database Names and Paths
———————————————-
Move-Databasepath “DatabaseName” –EdbFilepath “C:\Newlocation\DBname.edb” –LogFolderpath “C:\Newlocation”
Only moving the logpath
————————-
Move-Databasepath -identity “DatabaseName” –LogFolderpath “C:\Newlocation”
Move-Databasepath “DatabaseName” –EdbFilepath “C:\Newlocation\DBname.edb” –LogFolderpath “C:\Newlocation”
Creating Client Acces Array
——————————–
http://exchangeserverpro.com/exchange-2013-client-access-server-high-availability/
Entry filed under: Exchange and O365.
Trackback this post | Subscribe to the comments via RSS Feed