• No results found

Configuration of a Load-Balanced and Fail-Over Merak Cluster using Windows Server 2003 Network Load Balancing

N/A
N/A
Protected

Academic year: 2021

Share "Configuration of a Load-Balanced and Fail-Over Merak Cluster using Windows Server 2003 Network Load Balancing"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

Configuration of a Load-Balanced and Fail-Over Merak Cluster using

Windows Server 2003 Network Load Balancing

Author: Gerrit Schunk Last Modified: 2005-07-08

(2)

Table of Contents

Table of Contents ... 2 Introduction ... 3 Requirements ... 4 Configuration ... 5 Windows Configuration... 5 Merak Configuration ... 10 Appendix A: DNS Configuration ... 12

Appendix B: Merak ODBC Configuration ... 12

(3)

Introduction

This guide provides basic step-by-step instructions on how to configure a simple load-balancing and fail-over Merak cluster using Windows Server 2003 Network Load Balancing.

This type of cluster configuration is suitable for small- to mid-sized installations that require basic fail-over support. It is not suitable for high volume installations that primarily need load-balancing between several servers.

Only a minimal configuration is described, advanced topics (such as database connectivity via ODBC) are not covered is detail.

(4)

Requirements

• Good understanding of Windows Server 2003, TCP/IP and Merak.

• Two or more severs running Windows Server 2003 Standard/Enterprise. Each server must have two NICs, at least one in each server must be support by Windows Load Balancing (see Appendix C). • One license of Merak Professional 8.20 or later for each server.

• A common storage system connected to all servers. This could be, for example, a NAS or SAN. • One Public IP address for the entire cluster.

• One Public IP address for each server.

(5)

Configuration

Windows Configuration

1. Install Windows Server 2003 on all machines. Active Directory is not required. The machines should be called MX1, MX2, etc. Make sure the shared storage system is working correctly.

2. Configure two network connections on each machine. A Public Cluster Connection and a Private Cluster

Connection:

It is recommended that both network connections are connected to different switches. The Private

Subnet should not be accessible from the Public Subnet and vice-versa.

3. Configure the Private Cluster Connections on all machines. Assign each machine a different private IP

(6)

4. Configure the Public Cluster Connections. Assign the same IP address to each machine the (i.e. 10.0.1.10):

• Select Network Load Balancing in the network settings of the Public Custer Connection:

(7)

Enter the same public IP address and Subnet mask on all machines. The Full Internet Name must reflect the machine name (i.e. mx1.mail.domain.tld, mx2.mail.domain.tld, etc.). The Cluster

operation mode must be set on Unicast.

Each machine must have its own Priority (unique host identifier). This number should be the same as the number in the machine name. Do not assign the same number to multiple machines.

It is recommended, but not required, to assign to each machine a second public and dedicated IP address (i.e. 10.0.1.11). Enter this IP address and subnet mask in the Dedicated IP

(8)

• Once you click on OK, you will see this message:

• Click on OK and select Internet Protocol (TCP/IP) from the list. Configure the network interface

with the same Public IP address, Subnet Mask and Default gateway on all machines. The

Preferred DNS server and Alternate DNS server can be same on all servers, but if you run the

(9)

After entering the public cluster IP address and the DNS server addresses, click on Advanced… and add the dedicated public IP address:

5. Close all network configuration dialogs by clicking on OK.

(10)

Merak Configuration

1. Install Merak Professional 8.20 or later on all machines.

2. Open the Merak Administration program on each machine and configure Merak to use the shared storage system (if some options are not visible you may have to switch to the Advanced interface mode):

• Select Merak Mail Server > System > Storage.

• Change the Mail path so that it points to a directory on the shared storage system:

The Temp path and Log path should be kept on the local machine. It is recommended that you enable the option Use mailbox path alphabetical sorting.

(11)

The Config, Forward and Retry paths must point to the shared storage system. The other paths depend on the type of your installation.

In Server ID enter the machine name of each server and in Hostname enter the FQHN of each machine.

3. Restart all machines.

(12)

Appendix A: DNS Configuration

The entire cluster shares one public IP address, and the DNS records should only point to this IP address:

mail.domain.tld. IN A 10.0.1.10

pop3.domain.tld. IN A 10.0.1.10

smtp.domain.tld. IN A 10.0.1.10

domain.tld. IN MX mail.domain.tld.

You should also add a DNS entry for each server that points to the dedicated public IP address: mx1.mail.domain.tld. IN A 10.0.1.11 mx2.mail.domain.tld. IN A 10.0.1.12 mx3.mail.domain.tld. IN A 10.0.1.13 mx4.mail.domain.tld. IN A 10.0.1.14 mx5.mail.domain.tld. IN A 10.0.1.15 etc.

Reverse DNS (PTR) records should also be added for each dedicated public IP address and the cluster

public IP address.

Appendix B: Merak ODBC Configuration

If you want to use ODBC to store the configuration in database, you should install Microsoft SQL Server (or any other supported database server software) on two machines connected to the private cluster subnet. These two machines can be the same ones that Merak is installed to. In any case make sure that the database sever software is not accessible from the Internet.

(13)

If the database server software is installed on the same machines as Merak, you may want to switch the Primary connection and Backup connections on one of the machines:

Configure the two database server to synchronize/replicate the two Merak databases. Consult the database sever documentation for details.

Appendix C: Checking NIC Compatibility

You can use the tool CHKNIC.EXE from the Windows Server 2003 Resource Kit Tools to verify that your NICs are compatible with Windows Network Load Balancing:

References

Related documents

• SQL Server Express Edition: If you store your XProtect Corporate system’s configuration in a SQL Server Express Edition database on the Management Server itself, it is

(You also need to install the client software for the RDBMS on each computer needing network access to the database server. If you are running Microsoft SQL Server or SQL Server

The cluster nodes are configured to host the SQL Server 2005 resource, the SQL Server 2005 agent service resource, the SQL Server 2005 MSSearch service resource, and the SQL

SQL Server Configuration Configuration parameters SQL Server Configuration Parameters mssqlconfig.scp SQL Server Objects Database configuration SQL Server Database

MSDTC agent 142 MSSearch agent 133 SQL Server 2000 agent 130 SQL Server 2005 agent 135 SQL Server Agent service agent 138 SQL Server Analysis Service agent 140 S Security

Verify that you have the database permissions required to install ALM Platform on the Microsoft SQL database server (not applicable for Windows Authentication). For a list

Under Server Configuration set Configuration set both SQL Server Agent, Analysis Services (if installed) and SQL Server Database Engine to Manual (unless you want it to run all

If you will be accessing the Tabs3 database from a Microsoft SQL Server using the Microsoft SQL Server Linked Server feature, there are additional configuration steps you will need