Allied Telesis Routers and Switches Ficha de datos - Página 12

Navegue en línea o descargue pdf Ficha de datos para Enrutador de red Allied Telesis Routers and Switches. Allied Telesis Routers and Switches 15 páginas. Allied telesis router and switch data sheet

Allied Telesis Routers and Switches Ficha de datos
Create New Scripts
This section describes the scripts that the trigger facility runs when the preferred SFTP
server goes down or comes back up again. The scripts enable and disable the second
resource. Load the same scripts onto both load balancer 1 and load balancer 2.
The load balancers send pings every 60 seconds to check the health of each resource.
Therefore, the load balancer can take up to 60 seconds to detect that the server has gone
down or come up again.
!
# Enable resource 2 because resource 1 is Closing.
enable lb resource=sftp2
!
# Disable resource 2 because resource 1 is Up.
disable lb resource=sftp2 immediately
Configure Load Balancer Redundancy on Allied Telesis Routers and Switches
Script for when the preferred server goes down: sftp1down.scp
Script for when the preferred server comes back up: sftp1up.scp
12