Applies To:

Show Versions Show Versions

Manual Chapter: Load Balancing Passive Mode FTP Traffic
Manual Chapter
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

Overview: FTP passive mode load balancing

You can set up the BIG-IP system to load balance passive mode FTP traffic. You do this by using the default FTP profile. An FTP profile determines the way that the BIG-IP system processes FTP traffic.

Task Summary for load balancing passive mode FTP traffic

You can perform these tasks to configure FTP passive mode load balancing.

Task list

Creating a custom FTP monitor

An FTP monitor requires a user name and password, and the full path to the file to be downloaded.
Create a custom FTP monitor to verify passive mode File Transfer Protocol (FTP) traffic. The monitor attempts to download a specified file to the /var/tmp directory. If the file is retrieved, the check is successful.
Note: The BIG-IP system does not save the downloaded file.
  1. On the Main tab, click Local Traffic > Monitors. The Monitor List screen opens.
  2. Click Create. The New Monitor screen opens.
  3. Type a name for the monitor in the Name field. Names must begin with a letter, and can contain only letters, numbers, and the underscore (_) character.
  4. From the Type list, select FTP. The screen refreshes, and displays the configuration options for the FTP monitor type.
  5. From the Import Settings list, select an existing monitor. The new monitor inherits initial configuration values from the existing monitor.
  6. Type a number in the Interval field that indicates, in seconds, how frequently the system issues the monitor check. The default is 10 seconds.
  7. Type a number in the Timeout field that indicates, in seconds, how much time the target has to respond to the monitor check. The default is 31 seconds. If the target responds within the allotted time period, it is considered up. If the target does not respond within the time period, it is considered down.
  8. Type a name in the User Name field.
  9. Type a password in the Password field.
  10. Type the full path and file name of the file that the system attempts to download in the Path/Filename field. The health check is successful if the system can download the file.
  11. For the Mode setting, select one of the following data transfer process (DTP) modes.
    Option Description
    Passive The monitor sends a data transfer request to the FTP server. When the FTP server receives the request, the FTP server initiates and establishes the data connection.
    Port The monitor initiates and establishes the data connection with the FTP server.
  12. In the Configuration area of the screen, select Advanced. This selection allows you to modify additional default settings.
  13. From the Up Interval list, do one of the following:
    • Accept the default, Disabled, if you do not want to use the up interval.
    • Select Enabled, and specify how often you want the system to check the health of a resource that is up.
  14. Type a number in the Time Until Up field that indicates the number of seconds to wait after a resource first responds correctly to the monitor before setting the resource to up. The default value is 0 (zero), which disables this option.
  15. Specify whether the system automatically enables the monitored resource, when the monitor check is successful, for Manual Resume. This setting applies only when the monitored resource has failed to respond to a monitor check.
    Option Description
    Yes The system does nothing when the monitor check succeeds, and you must manually enable the monitored resource.
    No The system automatically re-enables the monitored resource after the next successful monitor check.
  16. For the Alias Address setting, do one of the following:
    • Accept the *All Addresses default option.
    • Type an alias IP address for the monitor to check, on behalf of the pools or pool members with which the monitor is associated.
    If the health check for the alias address is successful, the system marks all associated objects up. If the health check for the alias address is not successful, then the system marks all associated objects down.
  17. For the Alias Service Port setting, do one of the following:
    • Accept the *All Ports default option.
    • Select an alias port or service for the monitor to check, on behalf of the pools or pool members with which the monitor is associated.
    If the health check for the alias port or service is successful, the system marks all associated objects up. If the health check for the alias port or service is not successful, then the system marks all associated objects down.
  18. For the Debug setting, specify whether you want the system to collect and publish additional information and error messages for this monitor. You can use the log information to help diagnose and troubleshoot unsuccessful health checks. To view the log entries, see the System > Logs screens.
    Option Description
    Yes The system redirects error messages and other information to a log file created specifically for this monitor.
    No The system does not collect additional information or error messages related to this monitor. This is the default setting.
  19. Click Finished.
You can associate the new custom monitor with the pool that contains the FTP resources.

Creating a pool to manage FTP traffic

To load balance passive mode FTP traffic, you create a load balancing pool. When you create the pool, you assign the custom FTP monitor that you created in the previous task.
  1. On the Main tab, click Local Traffic > Pools. The Pool List screen opens.
  2. Click Create. The New Pool screen opens.
  3. In the Name field, type a unique name for the pool.
  4. For the Health Monitors setting, in the Available list, select a monitor type, and click << to move the monitor to the Active list.
    Tip: Hold the Shift or Ctrl key to select more than one monitor at a time.
  5. From the Priority Group Activation list, select Disabled.
  6. Add each resource that you want to include in the pool using the New Members setting:
    1. Type an IP address in the Address field, or select a node address from the Node List.
    2. Type 21 in the Service Port field, or select FTP from the list.
    3. (Optional) Type a priority number in the Priority field.
    4. Click Add.
  7. Click Finished.
The pool to manage FTP traffic appears in the Pools list.

Creating a virtual server for FTP traffic

You can define a virtual server that references the FTP profile and the FTP pool.
  1. On the Main tab, click Local Traffic > Virtual Servers. The Virtual Server List screen displays a list of existing virtual servers.
  2. Click the Create button. The New Virtual Server screen opens.
  3. In the Name field, type a unique name for the virtual server.
  4. For the Destination setting, in the Address field, type the IP address you want to use for the virtual server. The IP address you type must be available and not in the loopback network.
  5. In the Service Port field, type 21 or select FTP from the list.
  6. From the FTP Profile list, do one of the following:
    • Select ftp.
    • Select a custom profile.
  7. In the Resources area of the screen, from the Default Pool list, select a pool name.
  8. Click Finished.
The custom FTP virtual server appears in the Virtual Servers list.
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

Was this resource helpful in solving your issue?




NOTE: Please do not provide personal information.



Incorrect answer. Please try again: Please enter the words to the right: Please enter the numbers you hear:

Additional Comments (optional)