dominique_lafla
3 years agoNovice I
Is there a way to get data that would mimic what the
Is there a way to get data that would mimic what the SDK would return under different error conditions?
I'm trying to develop scripts to assure our leadership that all is well with our arrays by checking various measures and showing that there's no problem.
"_Are we below 85% (e.g.) on our array capacity?_" is an easy one to check, and I can see where the field I need to check is returned.
What's harder to code for is, "_Are my replicated snapshots all current on the target arrays?_" I don't have a case now of a replicated snapshot that isn't current. I suppose I can set one up and force it into some error state and see how protect-group calls differ for the broken pair, but I'm not sure a "real life" break would look the same. I'd rather find some data files I can import into a PS context and inject them into how I'm handling those calls now to see if I detect the breakage -- or how I'd detect the breakage.
So, are there such sample of SDK results from various error conditions?
Thanks,
Nick