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

how to remove ha configuration from the CLI

Hi Team,

 

I just wanted to know how to remove ha configuration from the CLI however I tried to remove configuration from the using the below command but unfortunately couldn't remove it.

config system ha
unset set group-id 10
unset set group-name HA_cluster
unset set mode a-p
unset set password admin@54321
unset set priority 200
unset set hbdev port3 0
unset set session-pickup enable
unset set override enable
unset set override-wait-time 5
end

 

While removing the ha configuration I am getting an error code - command parse error before 'set'.

I thought that I should raise this issue with a Fortinet community member. Please help me  how to remove ha configuration from the CLI.

 

Regards,

Umesh

3 REPLIES 3
jintrah_FTNT
Staff
Staff

Hi Umesh,

 

You can set the mode to standalone first from a-p.

 

Best regards,

Jin

vsahu
Staff
Staff

You can use the below command:

 

config system ha
set mode standalone
unset group-name
unset password
unset hbdev
unset override
unset monitor
unset group-id
unset priority
unset session-pickup
end

When you change HA mode from "set mode a-p" to "set mode standalone" you would lose only some config inside of "config system ha", like hddev interface and monitoring interface, etc, but nothing else. 

so to remove it completely use the above mentioned command

Regards,

Vsahu

Regards,
Vishal
mpeddalla
Staff
Staff

Hello @Umesh  ,

 

Thank you for contacting the Fortinet Forum portal.

You can check the below article steps

 https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-break-a-HA-cluster-and-use-one-of-t...

 

Best regards,

Manasa.

 

If you feel the above steps helped resolve the issue, mark the reply as solved so that other customers can get it easily while searching for similar scenarios.

Manasa
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