Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Error Condition Examples #66

Open
barkz opened this issue Aug 8, 2022 · 0 comments
Open

Error Condition Examples #66

barkz opened this issue Aug 8, 2022 · 0 comments
Assignees

Comments

@barkz
Copy link

barkz commented Aug 8, 2022

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?

@barkz barkz self-assigned this Aug 8, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant