About the unattended upgrade
When you upgrade a node in an unattended way, you can now add extra services on that node. To do so, you have to create a new configuration file that includes at least the key componentSet
and as value the list of services that you want to add, for example:
{"componentSet":["SEARCH","MONITORING"]}
If you don't want to use the default parameters for the added service(s), you also have to add the configuration key-value pairs for each service.
For an upgrade to 5.7 or newer, you have to add the Search and Monitoring services on one of the nodes. Adding a service to a node requires you to add an extra parameter (--upgrade-config
or -uc
) to the upgrade command.
For an upgrade to 5.9 or newer on Linux systems, you first have to install PostgreSQL 14.9.
Example Search service configuration:
{
"componentSet" : ["SEARCH"],
"searchHttpPort" : 4421,
"searchTransportPort" : 4422,
"searchMemory" : 1024,
"postgresqlPath" : "/usr/pgsql-14.9"
}