Before you stop the server, prepare the system by ensuring that all database backup operations are completed, and all other processes and sessions are ended. In this way, you can safely shut down the server and ensure that data is protected.
About this task
When you issue the HALT command to stop the server, the following actions occur:
- All processes and client node sessions are canceled.
- All current transactions are stopped. (The transactions will be rolled back when the server is restarted.)
Procedure
To prepare the system and stop the server, complete the following steps:
-
Prevent new client node sessions from starting by issuing the DISABLE SESSIONS command:
-
Determine whether any client node sessions or processes are in progress by completing the
following steps:
- On the Overview page of the Operations Center, view the Activity area for the
total numbers of processes and sessions that are currently active. If numbers differ significantly
from the usual numbers that are displayed during your daily storage-management routine, view other
status indicators in the Operations Center to check whether
there is a problem.
- View the graph in the Activity area to compare the amount of network
traffic over the following periods:
- The current period, that is, the most recent 24-hour period
- The previous period, that is, the 24 hours before the current period
If the graph for the previous period represents the expected amount of traffic, significant
differences on the graph for the current period might indicate a problem.
- On the Servers page, select a server for which you want to view processes
and sessions, and click Details. If the server is not registered as a hub or
spoke server in the Operations Center, obtain information
about processes by using administrative commands. Issue the QUERY PROCESS command
to query processes and obtain information about sessions by issuing the QUERY
SESSION command.
-
Wait until the client node sessions are completed or cancel them. To cancel processes and
sessions, complete the following steps:
- On the Servers page, select a server for which you want to view processes
and sessions, and click Details.
- Click the Active Tasks tab, and select one or more processes, sessions, or
a combination of both that you want to cancel.
- Click Cancel.
- If the server is not registered as a hub or spoke server in the Operations Center, cancel sessions by using administrative commands.
Issue the CANCEL SESSION command to cancel a session and cancel processes by
using the CANCEL PROCESS command.
Tip: If the process that you want to
cancel is waiting for a tape volume to be mounted, the mount request is canceled. For example, if
you issue an EXPORT, IMPORT, or MOVE DATA
command, the command might initiate a process that requires a tape volume to be mounted. However, if
a tape volume is being mounted by an automated library, the cancel operation might not take effect
until the mount process is complete. Depending on your system environment, this could take several
minutes.
-
Stop the server by issuing the HALT command: