Finally, the last day comes. Happy Friday
Unit 11: Automating operations
Lesson 1: Scheduling options
Two types of scheduling: Client scheduling/ Administrative scheduling on server
The central scheduler supports two modes of client scheduling:
– Client polling
– Server prompted
Scheduling options
Lesson 2: Client scheduling
– Backup-restore and archive-retrieve
– Client operating system command script
– One time scheduled commands
Traditional scheduler services
dsmc shed (requires higher use of system resources when idle)
Client acceptor daemon services
TSM Client Acceptor Daemon service (CAD) is a web client process, which uses an HTTP service that serves the web client Java applet to the web browsers.
Central scheduling mode: Client polling
client periodically queries or polls the server for a scheduled operations and the date and time that operation is to start
Central scheduling mode: Server prompt
client queries the operation after been notified by the server
Scheduling mode
SET SCHEDModes ANY|Polling|Prompted
Additional client scheduling options
Additional client polling options
QUERYSCHEDPERIOD
Additional server prompted options
TCPCLIENTADDRESS
TCPCLIENTPORT
Preschedule and postschedule processing
PREscheduleCMD or PRENscheduleCMD (does not wait for client OS commands to finish)
POSTscheduleCMD or POSTNscheduleCMD (does not wait for client OS commands to finish)
Consistent client return codes
0: completed successfully
4: completed successfully, except for one or more skipped files
8: completed with one or more warning messages issued
12: operation failed with one or more error messages issued
Example of randomizing
Randomizing spreads out the start up time to balance the load on the server as well as the load on the networks (max is 50%)
Defining schedules
define schedule
define association
parameters for defining schedules
Enhanced scheduling
also known as calendar-based
Relative date and time
relative date by default is Today
relative time by default is Now
Copy SCHEDULE command
copy schedule domain1 labsys domain2 labsysnew
Define association command
define association domain_name schedule_name node_name
One-time scheduled client commands
define clientaction
Unwanted schedule actions
SRVPREPOSTSCHEDDISABLED
SRVPREPOSTNSCHEDDIABLED
SCHEDRESTRETRDISABLED
Lesson 3: Administrative tasks
Automating administrative tasks
– Migration
– Reclamation
– Expiration
– Storage pool backup
– Database backup
define schedule backup_archivepool type=adminsitrative cmd=”backup stgpool archivepool recoverypool” active=yes startime=18:00 period=3
Additional functions to schedule
– Export-import
– Changing device class mount point limits
– Volume history maintenance
– All administrative command except query actlog
Unit 12: Monitoring and event logging
Lesson 1: Client event messages
Monitoring and logging events
client messages (events) are logged on the TSM server
Client event formatting
A N [R S E] # # # # [I W E S]
Lesson 2: Working with events and logs
Event receiving
Event viewer/ TSM console/ Activity log/ …
Begin eventlogging
begin eventlogging all/ console/ actlog/ eventserver/ …
enable event console,file
disable event
The QUERY ENABLE command
query enable console node=DBSERVER1
query eventrules
end eventlogging
Lesson 3: Using SQL to query the database
reference:
www.adsm.org
www.LASCON.co.uk
Lesson 4: Reporting
The reference URL odsm dot org should probably be adsm dot org? 🙂
Good observation. I have corrected it. Thanks!