Configuring A Red Hat Linux Server; Configuring A Sun Solaris Server - Alcatel-Lucent OmniSwitch 6800 Series Network Configuration Manual

Hide thumbs Also See for OmniSwitch 6800 Series:
Table of Contents

Advertisement

Configuring Server Load Balancing
Configuring a Loopback Interface on Unix- and Linux-Based
Servers
This section describes how to configure a loopback interface on Red Hat Linux servers (see
a Red Hat Linux Server" on page
page
34-21) and IBM AIX servers (see
Note. For other versions of the Unix and Linux operating systems, please refer to your user documenta-
tion.

Configuring a Red Hat Linux Server

Follow the steps below to configure the loopback interface on a Red Hat Linux server.
1
At the command prompt, enter ifconfig lo:1, the Virtual IP (VIP) address of the Server Load Balanc-
ing (SLB) cluster, netmask, the net mask for the VIP, and up. For example, to configure the loopback
address on a Red Hat Linux server with a VIP of 10.123.11.14 with a net mask of 255.0.0.0 enter:
ifconfig lo:1 10.123.11.14 netmask 255.0.0.0 up
2
If you do not have a file with local host names, create one. In this example we will create a file called
"/etc/localhosts.cw".
3
Add a user-configured name for the loopback interface to the file created in Step 2. In this example we
will use "loopbackVIP".
4
Create a line in the /etc/hosts file with the VIP you configured in Step 1, a space, and the name you
configured in Step 2. For example, if the VIP address is 10.123.11.14 and the name you configured in the
/etc/localhosts.cw file is "loopbackVIP", add the following line to the /etc/hosts file:
10.123.11.14 loopbackVIP

Configuring a Sun Solaris Server

Follow the steps below to configure the loopback interface on a Sun Solaris server:
1
At the command prompt, enter ifconfig lo0:1, the Virtual IP (VIP) address of the Server Load Balanc-
ing (SLB) cluster, netmask, the net mask for the VIP, and up. For example, to configure the loopback
address on a Sun Solaris server with a VIP of 10.123.11.14 with a net mask of 255.0.0.0 enter:
ifconfig lo0:1 10.123.11.14 255.0.0.0 up
2
Create a file called "/etc/hostname.lo0:1" file with the user-configured name for the loopback inter-
face. In this example we will use "loopbackVIP".
3
Create a line in the /etc/hosts file with the VIP you configured in Step 1, a space, and the name you
configured in Step 2. For example, if the VIP address is 10.123.11.14 and the name you configured in the
/etc/hostname.lo0:1 file is "loopbackVIP", add the following line to the /etc/hosts file:
10.123.11.14 loopbackVIP
OmniSwitch 6800/6850/9000 Network Configuration Guide
34-21), Sun Solaris servers (see
"Configuring an IBM AIX Server" on page
March 2008
Configuring the Server Farm
"Configuring a Sun Solaris Server" on
34-22).
"Configuring
page 34-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6850 seriesOmniswitch 9000 series

Table of Contents