Tivoli Monitoring, Version 6.2

tacmd bulkImportPcy

Description

Use the tacmd bulkImportPcy command to import all the available policy objects to the Tivoli Enterprise™ Monitoring Server from BULK_OBJECT_PATH. You can filter for a specified system type, for a list of specified system types, for a specified object name, or for a listfile containing object names. You must log in using the login command before running the bulkimportpcy command.

CLI syntax

tacmd bulkImportPcy  [-p|--path policy_filepaths]
                   [-t|--type| --types type]
                   [-n|--names policy_names]
                   [-l|--listfile file_name]
                   [-f|--force]

where:

-p|--path
Specifies the path name from where the files are to be imported. If not specified, picks from: 1) the environmental variable BULK_OBJECT_PATH 2) the current path.
-t|--type type
One or more system types. Specify a two digit character code of the system type name to import objects. Specify 'Others' to import objects that do not pertain to any of the two digit product codes.
-n|--names policy_names
One or more object names. Specify a list of object names to import.
-l --listfile file_name
Specifies the file name that contains the list of object names to import.
-f|--force
Imports the objects without user confirmation.

CLI example

For Windows® systems, this command imports all policies in the subdirectories under the path C:\temp\Bulk\Policy\ directory into the Tivoli Enterprise Management Server that the user is logged into. The command executes without prompting for confirmation because the "-f" option was provided.

   tacmd bulkImportPcy -p C:\temp -f

For UNIX® systems, this command imports all the policy objects that are available from the respective product code subdirectories under the path /tmp/Bulk/POLICY/.

    tacmd bulkimportpcy -p /tmp
Note:
POLICY in the directory path is case sensitive in case of UNIX.

Return values

See Table 2.




Feedback

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