FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
fortega
Staff
Staff
Article Id 387041
Description This article describes how to configure an automation stitch to change the status of a Real Server to Maintenance.
Scope FortiWeb 7.6.0 and above.
Solution
  • Navigate to Security Fabric -> Automation -> Action -> Create New -> CLI Script.

Configure a 'Name' and the CLI script to put a server in Maintenance, then Save.

 

Example of CLI script:

 

config server-policy server-pool
    edit Test  <----- Server Pool.
        config pserver-list
            edit 1  <----- ID of Real Server.
                set status maintain  <----- Action to change to Maintenance.
    end
end

 

script_1.PNG 

  • Navigate to Security Fabric -> Automation -> Trigger -> Create New -> Schedule

Configure a 'Name' and Schedule, then Save.

 

shcdule.PNG

 

  • Navigate to Security Fabric -> Automation -> Stitch -> Create New.

Configure a Name and select the Trigger and Action configured above, then Save.

 

stitch.PNG

 

Automation will run in the configured time and the site will put it in Maintenance. Configure a new Automation Stitch to enable the site again.

 

This is a new feature introduced in FortiWeb 7.6.0. See Security fabric automation - FortiWeb administration guide.