10/20/2015 - 1:49 PM



Tacmd examples

  1. Login to TEMS

    tacmd login -t 1440 -s localhost -u username

  2. List active endpoints

    tacmd listSystems -t UX

  3. Put a script to the endopoint

    tacmd putfile -m wtc_tsmsrv:KUX -s ./ntp.sh -d /tmp/ntp.sh -t text

  4. Execute a command on endpoint

    tacmd executecommand -m wtc_tsmsrv:KUX -c "hostname" -o -r -v -e -l

  5. Get an output from the script

    tacmd getfile -m servername:KUX -t text -s source -d destination

  6. List active situations

    listsit wbr_sipap1:07

Execute remote opertaions

tacmd executecommand -c '/bin/su - root -c "CANDLEHOME=/opt/ITM /opt/ITM/bin/itmcmd agent stop all;CANDLEHOME=/opt/ITM /opt/ITM/bin/itmcmd agent start all"' -m mgmt-cml-tep1:LZ