Stopping NDMP sessions on the Storwize V7000 Unified system

Use the Storwize V7000 Unified CLI stopndmpsession command to stop currently running NDMP backup or restore sessions. You can also use the graphical user interface (GUI) to work with this function.

Note: When you submit the Storwize V7000 Unified CLI stopndmpsession command, the stopped backup processes must still perform subprocesses such as cleaning up snapshots, and therefore might not stop immediately. After you submit the Storwize V7000 Unified CLI stopndmpsession command, use the Storwize V7000 Unified lsndmpsession command to ensure that all related Storwize V7000 Unified NDMP backup sessions on the file modules have stopped. Although only the NDMP sessions running on the specified file module or file module group are stopped, the overall backup process fails because not all NDMP sessions completed. Also, although this command stops the specified NDMP sessions running on the Storwize V7000 Unified system, those sessions might be restarted, depending on the settings of the backup software. If the stopndmpsession command is used for stopping NDMP backup sessions, disable the automated resubmit option on the backup software DMA; otherwise, unintended backup jobs might restart.
Use the Storwize V7000 Unified CLI stopndmpsession command with the -g or --nodeGroup option to stop all of the NDMP sessions running on the specified file module group. In the following example, the file module group ndmpg1 is specified:
# stopndmpsession -g ndmpg1
The CLI interface displays a question asking for confirmation and expects a Y (yes) or N (no) response.
Note: Although the preferred method for stopping an NDMP backup process is to stop the backup process on the DMA server, the command above is another optional method that can be used to stop the entire backup process running on both of the file modules in the specified file module group.
Use the Storwize V7000 Unified CLI stopndmpsession command with the -n or --nodes option to stop all of the NDMP sessions running on the specified file module. In the following example, the file module mgmt001st001 is specified:
stopndmpsession -n mgmt001st001
The CLI interface displays messages and a prompt similar to the following output:
This will stop specified NDMP sessions
Do you really want to perform the operation (yes/no - default no):yes
(1/2) Kill session started on hosts : mgmt001st001
Kill session on host : mgmt001st001
Kill session on host : mgmt001st001 done
(2/2) All possible session killing done on hosts : mgmt001st001. Killing done is : {mgmt001st001=SESSIONS KILLED}
Sessions killed on host are : {mgmt001st001=SESSIONS KILLED} 
Use the Storwize V7000 Unified CLI stopndmpsession command with the -i or --sessionID option to stop the NDMP session identified by the specified session ID (sid) running on the specified file module. In the following example, the sid 17067 is specified:
# stopndmpsession -n mgmt001st001 -i 17067
No output is displayed.
Use the -v or --verbose option with the Storwize V7000 Unified CLI stopndmpsession command to display a line of output for each specified file module, indicating completion of the command for that file module. In the following example, the file modules named mgmt001st001 and mgmt002st001 are specified:
# stopndmpsession -n mgmt001st001,mgmt002st001 -v
Messages similar to the following format are displayed:
			Successfully completed command on node:  mgmt001st001
			Successfully completed command on node:  mgmt002st001

Use the -f or --force option of the stopndmpsession command to prevent any confirmation prompt from displaying.

Entries similar to the following messages are sent to the alert log when an NDMP session is stopped:
9/30/10 10:44 AM INFO    mgmt001st001  12402779238939224951 cim          EFSSAK0152C NDMP Server Message: Level 0 backup of /ibm/gpfs0/shared_gpfs0/mike failed.
9/30/10 10:44 AM INFO    mgmt001st001  12402779238939224951 cim          EFSSAK0115I NDMP Server Message: Level 0 backup of /ibm/gpfs0/shared_gpfs0/mike aborted.
9/30/10 10:44 AM INFO    mgmt001st001  12402779238939224951 cim          EFSSAK010BI NDMP Server Message: Data Server aborted
9/30/10 10:44 AM INFO    mgmt001st001  12402779238939224951 execution    EFSSA0037I Command /opt/IBM/ndmp/ndmp 
session kill  all was issued on host mgmt001st001 (172.31.132.1) by user root.

GUI navigation

To work with this function in the management GUI, log on to the GUI and select Files > ->Services > Backup.