DevTech101

DevTech101

To recover your encryption keys click here
Please note this document is written with the assumption that the tapes from the primary site is moved to the secondary site.
Note 2: The DR server information is

  • Host name: drnbu
  • IP Address: 10.10.10.10

NetBackup Pre steps already done

NetBackup installation & configuration

  • Make sure to change the server hostname (/etc/nodetname)the same as the primary site name
  • Insatll Netbackup software & patches (currently 6.5.3.1)
  • Configure SAN zoning for the bkmaster catalog (currently /catalog)
  • Link the NetBackup catalog (steps below)

Configure NetBackup with primary site catalog

Make sure to stop NetBackup before continuing

  • /etc/init.d/netbackup stop

Link the new catalog

  • cd /usr/openv/netbackup
  • mv db db.org
  • ln -s /catalog/netbackup/db
  • cd /usr/openv
  • mv kms kms.org
  • ln -s /catalog/kms

Split the TrueCopy catalog (check the status first if its up to date) on bkmedia4

/HORCM/scripts/veritas-tc-pairdisplay.ksh
Group   PairVol L/R   Port# TID  LU  Seq# LDEV# P/S Status Fence    % P-LDEV# M
9985A_veritas-tc        9985A_veritas-tc1 L   CL1-E  64    4 82921    4e S-VOL PAIR ASYNC      0    4e -
9985A_veritas-tc        9985A_veritas-tc1 R   CL7-A  35    1 80254    4e P-VOL PAIR ASYNC      0    4e -

Split TrueCopy

  • /HORCM/scripts/veritas-tc-pairsplit.ksh

Re-start NetBackup with the new catalog

  • /etc/init.d/netbackup start

Make sure to stop NetBackup before the re-sync

  • /etc/init.d/netbackup stop

Once done re-pair the TrueCopy

  • /HORCM/scripts/veritas-tc-pairresync.ksh
  • pairevtwait : Wait status done.

Make sure it synced again

/HORCM/scripts/veritas-tc-pairdisplay.ksh
Group   PairVol L/R   Port# TID  LU  Seq# LDEV# P/S Status Fence    % P-LDEV# M
9985A_veritas-tc        9985A_veritas-tc1 L   CL1-E  64    4 82921    4e S-VOL PAIR ASYNC      0    4e -
9985A_veritas-tc        9985A_veritas-tc1 R   CL7-A  35    1 80254    4e P-VOL PAIR ASYNC      0    4e -

How to Restore Tapes from the DR Media Server

first you must physically load the tapes into the new library and update the inventory using the netbackup client or by running:

vmupdate -rt tld -rn 3 -rh bkmedia4 -use_barcode_rules -empty_map

when you load tapes from one media server into a library belonging to another media server you must update the media owner in the NetBackup Catalog
to move one tape:

bpmedia -movedb -ev media_ID -oldserver  -newserver 

to move of the tapes from one media server to another you can use:

bpmedia -movedb -allvolumes -oldserver  -newserver  

To recover your encryption keys click here

%d bloggers like this: