IMail Clustering and Load Balancing

Transcription

1 IMail Clustering and Load Balancing For IMail Servers This document provides instructions on setting up a high-availability environment to facilitate a clustering (failover) or load balancing network architecture. Feel free to respond with any updates / improvements to the approach described below so that we can share with other customers. Note: While many customers are successfully running IMail in a clustered environment, clustering / load balancing is not currently a supported configuration. Configuration: All computers must be a part of a network domain. IMail Machine 1 and IMail Machine 2 need to log on with an administrator account of the network domain and not a local account. Hardware: 2 IMail Servers (On Private IPs behind a router or layer-4 switch) 1 Data Server 1 SQL server 1 Router/Switch Diagram 1 1

2 Step 1 - Installing and Configuring IMail When IMail is initially set up on each server; make sure the Official Host Name and Host Alias on each server are exactly the same. Only the internal IP address will be different, everything else will be the same. Diagram 2 Note: The Top Directory path will change once you map your drives. Since this path is yet unknown, leave the default path as is for now. Step 2 - Configuring SQL To configure SQL, please follow the KB steps. The only exception in the KB is the reference to the IMail configuration. Both IMail Servers must have the same table name in the IMail external configuration as shown in Diagram 3. Diagram 3 The "Table Name" must be the same on both machines. Also, make sure that the SQL database is not exclusive. Important: DO NOT configure any users at this time as the directory path has not yet been set 2

3 Step 3 - Sharing Folders (Both IMail Servers) Create a shared directory on the data server. Name it as you wish. Both IMail Server Machines and the Data Server machines should be on the same network. When setting up your shared folder, make sure Administrators or the userids you will be using has full control over the directory. This setup was tested with Everyone having Full Control as shown in Diagram 4. Diagram 4 You then want to go to each IMail Machine and Map the network drive. 3

4 Diagram 5 Once the network drive is mapped. Click on the new mapped folder and create a subfolder with your domain name such as mydomain. You only need to create this folder once since it should be present when you map the folder on the second server. Diagram 6 In the Address bar as shown in Diagram 6, cut and paste the directory path to the TOP Directory of yourdomain in IMail Administrator. Do this for both IMail machines. 4

5 Diagram 7 Important: Make sure this drive path matches exactly on both IMail servers, including the drive letter. Do not use UNC names. Also, make sure all IMail Services are running under the same account name that mapped the drive. This userid/password should exist on the data machine otherwise you may encounter permission errors when IMail tries to write to the directory. Tip: We recommend mapping the drives to the Admin Shares on the data machine. Step 4 - Disabling PID in IMail To disable PID in IMail run "regedit" for both IMail machines. Go to: HKLM\Software\Ipswitch\IMail\Global\ Create a DWORD Value name "SkipMBXPIDCheck" and set the value to 1. 5

6 Step 5 - Creating Users Users can now be created Make sure the directory path matches on both IMail Machines Go into IMail Administrator / yourdomain / users and click on a user then click on the directory tab This path should match on both machines Note: When you create a user on one machine, it should automatically appear on the second machine as they are both using the same database and tables. If they do not, then recheck your SQL and IMAIL database configurations. "Aliases" and "Lists" This redundancy setup does not replicate Aliases and Lists. These need to be created separately to both machines, or export the Alias and lists portion of the registry from one machine and import to the other machine. For Lists HKLM\Software\Ipswitch\Imail\domains\yourdomain\_lists For Aliases HKLM\Software\Ipswitch\Imail\domains\yourdomain\users\_aliases Do not replicate the registries exactly, as the IP address on each machine will be different and this information is embedded in the IMail Registry Hive. If you are going to export/import registry entries, please make sure that only the selected branches are exported/imported and not the entire IMail hive. 6

7 Step 6 - DNS and Your Router Make sure your DNS records ("MX" and "A" Records) point to the router's external IP address. Your router will be responsible for forwarding all outside requests to the appropriate machine. If your primary machine goes down, then you can simply change the forwarding address from your primary server to server #2. This way all your users will not have to reconfigure their Outlook clients since the router will determine which server they connect to. Diagram 8 Example In the diagram above, if went down, and your secondary server was , then all you would need to do is configure your router to forward the ports to the new machine. This way, your users would not have to reconfigure their smtp & pop3 settings within Outlook. Alternate Method There are devices out there called Layer-4 Switches that will automatically make this routing change for you. Although, this type of device was not tested in our setup, it would probably be the most practical because it does not require the Administrator to make a change at the router level to re-route the inbound connections. Example Switch Note: Aliases and Lists are specific to the machine they are running on, so to keep them clustering aware, you have to keep the registry hives synchronized across each of the boxes in the clustering architecture. 7

8 Setting Up DNS for Multiple Mail Hosts If you want to set up a virtual host with an IP address, make the following entries in your DNS: Add an "MX" record for the mail domain (for example, mail.domain2.com). The "MX" record identifies the host name of the virtual host. Add an "A" record for the host name of the virtual host. The "A" record maps a host name to an IP address. Add a "PTR" record for the IP address of the virtual host. The "PTR" record maps an IP address to the host name and is used for reverse lookups. Example The DNS entries for a virtual host with a host name of "mail.domain2.com" would look like: SOA $ORIGIN... domain2.com in-addr.arpa.,type = PTR 8

How to Configure Route 53 for F-Series Firewalls in AWS If you are running multiple stacks in different AWS regions, or multiple deployments in a single region, you must configure AWS Route 53 to access

The Service Pack application process does not affect the objects database. To apply changes to the objects database, see Apply Changes to Objects Database on page 8-3 AFTER you have installed the current

Sage 100 2017 Installation and System Administrator s Guide October 2016 2016 The Sage Group plc or its licensors. All rights reserved. Sage, Sage logos, and Sage product and service names mentioned herein

vcenter Server Heartbeat 5.5 Update 1 EN-000205-00 You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the

, page 1 Troubleshooting Intersite Networking Setup Use the troubleshooting information in this section if you have difficulty creating an intersite link between two site gateways (regardless of whether

Page 1 of 5 Outlook > Contacts Create and work with a distribution list Show All A distribution list is a collection of contacts. It provides an easy way to send messages to a group of people. For example,

, page 1 Overview Each Cisco Unity Connection server or cluster has a maximum number of users that it can serve. When the messaging needs of your organization require more than one Unity Connection server

Administrator's Guide For Ipswitch Failover v9.5 Copyright 1991-2016 All rights reserved. This document, as well as the software described in it, is furnished under license and may be used or copied only

Enterprise Vault Whitepaper High Availability Options for Enterprise Vault This Whitepaper is intended to assist customers, partners and service providers as they plan to implement high availability for

CHAPTER 12 Revised: June 27, 2011, Introduction This chapter provides an overview of VAS traffic forwarding, explaining what is it and how it works. It also explains the various procedures for configuring

Configuring Failover 2017 Bomgar Corporation. All rights reserved worldwide. BOMGAR and the BOMGAR logo are trademarks of Bomgar Corporation; other trademarks shown are the property of their respective

00011282016.1001.5.2.1.137 Who Should Read This Document The target audience for this document are the administrators and surveillance system architects that configure recording components for Ocularis

Chapter 3 LAN Configuration This chapter describes how to configure LAN Setup, LAN Groups and Routing (Static IP) features of your ProSafe VPN Firewall 50. These features can be found under the Network

I350-EmailGuide.book Page a Monday, August 17, 2009 6:10 PM Setting Up Email www.sprint.com 2009 Sprint. SPRINT and the logo are trademarks of Sprint. Other marks are the property of their respective owners.

Handling The Address Book Is Preparing To Synchronize Lync 2013 If using the Microsoft VDI Plug-in, the Skype for Business 2015 or Lync 2013 icon under the Contacts list includes a green checkbox and the

Exchange 2000 Server Error Code 2007 Sp3 I have been trying to set up an Exchange server 2007 SP3 on a Windows 2008 R2, but so far, impossible. The error Error code 3221685951. The remote. Exchange 2007-2010

How To Disable Password Complexity In Windows 2008 R2 Domain Controller The question is: did you review password policy settings and considered password requirements for your environment? This policy may

IBM Security IBM Security SiteProtector System SecureSync Guide Version 3.0 Note Before using this information and the product it supports, read the information in Notices on page 45. This edition applies

DNS Fundamentals Steve Conte ICANN60 October 2017 Names and Numbers IP addresses easy for machines but hard for people IPv4: 192.0.2.7 IPv6: 2001:db8::7 People need to use names In the early days of the

Oversimplified DNS... or, even a rocket scientist can understand DNS Step 1 - Verify WHOIS information GOALS: Make sure that WHOIS reports every name server you have, and doesn't report any that aren't

i-vu Application CARRIER CORPORATION 2017 A member of the United Technologies Corporation family Stock symbol UTX Catalog No. 11-808-546-01 3/10/2017 Verify that you have the most current version of this

Installing My Movies for multiple zones Getting My Movies installed for use on one Media Center is usually quite simple, but when getting a multiple zone environment running it s is a bit of a harder task.

Unit 7: Working with Email Questions Covered What kinds of inbound and outbound email are possible in Agiloft? How do we configure the system to send outbound email and receive inbound email? Why set up

Dean Suzuki Blog Title: Lync 2013 Planning Tool Created: 2/28/2013 Description: Microsoft just released the Lync 2013 version of the Planning Tool. This is a great tool to help you get started planning