Use the tacmd addSystem command to deploy a monitoring agent to a computer in your IBM Tivoli Monitoring environment. The tacmd addSystem command deploys an agent and other required components if they are not already installed on the node. This command is also available for non-agent bundles.
By using the bulk deploy option, the agents specified in the bundle group are deployed on the managed systems specified in the deploy group.
Any computer to which you want to deploy an agent must already have an OS agent installed. You can either install the OS agent by using the installation wizard or with the tacmd createNode command.
Single IBM Tivoli Monitoring agent deployment:
Bulk IBM Tivoli Monitoring or System Service Monitors agent deployment:
where:
See the agent user's guide for the agent that you are configuring for a list of available configuration properties.
In addition to the agent-specific configuration properties, you can also configure the Run-as settings, specifying the user ID under which an agent runs. Use the following options:
If you have already configured the Run-as user (for example, through the Manage Tivoli Enterprise Monitoring Services utility), this value defaults to what you have already set. If you have not configured the Run-as user previously, the default user is the user that is running the OS agent on the computer.
If you have already configured the Run-as user (for example, through the Manage Tivoli Enterprise Monitoring Services utility), this value defaults to what you have already set. If you have not configured the Run-as user previously, the default user is LocalSystem (InteractWithDesktop=0).
You must also specify the _WIN32_STARTUP_.InteractWithDesktop={0|1} option.
This command deploys universal agent (type UA) to the monitoring system named HDCHASDSTC0213 with the file.mdl MDL file.
tacmd addsystem -t UM -n Primary:HDCHASDSTC0213:NT -p UA.CONFIG="file.mdl"
Each agent bundle has its own unique configuration properties that you need to provide in the tacmd addSystem command (by using the -p option). You can view the configuration parameters by running the tacmd describeSystemType command. The following example shows the configuration options that are available to use with the tacmd addSystem command for the Universal Agent (product code um) to be installed on a remote Windows system (platform WINNT):
tacmd describeSystemType -t um -p WINNT
The MDL file is made available in the %CANDLEHOME%/cms/depot/UACONFIG directory and $CANDLEHOME\tables\tems\depot\UACONFIG in the case of a UNIX system.
This command deploys universal agent (type UA) to the monitoring system named HDCHASDSTC0213 with the script.mdl file.
tacmd addsystem -t UM -n Primary:HDCHASDSTC0213:NT -p UA.SCRIPT="script.mdl"
The mdl file is made available in the %CANDLEHOME%/cms/depot/UASCRIPT directory and $CANDLEHOME\tables\tems\depot\UASCRIPT directory in the case of a UNIX system.
The following is an example for the bulk deployment option. The agents specified in the bundle group are deployed to the host systems specified in the deployment group:
tacmd addsystem -g UnixGroup -b ULBundle
tacmd createGroup -g UnixGroup -d "unix deploy group" -t DEPLOY
-p KDY.SERVER=IP.PIPE:\\r111o001.tivlab.raleigh.ibm.com:1918
KDYRXA.TIMEOUT=300 KDYRXA.CONNECT_TIMEOUT=100 KDYRXA.
RXAPROTOCOL=smb KDYRXA.RXAPORT=4230
tacmd addGroupMember -g UnixGroup -t DEPLOY
-m f50pa2d.tivlab.raleigh.ibm.com -p KDYRXA.installDir=/data/aut/r111o001 KDYRXA.RXAUSERNAME=root
KDYRXA.RXAPASSWORD=**** KDYRXA.RXAPROTOCOL =ssh KDYRXA.
RXAPORT =22
tacmd addGroupMember -g UnixGroup -t DEPLOY
-m amssol19.tivlab.raleigh.ibm.com
-p KDYRXA.installDir=/data/aut/r111o001 KDYRXA.RXAUSERNAME =root KDYRXA.
RXAPASSWORD =Agnt2tst KDYRXA. RXAPROTOCOL =ssh KDYRXA.
RXAPORT =22
tacmd createGroup -g ULBundle -d "UL bundle" -t BUNDLE
tacmd addGroupMember -g ULBundle -m linuxULBundle -t BUNDLE -y UL
-v 06210000 -i li6263
See Table 6.
tacmd describeSystemType (to view configuration properties for an installed agent)
cinfo (to return the list of product codes installed on the computer)
Return to Table 1.
[ Top of Page | Previous Page | Next Page ]