Change order of DSU from command line in NB
Created: 14 Oct 2011 | 3 comments
Hi,
I'm looking for a way to automate the changing of the order of basic disk units in a storge group. I can see bpstudel and bpstuadd but I imagine weird things may happen if I delete and add units from a storage group whilst it is in use, which it mostly is.
We can re-order from the gui fine...so can it be done from the command line?
Cheers.
Discussion Filed Under:
Comments
I cant see anything but there
I cant see anything but there must be one!
You could up your logging and them make the change and see if it logs the command under netbackup\logs\admin\
Please let us know if youy find it!
Authorised Symantec Consultant
Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.
bpsturep command
Thanks, Karthikeyan Sundaram.
bpsturep is the command, but
bpsturep is the command, but it does not allow you add or delete (change order) at the same time.
However there is still a workaround, assuming if you have 2 STUs inside a STUG. Prepare a script to run these 2 commands:
bpsturep -group tapeGroup -delstu <first_STU>
bpsturep -group tapeGroup -addstu <first_STU>
This will swap the order of the 2 STUs (FIFO order). If you have more, just add in more lines.
Whether NBU is going to pick up the change for the next job, I am not sure though.. may need to test out. Maybe doing a "bprdreq -rereadconfig" after those commands
Would you like to reply?
Login or Register to post your comment.