You are on page 1of 5

Setting up DB2 with TSM

Installing and configuring the Tivoli Storage Manager Linux x86_64 client in a DB2 server
Revision
#ersion $ 1.0

istor!"
Descri%tion of &hanges Draft Version Issue Date 21/02/2013

'uthors" Role DB2 DATABASE ADMINISTRATOR Name SAGNIK SARKAR

Installing the Tivoli Storage Manager Linux x86_64 client


You can install the IBM Tivoli Storage Manager Linu !"#"$ client fro% the &ro'uct DVD( or other installation %e'ia. You %ust )e logge' in as root to &erfor% this &roce'ure. *enerall+ installation of TSM client is 'one )+ TSM a'%inistrator. ,o-ever I 'ocu%ente' this &ortion in case +ou nee' to ta.e it u& on +our o-n. If +ou have Tivoli Storage Manager version ".2 /or an earlier version0 installe'( re%ove it using r&% 1e co%%an' an' an+ other 'e&en'ent soft-are &rogra%s )efore installing a ne-er version. Sto& an+ running Tivoli Storage Manager &rocesses )efore uninstalling or u&gra'ing the Tivoli Storage Manager 23I( )ac.u&4archive client( or language &ac.ages. If +ou have Tivoli Storage Manager version ".3 /or ne-er0 installe'( then r&% 45 can )e use' to install ne- &ac.ages or u&gra'e e isting &ac.ages6 r&% 47 can )e use' to u&'ate &ac.ages that are alrea'+ installe'. Install the Tivoli Storage Manager &ac.ages in the follo-ing or'er. 1. Mount the Tivoli Storage Manager 58I9 client DVD to /dvd. 2. :hange to the 'irector+ -here the &ac.ages are store' on the DVD; cd (dvd(client(linux86

Setting up DB2 with TSM

3. Install the "$4)it *S<it &ac.ages. In this e a%&le( the =!. . . = characters re&resent the *S<IT version on the DVD; r%) *+ gs,cr!%t64*8-x-x-x-linux-x86_64-r%) gs,ssl64*8-x-x-x-linux-x86_64-r%) $. Install the "$4)it Tivoli Storage Manager 23I( an' o&tionall+ install the co%%on inventor+ technolog+ &ac.age nee'e' to su&&ort &rocessor value unit /3V50 calculations. a. >e?uire'; install the Tivoli Storage Manager 23I; r%) *i TI#s)*'.I64-x86_64-r%) ). @&tional; Install the co%%on inventor+ technolog+ &ac.age use' )+ the 23I. This &ac.age is 'e&en'ent on the 23I so it %ust )e installe' after the 23I &ac.age is installe'. r%) *i TI#s)*'.Icit-x86_64-r%) A. If +ou onl+ nee' the 23I installe'( +ou can sto& here. The rest of the ste&s in this &roce'ure 'escri)e ho- to install the Bac.u&42rchive :lient co%&onents an' an o&tional client &ac.age that is nee'e' onl+ if +ou -ant the client to sen' 3V5 %etrics to the server. 2lso 'escri)e' in su)se?uent ste&s are the installation of the &ac.ages that are nee'e' if +ou -ant to &erfor% Bournal4)ase' )ac.u&s( an' the installation of a''itional languages. ". Install the )ac.u&4archive Cava client( co%%an' line client( a'%inistrative client( -e) client( an' the 'ocu%entation6 o&tionall+ install the co%%on inventor+ technolog+ &ac.age nee'e' to su&&ort &rocessor value unit /3V50 calculations.

a. Install the )ac.u&4archive client co%&onents. r%) *i TI#s)*B'-x86_64-r%) ). @&tional; install the co%%on inventor+ technolog+ &ac.age the client uses to sen' 3V5 %etrics to the server. This &ac.age is 'e&en'ent on the client &ac.age so it %ust )e installe' after the client &ac.age is installe'. r%) *i TI#s)*B'cit-x86_64-r%) D. Install the sna&shot 'ifference incre%ental )ac.u& su&&ort for 8et2&& an' 84Series file servers )+ entering the follo-ing co%%an'; r%) *i TI#s)*B'hd/-x86_64-r%)

Setting up DB2 with TSM

&onfiguring Tivoli Storage Manager Linux x86_64 client


1. To configure the TSM environ%ent for use )+ DB2 'ata)ase s+ste%s set the environ%ent varia)les use' )+ the TSM client 23I. E'it the F,@ME/s?lli)/user&rofile file to inclu'e the DSMI varia)les as follo-s. set 0 gre% DSMI DSMI_DIR 4 shoul' s&ecif+ the /Go&t or usrH/tivoli/ts%/client/a&i/)in"$ 'irector+ DSMI_&123I4 4 shoul' s&ecif+ a full &ath an' file na%e for TSM user o&tions file i.e.( 's%.o&t DSMI_L14 4 shoul' s&ecif+ a 'irector+ that is rea'/-rita)le )+ DB2 since this is -here the error log /'sierror.log0 -ill )e create'. 8ote that the errorlogna%e &ara%eter ta.es &rece'ence over the DSMI#L@* varia)le. 2. 2t the )otto% of the F,@ME/.&rofile /for <orn shell0 or F,@ME/.)ash#&rofile /for Bash shell0 or the e?uivalent for an+ other shell( source the DB2 file F,@ME/s?lli)/')2&rofile. 7or e a%&le; 2'' the follo-ing to the )otto% of the F,@ME/.&rofile . (56 1M78(s9lli:(d:2%rofile

2'' the follo-ing to the )otto% of the F,@ME/.)ash#&rofile source (5d:2ho)e8(s9lli:(d:2%rofile B+ 'efault( the /GF,@MEH/s?lli)/')2&rofile sources the /GF,@MEH/s?lli)/user&rofile. Therefore( the DSMI varia)les -ill still )e e &orte' into the DB2 userIs shell. To avoi' confusion( it is reco%%en'e' to re%ove the DSMI varia)les fro% the F,@ME/.&rofile or F,@ME/.)ash#&rofile /if the+ e ist0 an' onl+ 'efine the DSMI varia)les in the /GF,@MEH/s?lli)/user&rofile. 7or S23 environ%ent ( +ou can also in the 'irector+ /ho%e/Gsi'Ha'% e'it files .')env#Ghostna%eH.csh an' .')env#Ghostna%eH.sh as -ell as in the 'irector+ /')2/')2Gsi'H ( e'it the files ')env#Ghostna%eH.csh an' .')env#Ghostna%eH.sh an' a&&en' the environ%ent varia)les %entione' in ste& 1. 3. De&en'ing on the serverIs configuration( a Tivoli client %ight re?uire a &ass-or' to interface -ith a TSM server. If the TSM environ%ent is configure' to use .'SS;1RD'&&7SS<generate /in 's%.s+s file0( the Tivoli client nee's to have its &ass-or' esta)lishe'. The DB2 'ata)ase configuration &ara%eters TSM#@J8E>( TSM#8@DE( an' TSM#32SSJ@>D %ust )e set to 85LL. To verif+( run; d:2 get d: cfg 0 egre% =TSM_21D72'M70TSM_1;27R0TSM_.'SS;1RD=

Setting up DB2 with TSM


TSM node na)e >TSM_21D72'M7? < TSM o/ner >TSM_1;27R? < TSM %ass/ord >TSM_.'SS;1RD? <

The ?uer+ -ill sho- )lan. values for the &ara%eters that are alrea'+ 85LL. If +ou nee' to u&'ate an+ of these DB2 'ata)ase configuration &ara%eters( run; d:2 u%date d: cfg for d:na)e using TSM_21D72'M7 2+LL The TSM#@J8E>( TSM#8@DE( an' TSM#32SSJ@>D &ara%eters shoul' onl+ )e &o&ulate' -hen &ass-or'access is set to &ro%&t -ithin the 's%.s+s file. If an+ changes are %a'e to these environ%ent varia)les an' the 'ata)ase %anager is running( sto& /d:2sto%(d:2sto% force0 an' restart /d:2start0 the 'ata)ase %anager to %a.e the changes effective. $. The e ecuta)le file 's%a&i&- is installe' in the s?lli)/a's% 'irector+ of the instance o-ner. This e ecuta)le allo-s +ou to esta)lish an' reset the TSM &ass-or'. To e ecute the ds)a%i%/ co%%an'( +ou %ust )e logge' in as the local a'%inistrator or =root= user. Jhen this co%%an' /(6 1M7(s9lli:(ads)(ds)a%i%/0 is e ecute'( +ou -ill )e &ro%&te' for the follo-ing infor%ation; 1ld %ass/ord( -hich is the current &ass-or' for the TSM no'e( as recogniKe' )+ the TSM server. The first ti%e +ou e ecute this co%%an'( this &ass-or' -ill )e the one &rovi'e' )+ the TSM a'%inistrator at the ti%e +our no'e -as registere' on the TSM server. 2e/ %ass/ord( -hich is the ne- &ass-or' for the TSM no'e( store' at the TSM server. /You -ill )e &ro%&te' t-ice for the ne- &ass-or'( to chec. for in&ut errors.0 e it You shoul' no- nee' to login as DB2 user an' rec+cle the DB2 instance. d:2adutl 9uer! 4 This shoul' co%&lete successfull+( -hich verifies that the environ%ent in the current shell is &ro&erl+ configure' >un the )ac.u& fro% DB2 to verif+ further. 7or e a%&le; DB2 B'&@+. D'T'B'S7 5SID8 +S7 TSM

Setting up DB2 with TSM

You might also like