cancel
Showing results for 
Search instead for 
Did you mean: 

Using -window option of SLP for AIR replication to start within particular time period

jkeinds
Level 3

I am very new to this option of NBU.
We want to run number of AIR jobs and we want replication to start within particular time period.
To achieve this we want to use -window option of SLP.

From reference guide NBU8.0, we found this to achieve this option.

-window start duration
Specifies when NetBackup can run the backups for this schedule. Every day
of the week has the same window.
start is the time at which the backup window opens for this schedule. This time
is the number of seconds since midnight. This number is an integer between
0 and 86399 (86400 seconds in a day).
duration is the length of time that the window remains open. The time unit is
seconds. This unit is a non-negative integer.

We tried below commands to set window option of schedule. Replication is being successful but
this starts earlier than time period we set.

[user@media_server~]# date
Tue Nov  7 20:48:55 IST 2017

[user@media_server~]# /usr/openv/netbackup/bin/admincmd/bpplsched Policy_giler_1 -add Schedule_sopuc_1 -st FULL -synthetic 0 -window 77400 36000

[user@media_server~]# /usr/openv/netbackup/bin/admincmd/bpplsched Policy_giler_1 -L

Schedule:              Schedule_sopuc_1
  Type:                FULL (0)
  Frequency:           7 day(s) (604800 seconds)
   Excluded Dates----------
      No specific exclude dates entered
      No exclude days of week entered
  Retention Level:     1 (2 weeks)
  u-wind/o/d:          0 0
  Incr Type:           DELTA (0)
  Alt Read Host:       (none defined)
  Max Frag Size:       0 MB
  Synthetic:           0
  Checksum Change Detection: 0
  PFI Recovery:        0
  Maximum MPX:         1
  Number Copies:       1
  Fail on Error:       0
  Residence:           (specific storage unit not required)
  Volume Pool:         (same as policy volume pool)
  Server Group:        (same as specified for policy)
  Residence is Storage Lifecycle Policy:         0
  Daily Windows:
   Day         Open       Close       W-Open     W-Close
   Sunday      021:30:00  031:30:00   021:30:00  031:30:00  
   Monday      021:30:00  031:30:00   045:30:00  055:30:00  
   Tuesday     021:30:00  031:30:00   069:30:00  079:30:00  
   Wednesday   021:30:00  031:30:00   093:30:00  103:30:00  
   Thursday    021:30:00  031:30:00   117:30:00  127:30:00  
   Friday      021:30:00  031:30:00   141:30:00  151:30:00  
   Saturday    021:30:00  031:30:00   165:30:00  175:30:00 007:30:00


We expected that replication window would open at date
[user@media_server~]# date
Tue Nov  7 21:30:55 IST 2017

But it opening much earlier than expected.

Any help will be useful.

1 ACCEPTED SOLUTION

Accepted Solutions

GeForce123
Level 5

The window flag for the nbstl command is the name of the SLP Window I would assume.

What is your output from this command? bpplsched -slpwindow 

So something like the following I would assume would create a new SLP window.

bpplsched SLP_Internal_Policy -add <SLP Window Name> -window <start time end time> -st UBAK -slpwindow

Once the SLP window is created you could do something like the following I would guess.

nbstl -modify <SLP name> -window <SLP Window Name>

View solution in original post

4 REPLIES 4

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You are looking in the wrong place. SLP windows is configured under Storage -> Storage Lifecycle Policies.

See this Feature Briefing doc:

https://sort.veritas.com/DocPortal/pdf/ka8j0000000CtKcAAK

Also in NBU Admin Guide I. Please see the link in my signature for links to NBU manuals.

Dear Marianne,

 

Thank you for providing the information.

Actually at initial level, I was using nbstl command in which we have -window option.

But we were unable to use it, as we don't know how to provide the value to this option.

So can you please help us, how can we set window option for secondary operation(replication) in SLP through command line, as we can not use GUI.

Your help will be really appreciated.

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I have honestly never tried it from cmd.

I have previously been accused of 'not understanding people's environment' when I suggested using the GUI, then check in Java logs for the command (additional logging needs to be enabled).
IMHO, with proper security and firewall rules in place, there should be no reason for not allowing GUI connection. 
But again - this is purely my opinion.

GeForce123
Level 5

The window flag for the nbstl command is the name of the SLP Window I would assume.

What is your output from this command? bpplsched -slpwindow 

So something like the following I would assume would create a new SLP window.

bpplsched SLP_Internal_Policy -add <SLP Window Name> -window <start time end time> -st UBAK -slpwindow

Once the SLP window is created you could do something like the following I would guess.

nbstl -modify <SLP name> -window <SLP Window Name>