![]() |
![]() |
Use this command to schedule one or more clients to process a command for a one-time action.
The server automatically defines a schedule and associates the client node to the schedule. The server assigns the schedule priority 1, sets the PERUNITS to onetime, and determines the number of days to keep the schedule active. The number of days is based on the value set with SET CLIENTACTDURATION command.
How quickly the client processes this command depends on whether the scheduling mode for the client is set to server-prompted or client-polling. The client scheduler must be started on the client workstation in order for the server to process the schedule.
Privilege Class
To issue this command, you must have system privilege, unrestricted policy privilege, or restricted policy for the policy domain to which the schedule belongs.
Syntax
.-*------------------.
>>-DEFine CLIENTAction--+--------------------+------------------>
|.-,--------------. |
|V (1) | |
'--node_name------+--'
.-DOmain--=--*---------------.
>--+----------------------------+------------------------------->
| .-,-----------. |
| V | |
'-DOmain--=----domain_name-+-'
>--ACTion--=--+-Incremental--+--+---------------------------+--->
+-Selective----+ '-OPTions--=--option_string-'
+-Archive------+
+-REStore------+
+-RETrieve-----+
+-IMAGEBACkup--+
+-IMAGEREStore-+
+-Command------+
'-Macro--------'
.-Wait--=--No------.
>--+---------------------------+--+------------------+---------><
'-OBJects--=--object_string-' '-Wait--=--+-No--+-'
'-Yes-'
Notes:
Parameters
Do not include the following options because they have no effect when the client processes the scheduled command:
When you specify ACTION=INCREMENTAL without specifying a value for this parameter, the DSMC command is invoked without specified objects and attempts to process the objects as defined in the client's option file. To select all file spaces or directories for an action, explicitly list them in the object string. Entering only an asterisk in the object string causes the backup to occur only for the directory where the scheduler was started.
Enclose the object string in double quotes if it contains blank characters (spaces), and then surround the double quotes with single quotes. If the object string contains multiple file names, enclose each file name with its own pair of double quotes, then surround the entire string with one pair of single quotes. For example, to specify the following file strings:
You cannot issue the DEFINE CLIENTACTION command with WAIT=YES from the server console. However, from the server console, you can:
Examples
Task
Issue an incremental backup command for client node TOM assigned to policy domain EMPLOYEE_RECORDS. TSM defines a schedule and associates the schedule to client node TOM (assuming that the client scheduler is running).
define clientaction tom domain=employee_records action=incremental
Related Commands
Table 43. Commands Related to DEFINE CLIENTACTION
| Command | Description |
|---|---|
| DELETE SCHEDULE | Deletes a schedule from the database. |
| QUERY ASSOCIATION | Displays the clients associated with one or more schedules. |
| QUERY EVENT | Displays information about scheduled and completed events for selected clients. |
| QUERY SCHEDULE | Displays information about schedules. |
| SET CLIENTACTDURATION | Specifies the duration of a schedule defined using the DEFINE CLIENTACTION command. |