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

Error Condition Examples #66

Open
Open
@barkz

Description

@barkz

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions