aix:tsm-config
Table of Contents
TSM Server Config Cheatsheet
Register Node on the TSM server it will be talking to, define schedule on the Configuration Manager
Log in to TSM
Use -se to ser server to use
# dsmadmc -se=tsm11 -id=admin IBM Tivoli Storage Manager Command Line Administrative Interface - Version 5, Release 5, Level 0.0 (c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved. Enter your user id: ******* Enter your password: ******* Session established with server TSM05: AIX-RS/6000 Server Version 5, Release 5, Level 0.0 Server date/time: 01/23/2009 12:34:24 Last access: 01/23/2009 11:15:00
Register Node on Server
Registe the node on the TSM server you will back up to, not the admin server.
tsm: TSM15>reg node dsprod dsprod PASSExp=0 do=unix_dm userid=none ANR2060I Node DSPROD registered in policy domain UNIX_DM. tsm: TSM15>
Query Node
tsm: TSM05>q nod svlvap001 Node Name Platform Policy Domain Days Since Days Since Locked? Name Last Acce- Password ss Set ------------------------- -------- -------------- ---------- ---------- ------- SVLVAP001 (?) UNIX_DM <1 <1 No
This node has not logged in yet, so the Platform is unknown.
Query schedule
tsm: TSM05>tsm01: q sched * *os
ANR1699I Resolved TSM01 to 1 server(s) - issuing command Q SCHED * *os against server(s). ANR1687I Output for command 'Q SCHED * *os ' issued against server TSM01 follows: Domain * Schedule Name Action Start Date/Time Duration Period Day ------------ - ---------------- ------ -------------------- -------- ------ --- UNIX_DM B0081DP_OS CMD 05/02/2007 20:00:00 30 M 1 D Any UNIX_DM BCCEXTERNAL01_OS CMD 05/02/2007 15:27:57 30 M 1 D Any UNIX_DM CMSPROD_OS CMD 05/04/2007 03:00:00 30 M 1 D Any UNIX_DM CMSUAT_OS CMD 05/04/2007 00:00:00 30 M 1 D Any UNIX_DM HOSTING1_OS CMD 04/19/2007 23:00:00 30 M 1 D WD UNIX_DM HOSTING2_OS CMD 04/19/2007 17:08:02 30 M 1 D WD UNIX_DM IP-MONITOR_OS CMD 04/19/2007 12:45:00 30 M 1 D WD ANR1688I Output for command 'Q SCHED * *os ' issued against server TSM01 completed. ANR1694I Server TSM01 processed command 'Q SCHED * *os ' and completed successfully. ANR1697I Command 'Q SCHED * *os ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors.
Copy Schedule to new server name
tsm: TSM05>tsm01: copy sched UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os
ANR1699I Resolved TSM01 to 1 server(s) - issuing command COPY SCHED UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os against server(s). ANR1687I Output for command 'COPY SCHED UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os ' issued against server TSM01 follows: ANR2503I Schedule HOSTING1_OS in domain UNIX_DM copied to schedule SVLVAP001_OS in domain UNIX_DM. ANR1688I Output for command 'COPY SCHED UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os ' issued against server TSM01 completed. ANR1694I Server TSM01 processed command 'COPY SCHED UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os ' and completed successfully. ANR1697I Command 'COPY SCHED UNIX_DM HOSTING1_OS UNIX_DM svlvap001_os ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors.
Define association
tsm: TSM05>def assoc unix_dm SVLVAP001_DAILY svlvap001
ANR2510I Node SVLVAP001 associated with schedule SVLVAP001_DAILY in policy domain UNIX_DM. tsm: TSM05>q assoc unix_dm svlvap001* Policy Domain Name Schedule Name Associated Nodes ------------------------------ ------------------------------ ---------------------------------------------------- UNIX_DM SVLVAP001_DAILY SVLVAP001 UNIX_DM SVLVAP001_OS
Query Schedule with details
tsm: TSM05>tsm01:q sched * svlvap001_os f=d
ANR1699I Resolved TSM01 to 1 server(s) - issuing command Q SCHED * svlvap001_os F=d against server(s). ANR1687I Output for command 'Q SCHED * svlvap001_os F=d ' issued against server TSM01 follows: Policy Domain Name: UNIX_DM Schedule Name: SVLVAP001_OS Description: Action: Command Options: Objects: /opt/support/backups/ba/linuxincr.sh Priority: 5 Start Date/Time: 04/19/2007 23:00:00 Duration: 30 Minute(s) Schedule Style: Classic Period: 1 Day(s) Day of Week: Weekday Month: Day of Month: Week of Month: Expiration: Last Update by (administrator): ADMIN Last Update Date/Time: 01/23/2009 12:44:49 Managing profile:
ANR1688I Output for command 'Q SCHED * svlvap001_os F=d ' issued against server TSM01 completed. ANR1694I Server TSM01 processed command 'Q SCHED * svlvap001_os F=d ' and completed successfully. ANR1697I Command 'Q SCHED * svlvap001_os F=d ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors.
Update Schedule
tsm: TSM05>tsm01: update schedule UNIX_DM SVLVAP001_OS Objects=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh
ANR1699I Resolved TSM01 to 1 server(s) - issuing command UPDATE SCHEDULE UNIX_DM SVLVAP001_OS OBJECTS=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh against server(s). ANR1687I Output for command 'UPDATE SCHEDULE UNIX_DM SVLVAP001_OS OBJECTS=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh ' issued against server TSM01 follows: ANR2502I Schedule SVLVAP001_OS updated in policy domain UNIX_DM. ANR1688I Output for command 'UPDATE SCHEDULE UNIX_DM SVLVAP001_OS OBJECTS=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh ' issued against server TSM01 completed. ANR1694I Server TSM01 processed command 'UPDATE SCHEDULE UNIX_DM SVLVAP001_OS OBJECTS=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh ' and completed successfully. ANR1697I Command 'UPDATE SCHEDULE UNIX_DM SVLVAP001_OS OBJECTS=/opt/tivoli/tsm/client/ba/bin/linuxincr.sh ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors.
Notify Subscribers
tsm: TSM05>tsm01:notif subscrib
ANR1699I Resolved TSM01 to 1 server(s) - issuing command NOTIF SUBSCRIB against server(s). ANR1687I Output for command 'NOTIF SUBSCRIB ' issued against server TSM01 follows: ANR3092I NOTIFY SUBSCRIBERS: Subscriber notification processing has begun. ANR1688I Output for command 'NOTIF SUBSCRIB ' issued against server TSM01 completed. ANR1694I Server TSM01 processed command 'NOTIF SUBSCRIB ' and completed successfully. ANR1697I Command 'NOTIF SUBSCRIB ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors.
Client side, connect and set password
bash-3.00# dsmc IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 5, Level 0.0 Client date/time: 01/04/09 14:55:29 (c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved. Node Name: CWSWLT2 Please enter your user id <CWSWLT2>: Please enter password for user id "CWSWLT2": Session established with server TSM12: AIX-RS/6000 Server Version 5, Release 5, Level 0.0 Server date/time: 01/04/09 14:55:29 Last access: 01/04/09 14:55:29
Client side, check logs for correct operation
Check dsmcad daemon is running:-
bash-3.00# ps -ef | grep cad root 159764 479454 0 14:58:59 pts/2 0:00 grep cad root 307374 1 0 27 Mar - 0:25 /usr/bin/dsmcad bash-3.00#
bash-3.00# pwd /usr/tivoli/tsm/client/ba/bin bash-3.00# tail dsmsched.log 01/04/09 14:59:10 Action: Command 01/04/09 14:59:10 Objects: /opt/support/backups/ba/unixincr.ksh 01/04/09 14:59:10 Options: 01/04/09 14:59:10 Server Window Start: 14:58:09 on 01/04/09 01/04/09 14:59:10 ------------------------------------------------------------ 01/04/09 14:59:10 Executing scheduled command now. 01/04/09 14:59:10 Executing Operating System command or script: /opt/support/backups/ba/unixincr.ksh bash-3.00# bash-3.00# tail dsmwebcl.log Executing scheduled command now. 01/04/09 15:01:30 (dsmcad) Next operation scheduled: 01/04/09 15:01:30 (dsmcad) ------------------------------------------------------------ 01/04/09 15:01:30 (dsmcad) Schedule Name: CWSWLT2_OS 01/04/09 15:01:30 (dsmcad) Action: Command 01/04/09 15:01:30 (dsmcad) Objects: /opt/support/backups/ba/unixincr.ksh 01/04/09 15:01:30 (dsmcad) Options: 01/04/09 15:01:30 (dsmcad) Server Window Start: 14:58:09 on 02/04/09 01/04/09 15:01:30 (dsmcad) ------------------------------------------------------------ 01/04/09 15:01:30 (dsmcad) Waiting to be contacted by the server. bash-3.00#
aix/tsm-config.txt · Last modified: by 127.0.0.1