HP Data Protector software interaction with deduplication enabled replication
20
• to add a task to the import queue:
perl queueManager.pl –cfg <configuration file> –add <task>
<task> : <library name>/<barcode of the slot>/<slot number>
Example:
perl bin\queueManager.pl -cfg cfg\config.cfg –add 01Ub7cHI0k/JPREP0007/7
[2009/10/20 - 16:02:49] [Normal]: LIBRARY: 01Ub7cHI0k SLOT: 7,
BARCODE: JPREP0007 Added task to queue successfully.
• to remove a task from the import queue:
perl queueManager.pl –cfg <configuration file> –remove <task>
<task> : <library name>/<barcode of the slot>/<slot number>
Example:
perl bin\queueManager.pl -cfg cfg\config.cfg –add 01Ub7cHI0k/JPREP0007/7
[2009/10/20 - 16:03:34] [Normal]: LIBRARY: 01Ub7cHI0k SLOT: 7,
BARCODE: JPREP0007 Removed task from queue successfully.
Execute ImportTasks
Once the queue list has been updated successfully, a separate task actually imports the logged
cartridges into the target Data Protector Cell Manager.
The DataProtector Import is called by a scheduler or manually. The ExecuteImportTasks job
retrieves the import tasks from the QueueManager, groups the tasks by library and uses all
configured drives to import them to the Data Protector target cell in parallel. The successfully
imported tasks are removed from the import queue.
To call the import task run or schedule the following command:
perl executeImportTasks.pl –cfg <configuration file>
Example:
perl bin\executeImportTasks.pl -cfg cfg\config.cfg
[2009/10/19 - 16:33:24] [Normal]: LIBRARY: 01Ub7cHI0s SLOT: 12,
DRIVE: judith_SCSI_1:tpc209_vtl28 Successfully imported tape.
[2009/10/19 - 16:33:24] [Normal]: LIBRARY: 01Ub7cHI0s SLOT: 12,
BARCODE: JUDY0012 Removed task from queue successfully.
[2009/10/19 - 16:33:26] [Normal]: Import Summary: Started with 1 Tasks,
1 successful, 0 failed, 0 skipped. Currently are 0 open tasks available in the
queue.
This example documents a successful cartridge import.
A problematic import will be logged as follows:
perl bin\executeImportTasks.pl -cfg cfg\config.cfg
[2009/10/19 - 16:42:41] [Error]: LIBRARY: 01Ub7cHI0s SLOT: 12,
DRIVE: judith_SCSI_55:tpc209 Device is locked and cannot be used to import
tapes currently.
[2009/10/19 - 16:42:45] [Error]: LIBRARY: 01Ub7cHI0s SLOT: 18,
BARCODE: JUDY0018 Task could not be executed. See error(s) above.
[2009/10/19 - 16:42:45] [Error]: LIBRARY: 01Ub7cHI0s SLOT: 19,
BARCODE: JUDY0019 Task could not be executed. See error(s) above.
[2009/10/19 - 16:42:45] [Error]: LIBRARY: 01Ub7cHI0s SLOT: 20,
BARCODE: JUDY0020 Task could not be executed. See error(s) above.
[2009/10/19 - 16:42:45] [Error]: LIBRARY: 01Ub7cHI0s SLOT: 12,
BARCODE: JUDY0012 Task could not be executed. See error(s) above.
[2009/10/19 - 16:42:45] [Normal]: Import Summary: Started with 4 Tasks, 0
successful, 4 failed, 0 skipped. Currently are 4 open tasks available in the
queue.
Figure 9 depicts the process steps for both library families.