LAN Free Backup Issue

rcfkap

Newcomer
Joined
Aug 4, 2012
Messages
4
Reaction score
0
Points
0
Hi All

We have a setup of Lan free backup on AIX server. The backup is happening using TCP communication method on 2 tapes and it is slow. However I tried changing to Shareadmem commonmethod , but it gives error and then backup started with TCP commonmethod automatically but now only on 1 tape from 2 tape.

ANR0900I Processing options file /usr/tivoli/tsm/StorageAgent/bin/dsmsta.opt.
ANR7811I Using instance directory /usr/tivoli/tsm/StorageAgent/bin.
ANR4726I The ICC support module has been loaded.
ANR8285I Shared Memory driver ready for connection with clients on port 1510
ANR0408I Session 1 started for server TMR (AIX-RS/6000) (Tcp/Ip) for storage agent.

ANR1794W TSM SAN discovery is disabled by options.
ANR0408I Session 2 started for server TMR (AIX-RS/6000) (Tcp/Ip) for event logging.
ANR0408I Session 3 started for server TMR (AIX-RS/6000) (Tcp/Ip) for library sharing.
ANR8920I Initialization and recovery has ended for shared library 3310LIB.
ANR0409I Session 3 ended for server TMR (AIX-RS/6000).
ANR0408I Session 4 started for server TMR (AIX-RS/6000) (Tcp/Ip) for storage agent.
ANR0993I Server initialization complete.
ANR0916I TIVOLI STORAGE MANAGER distributed by Tivoli is now ready for use.
ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1500.

TSM:ECCQAS_STG>

Also I need some tunning to be done to make the lan free backup faster.

Thanks.
 
Last edited:
Hi,

In previous my system backup is slow in LAN-FREE path , then i have changed it to the shared memory , now i am able to take the 1 TB backup in 2 hours.

put the lanfreecommmethod option to sharedmem. After that restart the TSM storage agent.

please check the summary message after completion of the backup is that showing all the data sent using lan-free path or not

example : LanFree data bytes: 534.43 GB

If this showing zero please check the device names you have specified in the TSM server.

If any errors send those errors.

validate the lanfree from the TSM server weather the storage pool is able to take the lan-free backup or not.

check this and revert the status.
 
enablelanfree yes
lanfreecommmethod SharedMem
LANFREESHMPORT 1510

just use these options. Performancewise SharedMem is indeed better than tcp/ip.
 
Hi oguri & Umur

Again I am getting the same problem the backup is not going through sharedmem.

# ./dsmsta
ANR7800I DSMSERV generated at 11:33:04 on Mar 16 2009.

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 5, Level 2.1

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2007.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR0900I Processing options file /usr/tivoli/tsm/StorageAgent/bin/dsmsta.opt.
ANR7811I Using instance directory /usr/tivoli/tsm/StorageAgent/bin.
ANR4726I The ICC support module has been loaded.
ANR8285I Shared Memory driver ready for connection with clients on port 1510
ANR0408I Session 1 started for server TMR (AIX-RS/6000) (Tcp/Ip) for storage agent.
ANR1794W TSM SAN discovery is disabled by options.
ANR0408I Session 2 started for server TMR (AIX-RS/6000) (Tcp/Ip) for event logging.
ANR0408I Session 3 started for server TMR (AIX-RS/6000) (Tcp/Ip) for library sharing.
ANR8920I Initialization and recovery has ended for shared library 3310LIB.
ANR0409I Session 3 ended for server TMR (AIX-RS/6000).
ANR0408I Session 4 started for server TMR (AIX-RS/6000) (Tcp/Ip) for storage agent.
ANR0993I Server initialization complete.
ANR0916I TIVOLI STORAGE MANAGER distributed by Tivoli is now ready for use.
ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1500.

Error for sharedmem:

# cat dsmerror.log
08/11/12 19:08:24 Operation stopped by user
08/14/12 09:25:09 Error -450 opening session
08/14/12 09:25:09 cuSignOnResp: Error -72 reading SignOn response from server.
08/14/12 09:25:09 sessOpen: Error -72 receiving IdentifyResp verb from server
08/14/12 09:25:09 ANS9201W LAN-free path failed.
08/14/12 09:27:41 Unable to attach shared memory block, errno = 24.
08/14/12 09:27:41 ANS9020E Could not establish a session with a TSM server or client agent. The TSM return code is 102.
08/14/12 10:06:41 Unable to attach shared memory block, errno = 24.
08/14/12 10:06:41 ANS9020E Could not establish a session with a TSM server or client agent. The TSM return code is 102.
08/14/12 10:06:41 Unable to attach shared memory block, errno = 24.
08/14/12 10:06:41 ANS9020E Could not establish a session with a TSM server or client agent. The TSM return code is 102.
#


Here is the dsm.sys file

SErvername tmr_bck
* COMMmethod TCPip
* TCPPort 1500
TCPServeraddress X.X.X.X (replaced ip by X.X.X.X for forum)
nodename eccqas
enablelanfree yes
lanfreecommmethod SharedMem
lanfreeshmport 1510
passwordaccess generate
resourceutilization 5
TXNBytelimit 2097125
PASSWORDDIR /usr/tivoli/tsm/client/ba/bin/p/p
schedmode prompt
schedlogretention 7
errorlogretention 7

DSM.OPT :-

# cat dsm.opt
SErvername tmr_bck
#

dsmsta.opt :-

SERVERNAME TMR
DEVCONFIG devconfig.out
COMMMETHOD sharedmem
SHMPORT 1510

devconfig.out:-

# cat devconfig.out
SET STANAME ECCQAS_STG
SET STAPASSWORD 21cd8b725f4fa8ad2b1555eb9f4b201c8e
SET STAHLADDRESS Y.Y.Y.Y
DEFINE SERVER TMR HLADDRESS=X.X.X.X LLADDRESS=1500 SERVERPA=211d74addb722b56ab130ce1afa124b785
 
Last edited:
My server is on AIX 6100-06-05-1115 , tsm ba client on 5.5.2.1 and tsm storage agent on 5.5.2.1
 
Hi rcfkap,

No clues about this.
But the error "Unable to attach shared memory block, errno = 24" look like a OS level error.
 
Hi

I added below variable in /etc/environment then the backup worked on Sharedmem. In 1 hr 500Gb was backed up offline.

EXTSHM=ON
export EXTSHM

But this created the issue when we need to restart the oracle database. So after removing again the database started. So I think this need to be added in .profile of root only not in /etc/environment
 
Back
Top