Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleExample - Restarting Pico Instances

The following command will close down the pico instance named ec1 and then the Platform. When both processes have stopped, the platform will start the Platform followed by ec1.

MZ>>mzsh <username>/<password> restart platform ec1

The command will fail if the processes are specified in the reverse order , since it would attempt to start ec1 before the Platform.

...

For further details, see the descriptions for the shutdown and startup commands in 2.1.11 shutdown and 2.1.12 startup.

Options

The command accepts the following options:

OptionDescription
[-q]Generates less or no information messages.
[-f]Forced restart of the pico instance(s). If the pico instance is an EC
/ECSA
, it will be shut down without waiting for workflows to stop first. This option has no impact on the Platform.

Return Codes

Listed below are the different return codes for the restart command:

CodeDescription

0

Will be returned if no arguments are given to the command, or if there are no matching server processes to restart.

1->

The sum of the return codes from shutdown and startup.