Pause the system

Certain management tasks such as host backups require the system to be in the paused state. When you pause the system, the system queues any new queries or work until the system is resumed. By default, the system finishes the queries and transactions that are active at the time the pause command is issued.

To transition to the paused state, enter:
[nz@nzhost ~]$ nzsystem pause 
Are you sure you want to pause the system (y|n)? [n] y
Enter y to continue. The transition completes quickly on an idle system, but it can take much longer if the system is busy processing active queries and transactions. When the transition completes, the system enters the paused state, which you can confirm with the nzstate command as follows:
[nz@nzhost ~]$ nzstate
System state is 'Paused'.

You can use the -now option to force a transition to the paused state, which causes the system to abort any active queries and transactions. As a best practice, use the nzsession show -activeTxn command to display a list of the current active transactions before you force the system to terminate them.