The community will be undergoing maintenance soon, requiring Read-Only mode. Click to learn more.

Software Development Kit (SDK) and API Discussions

7-mode zapi call to get a metrocluster info

Palkoc

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

aborzenkov
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.

francoisbnc

Hi,

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

François

Palkoc

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public