Monday, December 10, 2007

Install Netbackup Media Server Agent for Solaris
Before configure solaris as Netbackup SAN Media Server, make sure all the device tapes have been already recognized on the operating system level.

Check existing SCSI passthru drivers (sg driver) :
# /usr/sbin/modinfo | grep sg
92 78152ea7 16ea 97 1 sysmsg (System message redirection (fan)
124 78000000 1eb8 49 1 msgsys (System V message facility)
124 78000000 1eb8 49 1 msgsys (32-bit System V message facilit)
147 102d7780 31cd 252 1 sg (SCSA Generic Revision: 3.5a)
Remove existing SCSI passthru drivers (sg driver) if available :
# /usr/sbin/rem_drv sg
# /usr/sbin/modinfo | grep sg --> make sure the driver has been unload
92 78152ea7 16ea 97 1 sysmsg (System message redirection (fan)
124 78000000 1eb8 49 1 msgsys (System V message facility)
124 78000000 1eb8 49 1 msgsys (32-bit System V message facilit)
Backup drive configuration before replace to the new one :
# cp /kernel/drv/sg.conf /kernel/drv/sg.conf_old
# /usr/bin/rm -f /kernel/drv/sg.conf
Install sg driver :
# /usr/openv/volmgr/bin/driver/sg.install
Reconfigure target and lun server to cover all backup hardware (tape drives).
Note : This command must be run on directory "/usr/openv/volmgr/bin/driver"
# cd /usr/openv/volmgr/bin/driver
# /usr/openv/volmgr/bin/sg.build all -mt 10 -ml 1 --> for 10 target(drive) and 1 lun
The file ./st.conf should be appended to /kernel/drv/st.conf.
A reboot may be necessary to create any new device files.
Created file ./sg.conf.
Created file ./sg.links.
Remove existing content of "/kernel/drv/st.conf", and replace with content "/usr/openv/volmgr/bin/driver/st.conf"
Make sure all directory and link for new tape drives has been automaticly created after the driver instalation (sg install).
# ls -l /dev/rmt/*cbn
Do "scan" from netbackup to check the drives has been detect by netbackup.

# /usr/openv/volmgr/bin/scan
If the tape drives has not detect by netbackup, remove sg driver and install again to re-read (refresh) the configuration.
# /usr/sbin/rem_drv sg
# /usr/bin/rm -f /kernel/drv/sg.conf
# /usr/openv/volmgr/bin/driver/sg.install
"scan" again and 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 :
# /usr/openv/volmgr/bin/vmglob -set_gdbhost "master" -h "master" --> master = master backup hostname
Configure tape drives :
# /usr/openv/volmgr/bin/tpautoconf -a --> automatic configure tape drives
Stop all Netbackup process :
# /usr/openv/netbackup/bin/goodies/netbackup stop "or" #/usr/openv/netbackup/bin/goodies/netbackup/bp.kill_all
Start all Netbackup process
# /usr/openv/netbackup/bin/goodies/netbackup start
Check All Netbackup Process running well.
# /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.
Categories:

0 comments: