Skip to main content

Patch Configuration

[edit on GitHub]

Patching new configuration in all nodes can be done from bastion server. This page explains all the argument and flags available using config patch command.

The available flags are listed below:

FlagDuplicateShorthandUsage
- -automate- -a2-aPatch configuration to all the Automate nodes.
- -chef_server- -cs-cPatch configuration to all the Chef Server nodes.
- -frontend- -fe-fPatch configuration to all the Frontend nodes. (Includes Automate and Chef Server)
- -postgresql- -pg-pPatch configuration to the PostgresQL cluser.
- -opensearch- -os-oPatch configuration to the OpenSearch cluser.

You can use the above patches using the following format:

chef-automate config patch --< FLAG > < PATH_TO_TOML_FILE >

For Example: chef-automate config patch --frontend /home/frontend.toml

Note

  • Frontend patch will be applied to all nodes where are Postgresql and OpenSearch changes will be applied to only one node of the cluser.
  • After patching some services will go restart. So the health status will take upto 2 minutes to show healthy.

Warning

  • For certificate rotation, don’t use config patch. Instead cert-rotate command can be used. To know more about certificate rotation click here
  • While patching the same from the provision host, structures such as TLS from OpenSearch configuration toml file and SSL from PostgreQL configuration toml file will be ignored.

Was this page helpful?

×









Search Results