11-10-2013 07:17 AM
Hi all,
I have created a SLP Policy, I given the Storage Unit and make it in Hierarchy model.
1) Backup to disk.
-> Duplicate to Tape.
But, when I created this SLP I do not find any option to be used for (Duplicate backup/image only for Specific Client or Policy). Please help me to understand as how SLP works.
> Will this SLP going to Duplicate complete set of Image available on Master Server.
> If so, when the SLP will going to be start/trigger, will it start after successfull backup of all client.
> If yes, then what if backup of few client does not complete in time and take very long to complete.
Once the backup has been done with SLP, How can I check in which media the backup goes. And where this duplicate backup can be use, how can I use the duplicated backup ?
Help would be much appreciated....
Regards,
Vickie
Solved! Go to Solution.
11-10-2013 10:19 AM
OK, think of a regular backup policy. I am sure you'll understand how a regular backup policy can backup a particular client, or clients - simply, you only add those exact clients to the client list in the policy.
Now, take this regular backup policy, and change the STU to point at your SLP - done ... In other words, a SLP acts on a pollicy, not on individual clients in a policy.
A SLP will only copy images set in a policy where the STU is directed at the SLP. It cannot go back and copy old images that were backed up to a normal STU.
Once a policy directed at a SLP has run, the duplications kick in at some point afterwards. I think it's usually about every half hour. There are tuning settings that can control this slightly, but below NBU 7.6, it is best to just say they run automatically and cannot be controlled.
I see Nagalla has said the default session time was 15 mins, personally I thought it was every 10 mins but I can't say I have checked recently and so may be mistaken ** Just checked and it seems the default session interval is 5 minutes ** - however the session interval is NOT the time interval that duplications will run.
The main process for slp is nbstserv, this runs a session every xx mins (let's not worry about the exact value ...) - this causes nbstserv to do some processing, deciding when to batch images up to be duplicated etc ... and it is only after this that the duplications start.
Put another way - I can run some backups to an SLP and as soon as they finish I can run nbstserv new_session - the duplications will not suddenly run at that point.
Tell you what, I'll log in later and try it ... At NBU 7.6 you have SLP windows, so you can schedule when the duplications are allowed to run. If some clients are slow no matter, SLP will only dupicate completed backups - so it will still happen after they do complete, every if this was several days.
To check the media there are a few ways - I would look in bpimagelist -l at the FRAG lines and look for the copy 2 lines which show the media in I think the 8th or 9th field (it's obvious when you look at it).
To use the duplicated backup, its the same as any onther duplicated backup, just triggered a slightly different way, so you would just restore from copy 2, or, promote copy 2 to primary copy and restore 'as normal'.
11-10-2013 08:19 AM
Will this SLP going to Duplicate complete set of Image available on Master Server.
NO.
once you create the SLP, you need to specify the SLP in the Policy attributes or in policy Schedule " over write Policy storage unit" for the Polices or Clients that you would like to use the SLP.
SLP is only consider when it is specified in Policy or Schedule. and only the images that did the successfull backup using the policy will be considered.
If so, when the SLP will going to be start/trigger, will it start after successfull backup of all client.
SLP starts the duplication for the images that are having the SLP specified on the Policy.. and it will start next SLP session once backup compleated.. ( default session intervle is 15 min.) if you want you can change the Session intervel time in LIFECYCLE PARAMETERS.
from Netbackup 7.6 there is a option to Schedule the SLP jobs.
If yes, then what if backup of few client does not complete in time and take very long to complete.
SLP will keep on trying to duplicate untill it get successfull or the Oldest retenction on the SLP opertion got reached.
Please reffer the below SLP cheet sheet for more details and configuration about it
http://www.symantec.com/business/support/index?page=content&id=TECH170086
11-10-2013 08:33 AM
11-10-2013 10:19 AM
OK, think of a regular backup policy. I am sure you'll understand how a regular backup policy can backup a particular client, or clients - simply, you only add those exact clients to the client list in the policy.
Now, take this regular backup policy, and change the STU to point at your SLP - done ... In other words, a SLP acts on a pollicy, not on individual clients in a policy.
A SLP will only copy images set in a policy where the STU is directed at the SLP. It cannot go back and copy old images that were backed up to a normal STU.
Once a policy directed at a SLP has run, the duplications kick in at some point afterwards. I think it's usually about every half hour. There are tuning settings that can control this slightly, but below NBU 7.6, it is best to just say they run automatically and cannot be controlled.
I see Nagalla has said the default session time was 15 mins, personally I thought it was every 10 mins but I can't say I have checked recently and so may be mistaken ** Just checked and it seems the default session interval is 5 minutes ** - however the session interval is NOT the time interval that duplications will run.
The main process for slp is nbstserv, this runs a session every xx mins (let's not worry about the exact value ...) - this causes nbstserv to do some processing, deciding when to batch images up to be duplicated etc ... and it is only after this that the duplications start.
Put another way - I can run some backups to an SLP and as soon as they finish I can run nbstserv new_session - the duplications will not suddenly run at that point.
Tell you what, I'll log in later and try it ... At NBU 7.6 you have SLP windows, so you can schedule when the duplications are allowed to run. If some clients are slow no matter, SLP will only dupicate completed backups - so it will still happen after they do complete, every if this was several days.
To check the media there are a few ways - I would look in bpimagelist -l at the FRAG lines and look for the copy 2 lines which show the media in I think the 8th or 9th field (it's obvious when you look at it).
To use the duplicated backup, its the same as any onther duplicated backup, just triggered a slightly different way, so you would just restore from copy 2, or, promote copy 2 to primary copy and restore 'as normal'.
11-10-2013 10:37 AM
OK.
Ran some backups at 11:48:00, 11:56 and 11:58
Running nbstlutil new_session a few minutes after the last backup finished did not start any duplications
The duplications started at 12:23 - so 35 minutes after the first backup.
11-10-2013 09:24 PM
In addition to the above comments you can also refer to the Best Practice guide for SLP.
http://www.symantec.com/business/support/index?page=content&id=TECH153154
Regards,
Ashish
11-10-2013 11:48 PM
Thanks All for you valuable inputs.
NBU version is 7.0 and master is Red-hat linux.
I use the SLP as storage unit and run a backup.
But Duplication jobs has not been started after backup.
I have attached screen shot for Policy, SLP and Backup jobs, please have a look and assist me if I did some in-correct process.
-------------------
Thanks & Regards
Vickie
11-11-2013 12:05 AM
How long have you been waiting for the duplication to start.
To enable the logs :
vxlogcfg -a -p 51216 -o 225 -s DebugLevel=6 -s DiagnosticLevel=6
The logs actually live in /usr/openv/logs/nbstserv
The lifecycle file is not there be default - for basic operation it is not needed.
A useful output to see would be :
/usr/openv/netbackup/bin/admincmd/nbstlutil stlilist
11-11-2013 02:30 AM
11-11-2013 03:28 AM
11-11-2013 03:44 AM
Thanks Amol - that was a typo .... thank you for correcting it.