beautypg.com

Creating hosts – HP Multi-Site Traffic Director sa9200 User Manual

Page 27

background image

C H A P T E R 3

Custom/Manual Configuration

21

HP SA9200/config/dns/zones/somedomain.xyz-

ex.com# info

Zone: somedomain.xyz-ex.com

Authority Records TTL: 7200

Authority Name: ns1.xyz-ex.com

Authority IP: 10.54.67.2

Authority Name: ns2.xyz-ex.com

Authority IP: 10.100.68.2

Creating
Hosts

Next, the hostname www.somedomain.xyz-ex.com is created:

HP SA9200/config/dns/zones/somedomain.xyz-

ex.com# hostnames create www

Create Hostname Successful

The next step is to map the services www.somedomain.xyz-ex.com to
the load balancer. The following assumes the IP addresses of the load
balancer to be 10.54.67.4 (service 10.54.67.5:80) and 10.100.68.4
(service 10.100.68.5:80), and that the agents are enabled and running
on the default port 1999. (Agents are enabled or disabled using the
CLI of an HP Traffic Director, with the command,

config sys

multisite

.) It is assumed that the agent

names are the same as their IP addresses.

HP SA9200/config/dns/zones/somedomain.xyz-

ex.com# hostnames www siteservices

HP SA9200/config/dns/zones/somedomain.xyz-

ex.com/hostnames/www/siteservices# map

lb1:10.54.67.5:80

Site Service Mapped

HP SA9200/config/dns/zones/somedomain.xyz-

ex.com/hostnames/www/vips# map

lb2:10.100.68.5:80

Site Service Mapped