Categories
Sponsors
Archive
Blogroll Badges
Community
|
Posted in Exchange Server | 6 Comments | 29,406 views | 30/08/2010 21:10
At the part 2, we configured mailbox databases. Also we made them high available with Exchange DAG. As the first part, I’ll load balance Exchange OWA. Add your first CAS server as a service in Citrix. Do same thing for the second CAS Server. Now, go to EXCAS01 and create certificate request for OWA. Lets see default certificates:
So create your certificate request on EXCAS01:
Buy your commercial certificate and save certificate code to C:\cert.txt.
Assign IMAP, POP and IIS services to certificate. Don’t forget to use your own Thumbprint.
Lets check certificate status again:
As you see, services are assigned to new SSL certificate.
Now, transfer your pfx file to EXCAS02 and import it:
Lets check certificate status again:
Enable same services for EXCAS02:
Now import same certificate to Citrix Netscaler. Navigate to SSL and click import PKCS#12. Choose your pfx file and give a name like excas_cert for local usage. Now navigate to Rewrite -> Actions on Netscaler and click Add. Navigate to Rewrite -> Policy and click Add. We finished pre-required steps. Now navigate to Load Balancing -> Virtual Servers and click Add. Give NLB IP Address. Choose SSL and port 443. Go to SSL and choose OWA certificate and click Add: Add Owa services: Configure Method and Persistence: Configure OWA Redirection: Click Create and finish SSL Virtual Server Load Balancing. Now lets create another Virtual Server to redirect HTTP requests to HTTPS. Navigate to Load Balancing -> Virtual Servers and click Add. Give same NLB IP Address. Choose HTTP and port 80. Do NOT choose any service. Go to Advanced Tab: Also configure Method and Persistence: Click Create and finish HTTP Virtual Server Load Balancing. Because of you don’t select any service, Virtual Server should seen as Down. Last step, go to IIS on EXCAS01 and EXCAS02. Configure SSL Security: Clear “Require SSL” and click Accept from SSL settings. Do same things for: OWA, EWS, ECP.. Now test your Exchange Server 2010 OWA: Wadaaaa! We finished Citrix Netscaler Load Balancing for OWA. Please continue with Part 4: Hosted Exchange 2010 – Hosted Exchange 2010 Installation
Posted in Exchange Server | 2 Comments | 13,207 views | 30/08/2010 08:25
You may get this error when you try to open Exchange Server 2010 Management Console: Connecting to remote server failed with the following error message: The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP URL. For more information, see the about_Remote_Troubleshooting Help topic
Resolution:
Posted in Exchange Server | 5 Comments | 30,465 views | 29/08/2010 20:29
If you followed, at the Part 1, I installed two CAS + Mailbox Server and two Hub Transport Server. At the second part, I’ll configure Database Availability Groups between my two Mailbox servers. First of all, you have to install Failover Cluster feature from Server Manager. After that I need to create Database Availability Group. I have to choose a Witness server. Witness server should be Hub Transport server in a recommended environment. So I choose it as my first Hub Transport Server called EXGW01.
You should execute this command on Exchange Management Shell. After the command, lets check our DAG. As you see, I don’t have any member servers right now. I’ll join my Mailbox servers to DAG.
After adding first mailbox server, you can check your witness file directory. It should be created by Exchange DAG. Now let’s add second server to DAG. Also our cluster is created on Failover Cluster Manager. But as you see there is no network right now. So we should add them. Let’s see ipv4 status.
Name : RadoreDAG
DatabaseAvailabilityGroupIpv4Addresses : {} DatabaseAvailabilityGroupIpAddresses : {} So we don’t have any network for DAG. Let’s create them now. My Public Network: 94.101.92.0/24
My Replication Network: 192.168.0.0/16 Now, it’s time to create networks. For public network:
For replication network:
After configuration of networks, we should configure Group IP.
Ok, now check the Failover Cluster Manager: As you see our DAG name is active. Also our networks are active. So now we can add our second server to DAG.
Ok, our second server is active on DAG. After second server, also our witness file share is active. I configured the DAG and networks. Next, I’ll create 3 different databases for customers.
Let’s check our databases:
I created the databases. Now I should check databases status.
We have to mount them:
Lets check it again: Now we can replicate them with other mailbox server:
You may get this error when you try operation: A source-side operation failed. Error An error occurred while performing the seed operation. Error: An error occurred w
hile processing a request on server ‘EXCAS01’. Error: Database ‘bb1e972e-a343-4cfe-8544-39f18facd816’ was not active on source server ‘EXCAS01’.. [Database: Database01, Server: EXCAS02.vpool.radore.net] + CategoryInfo : InvalidOperation: (:) [Add-MailboxDatabaseCopy], SeedInProgressException + FullyQualifiedErrorId : E25C52CD,Microsoft.Exchange.Management.SystemConfigurationTasks.AddMailboxDatabaseCopy Thats a replication issue. Don’t worry about it. Let’s make them available. First check their replicate status:
We have to start replication:
So let’s move default mailboxes to new DAG databases.
To check Move Request status:
So if you see that as “Completed” than you can remove requests:
Now it’s time to move hidden mailboxes. First see them:
So we moved all default mailboxes. Now we can delete default mailbox databases.
We completed our steps. As a final step, let’s check replication health status.
Now we have 3 databases and a fully working DAG environment. At the next part, I’ll show you how to create mailboxes for customers. Then we will see how to backup databases with Data Protection Manager 2010. Please continue with Part 3: Hosted Exchange 2010 – Hosted Exchange 2010 Installation
Posted in Exchange Server | 2 Comments | 24,377 views | 28/08/2010 16:46
When you try to uninstall Exchange Server 2010, you can get this error message: The following error was generated when “$error.Clear(); uninstall-MsiPackage -PackagePath ($RoleInstallPath + “Mailbox\MSFTE.MSI”) -LogFile ($RoleSetupLoggingPath + “\InstallSearch.msilog”)” was run: “Couldn’t open package ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\MSFTE.MSI’. Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. Error code is 1638.
That’s because of Exchange Server Rollup 4 installation. Open Add Remove Programs and find Microsoft Full Text Indexing Engine for Exchange. Right-Click it and select to repair. After repair process, you should uninstall your Exchange Server roles.
Posted in Exchange Server | 13 Comments | 71,643 views | 28/08/2010 09:17
A few days ago, Exchange Server 2010 SP1 just released and it’s time to install a Hosted Exchange organization without HMC. Before SP1 installation, you should not install any Exchange Server on your current domain forest. If you have one, you should remove it or create a new forest for the Exchange Server 2010 SP1. What I will have in my environment:
* 2 x 1 Hub Transport Role
* 2 x 1 CAS + Mailbox Role I don’t have enough resource to split CAS and Mailbox Role. If you don’t need a huge infrastructure, you can do same thing as me. Now I’m ready to install Exchange Server 2010 SP1. Download Microsoft Exchange Server 2010 SP1 from here: It’s an exe file. You should extract it first. For your information, for the Hosted Exchange infrastructure, you should install SP1 by command line. There is no option on GUI for Hosted Exchange. I’m going to install one of my Hub Transport server called EXGW01. As the first step, install required features:
Set “NetTcpPortSharing” startup type as Automatic with Powershell:
Also Exchange setup has to extend active directory scheme so you need to install:
After required features installation, you should restart the server. When restart is completed, install Office 2010 filter pack. Now we are ready to go.
Full list of Role codes: HubTransport: HT
ClientAccess: CA Mailbox: MB EdgeTransport: ET ManagementTools: MT So Step 1 is below: At the same time lets check schema status: Do you see differences between Exchange Server 2010 and Hosted Exchange 2010? Yes, in the Hosted Exchange configuration, you see a new unit called ConfigurationUnits. Btw, installation is going on well.. And finally, we finished our first server installation. Now we have a Hub Transport server. I’ll do same thing to my second Hub Transport server. After installation, I’ll will make them load balanced servers. I’ll show how to load balanced them later. Next, I’ll start setup of CAS and Mailbox Server. As I said, they will on the same server because I don’t have so many resources. Also as you know, much servers means much license prices. I use CMD again for the installation. But before the installation, install required updates. You don’t need to reboot your server after updates. If you don’t install required updates, Exchange setup fails. Start installation:
If you installed all required features, then setup would finish without errors. After setup completed, you have to reboot your server. I’ll post configuration of Hosted Exchange 2010 at the second part. We completed our Part 1. Please continue with Part 2: Hosted Exchange 2010 – Hosted Exchange 2010 Installation
Posted in Exchange Server | No Comment | 5,364 views | 10/05/2010 00:38
Exchange Server 2010’da DAG oluşturmak için kendime aldığım bazı ufak notlar var. Bunları unutmamak için bir yerlere yazmam gerekiyordu, ben de bloga eklemeye karar verdim. Umarım size de yardımcı olur. 1. Domain Controller üzerinde çalışan Exchange sunucuları, DAG’a eklenemiyor.
2. DAG sunucuları, Exchange 2010 Standard Edition ve Exchange 2010 Enterprise edition’lardan oluşabilir. 3. DAG sunucuları, Windows Server’ın Enterprise versiyonlarında çalışmalıdır. 4. DAG sunucuları ya Windows Server 2008 üzerinde ya da Windows Server 2008 R2 üzerinde çalışmalıdır. 5. Tek başına IP6 desteklenmiyor, ancak IPV4 ile birlikte kullanabilirsiniz Özellikle DAG’ın DC üzerine kurulamaması büyük bir bela oldu benim için :(
Posted in Exchange Server, Windows Powershell | No Comment | 4,132 views | 05/05/2010 19:59
Exchange Server 2010 kurulumu sonrası gelen default mailbox’ı, içinde sistem mailbox’ı barındırdığı için EMC üzerinden Remove edemezsiniz. Bunun için Powershell üzerinden aşağıdaki adımları uygulamanız gerekiyor. Öncelikle gizli sistem mailbox’larını görüntüleyelim:
Sonra aşağıdaki komut ile bu mailbox’ları yeni database’e taşıyalım:
Yukardaki komut sonrası bu mailbox’lar taşınmaya başlarlar. Taşınma durumunu aşağıdaki komut ile görebilirsiniz.
Eğer mailbox’ların taşınma işlemi için completed deniliyorsa, aşağıdaki komut ile bu mailbox’ların MoveRequest’lerini kaldırabilirsiniz.
Bu işlemler sonrasında artık EMC üzerinden eski database’i kaldırmanız mümkün durumdadır. |