C H A P T E R 3 Custom/Manual Configuration
21

Creating Hosts

Next, the hostname www.somedomain.xyz-ex.com is created:
7190/config/dns/zones/somedomainex.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 Intel Load Balancer, with the command, config sys
multisite <enable|disable>.) It is assumed that the agent
names are the same as their IP addresses.
7190/config/dns/zones/somedomainex.xyz-
ex.com# hostnames www siteservices
7190/config/dns/zones/somedomainex.xyz-
ex.com/hostnames/www/siteservices# map
lb1:10.54.67.5:80
Site Service Mapped
7190/config/dns/zones/somedomainex.xyz-
ex.com/hostnames/www/vips# map
lb2:100.68.5:80
Site Service Mapped
Commit the
Configuration
The commit command is used at this to point put the configuration
into effect.
7190/config/dns/zones/somedomain.xyz-ex.com/
hostnames/www/vips# commit all
Warning: Your active configuration will be
overwritten.
Are you sure you want to commit the
configuration (yes|no)? yes
Configuration has been committed