Solution
How to replace a Tape Drive in a NetBackup Device configuration
Example
NetBackup configuration example
- Master-Media Server
- OS; Linux
- 1 x Robot Library TLD(0)
- 4 x HCART Tape drives
Objective: Replace the tape drive in the NetBackup Device configuration.
ACTION:
1. Check the drive and make sure no media is stuck in the drive.
- If there is, eject the Media and move the media to a tape slot.
- Then run a robotic inventory operation using the NetBackup Admin Console:
- Go to Media and Device Management -> Devices -> Robots -> Actions -> inventory Robot
- Select the option "Update Volume configuration" -> Start
2. Delete the drive that is being replaced from the NetBackup Admin Console.
3. Restart NetBackup after making sure no backup, duplication or restore jobs currently running.
-Stop NetBackup
# /usr/openv/netbackup/bin/bp.kill_all
-Verify all daemons are terminated
# /usr/openv/netbackup/bin/bpps -a
- Start NetBackup
# /usr/openv/netbackup/bin/goodies/netbackup start
- Verify all daemons are running
# /usr/openv/netbackup/bin/bpps -a
4. Replace the drivem and make note of the new drive Serial number.
5. After replacing the Tape Drive:
- Verify the Operating System can discover all Tape Drives:
# /usr/openv/volmgr/bin/sgscan conf -v
- Verify NetBackup can discover the drives:
# /usr/openv/volmgr/bin/tpautoconf -t
# /usr/openv/volmgr/bin/scan -tape
- Verify the new drive serial number has been discovered.
6. To configure the drive:
Go to GUI Device Configuration Wizard -> Media and Device Management -> Configure Storage Unit -> Device Configuration Wizard -> run Auto-discovery
7. The Wizard might restart NBU (device daemons), if not then restart ltid again:
# /usr/openv/volmgr/bin/stopltid
# /usr/openv/volmgr/bin/ltid -v
8. Finally verify the new drive is configured correctly using either NetBackup Admin Console GUI or run the command:
# /usr/openv/volmgr/bin/tpconfig -d