Veritas-bu

[Veritas-bu] Rebuilding sg driver database for old version of NBU

2010-08-10 11:29:08
Subject: [Veritas-bu] Rebuilding sg driver database for old version of NBU
From: "DRAKE, MICHAEL (ATTCINW)" <md6270 AT att DOT com>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 10 Aug 2010 10:28:57 -0500
Hello all,

I have the fun job of supporting an older version of NBU in a data
center that is slowly going away.  It is a Solaris 8 machine running NBU
5.0 mp3.

The way it is setup is the master server is directly connected to 8
fibre attached drives.  When one gets replaced, the wwn number changes
and from what I understand, you have to rebuild the sg driver database
to recognize the new drive so NBU will not always down it.  I think I
have the right game plan, but wanted to bounce it off this dl to see if
what I have listed is correct or not.

1       If the drive is newly replaced, run a "devfsadm" so Solaris will
recognize it and build a new device file reference.  

2       Verify the drive exists in Solaris:
        ls -l /dev/rmt/*cbn - you should see the recent date stamp of a
recently added device
 
3       Stop LTID with the command:
        /usr/openv/volmgr/bin/stopltid - Verify the SG driver is
unloaded:
        modinfo|grep sg
 
4       If SG is listed, then get the instance ID, and run: modunload -i
instance_id
 
5       Move the sg.conf: mv /kernel/drv/sg.conf
/kernel/drv/sg.conf.today_date - take a         look at lun and how high
the target numbers go up.  
 
6       Rebuild the sg.conf using the following commands. note that mt
means "max targets"     and ml is "max lun". You can modify these
settings to only scan the devices you   know the tapes are attached to:
cd /usr/openv/volmgr/bin/driver 
        ../sg.build all -mt 15 -ml 4
        ./sg.install - this should put the sg driver back into memory
 
7       Verify the SG driver detected the proper devices using sgscan:
        /usr/openv/volmgr/bin/sgscan
 
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Hyper-V Backup, Adrian Soetanto
    • [Veritas-bu] Rebuilding sg driver database for old version of NBU, DRAKE, MICHAEL (ATTCINW) <=