Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

NDMP policy file list being processed in wrong order

Updated: 24 May 2010 | 4 comments
thesanman's picture
0 0 Votes
Login to vote

We have just upgraded out NetBackup v6.0MP6 environment to V6.5.3.  It actually went remarkably smoothly compared to previous experiences, major or minor upgrade.

 

One of the issues we have logged with Symantec was the change in processing order of file lists in our NDMP backup policies.

 

In v6.0MP6, our multi-terabyte NDMP policy file list was specifically ordered to ensure the largest volume was processed first; it being over 1TB in size.  The policy was set to allow multiple data streams and restricted to running only 2 at any one time.  As the first large volume was processed, so do the smaller ones in turn whilst the first is continueing to run.

 

After our upgrade to v6.5.3 we have found, and reproduced in our test environment that the first 2 streams in the list get scheduled LAST; i.e. it's as if the processing of the file lists get reordered to move the first two file lists to the end, and then backups get scheduled in that order, not the order we had specified.

 

e.g.  a file list of:

 

/vol/1/.snapshot/datastore_1

/vol/1/.snapshot/datastore_2

/vol/1/.snapshot/datastore_3

/vol/1/.snapshot/datastore_4

/vol/1/.snapshot/datastore_5

/vol/1/.snapshot/datastore_6

/vol/1/.snapshot/datastore_7

 

will actually get scheduled in the order:

 

/vol/1/.snapshot/datastore_3

/vol/1/.snapshot/datastore_4

/vol/1/.snapshot/datastore_5

/vol/1/.snapshot/datastore_6

/vol/1/.snapshot/datastore_7

/vol/1/.snapshot/datastore_1

/vol/1/.snapshot/datastore_2

 

This caused us some issues due to length of the whole backup stream.

 

A workaround appears to be to reorder the streams as follows:

 

/vol/1/.snapshot/datastore_6

/vol/1/.snapshot/datastore_7

/vol/1/.snapshot/datastore_1

/vol/1/.snapshot/datastore_2

/vol/1/.snapshot/datastore_3

/vol/1/.snapshot/datastore_4

/vol/1/.snapshot/datastore_5

 

This seems to ensure that stream /vol/1/.snapshot/datastore_1 starts first.

 

Anyone seen anything like this?  As I mentioned above, a call is open with Symantec and they are investigating.

 

Malcolm

discussion Filed Under:

Comments

Karthikeyan Sundaram's picture
17
Feb
2009
0 Votes 0
Login to vote

Hmmm ! I think NetBackup 6.5 wont follow the Backup as per mentioned Streams in Policy !

 

As an alternative you can create a new policy with largest stream backup selections for making that do run in first priority ! 

Thanks, Karthikeyan Sundaram.

thesanman's picture
17
Feb
2009
0 Votes 0
Login to vote

Karthikeyan Sundaram wrote:

Hmmm ! I think NetBackup 6.5 wont follow the Backup as per mentioned Streams in Policy !

 

As an alternative you can create a new policy with largest stream backup selections for making that do run in first priority ! 

Thought about a new policy; but I want to restrict my NDMP backups to 2 running streams only (leaving other drives free for other non-NDMP backups).  Creating another policy locks another drive down to NDMP.  Yes, I could create a specific Storage-Unit to handle this by restricting the number of concurrent drives and that's another workaround to what we've already discovered.

 

My main point here is that something has changed; NDMP file list processing alway used to follow the order and why wouldn't it?  In my mind it should.

 

Malcolm

NBU v7.1.0.1 Master and Media servers on RHEL 5 & Win2008; SAN based LTO 3 and 4 tape libraries.
Linux, Solaris, Windows and OpenVMS clients.
PureDisk, SLP, VMware, Oracle, SQL/Server and Exchange agents
VBR and OpsCenter

dubplate's picture
18
Feb
2009
0 Votes 0
Login to vote

I'd recommend getting a support case opened with Symantec on this one. If you do, please do share the results back in the post so they're available for all for reference for those that may also run into this.

thesanman's picture
15
Mar
2009
0 Votes 0
Login to vote

Symantec say it's working as designed!

To follow up on this; Symmantec have spent a few weeks looking at logs and have finally determined that "NetBackup has worked as designed".

....

"If you created the backup policy at the first the backup will run 1, 2, 3, 4, 5, 6, 7.

At the next time nbpem calculates how long each stream has waited for next backup job. And give higher priority for longer waiting time.
 
3, and 4 are smaller in the size of data so they will finish backup before 1 or 2.
Because 3 or 4 have finished earlier than 1 or 2, that means 3 or 4 streams have been waiting for next due longer than 1 or 2.
 
I suggest you separating the streams into different backup polices and set schedule as you want."
 
We have also noticed other Multi-stream backups like Flashbackup-Windows and Standard are doing the same thing so this issue is not just related to NDMP backups.
 
With our NDMP policy we have a workaround in place by using a specific Storage Unit which restricts the number of concurrent drives it can run; and seperate policies for each stream or group of streasm we want to run in specific orders; using job priorities to ensure correct execution order.
 
We are now in discussion with Symantec about why this changed between v6.0 MP6 (in our case) and v6.5.3 because quite plainly it did.
 

 

NBU v7.1.0.1 Master and Media servers on RHEL 5 & Win2008; SAN based LTO 3 and 4 tape libraries.
Linux, Solaris, Windows and OpenVMS clients.
PureDisk, SLP, VMware, Oracle, SQL/Server and Exchange agents
VBR and OpsCenter