Spotfire® Server and Environment - Installation and Administration

Enabling a graceful shutdown of a single Spotfire Server instance

Upgrading or changing the configuration of Spotfire can cause the server to stop and then need to be restarted to include the change. You can configure the server to shut down gracefully automatically.

Before you begin

Review the configuration options for graceful shutdown: See Graceful shutdown configuration settings.

About this task

For information about configuring a Spotfire cluster for graceful shutdown, see Enabling a graceful shutdown of a Spotfire Server cluster.

Procedure

  1. Open a command-line interface and export the active configuration by using the export-config command. (For details on using the Spotfire command line, see Executing commands on the command line.)
  2. On the command line, enter the following command:
    config set-config-prop --name=lifecycle.changes-monitoring.interval-seconds --value=1
    Setting this value to a value other than 0 or a negative value enables changes to monitoring.
  3. For each option you want to set for graceful shutdown, run the command config set-config-prop, passing in the name and value.
    Note: These settings control draining and shutting down only. The system relies on an external action to start the server again; for example, using systemd/Windows service or Kubernetes.

What to do next

When you have set all of the options, import the configuration file back to the Spotfire database by using the import-config command.