aix:linuxagent
Table of Contents
Linux Agent
Overview
ssh to itmptep-gbe.unix.brm.pri.
cd to /opt/IBM/ITM/bin
Log in to Tiv Ent Mon
./tacmd login -s itmptem.unix.brm.pri
tacmd is a shell script front ending all the functions.
Create DEPLOY group and add members
List the existing groups
./tacmd listgroups
View the contents of a group
./tacmd viewgroup -g WM_aix_system -t DEPLOY
Create new group to contain servers
./tacmd creategroup -g ALLSITES_Linux -t DEPLOY -d "Linux servers at all sites" -p "KDY.BSERVER=itmprtemf.unix.brm.pri, \\ KDY.BACKUP=YES, KDY.SERVER=itmprtem.unix.brm.pri" KUICGR012I: The group ALLSITES_Linux was successfully created on the server on https://itmptem.unix.brm.pri:3661.
Have a look at the new group parameters
bash-3.00# ./tacmd viewgroup -g ALLSITES_Linux -t DEPLOY Name : ALLSITES_Linux Type : DEPLOY Description : Linux servers at all sites Properties : KDY.BSERVER=itmprtemf.unix.brm.pri, KDY.BACKUP Members : Member Groups:
Add member servers to the group
bash-3.00# tacmd addgroupmember -g ALLSITES_Linux -t DEPLOY -m linuxbuild01.unix.brm.pri KUIAGM026I: The member linuxbuild01.unix.brm.pri was successfully added to group ALLSITES_Linux.
Result:-
bash-3.00# ./tacmd viewgroup -g ALLSITES_Linux -t DEPLOY Name : ALLSITES_Linux Type : DEPLOY Description : Linux servers at all sites Properties : KDY.BSERVER=itmprtemf.unix.brm.pri, KDY.BACKUP Members : hosting1.unix.brm.pri, hosting2.unix.brm.pri, hosting3.unix.brm.pri, linuxbuild01.unix.brm.pri, ns2.brm.pri, \\ ns3.brm.pri, resolver0.brm.pri, resolver1.brm.pri, svlvap001.unix.brm.pri Member Groups:
Push out Agent
bash-3.00# ./tacmd createnode -g ALLSITES_Linux -t ITM -u root -w R361rthed KUICCN022I: Request has been successfully queued to the deploy controller. The transaction ID is 1274453959615740000009378, use the getDeployStatus CLI to view the status.
aix/linuxagent.txt · Last modified: by 127.0.0.1