- Sun Storage Virtual Tape Library VTL User Guide

Replication
202 VTL User Guide May 2008 G • 96267
v(‐‐sourcevdevid)isrequiredtospecifytheIDofthevirtualtapetobeconfigured
forreplication.
S(‐‐targetname)isrequiredtospecifythetargetservername.
U(‐‐targetusername)and‐P(‐‐targetpassword)areoptionalforconnectionand
logintothetarge tserver
ifthetargetserverarenotlogged in withalogincommand.
Thereplicationco nfig urat ionrequiresatriggerpolicytobeset.Ifnotriggerpolicyis
specified,thecommandwillautomaticallyapplytheappropriatedefaultpolicy
basedonthetapecachingpropertyofthespecifiedvirtualtape.
Anycombinationofthe
followingtwooptionscanbeusedtosetupareplication
triggerpolicyforavirtualtapewith thetapecachingpropertydisabled. Th edefault
policyis1024MBwatermark.
w(‐‐watermark)isadatasizebasedtriggerinMB .Thewatermarkischec ke dwhen
thetapeis unloaded
fromthetapedriveandthereplicatio nistriggered if the
amountofnewdataon thetapehasreachedthespecifie d watermark.
d(‐‐date)combinedwith ‐i(‐‐interval)isatimebasedtrigger.Thereplicationis
triggeredatthetimespecifiedbydateandthen repeatedeveryinterval.
‐d( ‐‐date)
formatisYYYYMMDDHHM Mand‐i(‐‐interval)formatisanumberfollowedbyH
forhoursorM forminutes(e.g.‐i2Hor‐interval=120M).Thedefaultvaluefor
intervalis1H(onehour).
r(‐‐repl first)isanopti on toreplicatethevirtualtapebefore
itismigrated.Useʺonʺ
inordertoenablethispolicyorʺoffʺtohavetapemigrationexecutedfirst.Th e
defaultpolicyistoreplicatethevirtualtapeafterit ismigrated.
Replicationisretriedbasedonthetimeoutpolicy:
t(‐‐replicationtimeout)inseconds(default60).
I(‐‐re pl ica tio nretryinterval)inseconds(default60).
C(‐‐replicationretrycount)retrycoun t (default1).
c(‐‐compression)isanoption toenableordisablecompressionwithoneofthe
values:onoroff.
e(‐‐encryption)isanoptionforremotereplicationonlytosetencryptionwithone
ofthevalues:onoroff.
f(‐‐force)optionisrequiredwh enthetapeisscheduledtobedeleted.Thedeletion
schedu leforthevirtualtapewillberemovedandthereplicationwillbeconfigured.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.
Thesystemwillretry the commandfortheamountoftime
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.