Software Development Kit (SDK) and API Discussions

7-mode zapi call to get a metrocluster info

Palkoc
3,510 Views

Hi all,

is there any reliable 7-mode zapi call to answer a question whether the cluster is a metrocluster or not?

Thanks a lot.

Pavol

3 REPLIES 3

francoisbnc
3,487 Views

Hi,

You can use  zapi <aggr-list-info> and check the value of <is-mirrored>

François

Palkoc
3,483 Views

Well, yeah, I will get the root volume name via aggr-get-root-name and than check raid_status of the aggregate where root volume resides. It's quite general now, but I've been expecting some more elegant approach :).

 

pavol

aborzenkov
3,467 Views
I think the only way is to check for FC-VI adapter. You may have sync mirror without metro cluster; and you may have metro cluster without sync mirror (yes, you should not do it, but technically it is possible).

Second best is to check for normal disks on FC switches, but that leaves out stretch clusters and V-Series.
Public