04-04-2012 07:05 AM
Hello.
In which Netbackup Logfile are the tape movements ( Robot Inventory -> Eject and Inject Tapes ) located ?
regards
Thomas
Solved! Go to Solution.
04-04-2012 07:19 AM
http://www.symantec.com/docs/TECH18012
/usr/openv/volmgr/debug/reqlib - Debug information of the tldd, tldcd, and related daemons.
04-04-2012 07:19 AM
http://www.symantec.com/docs/TECH18012
/usr/openv/volmgr/debug/reqlib - Debug information of the tldd, tldcd, and related daemons.
04-04-2012 07:22 AM
found what I was looking for inthe volmgr/debug/robots log - if you have one created
04-04-2012 07:26 AM
Only if enabled as follows: (knowing which OS will help....)
Add VERBOSE entry to vm.conf on robot control host.
Create debug folder under volmgr folder.
Create reqlib folder.
Restart NBU.
Example of robot inventory and update in reqlib log file :
09:16:43.705 [8466] <2> vmupdate: argv[0] = /usr/openv/volmgr/bin/vmupdate
09:16:43.705 [8466] <2> vmupdate: argv[1] = -rt
09:16:43.706 [8466] <2> vmupdate: argv[2] = acs
09:16:43.706 [8466] <2> vmupdate: argv[3] = -rn
09:16:43.706 [8466] <2> vmupdate: argv[4] = 0
09:16:43.706 [8466] <2> vmupdate: argv[5] = -rh
09:16:43.706 [8466] <2> vmupdate: argv[6] = master
09:16:43.706 [8466] <2> vmupdate: argv[7] = -vh
09:16:43.706 [8466] <2> vmupdate: argv[8] = master
09:16:43.706 [8466] <2> vmupdate: argv[9] = -nostderr
09:16:43.706 [8466] <2> vmupdate: argv[10] = -use_barcode_rules
04-05-2012 12:20 AM
Thank you very much for this .....
....but i need the tape numbers ( barcode id's ) in a logfile.....and this information is not located in the /usr/openv/volmgr logfiles
04-05-2012 12:22 AM
Solaris 10 for the Master Server
and
RHEL5 for the Media Server
04-05-2012 12:33 AM
reqlib log also contains the following for same PID:
09:17:39.233 [8466] <2> vmdb_move: sending move mode to server: 0 09:17:39.340 [8466] <2> getrequestack: server response to request: REQUEST ACKNOWLEDGED 50 09:17:39.340 [8466] <2> vmdb_move: sending record to server: 0 D07262 ------ 0 -------- -------- 0 0 ------ --- - 0 0 0 0 0 root root 0 None - 0 0 0 0 0 0 0 0 0 - 0 0 50 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 - ------ 09:17:39.340 [8466] <2> vmdb_move: sending move mode to server: 0 09:17:39.460 [8466] <2> getrequestack: server response to request: REQUEST ACKNOWLEDGED 50 09:17:39.460 [8466] <2> vmdb_move: sending record to server: 0 D07263 ------ 0 -------- -------- 0 0 ------ --- - 0 0 0 0 0 root root 0 None - 0 0 0 0 0 0 0 0 0 - 0 0 50 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 - ------ 09:17:39.460 [8466] <2> vmdb_move: sending move mode to server: 0 09:17:39.573 [8466] <2> getrequestack: server response to request: REQUEST ACKNOWLEDGED 50 09:17:39.573 [8466] <2> vmdb_move: sending record to server: 0 D07374 ------ 0 -------- -------- 0 0 ------ --- - 0 0 0 0 0 root root 0 None - 0 0 0 0 0 0 0 0 0 - 0 0 50 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 0 0 0 0 - ------
As mentioned yesterday, these folders do exists by default. You need to create them and also add the VERBOSE entry to vm.conf, then restart NBU to enable logging.
04-05-2012 12:43 AM
My Version is 7.5 in Integration and i test this in my Integration
Master Server:
i-master{root}[ /usr/openv/volmgr ]
# cat vm.conf
VERBOSE
MM_SERVER_NAME = i-master.cortalconsors.de
i-master{root}[ /usr/openv/volmgr ]
i-master{root}[ /usr/openv/volmgr/debug ]
# find .
.
./acsssi
./ltid
./ltid/log.040512
./daemon
./daemon/log.040512
./robot
./tpcommand
./tpcommand/log.040512
./reqlib
./reqlib/log.040512
i-master{root}[ /usr/openv/volmgr/debug ]
# grep move ./reqlib/log.040512
-->> Nothing there. But i ejected and injected some tapes.
Same on my Media Server:
imedia01{root}[ /opt/openv/volmgr ]
# cat vm.conf
VERBOSE
imedia01{root}[ /opt/openv/volmgr ]
#
imedia01{root}[ /opt/openv/volmgr/debug ]
# ls -ltr
total 6
drwxr-xr-x 2 root root 512 Apr 5 08:44 robot/
drwxr-xr-x 2 root root 512 Apr 5 08:59 reqlib/
drwxr-xr-x 2 root root 512 Apr 5 09:11 acsssi/
drwxr-xr-x 2 root root 512 Apr 5 09:11 tpcommand/
drwxr-xr-x 2 root root 512 Apr 5 09:21 ltid/
drwxr-xr-x 2 root root 512 Apr 5 09:21 daemon/
imedia01{root}[ /opt/openv/volmgr/debug ]
# cd reqlib/
imedia01{root}[ /opt/openv/volmgr/debug/reqlib ]
# ls -ltr
total 1
-rwxr-xr-x 1 root root 734 Apr 5 09:18 log.040512*
imedia01{root}[ /opt/openv/volmgr/debug/reqlib ]
# grep move log.040512
imedia01{root}[ /opt/openv/volmgr/debug/reqlib ]
Do you have any idea ?
04-05-2012 01:08 AM
Not sure if things have changed in recent NBU versions...
My log is quite old...
Apologies if you have already checked all of the following:
Are MM daemons running in verbose mode? (look for -v in bpps -x output).
Are these log folders on the robot control host?
Our lab server is down at the moment - will do some tests when it is up again.
04-05-2012 01:48 AM
Thank you very much for your help.
I added this on all Netbackup Master & Media Servers