Tivoli Monitoring, Version 6.2

tacmd addBundles

Description

Use the tacmd addBundles command to add one or more deployment bundles to the local agent deployment depot. By default, this command also adds all deployment bundles that are prerequisites of the deployment bundle being added, if the prerequisite bundles do not already exist in the depot. This command can only be run from a Tivoli Enterprise™ Monitoring Server installation with a depot.

If you do not already have an agent depot, the bundles are added to the location defined by the DEPOTHOME environment variable in the KBBENV environment file.

This command must be run locally on a monitoring server containing a depot.

Note:
The prerequisites for the bundle must be in the same image directory as the bundle being added. The addBundles command does not look for the prereq in the depot. The command attempts to copy the bundle as well as all of the bundle's prerequisites from the image directory to the depot. In most cases, the patches and their prerequisites reside in different image directories unless you manually move them all to the same directory. Each patch bundle must be added to the depot using the "-n|--noPrereq" option.

CLI syntax

tacmd addBundles {-i|--imagePath} imagepath
                     [{-t|--product|--products} product ...]
                     [{-p|--platform|--platforms} platform ...]
                     [{-v|--version|--versions} version ...]
                     [{-n|--noPrereq|--noPrerequisites }]
                     [{-f|--force }]

where:

-i|--imagePath imagepath
The directory that contains the deployment bundles to be added to the depot.
-t|--product|--products product ...
The product code or codes of the agents to add. This value corresponds to the value that is displayed in the Product Code field that is displayed by the viewDepot or listBundles command.
-p|--platform|--platforms platform ...
The platform code or codes of the agents to add. This value corresponds to the value that is displayed in the Host Type field that is displayed by the viewDepot or listBundles command.
-v|--version|--versions version ...
The version or versions of the agents to add. This value corresponds to the value that is displayed in the Version field that is displayed by the viewDepot command.
-n|--noPrereq|--noPrerequisites
Indicates that prerequisite bundles are not automatically added.
-f|--force
Installs any matching deployment bundles to the depot without prompting for confirmation first.

CLI example

The following example copies every agent bundle, including its prerequisites, into the agent depot on a UNIX® from the installation media (cd image) located at /mnt/cdrom/:

   tacmd addBundles -i /mnt/cdrom/unix 

The following example copies all agent bundles for the Oracle agent into the agent depot on a UNIX computer from the installation media (cd image) located at /mnt/cdrom/:

   tacmd addBundles -i /mnt/cdrom/unix -t or

The following example copies all agent bundles for the Oracle agent into the agent depot on a Windows® computer from the installation media (cd image) located at D:\WINDOWS\Deploy:

   tacmd addBundles -i D:\WINDOWS\Deploy -t or 

The following example copies the agent bundle for the Oracle agent that runs on the AIX® version 5.1.3 operating system into the agent depot on a UNIX computer from the installation media (cd image) located at /mnt/cdrom/:

   tacmd addBundles -i /mnt/cdrom/unix -t or -p aix513 

Return values

See Table 2.

Related commands

tacmd listBundles

tacmd removeBundles

tacmd viewDepot




Feedback

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