cancel
Showing results for 
Search instead for 
Did you mean: 

Manual deassign?

Sander_Beenen
Level 3
Hello all,

Just now I got a "media id XXXXXX removed from media manager (manual deassign)" message in the Media Logs.

What does it mean?
No one issued a manual deassign command or anything...

I am used to the "media id XXXXXX removed from media manager (expired)" messages which is normal.

Any ideas?

tia and best regards
Sander Beenen

env: NBU 5.1 on Solaris 9
4 REPLIES 4

Carlos_Santos_T
Level 3
Hi Sander,

You can try to do the workaroud below, but is very good you to check the consistency of your NBU Database.

To check the consistency you can use thecommand below.
# /usr/openv/netbackup/bin/bpdbm -consistency > /tmp/filename.txt



Description:
If the NetBackup image database and media database are inconsistent,
media may be incorrectly deassigned. This situation may be caused by
the incorrect use of the bpimage -newserver -oldserver command,
where the new server is actually an existing media server. Since
this command updates the image database but not the media database,
inconsistencies may lead to media being deassigned.

The All Log Entries report would show entries similar to the following:

media id A00000 removed from media manager database
(manual deassign)
Deassigned media-id A00000 on host s2
media id B00000 removed from media manager database
(manual deassign)
Deassigned media-id B00000 on host s2
Deassigned 2 out of 2 media-ids found.

The Images on Media report would show that images are still present
for one or more of the expired media on host s1.

Workaround:
On Unix systems, create the file
/usr/openv/netbackup/bin/bpsched.d/CHECK_EXPIRED_MEDIA_INTERVAL
and enter a 0 (zero) on the first and only line of the file.

On an NT server, create the file
\NetBackup\bin\bpsched.d\CHECK_EXPIRED_MEDIA_INTERVAL
and enter a 0 (zero) on the first and only line of the file.

T+

Sander_Beenen
Level 3
Thanx Carlos for the tips.

Ran the consistency check and all was fine.

What does the "0" in bpsched.d actually force?
Continuous CHECK_EXPIRED_MEDIA_INTERVAL?

tia,
Sander

Sander_Beenen
Level 3
And I answer myself ;) :
0 disables it.

Still, what's up with this "manual deassign"?

sofar,
Sander

Carlos_Santos_T
Level 3
Hi Sander,

By manual deassing I understand the use of the command vmquery with the option deassignbyid. I use this command when some times the bpexpdate don't work.

See this technotes
http://seer.support.veritas.com/docs/245435.htm
http://seer.support.veritas.com/docs/273044.htm

T+