Configuration changes commit process
The LMI uses a two-stage commit process when you make changes to the appliance.
- Stage 1
- Changes are made by using the LMI and saved to a staging area.
- Stage 2
- The user explicitly deploys the changes into production.
Multiple changes can exist in a pending state at the same time. They are committed or rolled back together when a user deploys or rolls back these changes.
Any changes that affect running reverse proxy instances require a restart of the effected instances before the changes can take effect.
- Deploy all updates.
- Restart the appliance or the web server.
- Deploy all remaining updates.
If there are conflicts between the pending changes and the production files, then all pending changes are automatically rolled back and the production files remain unchanged.
Web service
- Deploy the pending configuration changes
- URL
https://{appliance_hostname}/pending_changes/deploy
- Method
GET
- Parameters
- N/A
- Response
HTTP response code and JSON error response where applicable.
- Example
Request:
GET https://{appliance_hostname}/pending_changes/deploy
Response:
200 ok
- Roll back the pending configuration changes
- URL
https://{appliance_hostname}/pending_changes/forget
- Method
GET
- Parameters
- N/A
- Response
HTTP response code and JSON error response where applicable.
- Example
Request:
GET https://{appliance_hostname}/pending_changes/forget
Response:
200 ok
- Retrieve the number of outstanding changes
- URL
https://{appliance_hostname}/pending_changes/count
- Method
GET
- Parameters
- N/A
- Response
HTTP response code and JSON data that represents the number of pending changes.
- Example
Request:
GET https://{appliance_hostname}/pending_changes/count
Response:
{"count": 3}
- Retrieve the list of outstanding changes
- URL
https://{appliance_hostname}/pending_changes
- Method
GET
- Parameters
- N/A
- Response
HTTP response code and JSON data that represents the list of pending changes.
- Example
Request:
GET https://{appliance_hostname}/pending_changes
Response:
200 ok [{ "id": 0, "policy": "SSL Certificates", "user": "admin", "date": "2012-11-05T11:22:20+10:00" }]
Local management interface
When there are pending changes, a warning message is displayed at the top of the main pane. To deploy or roll back the pending changes:
- Click the Click here to review the changes or apply them to the system link within the warning message.
- In the Deploy Pending Changes page:
- To view the details of changes that are made to a particular module, click the link to that module.
- To deploy the changes, click Deploy.
- To abandon the changes, click Roll Back.
- To close the pop-up page without any actions against the changes, click Cancel.