Skip to main content
leoiaco
New Member
August 24, 2015
Question

Garceful Start\Stop Load Balance CLI command

  • August 24, 2015
  • 3 replies
  • 7558 views

Hi all,

anyone knows CLI command to graceful Start\Stop Load Balance Server like shown in attached image?

any help would be appreciated.

Regards. Leo

    3 replies

    pcraponi
    New Member
    August 24, 2015

    There's no "execute" command to do this... When you click on this action, FortiOS edit your load balance and set the 'status' to 'active' or 'disable':

     

    config firewall vip edit "vip_LoadBalance-Test" config realservers edit 2 set status disable end end

     

    Regards,

    Paulo Raponi

    vjoshi_FTNT
    Staff
    Staff
    August 24, 2015

    Hello,

     

    I don't think there is any command for this. Neither the 'execute' nor the 'diag test application'.

     

    May I know the firmware version currently running on the device?

    leoiaco
    leoiacoAuthor
    New Member
    August 25, 2015

    Hi,

    like you suggest in your previously answer, could you write Garceful Start\Stop Load Balance CLI command for this kind of configuration? (my config shown below):

     

    edit "NLB-TEST_HTTPS" set uuid 01vvv30c-311d-51e5-f8ad-53270fa88375 set comment "Test NLB (443)" set type server-load-balance set extip 1.2.1.1 set extintf "port1" set server-type https set http-ip-header enable set monitor "LB_HealthCheck_Port_443_Monitor" "LB_HealthCheck_Ping" set persistence http-cookie set extport 443     config realservers        edit 1          set ip 192.168.0.70          set port 443        next        edit 2              set ip 192.168.0.71              set port 443            next         end set ssl-mode full set ssl-certificate "WILDCARD" next

     

    Thanks in advance.

    Regards

    leoiaco
    leoiacoAuthor
    New Member
    August 25, 2015

    Hi,

    thanks for your answer.

    FortiOS version 5.2.2

     

    Regards

    leoiaco
    leoiacoAuthor
    New Member
    August 27, 2015

    Hi,

    anyone can help me?

    Thanks.

    L.