Topics: Backup & restore, Spectrum Protect

Check Spectrum Protect / TSM backups

An easy command to check on the Spectrum Protect / TSM server what the backup status of all the Spectrum Protect / TSM clients is using the "q event" command. For example:

q event * * begind=-1 begint=09:00 endd=today endt=09:00
The command above will display the status of all the backups jobs in the last 24 hours between 9 AM yesterday and 9 AM today.

Topics: Backup & restore, Spectrum Protect

Spectrum Protect / TSM: Display deduplicaton bytes pending removal

There are numerous show commands available for IBM Spectrum Protect / TSM, that will display information about the environment. Many of them aren't as well documented, probably because IBM intends to use these commands for their own support.

Quite a lot of these commands have been documented by Spectrum Protec / TSM users, and an example can be found on the following web site: http://www.mm-it.at/de/TSM_Show_Commands.html.

A very interesting show command, that can be used to display the amount of deduplicate bytes pending removal, is the following command:

tsm: TSM>show deduppending file_disk
ANR1015I Storage pool FILE_DISK has 7,733,543,532,121 duplicate bytes pending removal.
The command above shows the number of byes for storage pool "FILE_DISK" still to be removed by the dedupe processes.

The command may take quite some time to run, up to 10 minutes, so please be patient when issuing this command.

Topics: Backup & restore, Spectrum Protect

IBM Spectrum Protect/TSM Links

Official IBM Spectrum Protect / Tivoli Storage Manager sites:

Other TSM related sites: IBM Spectrum Protect

Topics: Backup & restore, Spectrum Protect

Start a backup from the TSM / IBM Spectrum Protect server

There is a way to start a backup from the TSM / IBM Spectrum Protect server itself, and that is by defining a client action. For example, to start an incremental backup on a node, run:

define clientaction action=incremental
You can use wild cards like * in the node name, for example:
def clienta node* act=i
You can monitor the schedule event, using the following command:
q ev * @1
You may cancel this schedule, by running:
delete schedule @1

Topics: Backup & restore, Spectrum Protect

Tail TSM / IBM Spectrum Protect console log

The following command can be used to tail the TSM / IBM Spectrum Protect console log:

dsmadmc -console
This will allow you to continously follow what is happening on the TSM / IBM Spectrum Protect server.

Topics: Backup & restore, Spectrum Protect

Show configuration of a TSM / IBM Spectrum Protect server

To save the complete configuration of a TSM server to a file, run:

dsmadmc -id=admin -password=admin show config > /tmp/config
This assumes that you have an admin account with the password admin. And it will write the output file to /tmp/config.

If you wish to have comma separated output, add -comma.

To just display the status of the TSM / IBM Spectrum Protect server, run (this is included in the output of show config):
q status
Another very interesting command to run is:
q system

Topics: Backup & restore, Spectrum Protect

Register a new TSM / IBM Spectrum Protect administrator

To register a new TSM / IBM Spectrum Protect administrator, run:

register admin adminname password contact="Contact details of the new admin" emailaddress=email-address@ofthenewadmin.com
Next, grant system privilege authority to the new admin:
grant authority adminname class=sys
To remove a TSM admin, run:
remove admin adminname

Topics: Backup & restore, Spectrum Protect

Excluding a directory from the TSM backup

If you need to exclude a specific file system from the TSM backup, than you would add the following line to the dsm.sys file:

DOMAIN ALL-LOCAL -/opt/archive
This examples will avoid backing up file system /opt/archive.

Now, what if you wish to exclude a certain directory within a file system from the backup:

Create the following enty in the dsm.sys file:
INCLExcl /usr/tivoli/tsm/client/ba/bin/inclexcl
Then create the inclexcl file and add the following line:
Exclude.dir /opt/archive/tmp
This will only exclude the tmp folder in file system /opt/archive.

You can check with the following command:
# dsmc q inclexcl
Tivoli Storage Manager

Topics: Backup & restore, Oracle, Spectrum Protect

Test Oracle TDP

How do you test if Oracle TDP (RMAN) is working properly?

# tdpoconf showenv

Topics: Backup & restore, Spectrum Protect

TSM Database space assignment

If you have a TSM database spread across mutliple database volumes on disk, be very careful on how you use them. It is best to assign multiple database volumes on different disks, all equal in size. This way, TSM is able to use the performance of several disks equally.

Also, take a look at the assigned capacity of the TSM database. It might well be that not the full capacity of the database is assigned to TSM; this way, some database volumes are more heavily used than other. A good command to check if the database volumes are equally used is "q dbspace":

q dbspace
q db f=d
These commands can be used to find out, how your database capacity is assigned. If it isn't fully assigned, then do it now.

Check the output of the TSM commands with the location of your database volumes on the operating system, to see if the database volumes are equally spread across multiple disks. The AIX commands iostat and vmstat will give you a good idea if your disks are used equally.

Number of results found for topic Spectrum Protect: 17.
Displaying results: 1 - 10.