ldmwndletsm
ADSM.ORG Senior Member
- Joined
- Oct 30, 2019
- Messages
- 232
- Reaction score
- 5
- Points
- 0
Running TSM 8.1.11 on Linux.
Let's suppose that you want to generate a report of the nodes and coresponsing file spaces that are on the backups, but you also want to report what is being included or excluded. How would you generate such a report that would cover both? For example, a Perl script could easily run the SQL on the DB2 filespaces and nodes tables to fetch a lot of the information, and it could parse the output, but this doesn't tell you if the given file space is still on the backups for that node, only the information for the last time it was backed up. Moreover, it gives you no information about what is being excluded on the given node. Seems you'd have to parse the client system options file (dsm.sys) on each node. That could get tricky.
You could either 1. remotely run some script on each client and collect the output somewhere to then parse or 2. have each client run a daily cron job to report this to some central location wherein some process then parses that information.
BUT is there instead a way to pull this information from the backup server without having to fiddle around with separarely accessing each client or having each client report this?
We do have the Command Center installed, but I've not played with it much. I find the command line easier for SQL, particularly with parenthetical expressions, not to mention the fact that other Unix commands (e.g. grep, sed, awk, pipes, etc.) are often necessary to filter the output. Is there a built-in report that could do this wherein we could provide the output to the users so they can see what is being backed up and/or excluded?
Let's suppose that you want to generate a report of the nodes and coresponsing file spaces that are on the backups, but you also want to report what is being included or excluded. How would you generate such a report that would cover both? For example, a Perl script could easily run the SQL on the DB2 filespaces and nodes tables to fetch a lot of the information, and it could parse the output, but this doesn't tell you if the given file space is still on the backups for that node, only the information for the last time it was backed up. Moreover, it gives you no information about what is being excluded on the given node. Seems you'd have to parse the client system options file (dsm.sys) on each node. That could get tricky.
You could either 1. remotely run some script on each client and collect the output somewhere to then parse or 2. have each client run a daily cron job to report this to some central location wherein some process then parses that information.
BUT is there instead a way to pull this information from the backup server without having to fiddle around with separarely accessing each client or having each client report this?
We do have the Command Center installed, but I've not played with it much. I find the command line easier for SQL, particularly with parenthetical expressions, not to mention the fact that other Unix commands (e.g. grep, sed, awk, pipes, etc.) are often necessary to filter the output. Is there a built-in report that could do this wherein we could provide the output to the users so they can see what is being backed up and/or excluded?