- Sun Storage Virtual Tape Library VTL User Guide
Replication
202 VTL User Guide • May 2008 G • 96267
‐v(‐‐source‐vdevid)isrequiredtospecifytheIDofthevirtualtapetobeconfigured
forreplication.
‐S(‐‐target‐name)isrequiredtospecifythetargetservername.
‐U(‐‐target‐username)and‐P(‐‐target‐password)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(‐‐replication‐timeout)inseconds(default60).
■ ‐I(‐‐re pl ica tio n‐retry‐interval)inseconds(default60).
■ ‐C(‐‐replication‐retry‐count)retrycoun t (default1).
‐c(‐‐compression)isanoption toenableordisablecompressionwithoneofthe
values:onoroff.
‐e(‐‐encryption)isanoptionforremotereplicationonlytosetencryptionwithone
ofthevalues:onoroff.
‐
f(‐‐force)optionisrequiredwh enthetapeisscheduledtobedeleted.Thedeletion
schedu leforthevirtualtapewillberemovedandthereplicationwillbeconfigured.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.
Thesystemwillretry the commandfortheamountoftime
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.