02-24-2012 04:17 AM
Hello,
I would like to know where (logfile) can i check when a drive path was upped.
Thank you.
02-24-2012 04:32 AM
On Windows it writes to the application event log
As it is an EMM operation you would need to look in the EMM logs
vxlogview -o nbemm -t 03:00:00
will show the last 3 hours of EMM logs
Hope this helps
02-24-2012 04:39 AM
... also in the lltid log ..
/usr/openv/volmgr/debug/ltid ..
Example ...
02-24-2012 04:40 AM
02-24-2012 04:55 AM
Please add VERBOSE entry to vm.conf on ALL media servers and restart Device Management service/daemon.
This will start to log device-level actions/issues to Syslog on Unix/Linux media servers and to Event Viewer on Windows media servers.
You will find every DOWN and UP action in these logs. It will also tell you if EMM or 'Operator' has performed these actions.
Example:
/var/adm/messages on Solaris
/var/log/messages on Linux
Event Viewer Application log on Windows.
02-24-2012 05:09 AM
Thanks to all for your replies.
please could you give me an example when the drive goes UP instead of DOWNing
Thanks in advance.
02-24-2012 05:13 AM
NetBackup itself (EMM) will down a drive when it has an issue (three read / write / write protect failures in a specified period)
A drive is generally only "UP'd" during a service restart or if Manaually Up'd by a NetBackup Admin
#EDIT#
Can I ask why you need to know - do you have a specific issue?
02-24-2012 05:22 AM
There were some drives with issues, which were put down in purporse.
Someone put them up again, thus backups failed and tapes were frozen.
I would like to know the exact time when they were upped, to try to guess who did it.
Regards
02-24-2012 05:23 AM
NBU will not UP drives automatically. Always UP'ed by Operator.
I will dig and see if I can find logs in my 'archives' with relevant examples.
02-24-2012 05:26 AM
Are you on Windows or Unix?
02-24-2012 05:27 AM
Unix, Solaris 9
02-24-2012 05:32 AM
In that case look to see if you already have any of the logs in place as suggested for Unix in the above answers - I will do more digging to see if i can think of anywhere else it will be logged
My suggestion of the EMM earlier will not give you what you want so please ignore that one
02-27-2012 12:33 AM
Example of drive being UP'ed - message in Windows Event Viewer Application log after VERBOSE entry was added to vm.conf and services restarted:
2011/03/17 05:22:16 NetBackup Device Manager Information None 2735 N/A Mediasrv1 Operator/EMM server has UP'ed drive QUANTUM.SDLT320.000 (device 0)
I could not find a Unix/Linux example, so I have just added VERBOSE entry to vm.conf on our in-house RHEL lab server and restarted NBU. Then manually down'ed and up'ed the drive.
Entries in /var/log/messages:
Feb 27 10:27:39 softserv01 ltid[26632]: Operator/EMM server has DOWN'ed drive IBM.ULTRIUM-TD3.000 (device 0)
...
Feb 27 10:28:05 softserv01 ltid[26632]: Operator/EMM server has UP'ed drive IBM.ULTRIUM-TD3.000 (device 0)
02-27-2012 07:51 AM
Thanks for your time.
This shows what I was looking for.
Sad VERBOSE was not enabled at the time the issue happened.
02-27-2012 09:53 AM
Add VERBOSE entry for 'next time'!