Administrator's Guide


Monitoring Export and Import Processes

ADSM provides you with a number of methods for monitoring export or import processes.

Requesting Information about an Export or Import Process

After you issue an EXPORT or IMPORT command, the server starts a background process, assigns a process ID to the operation, and displays the process ID when the operation starts.

You can query an export or import process by specifying the process ID number. For example, to request information about the EXPORT SERVER operation, which started as process 4, enter:

query process 4

If you issue a preview version of an EXPORT or IMPORT command and then query the process, ADSM reports the types of objects to be copied, the number of objects to be copied, and the number of bytes to be copied.

When you export or import data and then query the process, ADSM displays the number and types of objects copied so far, and the total number of bytes that have been transferred, along with information on any media mount requests that may be outstanding for the process.

For guidance information on querying background processes, see "Requesting Information about Server Processes".

Viewing Information from the Server Console

When you issue an IMPORT or EXPORT command, either from the server console or from an administrative client, information is displayed on the server console. Figure 57 shows an example of the information that is displayed after issuing an EXPORT SERVER command.

Figure 57. Sample Export Server Output

+--------------------------------------------------------------------------------+
|ANR0610I EXPORT SERVER started by SERVER_CONSOLE as process 1.                  |
|ANR0639I EXPORT SERVER: Processing domain ENGPOLDOM.                            |
|ANR0640I EXPORT SERVER: Processing policy set ACTIVE in policy domain           |
|ENGPOLDOM.                                                                      |
|ANR0640I EXPORT SERVER: Processing policy set STANDARD in policy domain         |
|ENGPOLDOM.                                                                      |
|ANR0641I EXPORT SERVER: Processing management class STANDARD in domain          |
|ENGPOLDOM, set ACTIVE.                                                          |
|ANR0641I EXPORT SERVER: Processing management class STANDARD in domain          |
|ENGPOLDOM, set STANDARD.                                                        |
|ANR0643I EXPORT SERVER: Processing archive copy group in domain                 |
|ENGPOLDOM, set STANDARD, management class ACTIVE.                               |
|ANR0643I EXPORT SERVER: Processing archive copy group in domain                 |
|ENGPOLDOM, set STANDARD, management class STANDARD.                             |
|ANR0643I EXPORT SERVER: Processing backup copy group in domain                  |
|ENGPOLDOM, set STANDARD, management class ACTIVE.                               |
|ANR0643I EXPORT SERVER: Processing backup copy group in domain                  |
|ENGPOLDOM, set STANDARD, management class STANDARD.                             |
|ANR0604I EXPORT SERVER: No schedules were found in policy domain * for          |
|exporting.                                                                      |
|ANR0635I EXPORT SERVER: Processing node TOMC.                                   |
|ANR0605I EXPORT SERVER: No schedule associations were found in                  |
|policy domain * for exporting.                                                  |
|ANR0637I EXPORT SERVER: Processing file space DRIVED for node TOMC.             |
|ANR0637I EXPORT SERVER: Processing file space OS2 for node TOMC.                |
|ANR0637I EXPORT SERVER: Processing file space OS2VDISK for node TOMC.           |
|ANR0617I EXPORT SERVER: Processing completed successfully.                      |
|ANR0620I EXPORT SERVER: Copied 1 domain(s).                                     |
|ANR0621I EXPORT SERVER: Copied 2 policy set(s).                                 |
|ANR0622I EXPORT SERVER: Copied 2 management class(es).                          |
|ANR0623I EXPORT SERVER: Copied 4 copy group(s).                                 |
|ANR0626I EXPORT SERVER: Copied 1 node definition(s).                            |
|ANR0627I EXPORT SERVER: Copied 3 file space(s), 16 archive file(s)              |
|and 0 backup file(s).                                                           |
|ANR0629I EXPORT SERVER: Copied 3045632 bytes of data.                           |
|ANR0611I EXPORT SERVER started by SERVER_CONSOLE as process 1 has ended.        |
+--------------------------------------------------------------------------------+

Viewing Information from an Administrative Client

Use the console mode from an administrative client to monitor export or import operations or to capture processing messages to an output file. For example, to start an administrative session in console mode, enter:

> dsmadmc -consolemode

While the system is running in console mode, you cannot enter any administrative commands from the client session. You can, however, start another administrative client session for entering commands (for example, QUERY PROCESS) if you are using a multitasking workstation, such as OS/2 or AIX.

If you want ADSM to write all terminal output to a file, specify the OUTFILE option with a destination. For example, to write output to the SAVE.OUT file, enter:

> dsmadmc -consolemode -outfile=save.out

For information about using the CONSOLE mode option and ending an administrative session in console mode, see ADSM Administrator's Reference.

Querying the Activity Log for Export or Import Information

After an export or import process has completed, you can query the activity log for status information and possible error messages.

To minimize processing time when querying the activity log for export or import information, restrict the search by specifying export or import in the SEARCH parameter of the QUERY ACTLOG command.

For example, to determine how much data will be moved after issuing the preview version of the EXPORT SERVER command, query the activity log by entering:

query actlog search=export

Figure 58 displays a sample activity log report.

Figure 58. Sample Activity Log Report on Exported Data

+--------------------------------------------------------------------------------+
|Date/Time            Message                                                    |
|-------------------- ---------------------------------------------------        |
|05/03/1996 10:50:28  ANR0610I EXPORT SERVER started by ADSMADMIN as             |
|process 1.                                                                      |
|05/03/1996 10:50:28  ANR0639I EXPORT SERVER: Processing domain ENGPOLDOM.       |
|05/03/1996 10:50:28  ANR0640I EXPORT SERVER: Processing policy set              |
|ACTIVE in policy domain ENGPOLDOM.                                              |
|05/03/1996 10:50:28  ANR0640I EXPORT SERVER: Processing policy set              |
|STANDARD in policy domain ENGPOLDOM.                                            |
|05/03/1996 10:50:29  ANR0641I EXPORT SERVER: Processing management class        |
|STANDARD in domain ENGPOLDOM, set ACTIVE.                                       |
|05/03/1996 10:50:29  ANR0641I EXPORT SERVER: Processing management class        |
|STANDARD in domain ENGPOLDOM, set STANDARD.                                     |
|05/03/1996 10:50:29  ANR0643I EXPORT SERVER: Processing archive copy            |
|group in domain ENGPOLDOM, set STANDARD, management class ACTIVE.               |
|05/03/1996 10:50:29  ANR0643I EXPORT SERVER: Processing archive copy            |
|group in domain ENGPOLDOM, set STANDARD, management class STANDARD.             |
|05/03/1996 10:50:29  ANR0642I EXPORT SERVER: Processing backup copy             |
|group in domain ENGPOLDOM, set STANDARD,  management class ACTIVE.              |
|05/03/1996 10:50:29  ANR0642I EXPORT SERVER: Processing backup copy             |
|group in domain ENGPOLDOM, set STANDARD, management class STANDARD.             |
|05/03/1996 10:50:29  ANR0604I EXPORT SERVER: No schedules were found in policy  |
|domain * for exporting.                                                         |
|05/03/1996 10:50:29  ANR0635I EXPORT SERVER: Processing node TOMC.              |
|05/03/1996 10:50:29  ANR0605I EXPORT SERVER: No schedule associations were      |
|found in policy domain * for exporting.                                         |
|05/03/1996 10:50:29  ANR0637I EXPORT SERVER: Processing file space DRIVED for   |
|node TOMC.                                                                      |
|05/03/1996 10:50:29  ANR0637I EXPORT SERVER: Processing file space OS2 for node |
|TOMC.                                                                           |
|05/03/1996 10:50:29  ANR0637I EXPORT SERVER: Processing file space OS2VDISK for |
|node TOMC.                                                                      |
|05/03/1996 10:50:32  ANR0617I EXPORT SERVER: Processing completed successfully. |
|05/03/1996 10:50:32  ANR0620I EXPORT SERVER: Copied 1 domain(s).                |
|05/03/1996 10:50:32  ANR0621I EXPORT SERVER: Copied 2 policy set(s).            |
|05/03/1996 10:50:32  ANR0622I EXPORT SERVER: Copied 2 management class(es).     |
|05/03/1996 10:50:32  ANR0623I EXPORT SERVER: Copied 4 copy group(s).            |
|05/03/1996 10:50:32  ANR0626I EXPORT SERVER: Copied 1 node definition(s).       |
|05/03/1996 10:50:32  ANR0627I EXPORT SERVER: Copied 3 file space(s),            |
|16 export file(s) and 0 backup file(s).                                         |
|05/03/1996 10:50:32  ANR0629I EXPORT SERVER: Copied 3045632 bytes of data.      |
|05/03/1996 10:50:32  ANR0611I EXPORT SERVER started by ADSMADMIN as             |
|process 1 has ended.                                                            |
|                                                                                |
+--------------------------------------------------------------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]