Tivoli Monitoring, Version 6.2

tacmd bulkExportPcy

Description

Use the tacmd bulkExportPcy command to export all the available policies from the Tivoli Enterpriseā„¢ Monitoring Server.

CLI syntax

tacmd bulkExportPcy  [-p|--path policy_filepaths]
                   [-t|--type| --types type]
                   [-n|--names policy_names]
                   [-f|--force]

tacmd bulkExportPcy [-p|--path policy_filepaths]
                   [-l|--listfile file_name]
                   [-f|--force]

where:

-t|--type type
Specifies the application type name or 'Others'. All the policies with affinity values that do not correspond to a specific two digit code should be classified under 'Others'.
-n|--names policy_names
Specifies the list of policy names to export.
-p|--path
Specifies the path name where the policy XML files are to be created. If not specified, picks from: 1) the environmental variable BULK_OBJECT_PATH 2) the current path.
-l --listfile file_name
Specifies the file name that contains the list of policy names to export.
-f|--force
Exports the policy files without prompting for confirmation from the user.

CLI example

This command exports all policies for the "NT" application type to multiple files in the C:\IBM\ITM\BIN\Bulk\Policy\NT directory. The file name for each exported policy corresponds to the policy name with the ".xml" file extension. The path C:\IBM\ITM\BIN\ would be picked up from the BULK_OBJECT_PATH environment variable; if BULK_OBJECT_PATH is not defined in the environment, the current working directory would be used.

   tacmd bulkExportPcy -t NT  -f

Return values

See Table 2.




Feedback

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