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
Hi Umesh,
You can set the mode to standalone first from a-p.
Best regards,
Jin
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
To remove the high availability (HA) configuration from the command line interface (CLI), you need to use the correct commands. Instead of using "unset set," just use "unset" before each configuration you want to remove. So, your commands should look like this:
config system ha
unset group-id
unset group-name
unset mode
unset password
unset priority
unset hbdev port3
unset session-pickup
unset override
unset override-wait-time
end
This should help you remove the HA configuration without encountering the error you mentioned. If you still face issues, you can ask for assistance from the Fortinet community.
Hello @Umesh ,
Thank you for contacting the Fortinet Forum portal.
You can check the below article steps
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.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.