Show Menu
Cheatography

Spectrum Protect (TSM) Cheat Sheet (DRAFT) by

Cheat sheet for the basic TSM admin commands.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Sessions

Query SEssion
Query all sessions
Query SEssion Type=(­Nod­e|A­dmi­n|S­erver)
Query node/a­dmi­n/s­erver sessions only
Query SEssion CLIENT­Nam­e=xxx
Query sessions for xxx node only
CANcel SEssion <se­ssion num>
Cancel session with ID <se­ssion num>
CANcel SEssion ALl
Cancel all node sessions
DISAble SESSions (CLIen­t|A­LL|­ADM­in|­SERVer)
Disable new sessions for client­/ad­min­/se­rve­r/all session types.
ENable SESSions
Enable sessions

Nodes

Query Node
Lists all nodes
Query Node <node part>* DOmain­=<d­omain name>
Lists all nodes with names beginning with <node part> in the domain <domain name>
Query Node <node name> Format­=Detail
Shows all parameters of node <node name>
UNLOCK Node <node name>
Unlocks node <node name>
LOCK Node <node name>
Locks node <node name>
 

Processes

Query PRocess
Query all processes
CANcel PRocess <pr­ocess num>
Cancels processes with id <pr­ocess num>

Schedules

Query SCHedule
Query all client schedules
Query SCHedule Format­=Detail
Query all client schedules with detailed output
Query SCHedule Node=<node name>
Query all schedules associated with node <node name>
Query ASSOCi­ation <domain name> <sc­hedule name>
Lists all nodes associated with <sc­hedule name> in domain <domain name>

Admini­str­ative schedules

Query SCHedule Type=A­dmi­nis­trative
List all admini­str­ative schedules
UPDate SCHedule <sc­hedule name> Type=A­dmi­nis­trative ACTIVE=No
Deactivate admini­str­ative schedule called <sc­hedule name>
DEFine SCHedule <sc­hedule name> Type=A­dmi­nis­trative STARTD­ate=+1 STARTT­ime­=11:00 CMD='<­com­man­d>' DURation=1 DURUni­nts=Day
Defines an admin schedule named <sc­hedule name>, which will start next day at 11am, repeating daily