HP XP P9000 Replication Manager Software 7.5.0-00 User Guide (TB584-96070, July 2013)

Output
The information output by the GetTasks command is as follows:
Task ID, MF/Open, Host(Primary), Host(Secondary), Target, Copy Type, TaskType, Status, Creation
Time, Execution Start Time, Execution End Time, Message, Detail Message
Executing a task (ExecuteTask)
The ExecuteTasks command executes a task that was created for execution by the Replication
Manager CLI. When you run the ExecuteTask command, you must specify parameters for user
authentication.
Syntax
ExecuteTask {-u | --user} user-id {-p | --password} password taskID=task-id
Parameters
Each of the following parameters is required.
DescriptionParameter
Specify a user id that is used to log in to the management server. The spe-
cified user must have the Admin or Modify authority of Replication Manager,
and must belong to the All Resources group.
-u user-id
or
--user user-id
Specifies the password associated with the user ID.
-p password
or
-- password password
Specifies the ID of a CLI task. You can only specify a single taskID.taskID
Return values
DescriptionValue
Normal termination0
An error occurred1
Managing tasks with scripts
A task created using the Replication Manager GUI can be registered as a task to be executed using
the CLI. By creating a user script to execute the task in conjunction with performing a quiesce operation,
you can perform data backup linking with the application. By placing such a script on the management
server, copy pair operations on each host can be managed collectively and the execution results
confirmed from Replication Manager GUI.
Example task CLI procedure
This an example of how to perform an application (DBMS) backup using the following configuration:
User Guide 447