Closed 212850a closed 1 year ago
Hi Roman, device groups are not really supported by the API, the only call that I see is https://Unisphere:8443/univmax/restapi/100/replication/devicegroup/{deviceGroupId} GET
The response only gives you basic information about this.
{ "name": "BOH_r2Casc_DG", "symmetrixId": "000197900256", "isValid": true, "isConcurrentRdf": true, "isCascadedRdf": true, "numStandards": [ 3 ], "standardRdfgs": [ 8 ], "standardPairStates": [ "Consistent" ], "standardHop2PairStates": [ "Synchronized" ], "numBcvs": [ 0 ], "bcvRdfgs": [], "bcvPairStates": [], "bcvHop2PairStates": [], "groupType": "RDF2" }
We have not done any DG development in PyU4V as it's typically StorageGroup managment within the API. Sorrry can't be of more help and apologies for the long wait on response. I missed the notification
Thanks for response Paul.
Despite you don't have any function in PyU4V to get list of volumes from diskgroup it is implemented some how in Unisphere. If you go to Data Protection -> Device Groups, select any of defined device groups then it will be possible to list volume by clicking on number of devices in that group. Any idea how it's implemented in Unisphere?
I tried to utilize provisioning.get_volume_list() function by specifying filter like {'devicegroup':'BOH_r2Casc_DG'}, but it does not work - I get all volumes from array.
I'll have a look again today and see if there's anything I'm missing
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg
Internal Use - Confidential
From: Roman @.> Sent: Friday, August 18, 2023 7:00:26 AM To: dell/PyU4V @.> Cc: Martin, Paul @.>; Comment @.> Subject: Re: [dell/PyU4V] How to show device group (dg) content? (Issue #171)
[EXTERNAL EMAIL]
Thanks for response Paul.
Despite you don't have any function in PyU4V to get list of volumes from diskgroup it is implemented some how in Unisphere. If you go to Data Protection -> Device Groups, select any of defined device groups then it will be possible to list volume by clicking on number of devices in that group.
Any idea how it's implemented in Unisphere?
I tried to utilize provisioning.get_volume_list() function by specifying filter like {'devicegroup':'BOH_r2Casc_DG'}, but it does not work - I get all volumes on array.
— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https://github.com/dell/PyU4V/issues/171*issuecomment-1683394571__;Iw!!LpKI!kjeNwRM4QFQN3FUgH-SPLM5ui5QX5eP7JPOlc3HrkS_bUEFlNQqb6Sdx7bjfxAaQcY0OEiigBqQpBk3dGIvxPNj2$, or unsubscribe [github.com]https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AF7FWPJYL3C4WJ67RP2ONMDXV4AHVANCNFSM6AAAAAA23LJ4BQ__;!!LpKI!kjeNwRM4QFQN3FUgH-SPLM5ui5QX5eP7JPOlc3HrkS_bUEFlNQqb6Sdx7bjfxAaQcY0OEiigBqQpBk3dGEZ0aI3l$. You are receiving this because you commented.Message ID: @.***>
Roman, there are no additional ways in the API to view contents of Device Groups, they have limited use in the API and the performance details are legacy pre storage group.
Paul, may be it can be implemented in future releases of PyU4V then?
Roman, this needs to be in the API before it's in PyU4V. PyU4V can make any API call to PowerMax even if it's not coded using the custom API call described in the docs. You will need to request this through your account team they will open an enhancement. However I don't expect an enhancement of this nature to make it into the product, Device Groups are not used in Unisphere other than for few legacy operations, which have also moved primarily to storage groups control. You can always ask.
Hi,
I've got list of device groups (DG) with a help of performance.device_group_keys() function. But can't find how to get details of each defined device group (DG) - I want to know what volumes are part of each device group defined on array. Any idea how to get it?