get validate Volumes between Storage Group to a link Storage Group #202
Replies: 5 comments 2 replies
-
John, For each volume you will find { |
Beta Was this translation helpful? Give feedback.
-
I see you do this through the snapid . |
Beta Was this translation helpful? Give feedback.
-
hi
note, THX |
Beta Was this translation helpful? Give feedback.
-
john, Corresponding functions in PyU4V are PyU4V.replication.get_replication_enabled_storage_groups(is_link_target=true) Please check the documentation on https://pyu4v.readthedocs.io/en/latest/PyU4V.html#module-PyU4V.replication if you are stuck. If I get some free time I might be able to knock up a working example but you should have the information here to do everything you need, |
Beta Was this translation helpful? Give feedback.
-
Quick and dirty in PyU4V import PyU4V conn = PyU4V.U4VConn(username='smc', password='smc', print(conn.common.get_uni_version()) linked_sg_list = conn.replication.get_replication_enabled_storage_groups( for sg in linked_sg_list:
Output running |
Beta Was this translation helpful? Give feedback.
-
I have two storage groups - source and res
I created a link from "SG_source" to..."SG_RES" (the SG_RES is a link from "SG_source"
In the bottom line, I try to make a Validation between an existing Volume name (for example 001CD) and a corresponding Volume name
The question is how can I compare volumes between an existing Storage Group and a Linked Storage Group
See CLI command
Here you see that 001CD corresponds to 001CA
Note: I have all the information for both Storage groups of volumes.
I want to know if it is possible through a command like the CLI above to perform the same work only through the rest API
THX
Beta Was this translation helpful? Give feedback.
All reactions