Lundgren, Andrew
2009-Nov-16 21:51 UTC
[Lustre-discuss] Determine addresses of connected clients/servers
Is there a command to pull the addresses of every device connected to a cluster? I have found: lct -net tcp [peer_list | conn_list] But neither of those show all of the clients as well as servers in a cluster. Is there a command or something in a proc table on the MDS, OSS or client machines that will give information about all points connected? Thanks! -- Andrew Lundgren -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20091116/ff689c66/attachment.html
Isaac Huang
2009-Nov-16 23:18 UTC
[Lustre-discuss] Determine addresses of connected clients/servers
On Mon, Nov 16, 2009 at 02:51:01PM -0700, Lundgren, Andrew wrote:> Is there a command to pull the addresses of every device connected to a > cluster? > > I have found: > > lct -net tcp [peer_list | conn_list]This would only show immediate peers, i.e. next-hop peers. In a routed configuration, it only gives you active router NIDs on clients and servers.> But neither of those show all of the clients as well as servers in a > cluster. Is there a command or something in a proc table on the MDS, > OSS or client machines that will give information about all points > connected?At least on OSS, there''s per-client stat somewhere under /proc - I forgot the exact path, but should not be too hard to find(1) - e.g. find /proc | grep a_client_nid. Isaac
Wolfgang Stief
2009-Nov-17 10:34 UTC
[Lustre-discuss] Determine addresses of connected clients/servers
Hi there! On Mon, 16 Nov 2009 14:51:01 -0700 "Lundgren, Andrew" <Andrew.Lundgren at Level3.com> wrote:> Is there a command or something in a proc table on the MDS, OSS or > client machines that will give information about all points > connected?Would a "lshowmount -lev" running on the MDS help? wolfgang -- Wolfgang Stief Dipl.-Ing. (FH) Senior Systems Engineer Unix, Storage, Archiving wolfgang.stief at best.de best Systeme GmbH Muenchner Str. 123a 85774 Unterfoehring, Germany Phone +49 89 2060 308 - 0 Fax +49 89 950 60 70 http://www.best.de/ Registergericht Muenchen HRB 10 68 20 Geschaeftsfuehrer: Michael Beeck, Matthias Gottschalk
Andreas Dilger
2009-Nov-17 11:21 UTC
[Lustre-discuss] Determine addresses of connected clients/servers
On 2009-11-16, at 13:51, Lundgren, Andrew wrote:> Is there a command to pull the addresses of every device connected > to a cluster? > > I have found: > lct ?net tcp [peer_list | conn_list]This just shows the network connections, and if you have Lustre routers it will only show the routers, AFAIR. You can see this in /proc/fs/lustre/{obdfilter,mds}/{target}/exports to list the nids, or other per-client statistics. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.