Thanks Basil.   I took a look over the MAN page.  It goes into quite a bit of detail but doesn't seem to cover our particular scenario.    Specifically, on a filer already serving data, how do we disable the iscsi protocol for interface X across vfiler0 and all non-default vfilers while not disrupting iscsi services on the dedicated iscsi interface.   

To help illustrate:

Vfiler1>iscsi portal show
IP Address    TCP Port      TPGroup      Interface
X.X.X.X         3260            1000            mgmt-interface
Y.Y.Y.Y         3260            1001            iscsi-interface

Pfiler>iscsi portal show
IP Address   TCP Port    TPGroup     Interface
X.X.X.Y        3260          1000           mgmt-interface
Y.Y.Y.X        3260          1001           iscsi-interface
Z.Z.Z.Z         3260          1002           replication-interface

The goal is to disable iscsi services on the mgmt-interface and the replication-interface in both the pfiler and the vfiler.   Both the pfiler and vfiler are currently serving data.    All iscsi initiators are connected via the iscsi interface in both the vfiler and pfiler.   

Im still digging into it, but based on what I've read, it looks like I should be able to run...

Pfiler>iscsi interface disable mgmt-interface
Pfiler>iscsi interface disable replication-interface 

...to effectively disable iscsi services on the non-iscsi interfaces in BOTH the pfiler and vfiler.   The expectation is that disabling iscsi on the aforementioned interfaces results in the non-iscsi-network-portals being removed from both the Pfiler and Vfiler.   

Vfiler1>iscsi portal show
IP Address    TCP Port      TPGroup      Interface
Y.Y.Y.Y         3260            1001            iscsi-interface

Pfiler>iscsi portal show
IP Address   TCP Port    TPGroup     Interface
Y.Y.Y.X        3260          1001           iscsi-interface


I am not sure if it will work out this way so just looking for some perspective.   Is it the correct command to use?   Will running it from the Pfiler result in the portals in both the pfiler and vfiler being removed?   There are some other commands that look like they may apply to this use case but so far iscsi interface disable seems the most logical.    

Thanks,
Phil


On Mon, Feb 9, 2015 at 5:09 PM, Basil <basilberntsen@gmail.com> wrote:
Take a look at the section for the iscsi interface command on the iscsi man page (https://library.netapp.com/ecmdocs/ECMP1196979/html/man1/na_iscsi.1.html). I've never done it, but it looks like these commands should do what you need.

On Mon, Feb 9, 2015 at 4:20 PM, Philbert Rupkins <philbertrupkins@gmail.com> wrote:
Hello Toasters,

We have a client looking to limit iscsi services to a dedicated interface.    It looks like, by default, ONTAP is running iSCSI portals on all interfaces in both the pfiler (vfiler0) and all vfilers.

Is "iscsi interface disable" on vfiler0 (physical filer) the best way to get rid of all of the extraneous iscsi portals?  Will running "iscsi interface disable" on the physical filer get rid of the iscsi portal(s) on the physical filers and vfilers?

Not sure if I'll need to run a portal/tpgroup specific command or if "iscsi interface disable" will get rid of the portals.

8.1.3 7-Mode.

Thanks,
Phil

_______________________________________________
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters