You are on page 1of 4

Lanfree

Library Manager : Resposible for Media mounts/dismounts/ maintains inventory of the Library , Library Audit
Library Client : Owns the Volumed and reuests the LM for Mounts,
!torage Agent : A redu"ed version of #!M server and used for lan free transfer of data between "lient and #!M !torage
$ools%
Conne"tivity :
Library devi"e : Must be "onne"ted to the Library Manager
&rive devi"e : M'st be "onne"ted to both Library Manager and Library Client
Lanfree (a")up Components
Library*Roboti" Arm and !torage !lots+ : &ef Library
&rives : &ef &ev"lss , &ef drive
Media : ,olds the data
,(A :
&evi"e &river :
!wit"hes :
-oning :
(A/#&$ Client : Client to do ba")ups
!torage Agent :
Library Manager :
Library Client :
Client Configurations
.%&rive Availability
&rive &efinitions
/01&O/!
2 /indows devi"e Manager */indows Only+
2 3ou should be able to see ult4567 &rives or $hysi"al drives
2 #!Minstall&ir8!torage Agent8tsmdlst /detail * /indows Only +
2 3ou should be able to see the drive serial and //$1 1umber if not there is "onne"tivity issue or &river
0ssue
2 &rive #est
2 #!Minstalldir8devi"e8mttest 229 set spe"ial devi"e file 229 4: 2229 should not give any error%
,$'10;
2 ios"an 2fn)Ctape * ,p 'ni< +
2 for every tape devi"e 'L#4567 ,test the drive for operability
2 tapeutil * open devi"e 2 /dev/rmt< 2 open in readonlymode:= 2 uery serial 1umber +
2 if you are able to see serial number the &rive is operational
2 ios"an 2fn)Cun)nown
2 sometimes the drives go in un)nown devi"e "ategory "an be a "onne"tivity issue or &evi"e driver issue
2 ios"an 2fn)Cf"
2 used to identify whi"h ,(A being used for the &rives
L01';
2 "at /pro"/s"si/0(Mtape * shows !erial 1umber ,this a"tually uses devi"e driver to read the devi"e to get the
serial number +
2 ls 2lrt /dev/0(Mtape> * !hows devi"e spe"ial names +
!'1 !OLAR0!
2 ls 2alrt /dev/rmt ? grep 0(M * shows devi"e spe"ial names +
2 /opt/0(Mtape/tapelist * gives you serial number +
2 /opt/0(Mtape/tapeutil * &rive #est +
2 tapeutil * open devi"e 2 /dev/rmt< 2 open in readonlymode:= 2 uery serial 1umber +
2 if you are able to see serial number the &rive is operational
=% &evi"e &river
2 0f devi"e &river software is not running the &evi"e will not wor) at all
/01&O/!
2 after installation the driver starts automati"ally as part of O! drivers
,p'ni<
2 /usr/sbin/swlist ? grep atdd * 3ou should be able to see the atdd devi"e driver +
2 )ernel loads the atdd during end of boot pro"ess so you "an "laim un"laim devi"es as long as )ernel has
loaded the atdd%
Linu<
2 lintape * linu< =%@ and above +
0(Mtape has been repla"ed by linAtape, whi"h "an be found here
Bftp://ftp%software%ibm%"om/storage/devdrvr/Linu</R,CLD/Latest/9
linAtape is open sour"e driver, but itEs essentially the same driver
as it shares most of its "ode with 0(Mtape% Cven the )ernel module it
installs is still "alled 0(Mtape%)o%
Che")ing &river status
2/usr/bin/linAtaped status * for lintaped +
2/usr/bin/0(Mtaped status * for =%D and lower +
2/var/log/linAtape%errorlog * logs error +
!un !olaris
2 0(M #ape &evi"e &river ,loaded as part of system initialiFation
4% #!M Configurations
2 dsm%sys lanfree options
2 enablelanfree : if "ommented or set to no then lanfree not enabled
2 lanfreet"pserveraddress :hostname/ip of storage agent
2 lanfreet"pport : port of storage agent
2 lanfree"ommmethod : t"pip/sharedmem/namedpipe
D% !torage Agent
2 'sually installed on the "lient whi"h needs to do a Lanfree ba")up
2 installed at
'ni< 2 /opt/tivoli/tsm/!torage>/bin
Ai< 2 /usr/tivoli/tsm/!torage>/bin
/in 2 C:8progra>8tivoli8tsm8!torage>
5% !tarting !topping !torage Agent
2 Linu< :
/opt/tivoli/tsm/!torageAgent/bin/dsmsta%r" stop
/opt/tivoli/tsm/!torageAgent/bin/dsmsta%r" start
if above doesent wor) )ill the pro"ess and remove the /opt/tivoli/tsm/!torageAgent/bin/dsmserv%lo") file
and start it using above utility%
verify !torage Agent stopped/started * wait for abt 5 se"s to allow for stop/start +
ps 2ef ? grep dsmsta
2 ,$'ni<
2 Gill the pro"ess to stop it
2 remove /opt/tivoli/tsm/!torageAgent/bin/dsmserv%lo") file
2 start pro"ess by
%/dsmsta 9 /dev/null H
verify !torage Agent stopped/started * wait for abt 5 se"s to allow for stop/start +
ps 2ef ? grep dsmsta
2 /indows
2 Ioto !ervi"e $anel stop the !torage agent !ervi"e
2 Ioto !ervi"e $anel start the !torage agent !ervi"e
2 !un !olaris
/opt/tivoli/tsm/!torageAgent/bin/dsmsta%r" stop
/opt/tivoli/tsm/!torageAgent/bin/dsmsta%r" start
if above doesent wor) )ill the pro"ess and remove the /opt/tivoli/tsm/!torageAgent/bin/dsmserv%lo") file
and start it using above utility%
verify !torage Agent stopped/started * wait for abt 5 se"s to allow for stop/start +
ps 2ef ? grep dsmsta
Re"ently 0 have not got any e<posure of !A1 JLA12KRCCL (ut 0 )now the "on"ept of !A1% A"tually in this "on"ept (a")up
avoid the LA1 1etwor) and goes through the !A1 !wit"h, Kiber Channel et"% A"tually it is LA12KRCC (a")up%
.L At first we installed the #!M !erver in !A1 Cnvironment H Configure% A"tually the !C!0 Library sharing reuires the use of
server2server "ommuni"ation, !o At first define the !erver name for the primary library manager and set itMs password using
this "ommand: 2
N !C# !CRVCR1AMC L0(RAR3 MA1AICR 1AMC% J#o define the !erver name as a Library ManagerL
N !C# !CRVCR$A!!/OR& $A!!/OR&% J#o define the $asswordL
=L 0n !erver2to2!erver Communi"ation, you "an allow "ross definition by this Command: 2
N !C# CRO!!&CK01C O1%
4L #he define the high2level H low2level address% ,igh level address means 0$ Address of #!M !erver H Low level address
means #!M servers $ort: 2
N !C# !CRVCR,LA&&RC!! .O=%O%=77%.=D H N !C# !CRVCRLLA&&RC!! .577%
DL #hen Configure the Library in shared mode: 2
N &CK L0(RAR3 L0(1AMC L0(#3$CP!C!0 !,ARC&P3C!%
5L After defining the library define all drive of library, &efine the &evi"e "lass for library, &efine a !#I $ool using this &evi"e
Class as li)e as when you "onfigure the library in LA1 Cnvironment%
@L #hen &efine a management Class with Copy group &efinition, whi"h you will be using for LA12 Kree ba")ups, should point
to the tape storage devi"e "onne"ted on the storage Area 1etwor)%
:L #hen Modify the Client Option file manually% 0n &!M%O$# /rite !ome line: 2
C1A(LCLA1KRCC 3C! LA1KRCCCOMMC#,O& !,ARC&MCM
LA1KRCCCOMMC#,O& #C$0$ OR LA1KRCC#C$$OR# .5.7
LA1KRCC#C$$OR# .577
6L 0nstall the #!M !torage Agent !oftware H #!M &evi"e &river in "lient ma"hine H "onfigure%
NOTE: - #he !torage agent uses &!M!CRV%O$# file when the appli"ation starts up% Cnsure that the &CVCO1K0I option is
set% A"tually all devi"e related information stored in &CVC1KI%O'#% J&CVCO1K0I &CVC1KI%O'#L
OL #o Cstablish the "ommuni"ation between storage Agent and #!M !erver issue the &!M!#A !C#!#ORAIC!CRVCR
Command: 2
N &!M!#A !C#!#ORAIC!CRVCR M31AMCP!#A!CRVCR1AMC M3$A!!/OR&P$A!!/OR&
M3,LA&&RC!!P0$ A&& OK !#A !CRVCR/CL0C1# !CRVCR1AMCP1AMC !CRVCR$A!!/OR&P$A!!/OR&
,LA&&RC!!P0$ A&& LLA&&RC!!P$OR# 1O%
#his "ommand Ienerate some lines in the devi"e "onfiguration file for the storage agent: 2
!C# !#A1AMC 1AMC
!C# !#A$A!!/OR& $A!!/OR&
!C# !#A,LA&&RC!! 0$ A&&RC!!
&CK01C !CRVCR 1AMC OK !CRVCR ,LA&&RC!!P0$ A&& OK !CRV LLA&&RC!!P.577
!CRVCR$AP$A!!/OR&%
.7L 1ow define the path between the !A1 &evi"es and the !torage Agent and #!M !erver (y Q&CK01C $A#,R Command%
..L 1ow !tart the &evi"e &river by Q#!M!C!0 /C1A(LCR Command% 3ou "an also start the devi"e driver by rebooting the
"lient system% #he devi"e driver should automati"ally start at Reboot%
.=L 1ow define the !torage Agent, whi"h will be the Library Client as a !erver: 2
N &CK01C !CRVCR !#ACL0C1#1AMC !CRVCR$A!!/OR&P$A!!/OR& ,LA&&RC!!P0$ A&&
LLA&&RC!!P.577%
.4L After defining the !torage Agent as a server, we define &rive path for the !torage Agent: 2
N &CK01C $A#, !#ACL0C1#1AMC &R0VC7 !RC#3$CP!CRVCR &C!##3$CP&R0VC L0(RAR3PL0(1AMC
&CV0CCPM#;%3%-%1%
.DL After &efining the $ath 0nstall !torage Agent as a !ervi"e from Management Console: 2 J&!M!#A !CRV0CCL
#!M !#ORAIC MA1AICR222!#ACL0C1#1AMC222#!M !#ORAIC AIC1#222/0-AR&!
0n this $ro"ess 3ou should enter the !torage Agent H #!M !erver 0nformation li)e 1ame, $assword and 0$ Address,
$ort 1o% After that !torage Agent has been initialiFed, then the !ervi"e will automati"ally started%
NOW YOUR SAN ENVIRONMENT IS INSTALLED AND CONFIGURED
VERIFYING THE DATA MOVEMENT: -
NS !C!!0O1 J/hen you e<e"ute this "ommand from !#A Console then you see the byte re"eived are in"reasing to
the total amount of &ata%L
NS !C!!0O1 J/hen you e<e"ute this "ommand from #!M !erver then you see the little byte re"eived from the same
node be"ause this refers the meta data%L
/e "an "he") ba")up performan"e !u""essful or not by this "ommand: 2 N !,O/ LA1KRCC 1O&C1AMC !#ORAIC
AIC1# 1AMC%
NOTE: - #wo files 0mportant &!M!#A%O$# H &CVC1KI%O'#% (oth the Kile lo"ated in #0VOL08#!M8&!M!#A &ire"tory%
HOW TO WORK: -0n this environment Client sends a reuest for (a")up to the #!M !erver through LA1 then !erver a"tive
the Library, After that "lient fire the ba")up over !A1 not through LA1% 0n one time Client one is send the ba")up to the library
through !A1 and se"ond is send the MC#A&A#A to the #!M !erver through LA1 will do two wor)s%
Que. 4) How to implement LAN FREE BACKUP
Ans:
.L 0nstall #!M !erver in !A1 environment with library%
Configure Library in shared mode Ji%e% define library shared P yesL
!C# !ervername 1itinA!CRVCR.
!C# $assword >>>>>
!C# Lladd .577
!C# ,ladd .O4%O%=77%.5@
!C# CRO!!define O1
=L 0nstall !torage Agent !oftware in Client ma"hine H Configure of storage Agent
4L Register the !torage Agent on #!M !erver%
i%e% &efine !erver &CM !erverpassP>>>> ,laddPipaddress LladdP$ort 1umber Commmethod P #C$0$
DL 01VOGC the storage Agent through &!M!#A Command
i%e% &!M!#A setstorageserver mynameP&CM mypassP>>>> my,LaddP.O4%O%=77%.55 !ervernameP1itinA!CRVCR.
!erverpassP>>>> ,laddP.O4%O%=77%.5@ LladdP.577
DSMSTA.OPT DEVCONFIG.OUT
!erver1ame 1itinA!erver. !C# !#A1ame &CM
&CVCO1K0I dev"onfig%out !C# !#A$assword >>>>
!C# !#A,Laddress .O4%O%=77%.55
&efine !erver 1itinA!erver.
!erver$assword >>>>
,laddress .O4%O%=77%.5@
Lladdress .57=
5L !et parameter on Client ma"hine DSM.OPT or SYS
!ervername 1itinA!erver.
Cnablelanfree 3es
Lanfree"ommmethod t"pip
Lanfreet"pport .577
Commmethod #C$ip
#C$!erverAddress .O4%O%=77%.5@
#"pport .57=
@L &efine the $A#, between Client to the &river%
i%e% define $ath &CM drive7 sr"tapePserver destPlibP456Dlb devi"eP/dev/rmt7
:L !tart the !torage Agent through &!M!#A Command on "lient side%