cc/td/doc/product/iaabu/localdir/ld31rns
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Server Farms

Configuring Server Farms

This chapter describes how to configure server farms using the LocalDirector User Interface. This chapter includes the following sections:

The LocalDirector User Interface groups server farms according to the type of service they provide. Web servers are grouped under the Web service group; servers that perform other services, such as File Transfer Protocol (FTP), are grouped under the Any service group. The Services area displays the two service groups (see Figure 5-1).


Figure 5-1: LocalDirector Services Window


The LocalDirector User Interface allows you to perform the following server farm configuration operations:

Before you start, open a new or existing configuration as described in the chapter "LocalDirector User Interface Advanced Configurations" earlier in this guide. You need not load nor attach the configuration. Once you have a connection established with a LocalDirector entry, you can work with the LocalDirector server farms as necessary. The following sections describe procedures for the server farm configuration and management operations you can perform.

Adding Virtual Servers

After establishing contact with a LocalDirector, you can configure virtual servers. Follow this procedure to add and configure virtual servers:

Step 1 Click the Services expander icon to display the list of services.

Step 2 Click the service that you want to configure for the virtual server. Available service groups are Web and Any.

Step 3 Select Add Virtual from the toolbar. The Create Virtual Server window displays. Figure 5-2 shows a Create Virtual Server window for a Web service.


Figure 5-2: Create Virtual Server Window


The service type you originally selected is displayed in the Virtual Server Type field. Follow this procedure to create a virtual server:

Step 4 Click OK.

The new virtual server appears in the Tree view and also in the Server Details area. This virtual server is created with the state Out of service Normal and default values for other virtual server properties. You can put the virtual server in service by right-clicking on the virtual server and selecting In service. In the Tree view, below the new virtual server, is a folder for any probes you might want to provide to test the health of the real servers under the virtual server.

Adding Real Servers to Virtual Servers

Follow this procedure to add a new real server to a virtual server. When a real server is added to a virtual server, it is automatically bound to that virtual server.

Step 1 Click the virtual server to which you are adding the real server.

Step 2 Select Add Real from the toolbar. The Create Real Server window displays (see Figure 5-3).


Figure 5-3: Create Real Server Window


Follow this procedure to create a virtual server:

Step 3 Click OK.

The new real server appears in the Services status window. It is associated with the selected virtual server. This real server is created with the state Out of service Normal and default values for other real server properties. You can put the real server in service by right-clicking on the virtual server and selecting In service.

Binding a Real Server to Multiple Virtual Servers

The LocalDirector User Interface allows you to bind one real server to multiple virtual servers. This ability can be useful if you have many virtual servers that you want to bind to the same real server. For example, you may want to do this so you can easily use one real server to support a pair of secure or nonsecure virtual servers. Although a real server with multiple bindings appears in the Tree view as a separate entity under each virtual server it is bound to, it is really just one real server with multiple bindings. Any properties you choose to change on a real server under one virtual server are reflected in all the bindings of the real server. When you bind a real server to more than one virtual server, the corresponding real server icon in the Tree view appears with three black lines overlaid, as shown in Figure 5-4.


Figure 5-4: Multibound Real Servers


To see which virtual servers a real server is bound to, select the real server and click the Virtuals tab of the Server Details area (see Figure 5-5).


Figure 5-5: Viewing the Virtual Servers of a Multibound Real Server


You can bind a real server to multiple virtual servers through one of the following procedures:


Note If you copy and paste multiple real servers, the LocalDirector User Interface pastes them as multibound real servers.

Using the Paste As Bind Option

Follow this procedure to bind a real server to multiple virtual servers with the Edit menu Paste As Bind option:

Step 1 In the Tree view, select and copy the desired real server with the Edit menu Copy option.

Step 2 In the Tree view, select the destination virtual server.

Step 3 At the menu bar, select the Edit menu Paste As Bind option (see Figure 5-6). The real server is then automatically bound to the destination virtual server (in addition to the source virtual server).


Figure 5-6: Paste As Bind Option


Left-Dragging the Real Server

Follow this procedure to bind a real server to multiple virtual servers by left-dragging the real server:

Step 1 At a virtual server, select a real server.

Step 2 Hold down the Shift key.

Step 3 Left-drag the real server to another virtual server. The real server is then automatically bound to the destination virtual server (in addition to the source virtual server).

Right-Dragging the Real Server (Windows Only)

Follow this procedure to bind a real server to multiple virtual servers by right-dragging the real server:

Step 1 In Tree view, select a real server.

Step 2 Right-drag the real server to another virtual server.

Step 3 Release the right button.

Step 4 At the resulting popup menu, choose whether this operation is a move, bind, or copy operation.

Select Create Binding Here to create another binding for the real server (see Figure 5-7).


Figure 5-7: Create Binding Here Option


Grouping Virtual Servers into Buddy Groups

Follow this procedure to optionally associate virtual servers with each other using the buddy functionality:

Step 1 At the LocalDirector User Interface main window, select the Edit menu Buddy Groups. The Edit Buddy Groups window displays (see Figure 5-8). The Buddy Groups area lists the currently existing buddy groups; the Virtual Servers area lists the available virtual servers that are not currently associated with a buddy group.


Figure 5-8: Editing the Buddy Groups Window


Step 2 Click the Add Group button.

Step 3 At the resulting New Group dialog, type a name for the new buddy group and click OK.

Step 4 With the new buddy group name selected, choose a virtual server to add to that buddy group (see Figure 5-9).


Figure 5-9: Adding Virtual Servers to a Buddy Group


Step 5 Click the "<<" button to add the virtual server to the buddy group.

Step 6 Repeat the preceding step as necessary, then click Done to finish.


Note Deleting a buddy group returns the virtual servers from that group into the list of available virtual servers.

Changing Virtual Server and Real Server Properties

You can change many virtual server properties. The properties include the following:


Note When the Sticky Time value is 0, the SSL capability is disabled. When the Sticky Time value is 1 or greater, you can enable sticky SSL by clicking the SSL box on the virtual server properties dialog.

Note After a virtual server is created, you cannot change its IP address, port number, protocol, and bind ID. The Slow Start Mode can only be changed for Predictor Algorithm values of Least Connections and Weighted.

The following are properties for real servers:


Note After a real server is created, you cannot change its IP address (real server name), port number, and bind ID.

The properties provided by the LocalDirector User Interface for virtual and real servers are created with their default values, as described in the "Command Reference" chapter of the Cisco LocalDirector Installation and Configuration Guide. Follow this procedure to edit these properties:

Step 1 Select the virtual server or real server whose properties you want to change.

Step 2 Display the Properties window with the Edit menu Properties option or right-click Properties on the virtual server or real server. The associated property window displays. Figure 5-10 and Figure 5-11 illustrate these two windows.


Figure 5-10: Edit Virtual Server Properties



Figure 5-11:
Edit Real Server Properties


Step 3 Make the edits you want using the appropriate tabs and click OK.

For example, in Figure 5-10, a virtual server is created with a Predictor Algorithm using Least Connections. To change this to Round Robin, select the Round Robin item from the Predictor Algorithm drop-down menu, then click OK.

The Server Details area reflects the new changes.

Copying Virtual Server and Real Server Properties

The Server Details area to the right of the Tree view (see Figure 1-2) shows a dual-tabbed view of the virtual servers and real servers associated with the object currently selected in the Tree view. The LocalDirector User Interface allows you to easily copy and paste properties between virtual servers and real servers in the Server Details area. As stated, you cannot change the IP address, port number, or bind ID. However, any other property is editable. Follow this procedure to copy virtual server and real server properties:

Step 1 In the Server Details area, select the cells of the properties you want to copy. In this example, the Traffic Mode and SlowStart properties of virtual server v1 are selected. Hold down the Ctrl key (^) and left-click to select noncontiguous properties (left-click and drag to select contiguous properties). See Figure 5-12.


Figure 5-12: Copying Virtual or Real Server Properties


Step 2 Right-click anywhere in the server row and select Copy at the popup menu.

Step 3 At another server where you want to paste the new properties, select the cells that correspond to those of which you copied the properties. Use ^left-click to select noncontiguous properties (left-click and drag to select contiguous properties).

Step 4 Right-click anywhere in the server row and select Paste on the popup menu. The properties in the Server Details area are updated (see Figure 5-13).


Figure 5-13: Pasting Virtual Server or Real Server Properties


Moving Virtual Servers and Real Servers

The LocalDirector User Interface allows you to move virtual servers and real servers. You can move virtual servers between the Web and Any service groups, and you can move real servers between virtual servers. To move one or more virtual or real servers, you can either:

The following additional guidelines apply to all real servers when moving between virtual servers:

Moving Multibound Real Servers

If you cut one of the bindings of a multibound real server, a dialog displays asking you to select one of three options:

Changing Virtual Server and Real Server States

You can change the state of virtual servers and real servers by either right-clicking on the virtual server or real server in the Tree view or by selecting the server for which the state is to be changed. Choose the Edit menu Server State option from the LocalDirector User Interface main window toolbar.

Choose one of the options:

An out-of-service real server or virtual server appears in the Tree view with a red slash across it.


Note If a real server is taken out of service, automatic probes are no longer run against it until it is returned to service. A probe can only be run manually against an out-of-service real server.

Deleting Multibound Real Servers

Deleting objects in the LocalDirector User Interface is a straightforward operation except in the case of multibound real servers. When you delete one or more of the bindings of a multibound real server, a confirmation dialog displays asking you to confirm the request. When you click Yes, another dialog displays asking you to select one of three options:

Unbinding Real Servers

A real server is always created in association with a virtual server and so is initially bound to that virtual server. You can unbind a real server from its associated virtual server. To unbind a real server, select the real server, then select the Edit menu Cut option. This action places the real server in the cut buffer, allowing you to paste it elsewhere. The LocalDirector User Interface places unbound real servers in the Unbound Reals folder. You can also left-click and drag the real server into the Unbound Reals folder.

An unbound real server is no longer associated with any virtual server and cannot have probes run against it. LocalDirector cannot use this real server to service any requests; it is an inactive server. To bind an unbound real server, select the virtual server to bind to the real server, then select the Edit menu Paste option. This action pastes the contents of the cut buffer into the virtual server. If the desired real server is not in the cut buffer, select the Edit menu Cut option for that real server first, then the Edit menu Paste option.


Note If you drag one of the bindings of a multibound real server to the Unbound Reals folder, the LocalDirector User Interface informs you that this action will unbind the real server from all of its virtual servers, and requests confirmation. If you use the Edit menu Cut option to cut one or more instances of a multibound real server, the LocalDirector User Interface asks if you want to completely unbind the real server, or just the selected instance(s).

Note Only the cutting action unbinds a real server. The act of deleting a real server deletes the real server and does not place it in the Unbound Reals folder.

Creating Unbound Real Servers

Follow this procedure to create an unbound real server:

Step 1 Right-click the Unbound Reals folder.

Step 2 Select Add Real. A window similar to Figure 5-14 displays.


Figure 5-14: Creating Unbound Real Servers


Step 3 Create the unbound real server by providing the requested information:


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Sep 22 20:39:40 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.