Video Screencast Help

how are tapes assigned to pools?

Created: 31 Jul 2013 • Updated: 12 Aug 2013 | 3 comments
This issue has been solved. See solution.

i placed two new LTO5 tape cartridges in the media access port and when i did an inventory, it says

Logically move media ID DAT017 (barcode DAT017) from slot 24 to standalone residence

Logically add new media J0M001 (barcode J0M001) to robot slot 24

question is, how is it decided to move one media from location to another? what is "standalone residence"?

also, how does it decide that a media be placed in Scratch? or in Monthly_OffSite?

Operating Systems:

Comments 3 CommentsJump to latest comment

Andy Welburn's picture

how is it decided to move one media from location to another?

- essentially you told it to by running an inventory. NetBackup will compare what it thinks is in the library with what the library says it contains & make changes as necessary so that they match. You could see that more obviously if you chose the "Compare Contents" option (it compares but doesn't action any changes). Update contents makes those changes.

what is "standalone residence"?

- basically what isn't under library control i.e. not in the library.From the output you've supplied you took DAT017 out of the library & put J0M001 into the library (If you have a media access port I would insert/eject tapes via this as physically filling empty slots in a library can cause issues if the media is actually in a drive)

also, how does it decide that a media be placed in Scratch? or in Monthly_OffSite?

If you have barcode rules in place you can automatically assign new tapes to whatever volume pool you want depending upon their barcode. By default new media are assigned to the "NetBackup" volume pool but rules are often put in place so new media go into the "Scratch" volume pool. If the latter is available media will be drawn from this during backups if there are no other media available within their respective volume pools so the media will be 'moved' from Scratch into the required volume pool. Depending upon the settings in your environment, when all data on a media expires it can revert back into the Scratch pool or remain in its current one.

 

Think that covered most of your points!

SOLUTION
mph999's picture

Standalone residence just shows that the tape is not currently in the library, or is in the MAP.

The barcode rule decides which pool the media will be assigned to.

The media is moved from map to slot using the move_media scsi command, with NBU querying the library to confirm a slot is empty for it to move the media to.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
babu beesetty's picture

Logically move media ID DAT017 (barcode DAT017) from slot 24 to standalone residence: This tape is already created before and moved out of the tape library. Now DAT017 being again moved from standalone to library. Any tapes that are outside robotic tape library are considered at standalone residency.

Logically add new media J0M001 (barcode J0M001) to robot slot 24: This tape was never created before and for first time it is being loaded and created/saved in EMM.

Untitled12.png

How is it decided to move one media from location to another? Netbackup Database has all the tape information even like whether in the tape library or outside tape library. It has information of even free slots & allocated slots of tape library configured, Inventory in any backup tools plays a very important part. Whenever insertion and removal of any tape and media takes place, we have to run the inventory, so that our tape database is up to-date and backup tool only picks tape available for backup, otherwise backup may fail.

http://www.storagetutorials.com/how-run-inventory-in-netbackup-6-5/

Based on the Barcode rules, the tapes are placed in volume pool.

https://www-secure.symantec.com/connect/articles/using-barcode-labels-why-and-how

http://www.symantec.com/business/support/index?page=content&id=HOWTO34021

The scratch pool is an optional pool that contains the media that Netbackup can allocate to other pools as needed. If you configure a scratch pool, NetBackup moves volumes from that scratch pool to other pools that do not have volumes available.

Tapes are moved to other pools from scratch pool and once the entire data on the tape expires again tape is moved back to scratch Volume pool