ITM6 Remote depolyment (group of servers, bundle of software)

iKnow-IT banner

tacmd creategroup -t DEPLOY -g Servers
tacmd addgroupmember -t DEPLOY -g Servers -m <hostname1>
tacmd addgroupmember -t DEPLOY -g Servers -m <hostname2>

tacmd deletegroupmember -t DEPLOY -g Servers -m <hostname1>

tacmd editgroupmember
Modifies or defines an alias for an existing situation group member, modifies the properties for a deploy group, or modifi
es the type, version, platform, and/or properties for a bundle definition.


tacmd viewgroupmember
{-g|--group} GROUPNAME
{-m|--member} MEMBERNAME
{-t|--grouptype} DEPLOY|BUNDLE|SITUATION|COLLECTION

tacmd viewgroupmember -g Servers -t DEPLOY -m <hostname2>
Hostname : <hostname2>
Address :
OS Agent Managed System Name:
Agent Type : Not Assigned
Properties : Not Assigned


tacmd creategroup -t BUNDLE -g AgentBundles
tacmd addgroupmember -t BUNDLE -g AgentBundles -m UnixOSAgent -y UX
tacmd addgroupmember -t BUNDLE -g AgentBundles -m UnixOSAgent -y UL

tacmd updateagent -g Servers -b AgentBundles

tacmd getDeployStatus -q (queued)
tacmd getDeployStatus -q | grep Transaction | wc

tacmd getDeployStatus -f (failed)

tacmd getdeploystatus -g group_transactionID

tacmd clearDeployStatus -g group_transactionID

tacmd updateAgent -t UX -n <hostname1>:KUX -v 062305000
tacmd updateAgent -t UL -n <hostname1>:KUX -v 062305000

 

tacmd updateAgent ...

Enables you to install an agent or non-agent bundle update to a specified node. Updating agents stops any running agents, applies the changes, and restarts them.
Updating non-agent bundles transfers the bundle to the endpoint and executes the user defined install command. If a version is not specified, the agent is updated to the latest version.
Using the bulk deploy option, the agent(s) specified in the bundle group will be updated on the managed system(s) specified in the deploy group.
The no execute option is intended to allow the user to determine which bundles will be updated to which managed systems.

USAGE:

Updating a single ITM agent:

tacmd updateAgent
{-t|--type} TYPE
{-n|--node} MANAGED-OS
[ {-v|--version} VERSION ]
[ {-o|--option|--options} NAME=VALUE ...]
[ {-k|--securegroup} ITMGROUP]
[ {-f|--force} ]

Updating a single non-agent bundle:

tacmd updateAgent
{-t|--type} TYPE
{-n|--node} MANAGED-OS
[ {-v|--version} VERSION ]
[ {-p|--property|--properties} SECTION.NAME=VALUE ...]
[ {-f|--force} ]

Updating a single SSM agent:

tacmd updateAgent
{-h|--host} HOST[:PORT]
{-l|--patchlist} PATCH_LIST
[ {-p|--property|--properties} SECTION.NAME=VALUE ...]
[ {-f|--force} ]

Updating bulk ITM or SSM agent:

tacmd updateAgent
{-g|--deploygroup} DEPLOY_GROUP_NAME
{-b|--bundlegroup} BUNDLE_GROUP_NAME
[ {-v|--version} VERSION ]
[ {-o|--option|--options} NAME=VALUE ...]
[ {-k|--securegroup} ITMGROUP]
[ {-f|--force} | {-x|--noexecute}]

where:

-t|--type
Specifies the type of agent to update.

-n|--node
Specifies the node you want to update. A node is identified by the managed operating system that it contains.

-v|--version
Specifies the version of the agent to switch to. You cannot update an agent to a back-level version.

-f|--force
Performs actions without asking confirmation.

-h|--host
Specifies the host on which the SSM agent to update resides.

-l|--patchlist
Specifies the list of one or more patch names separated by spaces that will be installed on the SSM agent.

-p|--property|--properties
Specifies one or more SECTION.NAME=VALUE pairs that identify configuration properties to update, where SECTION specifies the configuration section containing the configuration property, NAME specifies the name of the configuration property, and VALUE specifies the property value. For non-agent bundles you may provide the following property for updating a non-agent bundle installed outside of CANDLEHOME - KDY.INSTALLDIR

-o|--option|--options
One or more configuration parameters that can be used to customize the operation of this program.
The valid options are : COLLECTALL,EXECPREREQCHECK,IGNOREPREREQCHECK.
The values are to be specified in KEY=VALUE format.

-k|--securegroup
specify the ITMGROUP.
This option is valid for only Unix and Linux nodes.

-g|--deploygroup
Specifies the name of the deploy group to which the agents in the bundle group will be updated.

-b|--bundlegroup
Specifies the name of the bundle group containing the agent(s) which will be updated on the managed system(s) in the deploy group.

-x|--noexecute
Causes the command to display which bundles will be updated to which managed systems.

 

# tacmd updateAgent -t UX -n <hostname3>:KUX -v 62305000

KUICUA012I: Are you sure you want to update the ux agents that manage <hostname3>:KUX to version 623050000? Updating these agents stops any that are running, applies the changes, and restarts them.

Enter Y for yes or N for no:Y

KUICUA011I: Updating the ux agents.

KUICUA027I: The operation has been successfully queued for deployment, the transaction id is 1415098100394945000020453, use the getDeployStatus CLI to view the status.