Operating System - OpenVMS
1754355 Members
4732 Online
108813 Solutions
New Discussion

How to Eanble Load Balance via DNS Cluster?

 
lunew
Advisor

How to Eanble Load Balance via DNS Cluster?

The situation is following:
OpenVMS V7.3-1,TCPIP 5.3,Two Nodes Cluster,
NodeA:10.11.12.13/255.255.255.0; Name:NodeA; Domain: abc.com
NodeB:10.11.12.14/255.255.255.0; Name:NodeB; Domain: abc.com
Cluster:10.11.12.20/255.255.255.0; Alias: ClusterAB;
There are about 500 telnet clients will connect to either of the nodes via telnet base Windows.

I will configure both alpha nodes as following, someone give me ideas to ensure the deploying successfully will be appreciated.

On NodeA, TCPIP$BIND.CONF
options {
directory "tcpip$bind_common";
};
zone "abc.com" in {
type master;
file "abc_com.DB";
allow-update { any; };
};
zone "12.11.10.IN-ADDR.ARPA" in {
type master;
file "12_11_10_IN-ADDR_ARPA.DB";
};

zone "localhost" IN {
type master;
file "localhost.db";
allow-transfer { any; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127_0_0.db";
allow-transfer { any; };
};
zone "." IN {
type hint;
file "root.hint";
};
On NodeA, abc_com.DB
@ IN SOA NodeA.abc.com.POSTMASTER.NodeaA.abc.com. (
3 ; Serial number
3600 ; 1 hour Refresh
300 ; 5 minutes Retry
172800 ; 2 days Expire
43200 ) ; 12 hours Minimum
IN NS NodeA.abc.com.
A2000.abc.com. IN A 10.11.12.40
NodeA.abc.com. IN A 10.11.12.13
NodeB.abc.com. IN A 10.11.12.14
ClusterAB.abc.com. IN A 10.11.12.13
ClusterAB.abc.com. IN A 10.11.12.14

On NodeA : 12_11_10_IN-ADDR_ARPA.DB
@ IN SOA NodeA.abc.com. POSTMASTER.NodeA.abc.com. (
3 ; Serial number
3600 ; 1 hour Refresh
300 ; 5 minutes Retry
172800 ; 2 days Expire
43200 ) ; 12 hours Minimum
$ORIGIN 12.11.10.IN-ADDR.ARPA.
IN NS NodeA.abc.com.
40 IN PTR A2000.abc.com.
13 IN PTR NodeA.abc.com.
14 IN PTR NodeB.abc.com.
13 IN PTR NodeA.abc.com.
14 IN PTR NodeB.abc.com.

On NodeB ,the file “TCPIP$BIND.CONF” will be same as NodeA, “zone type” are all “master”.
On NodeB,the *.DB files will also be same except the “IN NS NodeB.abc.com.”

The Load Broker configure file(TCPIP$LBROKER.CONF)will be the following:
cluster "ClustreAB.abc.com."
{
dns-ttl 45;
dns-refresh 30;
masters {
10.11.12.13;
};
polling-interval 30;
max-members 1;
members {
10.11.12.13;
10.11.12.14;
};
failover 10.11.12.14;
};
The clients will set the DNS with “11.12.13.20” in windows TPCIP configuration.
They connect to nodes via “ C:\>Telntet ClusterAB.abc.com”.
All above are my plans,please check it. Can the load balance be realized ?
1 REPLY 1
Alex Tam_1
New Member

Re: How to Eanble Load Balance via DNS Cluster?

Hello,

In fact I have no experience in using TCPIP$LBROKER.CONF. But I am interested to know whether or not you have defined alias IP address 10.11.12.20 in NodeA and NodeB, in that the alias IP address will only be active in either NodeA or NodeB (provided that they are VMS cluster members).