Re: Pushing the multipath state info into the fabric

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(please don't top-post once someone establishes bottom-posting)

On Mon, Oct 30 2017 at 12:40am -0400,
Muneendra Kumar M <mmandala@xxxxxxxxxxx> wrote:

> Hi Mike,
> Our intention is to train the multipathd for pushing the  multipath
> info into the fabric using LIBHBA api's. 
> Can we call libhba apis in multipathd to push the info into fabric?

I'll defer to others who maintain and develop multipathd but I'll say
that I think it'd be more logical/correct to _not_ code multipathd to do
this directly.  But rather have your own code that interfaces with
multipathd to get the multipath info and push it where you'd like.

Newer multipathd code that was added to make programmatic access to
multipathd state easier/possible includes:

1) multipathd show maps json
   multipathd show map $map json

2) Use libdmmp (see multipath-tools commit 4335abb36f33f1).  libdmmp
   provides access to the json output via C api.

(thanks to Todd and Gris for providing pointers to these interfaces)

Mike

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux