What is the difference between config lock and commit lock?
7741
Created On 05/29/23 22:51 PM - Last Modified 08/15/23 18:03 PM
Question
What is the difference between config lock and commit lock?
Environment
- Palo Alto Firewall or Panorama
- Supported PANOS
Answer
Config and commit locks are used to prevent collisions that can occur when two administrators are making changes at the same time.
Config lock:
- Prevents other admins from changing the configuration.
- Blocks other administrators from making changes to the candidate configuration.
- It's used when the admin takes a backup of the configuration. So that no one can change the candidate configuration while taking a backup. A custom role administrator who cannot commit changes can set a Config lock and save the changes to the candidate configuration.
- This lock will not be get removed after performing a commit. Only a superuser or the administrator who set the lock can remove it.
Commit lock:
- Prevents other admins from committing the configuration.
- Blocks other administrators from making changes to the running configuration.
- It's used when you want only one admin to perform changes to the firewall/panorama.
- This lock automatically gets removed after performing a commit.
Additional Information
- Candidate configuration - Configuration which needs to the committed (Changes made to the firewall before performing commit)
- Running configuration - Actual configuration controlling the operation of the firewall.