Avere/docs/configure_dns.md

70 строки
3.3 KiB
Markdown
Исходник Обычный вид История

2018-08-30 21:53:16 +03:00
# Avere cluster DNS configuration
2018-08-21 01:34:25 +03:00
This section explains the basics of configuring a DNS system for load balancing your Avere vFXT cluster.
2018-08-21 01:34:25 +03:00
This document *does not include* instructions for setting up and managing a DNS server in the Azure environment.
Instead of using round-robin DNS to load-balance a vFXT cluster in Azure, consider using manual methods to assign IP addresses evenly among clients when they are mounted. Several methods are described in [Mount the Avere cluster](mount_clients.md).
Keep these things in mind when deciding whether or not to use a DNS server:
* If your system is accessed by NFS clients only, using DNS is not required - it is possible to specify all network addresses by using numeric IP addresses.
2018-08-21 01:34:25 +03:00
* If your system supports SMB (CIFS) access, DNS is required, because you must specify a DNS domain for the Active Directory server.
* DNS is required if you want to use Kerberos authentication.
2018-08-30 21:24:49 +03:00
## Load balancing
2018-08-21 01:34:25 +03:00
To distribute the overall load, configure your DNS domain to use round-robin load distribution for client-facing IP addresses.
2018-08-30 21:24:49 +03:00
## Configuration details
2018-08-21 01:34:25 +03:00
When clients access the cluster, RRDNS automatically balances their requests among all available interfaces.
For optimal performance, configure your DNS server to handle client-facing cluster addresses as shown in the following diagram.
A cluster vserver is shown on the left, and IP addresses appear in the center and on the right. Configure each client access point with A records and pointers as illustrated.
2018-08-24 01:51:28 +03:00
2018-08-30 21:24:49 +03:00
![Avere cluster round-robin DNS diagram - separate text description file provided](images/rrdns_diagram.png) [diagram text description](rrdns_alt-text.txt)
2018-08-21 01:34:25 +03:00
Each client-facing IP address must have a unique name for internal use by the cluster. (In this diagram, the client IPs are named vs1-client-IP-* for clarity, but in production you should probably use something more concise, like client*.)
2018-08-21 01:34:25 +03:00
Clients mount the cluster using the vserver name as the server argument.
2018-08-21 01:34:25 +03:00
Modify your DNS servers ``named.conf`` file to set cyclic order for queries to your vserver. This option ensures that all of the available values are cycled through. Add a statement like the following:
2018-08-21 01:34:25 +03:00
```
options {
rrset-order {
class IN A name "vserver1.example.com" order cyclic;
};
};
```
2018-08-21 01:34:25 +03:00
The following nsupdate commands provide an example of configuring DNS correctly:
```
update add vserver1.example.com. 86400 A 10.0.0.10
update add vserver1.example.com. 86400 A 10.0.0.11
update add vserver1.example.com. 86400 A 10.0.0.12
update add vs1-client-IP-10.example.com. 86400 A 10.0.0.10
update add vs1-client-IP-11.example.com. 86400 A 10.0.0.11
update add vs1-client-IP-12.example.com. 86400 A 10.0.0.12
update add 10.0.0.10.in-addr.arpa. 86400 PTR vs1-client-IP-10.example.com
update add 11.0.0.10.in-addr.arpa. 86400 PTR vs1-client-IP-11.example.com
update add 12.0.0.10.in-addr.arpa. 86400 PTR vs1-client-IP-12.example.com
```
## Cluster DNS settings
Specify the DNS server that the vFXT cluster uses in the **Cluster** > **Administrative Network** settings page. Settings on that page include:
2018-08-21 01:34:25 +03:00
* DNS server address
* DNS domain name
* DNS search domains
Read [DNS Settings](<http://library.averesystems.com/ops_guide/4_7/gui_admin_network.html#gui-dns>) in the Cluster Configuration Guide for more details about using this page.