2014-10-30 08:25 AM
Is there any DATA ONTAP API for 7-Mode for getting information about HA Pair?
For example, I connected to NetApp 7-mode. How can I determine that this storage is one node of HA Pair?
How can I get another nodes of HA Pair ? Their IP addresses or DNS names?
Solved! See The Solution
3 REPLIES 3
2014-11-02 11:43 PM
You can use the 'system-get-info' API which includes something like this in the result:
You can also use the 'cf-get-partner' API which has this in the results:
I haven't see a way to find the IP addresses of the partner and I suspect there isn't one. The best I can think of is to use the 'net-resolve' API passing the partner hostname to get the IP of it from the controller perspective. That still gives no guarantee it will resolve, or resolve with an IP address that is reachable from the API caller machine, but is a start.
Storage Architect, NetApp EMEA
Re: API for getting information about HA Pair
2014-11-05 07:40 AM
Is <cf-get-partner> API returns the same hostname that is in reply of command <system-get-info> in <system-info><system-name>?
So, e.g. I have connections to two NetApp nodes and can execute any ONTAP commands on them.
I need to determine is they are HA pair.
I'll execute <cf-get-partner> on each of them.
And compare output of <cf-get-partner> and <system-get-info>?
Is it right?