This section covers the options available to configure the FTP/ FTPS health monitor.
The FTP/FTPS health monitor checks the health of the FTP servers configured as pool members. A file will be downloaded from the server. On successful download, the server is marked as UP
. If the file transfer fails, the server is marked DOWN
.
Configuring the FTP/FTPS Health Monitor
To configure the FTP/ FTPS health monitor define the following fields:
Field |
Description |
---|---|
Filename |
Enter the filename that has to be downloaded, including the full path. For example, ftp/testfile.txt. |
Mode (Optional) |
Select the data transfer modes (active/ passive). By default, passive mode is selected.
|
Username |
Enter the username if the FTP server requires authentication. |
Password |
Enter the password for the user account if the FTP server requires authentication. |
SSL Attributes |
Enter SSL Attributes in case of FTPS health monitor. |
Currently FTP/FTPS health monitor can be configured only using the CLI.
A sample configuration of the FTP health monitor is as shown below:
[admin:avi-controller]: > configure healthmonitor ftp-hm [admin:avi-controller]: healthmonitor> type health_monitor_ftp [admin:avi-controller]: healthmonitor> authentication username aviuser [admin:avi-controller]: healthmonitor:authentication> password xyz123 [admin:avi-controller]: healthmonitor:authentication> save [admin:avi-controller]: healthmonitor> ftp_monitor filename ftp/ftptest [admin:avi-controller]: healthmonitor:ftp_monitor> save [admin:avi-controller]: healthmonitor> save
Ensure that an SSL Profile exists before configuring the FTPS health monitor.
An FTPS health monitor can be configured as shown below:
[admin:avi-controller]: > configure healthmonitor ftps-hm [admin:avi-controller]: healthmonitor> type health_monitor_ftps [admin:avi-controller]: healthmonitor> authentication username aviuser [admin:avi-controller]: healthmonitor:authentication> password xyz123 [admin:avi-controller]: healthmonitor:authentication> save [admin:avi-controller]: healthmonitor> ftps_monitor filename ftp/ftptest [admin:avi-controller]: healthmonitor:ftps_monitor> ssl_attributes ssl_profile_ref System-Standard [admin:avi-controller]: healthmonitor:ftps_monitor:ssl_attributes> save [admin:avi-controller]: healthmonitor:ftps_monitor> save [admin:avi-controller]: healthmonitor> save
The following are the SSL configurations that can be used for FTPS health monitor:
SSL Profile: Select an existing SSL Profile or create a new one, as required. This defines the ciphers and SSL versions to be used for the health monitor traffic to the backend servers.
PKI Profile: Select an existing PKI profile or create a new one, as required. This will be used as to validate the SSL certificate presented by the server.
SSL Key and Certificate: Select an existing SSL Key and Certificate or create a new one, as required.