Display the current system state
You can use the nzstate command to display the current system state.
[nz@nzhost ~]$ nzstate
System state is 'Online'.The following table lists
the common system states and how they are invoked and exited.
| States | Description | Invoked | Exited |
|---|---|---|---|
| Online | Select this state to make Netezza Performance Server for Cloud Pak for Data and Netezza Performance Server for Cloud Pak for Data System fully operational. This state is the most common system state. In this state, the system is ready to process or is processing user queries. | The system enters this state when you use the nzsystem restart or resume command, or after you boot the system. | The system exits the online state when you use the nzsystem stop, offline, pause, or restart commands. |
Tip: You can also
use the nzsystem restart command to quickly stop
and start all server software. You can use the nzsystem restart command
only on a running Netezza Performance Server that
is in a non-stopped state.
|
|||
| Offline | Select this state to interrupt the Netezza Performance Server. In this state, the system completes any running queries, but displays errors for any queued and new queries. | The system enters this state when you use the nzsystem offline command. | The system exits this state when you use the nzsystem resume or stop command. |
| Paused | Select this state when you expect a brief interruption of server availability. In this state, the system completes any running queries, but prevents queued or new queries from starting. Except for the delay while in the paused state, users do not notice any interruption in service. | The system enters the paused state when you use the nzsystem pause command. | The system exits the paused state when you use the nzsystem resume or stop command, or if there is a hardware failure on an active SPU. |
| Down | The system enters the down state if there is insufficient hardware for the system to function even in failover mode. For more information about the cause of the Down state, use the nzstate -reason command. | Not user invoked. | You must repair the system hardware and then use the nzsystem resume command. |
| Stopped | Select this state for planned tasks such as installation of new software. In this state, the system waits for currently running queries to complete, prevents queued or new queries from starting, and then shuts down all Netezza Performance Server software. | The system enters the stopped state when you use the nzsystem stop or the nzstop command. If you use the nzstop command, the system stops all running queries. | The system exits the stopped state when you use the nzstart command. |