02-22-2017 04:52 AM
Hi Techiz,
I have set the barcode rule for Cleaning Meda (CLN, HC2_CLN, None), However after inventory it doesn't show the Cleaning media, I could see 2 medias in IBM Tape Library TS3500, They don't have any cleanings left, still it should reflect in Netbackup database, As I am planning to get a script for checking Cleanings available in Library.
Any reason Cleaning media is not showing up in Netbackup library, Is there any logic of dedicated cleaning slots in library which is affecting this condition?
Thanks
Sid
Solved! Go to Solution.
02-27-2017 01:11 AM
Diabling Virtual I/O won't make a differance. VIrtual I/O is related to 'virtual CAP/ MAP' slots - not cleaning tapes.
library based cleaning is 'recommended' .... It makes no difference, apart from 'who' initiates the load of the cleaning tape.
Library based cleaning - Tape drive sends out a 'help I need cleaning' tape alert, this is detected by the library who loads the cleaning tape. All of this is invisible to the backup product.
Backup software cleaning - Backup software detects cleaning tape alerts and initiates the load of a cleaning tape.
There is no way to have library based cleaning and the ability to monitor the cleaning tapes in NBU.
Suggest just switching to NBU based cleaning to give you the visability. You're really not going to notice any difference in the terms of number of cleanings run etc ...
02-22-2017 06:32 AM
Are the cleaning tapes in regular slots (normally occupied by backup tapes)?
Or are they in dedicated maintenance slots that can only be seen and used by the tape library?
'Maintenance' slots are not presented to backup software during Inventory and can therefore not be used by NetBackup.
This means that drive cleaning is controlled by the library.
We call this robotic or library-based cleaning.
02-22-2017 04:26 PM
Just to add to Mariannes excellent answer.
WHen NBU runs an inventory, it in fact does not do an inventory as such, by this, I mean NBU does not look, it is told. It actually asks the library, via the scsi CDB 'read element status' what tapes are located in which slots. Therefore, what NBU 'discovers' during an inventory, is totally controlled by the library.
When a library is set to do the cleaning, the cleaning tapes are located in either dedicated cleaning slots, or regular slots which have been set as cleaning slots. The contents of these slots are not disclosed to the backup software (and this would be true for any backup product), hence why the tapes are not seen by NBU.
This makes sense, if the library is doing the cleaning, why would you want NBU to see the tapes.
If you turn off library based cleaning, all regualr slots are disclosed, and NBU would then be aware of the cleaning tapes.
02-23-2017 02:07 AM
Thanks Marianne & mph999,
I understand the explanation, I believe they are in Maintenance slots. However if i recall correctly Quantum iscalar 500 also had Library based cleaning, still Netbackup could see it, may be they were in regular slots. My purpose is to generate an alert on cleaning medias for no of cleanings left so we can request for new ones. Does TS3500 by default put the cleaning media in maintenance slot when they are kept in MAP? What else can I do to have this alert be generated?
02-23-2017 06:33 AM
" Note: If virtual I/O slots are enabled, your library will automatically import cleaning cartridges. "
02-23-2017 07:29 AM
Is the Library able to send SNMP traps perhaps ?
Failing that, you could switch the cleaning from the library to NBU, then the cleaning media will be more visible.
02-26-2017 11:18 PM
SNMP traps is available, However that would involve cost for implementation. And moving from Library based cleaning to NBU based is not recommended.
02-26-2017 11:20 PM
What if I disable Virtual I/O, would it require a reboot? Also if I disable it then it will be still Library based cleaning and NBU would be able to see Cleaning cartridges?
02-27-2017 01:11 AM
Diabling Virtual I/O won't make a differance. VIrtual I/O is related to 'virtual CAP/ MAP' slots - not cleaning tapes.
library based cleaning is 'recommended' .... It makes no difference, apart from 'who' initiates the load of the cleaning tape.
Library based cleaning - Tape drive sends out a 'help I need cleaning' tape alert, this is detected by the library who loads the cleaning tape. All of this is invisible to the backup product.
Backup software cleaning - Backup software detects cleaning tape alerts and initiates the load of a cleaning tape.
There is no way to have library based cleaning and the ability to monitor the cleaning tapes in NBU.
Suggest just switching to NBU based cleaning to give you the visability. You're really not going to notice any difference in the terms of number of cleanings run etc ...
02-28-2017 03:56 AM
Thanks for the explanatoin mph999, Quantum iscalar 500 had Library based cleaning, still Netbackup was able to see cleaning media. No issues, I believe my query is answered
02-28-2017 06:27 AM
Maybe some libraries work slightly differently - I have to admit I do not know the exact details of each different model available.
I should perhaps have started my mssages with ... "In general ..."
However, I fairly sure that more ofetn than not, it will be as I describe. We used to have a lot of IBM 3584s at my last place, but we let teh backup software do the cleaning,
I actually have a new Quantum i80 downstairs, I'll plug it into one of out appliances ad get it up and running and see what that does. I was planning on letting NBU do the cleaning, but I will make a point of checking how it behaves if I set the library to do the cleaning, and hopefully, I'll remember to report back - need to get it all zoned in etc... first.
M