Networker

From Mesopoly 3.0
Revision as of 07:54, 14 December 2011 by Zlatko (talk | contribs) (→‎Errors)
Jump to navigation Jump to search

EMC (Legato) Networker

Forums

Certification

(Prometric..)

  • E22-128 - Administration
  • E22-141 - Specialist

Tips

  • to start group backup from the command line
    • from server: savegrp -l full "Name of the group"
  • if permission denied at restore:
    • add your client from which you are starting recovery to 'hosts' file and 'servers' file of nsr server and client you are recovering from
    • in networker cliend definition resource add user working on recovery
  • to delete a saveset "nsrmm -dy -S 546902992
  • to delete aborted save sets, ie. 'clean' device, and so free space on disk device .. "nsrstage -C -V DEVICE.RO"
  • to stage (migrate) single ssid "nsrstage -m -b "Pool To Save To" -S 2476198025"
  • to stage savesets from media to media
    • mminfo -avot -r "ssid" -q "volume=[vol]" > list_of_ssids.ini (get savesets to a file)
    • nsrstage -v -b [pool] -m -S -f list_of_ssids.ini
  • to copy volume - clone savesets
    • to get a list of savesets with cloneids "mminfo -q volume="volume name" -r ssid,cloneid | awk '{print $1"/"$2}' > ssid.lst"
    • to clone (copy) a saveset "nsrclone -b pool -S ssid/cloneid"
  • to clone savesets of a client made since yesterday
    • get a list of savesets "mminfo -t yesterday -c client_name -r ssid"
    • nsrclone -b "pool name" -S 791898185
  • to list savesets in a span of time mminfo -c clientname -q 'savetime>=01/04/2009 23:00:00,savetime<=01:00:00 today'
  • to recover using interactive shell command 'recover' - "recover -c client.332 -R netwrkrserver -i R "
  • to recover a saveset to a local directory recover -s servername -d /relocate/here/ -S 1250499234/4233721878
  • to recover using scanner command "scanner -S 4048245145 /dev/rmt/0cbn | uasm -rv -m /org/dest/=/recover/dest"
  • to (extract?) saveset from a point on the tape
    • obtain SSID
    • read out file and record number from mminfo -avVot -q 'ssid=21244549'
    • run scanner scanner -S -f 23 -r 112 /dev/rmt/2cbn
  • to generate report for a client; time range, listing savesets, size,.. , ordered by time
    • mminfo -q "savetime>=06/01/2009,savetime<=06/08/2009 23:59:00,client=nan000d7" -r sscreate,client,level,name,sumsize -o t >> totalsize.txt

jukebox related

  • sjirdtag 2.1.0 - will list status of slots and deposit slots
  • nsrjb -d -v -P3 -S34 -Y - will deposit tape from door port 3 to slot number 34
  • nsrjb -L -b NameofThePool -Y -S82 -v nameofthetape.023
  • mt routine for tape positioning
    • mt -f /dev/rmt/Xcbn rewind
    • mt -f /dev/rmt/Xcbn fsf 466
    • mt -f /dev/rmt/Xcbn fsr 0

migrating savesets to second server

  • obtain storage node and autochanger licences. temporary demo codes that come with media sets should do fine
  • load media in device, take note of the # of the slot AND device
  • stop first server nsr_shutdown, start nsrexec
  • configure first server as storage node on second server
  • once device shows in libraries > configure library
  • inventory source tape, might unload, so 'load (without mount?)' again
  • on remote node start scanner -i -s networkerservernamehere -c clientnamehere/dev/rmt/4cbn
  • query savesets on volume and clone to target clone pool via right click
  • once finished, empty devices, right click on libraries and delete jukebox
  • delete devices
  • delete storage node (optional?)
  • nsr_shutdown on storage node to exit client
  • networker start on 'storage node' /etc/init.d/networker start

  • loading multiple tapes in devices and running scanner in parallel?

recovering recycled saveset

#acquire ssid AND cloneid , getting cloneid >
bash-2.05#  mminfo -q "volume=nonbarcode.033" -r "ssid, cloneid"|grep 274737105
bash-2.05# nsrmm -e 3weeks -S 274737105/2188882108 #change retention of a saveset
bash-2.05# nsrmm -o notrecyclable -v -S 274737105/1231038059
Mark save set copy 274737105/1231038059 as not recyclable? yes
nsrck -L7 -t MM/DD/YY your_client_name_here
where DD is the day *after* the day of the saveset.

Sandbox

mminfo
bash-2.05# mminfo -v -c client123 -q 'savetime>=01/04/2009,savetime<=01/05/2009 00:00:00' 
 volume        client           date     time         size ssid      fl   lvl name
nonbarcode.066 client123          01/04/09 04:00:58 1848 MB 274737105 cE  full /usr/IBMIHS

bash-2.05# mminfo -v -c client123 -q 'savetime>=01/04/2009,savetime<=01/05/2009 00:00:00' -q 'volume=nonbarcode.066' -r 'ssid,cloneid,volume,name,ssflags'
 ssid         clone id volume        name                           ssflags
274737105   1231038059 nonbarcode.066 /usr/IBMIHS                   vrEF

bash-2.05#  mminfo -a -q 'ssexp>=2month' nonbarcode.070 #to show which saveset prevents tape from recycling (with -r 'ssid' to get a number)
volume        client       date      size   level  name
nonbarcode.070 c3300018    01/04/09  15 MB    full  /some/dir

Errors

  • " filesys_nuke_ssid: unable to unlink"

Levels

Links