failover

Show the current failover state of the application and initiate a failover if required

refinery failover [option]

Options: --status --failover

--status

View the current 'primary' routing status of all Gateway processes.

Supports optionally specifying one of the additional Failover status filter options.

--failover --pipeline pipline-name --to-instance instance-number [--no-validate-downstream]

Initiate a failover (if available) of a set of processes.

pipeline is the name of the pipeline to failover

to-instance is the instance number of the pipeline to failover to

no-validate-downstream disable checks of processes in the target pipeline instance before failing over

Failover status filter options

--gateway gateway-name

Filters the failover status to a specific gateway

--pipeline pipeline

Filter output to include only processes in the specified pipeline.