Network and Storage Protocols

To list all connected clients(Window servers) ?

netappmagic
8,971 Views

Are there any ways, by using any tools/software or any commands, to list all connected clients on the filer? these clients could be NAS/SAN connections.

Thanks for your advices!

1 ACCEPTED SOLUTION

DAVE_WITHERS
8,971 Views

There are many CLI options for this. And many ways to skin this cat.  But below should get you pointed in the right direction.

CIFS for instance.  For the NFS and CIFS options, make sure you turn them back off after you are done using the commands to see clients as they do add minor overhead to your filer while collecting data.

option cifs.per_client_stats.enable on

and you can run cifs top to see clients

You may also be able to 'manage' your filer from a windows system to view connected clients via CIFS as well.

NFS

option nfs.per_client_stats.enable on

then run vfiler run vfiler0 nfsstat -z to clear your table, then vfiler run vfiler0 nfsstat -l to list NFS clients (of course your vfiler may not be 0)

for SAN, check out your iscsi and fcp commands below

http://wafl.co.uk/iscsi/

http://wafl.co.uk/fcp/

-dave w


View solution in original post

2 REPLIES 2

DAVE_WITHERS
8,972 Views

There are many CLI options for this. And many ways to skin this cat.  But below should get you pointed in the right direction.

CIFS for instance.  For the NFS and CIFS options, make sure you turn them back off after you are done using the commands to see clients as they do add minor overhead to your filer while collecting data.

option cifs.per_client_stats.enable on

and you can run cifs top to see clients

You may also be able to 'manage' your filer from a windows system to view connected clients via CIFS as well.

NFS

option nfs.per_client_stats.enable on

then run vfiler run vfiler0 nfsstat -z to clear your table, then vfiler run vfiler0 nfsstat -l to list NFS clients (of course your vfiler may not be 0)

for SAN, check out your iscsi and fcp commands below

http://wafl.co.uk/iscsi/

http://wafl.co.uk/fcp/

-dave w


cscott
8,972 Views

Quick and dirty is a simple "netstat" for NAS connections

for CIFS, you could run "cifs sessions"

For SAN specific information

iscsi show initiator or iscsi initiator show(on newer ONTAP versions)

fcp show initiator

- Scott

Public