Start a Conversation

Solved!

Go to Solution

1510

February 25th, 2021 08:00

vplex rescan array and forget unreachable luns with api v2 or ansible modules

Hi,

We are migrating from vplex api v1 to vplex ansible modules.

I have not found any library in ansible to forget an unreachable LUN.

Anyone can confirm ?

So, I looked in the api v2 docs and i found the "Forgets logicalUnits in an array" section but this documentation is a little bit short and ambigous. It explains that you must send :

"DELETE /clusters/{cluster_name}/storage_arrays/{storagearray_name}/logical_units"

and the response is :

"204 LogicalUnits are forgotten"

I have no test environment to check if this command will forget all logical units for the array or just the unreachable luns.

Have anyone already used this api call and know its real actions ?

regards,

Eric

February 25th, 2021 21:00

The API call will forget the unreachable luns.

February 25th, 2021 20:00

This feature is not part of the Ansible 1.2 release. We will study the requirement and will make it available in the next release.

11 Posts

March 11th, 2021 05:00

Thanks for answers

I have tested with success the api call which delete only unreachables luns.

I hope next vplex api documentation will be more explicit, with examples.

 

regards, Eric

 

No Events found!

Top