Вы находитесь на странице: 1из 4

ask on 5.

5 Server
1. cancel server and client session and stop schedules.

# disable sessions client

Take DB Backup Through command line

BA DB DEV=LTOCLASS2 T=F S=Y W=N

disable sessions server

cancel session all

stop TSM & ISC console 5.5

devconfig filenames=/tmp/upgrade63/devconfig.55

volhistory filenames=/tmp/upgrade63/volhistory.55

take backup of dsmserv.opt dsmserv.dsk

nohup /opt/tivoli/tsm/upgrade/bin/dsmupgrd extractdb devclass=DBBACKUP2


manifest=/tmp/upgrade63/manifest.txt>/tmp/upgrade63/extract.out 2>&1 & Extract DB

Halt the server

SCP copy the extract file,details and devclass details

1. Testing of Extarct DB on TEST server .

stop the test tsm server and copy the /tmp/DBBACKUP1 (This DEISK DEV class where
DABACKUP is dumped .ost file) and manifest file to test server.

1)

DROP TEST server existing DB to insert NEW 5.5 DB

2)

set db2instance=server1

3)

db2stop force

4)

db2start

5)

db2 drop database TSMDB1

clear the directory content means remove the all arcive file created inside this dir.

/opt/tsmdb001,/opt/tsmdb002,/opt/tsmdb003, /opt/tsmlog /opt/tsmarchlog

Load DB format again TSM should be running # /opt/tivoli/tsm/server/bin/dsmserv


loadformat dbdir=/opt/tsmdb001,/opt/tsmdb002,/opt/tsmdb003

activelogsize=5000 activelogdir=/opt/tsmlog archlogdir=/opt/tsmarchlog


INSERT DB nohup /opt/tivoli/tsm/server/bin/dsmserv insertdb
manifest=/tmp/upgrade/manifest.txt > /tmp/upgrade/insert.out2>&1 &

check the devclass details and history file, schedule tapelibrary on test server

3 Simple Rules to start 6.3 upgraded.


1. Install SLES 11 SP1 OS

install 7z To extract 6.3.1 server bin files

copy 6.3.1 packages

install tsm server

Check the logs in /var/Tivoli/tsm

INSTAL ADMIN Center

DATABASE related configuration Create required users and Directory

User tsminst1 group tsmsrvrs create DIR in /opt with this tsminst1 and tsmsrvrs
users and group ownership tsmarchlog tsmdb001 tsmdb002 tsmdb003
tsminst1 tsmlog

create directory db username instance dirctory #touch the .profile file in home dir
of user tsminst1

Execute in x-session command /opt/tivoli/tsm/server/bin/dsmicfgx Toc


create the DB instance.

Check New server config su to user tsminst1 and cd


/opt/tmsinst1 and start the server

/opt/Tivoli/tsm/server/bin/dsmserv set admin passwd update


admin admin password

define dev class DBBACKUp2 for insert db where we extract the


OLD 5.5 DBBACKUP in new 6.3.1 DB #DEFINE DEVCLASS
DBBACKUP2 DEVT=FILE FORMAT=DRIVE
MAXCAP=5253125K MOUNTL=20 DIR=/tmp/DBDISK1
SHARE=NO

Install Client BA and API remove API installed with


server Package .

Now Drop the DB and clear the Directory and Copy the
/tmp/DBBACKUP1 and mainfest file from test server.

Clear the directory content means remove the all arcive


file created inside this dir.

/opt/tsmdb001,/opt/tsmdb002,/opt/tsmdb003,
/opt/tsmlog /opt/tsmarchlog

format the db -/opt/tivoli/tsm/server/bin/dsmserv


loadformat
dbdir=/opt/tsmdb001,/opt/tsmdb002,/opt/tsmdb003
activelogsize=5000 activelogdir=/opt/tsmlog
archlogdir=/opt/tsmarchlog

1.1.

stop the tsmserver service

1.2.

set db2instance=server1

1.3.

db2stop force

1.4.

db2start

1.5.

db2 drop database TSMDB1

Stop TSM and insert DB nohup


/opt/tivoli/tsm/server/bin/dsmserv insertdb
manifest=/tmp/upgrade/manifest.txt >
/tmp/upgrade/insert.out 2>&1 &

verify the devclass details and history file, schedule


tapelibrary

Configure lintape rebilud the rpm and edit


/etc/unconfigured file make it one and start lin tape
service.

Check /dev/IBMchanger0 and change the IBMchanger0


IBMtape

IBMtape0

IBMtape0n

IBMtape1

IBMtape1n file group to tsmsrvrs and permission to chown


770

Insert DB and server lic. Server & DB lic we will get from
Base package 6.3.

1)
/tmp/server/COI/PackageSteps/DB2/FILES/ese/db2/licens
e/db2ese.lic2)

/tmp/server/COI/PackageSteps/DB2/FILES/ese/db2/licens
e/db2so.lic3)

db2licm -a db2ese.lic

4)

db2licm -a db2so.lic

5)

db2licm l

6)
install server lic rpm
/tmp/server/COI/PackageSteps/TSM_License/FI
LES/TIV-TSMLIC-Linux/TIVsm-license-6.3.00.x86_64.rpm
7)
ACL-DAK-S005:/opt/tivoli/tsm/server/bin #
ls *.lic
8)

dataret.lic tsmbasic.lic tsmee.lic

cd /opt/tsminst1 / ln -s
/opt/tivoli/tsm/server/bin/dsmserv . / start the
server nohup ./dsmserv quiet >/dev/null 2>&1 &

TSM client Simple rules

Restart the scheduler restart the stg agent


restart the client and check server connectivity.
Check the backup nohup ./dsmsta quiet
>/dev/null 2>&1 &

/opt/tivoli/tsm/client/ba/bin> sudo nohup dsmc


sched 2> /dev/null &

Вам также может понравиться