Monday, January 21, 2008

Step by step documentation configuring HP-UX as SAN Media server on Veritas Netbackup 5.X environtments.
Before configure the drives in netbackup, at first we must configure the drives at OS level and zoning the tape drives from HP-UX to Tape Library.

List all HBA (Host Bus Adapter) in the HP-UX server to get the hardware path :
root@j5d # ioscan -funC fc
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 2 4/1/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td2
fc 0 1/1/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td0
fc 1 1/2/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td1

Check FC cable connectivity (driver state) and WWN for Zoning purpose on SAN Switch Level :
root@j5d # fcmsutil /dev/td2
Vendor ID is = 0x00103c
Device ID is = 0x001028
TL Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x000006
Topology = PTTOPT_FABRIC
Local N_Port_id is = 0x043900
N_Port Node World Wide Name = 0x50060b000006714f
N_Port Port World Wide Name = 0x50060b000006714e
Driver state = ONLINE
Hardware Path is = 4/1/0
Number of Assisted IOs = -1906797105
Number of Active Login Sessions = 1
After get the wwn do zoning on SAN Switch, next step, check the tape drives on the hp-ux :
root@j5d # ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 20 0/1/1/1.6.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/20m /dev/rmt/20mn /dev/rmt/c3t6d0BEST /dev/rmt/c3t6d0BESTn
/dev/rmt/20mb /dev/rmt/20mnb /dev/rmt/c3t6d0BESTb /dev/rmt/c3t6d0BESTnb
tape 1 0/4/1/0.234.18.255.5.5.0 stape CLAIMED DEVICE IBM ULTRIUM-TD1
Install the driver for this tape drives, when the OS has detected :
root@j5d # insf -e
insf: Installing special files for stape instance 1 address 0/4/1/0.234.18.255.5.5.0
Check again to make sure all the tape drives and drivers for the tape drives has been detect and installed :
root@j5d # ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 1 0/4/1/0.234.18.255.5.5.0 stape CLAIMED DEVICE IBM ULTRIUM-TD1
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c16t5d0BEST /dev/rmt/c16t5d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c16t5d0BESTb /dev/rmt/c16t5d0BESTnb
After above step successfully done, than we can continue to configure on netbackup level :
- Install Netbackup Master/Media agent.
- Do "scan" from netbackup to check the drives has been detect by netbackup :
root@j5d # /usr/openv/volmgr/bin/scan
make sure all tape drives has been successfully detect.
If netbackup still cannot detect the tape drives, re-start the server ....

- Set parameter Global Device :
root@j5d # /usr/openv/volmgr/bin/vmglob -set_gdbhost "master" -h "master" --> master = master backup hostname
- Configure tape drives :
root@j5d # /usr/openv/volmgr/bin/tpautoconf -a --> automatic configure tape drives
- Stop all Netbackup process :
root@j5d # /usr/openv/netbackup/bin/goodies/netbackup stop "or" /usr/openv/netbackup/bin/goodies/netbackup/bp.kill_all
- Start all Netbackup process :
root@j5d # /usr/openv/netbackup/bin/goodies/netbackup start
- Check All Netbackup Process running well.
root@j5d # /usr/openv/netbackup/bin/bpps -a
After completed the devices configuration, create the storage unit, volume pool, and backup policy. Afterward test Backup and Restore. Thanks.
Categories:

0 comments: