I have one softlayer replica setup, for Primary volume i can see Target IP address on UI (when i open volume details page) but for replica i cannot see the Target IP address. Can some please help me to find Target IP address for replica volume through softlayer API.
I was using 'SoftLayer_Network_Storage::getObject'service to get all the details about volume but it doesnot show Target IP address details.
I need a help to find out the API which can give all the datails about volume including Target IP address.
You can use the
SoftLayer_Network_Storage::getReplicationPartners
method to get the replica ID. Once you have that you can useSoftLayer_Network_Storage/<replica_id>/getServiceResourceBackendIpAddress
to get the Target IP address.