A question for the Veteran TSM Admins

illllm

ADSM.ORG Member
Joined
Jan 9, 2018
Messages
153
Reaction score
2
Points
0
PREDATAR Control23

I am a noob into the TSM field. i come from a Netbackup environment and I am trying to learn this.

This is confusing to me so I though I will ask here.

Could someone please explain the sequence of configuring a backup destination?

So if i want to configure backups to go to a Storage Array..LUNs are allocated to the TSM server andthe server can see the LUN, its mounted and writable.

Next:

1. Define a storage pool or use the existing one
2. Define deviceclass and the specify the directory and the sequential file name and point it to the new storage space/directory that was just created


where do tell a client backup to go a certain storage/directory/tape ?

I read the manuals and its so mixed up and confusing :(
 
PREDATAR Control23

You need to update the copygroup info.

q copyg f=d - will show you the current setups.

Update one of them by using:
upd copy <domain> <set name> <management class> destination=<stgpool name>
Note - you cant update the ACTIVE set... you have to update the named one then activate it next.

Then activate it using
activate pol <domain> <set name>
 
PREDATAR Control23

Here's a soup to nuts complete cheat sheet on configuring TSM server for backup...i'm assuming this is Unix.
First ensure the permissions on mounted storage pool file systems are writable with TSM DB2 instance owner...typically called tsminst1.
You find the DB2 instance owner by doing ps -ef|grep dsmserv

Now that we've got that out of the way...onto TSM configuration.

Efficient TSM configuration of backups should be based on who, what, where and how long.

Who? Who are we backing up??
What? What type of data is this??
Where? Local file systems
How Long? 90 Days

We'll get to the Who, What and How long, but we start with the Where...
For mounted file systems you've a few different options for using disk storage pools...DISK, FILE or Directory Container Storage Pools.
DISK - would be a random disk pool
FILE - would be a sequential disk pool
Directory Container - would be inline deduplication storage pool

Let's assume FILE.
First thing you want to do is create a FILE device class
define devclass FILE devt=file dir='/filesystem1,/filesystem2, etc..' maxcap=100g mountl=50

Now create a storage pool...
define stgpool UNIX_FILE1 file coll=no

Now that Where is ready..onto creating a policy for the What and How long...
TSM Policy uses a hierarchy tree format of Policy Domain\Policy Set\Management Class\Backup Copygroup
Domains are frequently segregated by platform. In an enterprise environment you may have separate Unix, Windows, Oracle, Exchange, etc..policy domains.

The below listed commands will create a Unix (What) backup policy domain writing out to the local systems with 90 day (How Long) retention.
define dom unix desc="Unix B\A Clients"
define policyset unix standard
define mgmtcl unix standard standard
assign defmgmtclass unix standard
define copy unix standard standard standard dest=unix_file1 vere=nolimit verd=nolimit rete=90 reto=90

Once we've define it we have to validate it and activate the policy.
val pol unix standard
act pol unix standard

Finally Who...
Register your clients you want backed up to this policy domain...you'll want to install and configure B\A client on this server.

reg node UNIXSRV01 p@ssw0rd dom=unix

As a bonus...I'll throw in When...
Create a schedule to backup this client every night as 6:00pm

define schedule unix incr_1800 startt=18:00
define assoc unix incr_1800 unixsrv01

On our your client you'll want to add MANAGEDSERVICES webclient schedule to the dsm.sys file and start the dsmcad daemon.

Hope this helps and welcome to Spectrum Protect (formerly TSM).
 
PREDATAR Control23

That you all for helping! Thank you for the detailed write up and the welcome :)

yes its Linux...so a Windows/Netbackup engineer now learning Spectrum Protect on linux :(:eek:
 
PREDATAR Control23

I saw that you can thank someone here in the forums...how to i do that?

That was perfectly explained - I drew it out on a paper and now i understand. Thank you so much !!
 
PREDATAR Control23

Moved into a NetBackup and TSM job. The backup guy must do all backup jobs :)
 
Top