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) :
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 sgRemove existing SCSI passthru drivers (sg driver) if available :
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)
# /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 :
Note : This command must be run on directory "/usr/openv/volmgr/bin/driver"
Make sure all directory and link for new tape drives has been automaticly created after the driver instalation (sg install).
If netbackup still cannot detect the tape drives, re-start the server ....
Set parameter Global Device :
# cp /kernel/drv/sg.conf /kernel/drv/sg.conf_oldInstall sg driver :
# /usr/bin/rm -f /kernel/drv/sg.conf
# /usr/openv/volmgr/bin/driver/sg.installReconfigure 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/driverRemove existing content of "/kernel/drv/st.conf", and replace with content "/usr/openv/volmgr/bin/driver/st.conf"
# /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.
Make sure all directory and link for new tape drives has been automaticly created after the driver instalation (sg install).
# ls -l /dev/rmt/*cbnDo "scan" from netbackup to check the drives has been detect by netbackup.
# /usr/openv/volmgr/bin/scanIf 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"scan" again and make sure all tape drives has been successfully detect.
# /usr/bin/rm -f /kernel/drv/sg.conf
# /usr/openv/volmgr/bin/driver/sg.install
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 hostnameConfigure tape drives :
# /usr/openv/volmgr/bin/tpautoconf -a --> automatic configure tape drivesStop all Netbackup process :
# /usr/openv/netbackup/bin/goodies/netbackup stop "or" #/usr/openv/netbackup/bin/goodies/netbackup/bp.kill_allStart all Netbackup process
# /usr/openv/netbackup/bin/goodies/netbackup startCheck All Netbackup Process running well.
# /usr/openv/netbackup/bin/bpps -aAfter completed the devices configuration, create the storage unit, volume pool, and backup policy. Afterward test Backup and Restore.
0 comments:
Post a Comment