Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
leoiaco
New Contributor

Garceful Start\Stop Load Balance CLI command

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

6 REPLIES 6
pcraponi
Contributor II

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

Regards, Paulo Raponi

Regards, Paulo Raponi
vjoshi_FTNT
Staff
Staff

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
New Contributor

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

Hi,

thanks for your answer.

FortiOS version 5.2.2

 

Regards

leoiaco

Hi,

anyone can help me?

Thanks.

L.

leoiaco

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

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors