Académique Documents
Professionnel Documents
Culture Documents
Connectivity :
Library device : Must be connected to the Library Manager
Drive device : MUst be connected to both Library Manager and Library Client
Lanfree Backup Components
Library[Robotic Arm and Storage
Drives
Media
HBA
Device Driver
Switches
Zoning
BA/TDP Client
Storage Agent
Library Manager
Library Client
- Datareadpath : any|lanfree
- Datawritepath: any|lanfree
- Maxnummp : max number of drives that can be used by a node
Client Configurations
1.Drive Availability
Drive Definitions
WINDOWS
- Windows device Manager [Windows Only]
- You should be able to see ult3580 Drives or Physical drives
- Use sansurfer or Hbanywhere utility to get WWPN Details
- TSMinstallDir\Storage Agent\tsmdlst /detail [ Windows Only ]
- You should be able to see the drive serial and WWPN Number if
not there is connectivity issue or Driver Issue
- Drive Test
- TSMinstalldir\device\mttest --> set special device file --> 37
---> should not give any error.
HPUNIX
- ioscan -fnkCtape | grep -iE 'IBM|^Class' [ Hp Unix ]
- for every tape device ULT3580 ,test the drive for operability
- tapeutil [ open device :1 - /dev/rmt/rmtx - open in readonlymo
de:2 - query serial Number:3 ]
- if you are able to see serial number the Drive is oper
ational
- ioscan -fnkCunknown
- sometimes the drives go in unknown device category can be a co
nnectivity issue or Device driver issue
- ioscan -fnkCfc
- used to identify which HBA being used for the Drives
fcmsutil argument will be drive : from ioscan command [ FC status ]
here driver is /dev/td1
LINUX
- cat /proc/scsi/IBMtape
[ shows Serial Number ,this actually use
s device driver to read the device to get the serial number ]
- ls -lrt /dev/IBMtape*
[ Shows device special names ]
- cat /proc/scsi/qla*/[1..9]
[ List FC adapter Ports ]
- /opt/hp/hp_fibreutils/hp_rescan -a [ all devices on qlogic , -l on spe
cific hba ]z [ it removes the added LUN's then adds , dont use unless required
]
SUN SOLARIS
- ls -alrt /dev/rmt | grep IBM [ shows device special names ]
- /opt/IBMtape/tapelist -l
[ gives you serial number ]
- /opt/IBMtape/tapeutil
[ Drive Test ]
- tapeutil [ open device - /dev/rmtx - open in readonlymode:2 query serial Number ]
- if you are able to see serial number the Drive is oper
ational
- ls -l /dev/fc/*
[ List adapters and ports ]
- ls -l /dev/fc/fcp*
To check WWN specifics: `luxadm -e dump_map /devices/pci@8,600000/SUNW,qlc@1/fp@
0,0:devctl`
AIX
- lsdev -Cc tape
- lscfg -vl deviceName [ Serial Number ]
- lsdev -Cc adapter [ list all fc adapters ]
- lscfg -vl fc*|rmt*
- grep -p [ grep results displays the paragraph ]
- IBMtapeutil -f /dev/IBMtape2 inquiry 80
2. Device Driver
- If device Driver software is not running the Device will not work at a
ll
WINDOWS
- after installation the driver starts automatically as part of
OS drivers
HpUnix
- /usr/sbin/swlist | grep atdd [ You should be able to see the
atdd device driver ]
- kernel loads the atdd during end of boot process so you can cl
aim unclaim devices as long as kernel has loaded the atdd.
Linux
- lintape [ linux 2.6 and above ]
IBMtape has been replaced by lin_tape, which can be found here
<ftp://ftp.software.ibm.com/storage/devdrvr/Linux/RHEL4/Latest/>
lin_tape is open source driver, but it's essentially the same dr
iver
as it shares most of its code with IBMtape. Even the kernel modu
le it
installs is still called IBMtape.ko.
Checking Driver status
-/usr/bin/lin_taped status [ for lintaped ]
-/usr/bin/IBMtaped status [ for 2.4 and lower ]
-/var/log/lin_tape.errorlog [ logs error ]
Sun Solaris
- IBM Tape Device Driver ,loaded as part of system initializatio
n
Aix
- IBM Tape Device Driver ,loaded as part of system initializatio
n
3. TSM Configurations
- dsm.sys lanfree options
- enablelanfree : if commented or set to no then lanfree not ena
bled
- lanfreetcpserveraddress :hostname/ip of storage agent
- lanfreetcpport : port of storage agent
- lanfreecommmethod : tcpip/sharedmem/namedpipe
4. Storage Agent
- Usually installed on the client which needs to do a Lanfree ba
ckup
- installed at
Unix - /opt/tivoli/tsm/Storage*/bin
Aix - /usr/tivoli/tsm/Storage*/bin
Win - C:\progra*\tivoli\tsm\Storage*
- dsmsta.opt [ devconfig ]
- devconfig.out
- setstorageserver myname=abc mypa=secret myhla=hostname servern
ame=node_reg_instance serverpa=secret hla=ip lla=port
- commmethod
sharedmem -- shmp
namedpipe -- pipename [ winonly ]
tcpip -- tcpport
5. Starting Stopping Storage Agent
- Linux :
/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc stop
/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc start
if above doesent work kill the process and remove the /opt/tivo
li/tsm/StorageAgent/bin/dsmserv.lock file and start it using above utility.
verify Storage Agent stopped/started [ wait for abt 5 secs to
allow for stop/start ]
ps -ef | grep dsmsta
- HPUnix/AIx
- Kill the process to stop it
- remove /opt/tivoli/tsm/StorageAgent/bin/dsmserv.lock f
ile
- start process by
./dsmsta > /dev/null &
verify Storage Agent stopped/started [ wait for abt 5 secs to
allow for stop/start ]
ps -ef | grep dsmsta
- Windows
- Goto Service Panel stop the Storage agent Service
- Goto Service Panel start the Storage agent Service
- Sun Solaris
/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc stop
/opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc start
if above doesent work kill the process and remove the /opt/tivo
li/tsm/StorageAgent/bin/dsmserv.lock file and start it using above utility.
verify Storage Agent stopped/started [ wait for abt 5 secs to
allow for stop/start ]
ps -ef | grep dsmsta
6. Testing Connectivity Between Client Node and Storage Agent
open dsmc -se=stanza
q sess : you should see a storage agent , session
Oracle clients
open dsmc -se=oraclestanza
the password will be hostname if the hostname is greater than 8
chars long else the passwd will be [hostname01... or hostname12..] to make it
8 chars long
q sess : you should see a storage agent sess
7. RMT Mismatch
- device special name changes of the
- Every drive is uniquely identified by its Serial Number , a drive may
many device special names but only one serial number
7.1 Identifying the Path definitions on Library Manger
lm:q path storageagent
Queries
Max Channels
- q node oraclenode f=d
- lm:q path storageagent
- The number of online drive and maxnummp must match ,
- if maxnummp=3 and 2 drives online and one offline then
make the offline drive online
- if maxnummp=3 and 3 drives online and one offline no a
ction required
Current Backups Stats
- get a rough starttime from oracle dba
- q act orig=client node=oranode begint=-timeestimate
- you will see the transactions completed this will tell u the b
ytes backed and the database name
- tell him the last transaction time
- If backup is lanfree tell him the number of active sessions
- go to library manager and do
-storageagent:q sess
-look for client sessions check the session states
Lanfree or Lanbased Backups
- q node oraclenode f=d
- if datawritepath=lanfree then its definitely lanfree if datawr
itepath=any
- login to client
- cd /opt/tivoli/tsm/client/oracle/bin*
- cat tdpo.opt : note down the dsmi_orc_config value
- cat the opt file form the prev parameter
- look for the servername in dsm.sys file and check for
lanfree parameter
Problem Determination
1. Backups fail with error
ANS0350E The current client configuration does not comply with the value of the
DATAWRITEPATH or DATAREADPATH server option for this node.
- StorageAgent is down or not responding , recycle the storage agent
08:19:08
08:19:08
02/23/09
riting the
23:50:18 ANS0326E This node has exceeded its maximum number of mount
Backup Now failed coz STA not running , also specified the lanfreetcpserveraddre
ss , need to observe
------------------------TSM Act Log :