08-01-2011 12:13 AM
Hi All,
I have recently added a 'scratch' pool to my Master server as there wasn't one configured previously.
Since I have created the scratch pool I note that any previously added media are being alocated to the 'Netbackup' pool & that I'm having to manually change this on each media.
Is there a method round this?
The reason being is that I forgot to change the media to the 'scratch' pool on Friday & all my backups failed over the weekend.
Thanks,
Mark
Solved! Go to Solution.
08-01-2011 01:43 AM
It should be no more than a 5-minute job each day. Open the Media section of the GUI, sort by Assign Time, then by Pool name. Bulk-select all deassigned tapes that are not in the scratch pool, right-click -> change -> scratch. Done.
08-01-2011 12:36 AM
I note that any previously added media are being alocated to the 'Netbackup' pool & that I'm having to manually change this on each media.
By default all the backup images will be written to Netbackup volume pool, if you don't specify any specific volume pools in policies. Once the images on a media are expired, then NBU will move that media to Scratch pool (if present). No need to assign existing volumes (Assigned with other volume pools) to SCRATCH manually. Also if a volume pool is in need of media, NBU will assign a media in scratch pool to the required pool.
If you are adding any new media, you can specify to which pool they belongs to.
Regards...
08-01-2011 01:00 AM
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL
Check output of:
nbemmcmd -listsettings -machinename string
Specifies which machine to list settings for.
08-01-2011 01:13 AM
When media expires, NBU will automatically return it to scratch IF it originally came from scratch.
So, you will have to go through a lengthy, painful process to change expired/unassigned tapes to scratch on a daily basis. You will have to do this once for each tape.
Also create a Barcode Rule so that all new tapes will automatically go to Scratch when you perform an inventory.
Have a look at the 'Previous Pool' attribute on one of our own tapes:
nbemmcmd -listmedia -mediaid A00134
NBEMMCMD, Version:7.0
====================================================================
Media GUID: a9c266b7-4551-47b0-922c-19ed590cd6e1
Media ID: 000134
Partner: -
Media Type: HCART3
Volume Group: ---
Application: Netbackup
Media Flags: 1
Description: Added by Media Manager
Barcode: 000134
Partner Barcode: --------
Last Write Host: <master>
Created: 12/03/2010 16:38
Time Assigned: 07/08/2011 19:00
.......
Pool Number: 6
Volume Pool: Weekly
Previous Pool Name: Scratch
.......
08-01-2011 01:16 AM
Kiran
Thanks for your reply.
All my policies up until around 2-3 weeks ago were set to use the Netbackup pool - This has now changed but only per schedule, for example within a policy I have 3 schedules "Daily", "Weekly" & "Monthly" - Each of these schedules has it's own volume pool of the same name.
The tapes which are bing added back to my tape library are expired media yet the media is being added to the 'Netbackup' pool as mentioned above.
How can these media be added to the scratch pool by default?
Thanks.
08-01-2011 01:17 AM
Andy,
Results below:
C:\>nbemmcmd -listsettings -machinename
NBEMMCMD, Version:6.5.6
The value for this option was missing:
machinename
Usage:
nbemmcmd -listsettings [-brief] [-emmname <string>] [-emmport <unsigned integer
>]
-machinename <string>
Command did not complete successfully.
C:\>nbemmcmd -listsettings -machinename string
NBEMMCMD, Version:6.5.6
The function returned the following failure status:
invalid host name (136)
Command did not complete successfully.
Thanks,
Mark
08-01-2011 01:19 AM
if you've got a machine called "string" !!
08-01-2011 01:19 AM
Marianne,
Thanks, you have confirmed what I feared.
Looks like I'm stuck with this manual process for sometime then.
GREAT!
Cheers,
Mark
08-01-2011 01:21 AM
Whoops!
Been up since 3am!
Here you go:
C:\>nbemmcmd -listsettings -machinename brip3r3cbak01
NBEMMCMD, Version:6.5.6
The following configuration settings were found:
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA="no"
DISABLE_DISK_STU_JOB_THROTTLING="no"
DISABLE_STANDALONE_DRIVE_EXTENSIONS="no"
MEDIA_REQUEST_DELAY="0"
MUST_USE_LOCAL_DRIVE="no"
NON_ROBOTIC_MEDIA_ID_PREFIX="A"
MAX_REALLOC_TRIES="1000"
DISALLOW_NONNDMP_ON_NDMP_DRIVE="no"
DO_NOT_EJECT_STANDALONE="yes"
DONT_USE_SLAVE="no"
DRIVE_ERROR_THRESHOLD="2"
MEDIA_ERROR_THRESHOLD="2"
TIME_WINDOW="12"
NBUFS_DUP_TSU_TO_DSU="no"
NBUFS_DESTINATION_DSU="NONE"
NBUFS_RETENTION_LEVEL="0"
MPMS_DISABLE_RANK="0"
MPMS_DISABLE_EVENTS="no"
DISABLE_BACKUPS_SPANNING_DISK="no"
SCSI_PROTECTION="SR"
UNRESTRICTED_SHARING="no"
FATPIPE_USAGE_PREFERENCE="Preferred"
FATPIPE_WAIT_PERIOD="15"
FATPIPE_RESTORE_WAIT_PERIOD="5"
FT_MAX_CLIENT_PORTS_PER_SERVER="2"
SHAREDDISK_MOUNT_POINT="/nbushareddisk"
FT_MAX_CLIENTS_PER_PORT="2"
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"
VAULT_CLEAR_MEDIA_DESC="no"
SCSI_PERSISTENT_RESERVE="0"
Command completed successfully.
08-01-2011 01:27 AM
Which leaves you with the issue of manually moving them to Scratch as per Marianne's post....
08-01-2011 01:43 AM
It should be no more than a 5-minute job each day. Open the Media section of the GUI, sort by Assign Time, then by Pool name. Bulk-select all deassigned tapes that are not in the scratch pool, right-click -> change -> scratch. Done.
08-01-2011 01:48 AM
Thanks Marianne.
That's what I've been doing.
I just happen to hate manual procesess!
08-01-2011 02:00 AM
THIS TOO SHALL PASS!!
08-01-2011 02:01 AM