Unsolved
This post is more than 5 years old
76 Posts
0
980
scripting staging and cloning
The built in options for these leaves little to be desired. I just migrated from Solaris to Centos7 for my server/storage node. Migration went as planned but now I'm having to recreate some of the procedures that we being done with the iDATA Tools suite. I was nice to be able to stage or clone in "chunks" instead of "how many days" kinda schedule. I have some save sets that are fairly large.
Unfortunately I can't just download the Linux version of the tools as they appear to be gone from existence. If anyone has the linux versions ,tips or scripts they would like to share I will gladly accept. Otherwise I'm working on a script to sum up "totalsize" up to 2-3T and send those ssids to staging.
Thanks
ble1
2 Intern
2 Intern
•
14.3K Posts
0
December 24th, 2016 14:00
Just list ssids along with size, sort it by size and then select ssids as per any criteria you want.
kmkramer25
76 Posts
0
January 5th, 2017 14:00
I have a script working that will get the list of savesets and total up the sizes up to the amount I want to stage, 3T, and send them to nsrstage but I'm having a heck of a time getting nsrstage to redirect output to a file to check for errors or even email the output.
I've tried stdout/stderr redirect, tee and script..... Is there something special about this binary.....
ble1
2 Intern
2 Intern
•
14.3K Posts
0
January 6th, 2017 01:00
(and you can use similar trick as described in Crazy little thing called nsrsgrpcomp if it is stubborn...)
ble1
2 Intern
2 Intern
•
14.3K Posts
0
January 6th, 2017 01:00
For staging you should also use nsrclone (nsrclone -m). You can direct output (there are couple of binaries which require some forcing, but as far as I remember nsrclone is not one of them).