Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Managing the iSCSI service

Verifying that the iSCSI service is running  Top

To verify that the iSCSI service is running, complete the following step.

Step

Action

1

Enter the following command:

iscsi status

Result

A message is displayed indicating whether iSCSI service is running.

Note
If the iSCSI service is not running, verify that the iSCSI license is enabled and start the service.

Verifying that iSCSI is licensed  Top

To verify that the iSCSI service is licensed, complete the following step.

Step

Action

1

Enter the following command:

license

Result

A list of all available licenses appears. An enabled license shows the license code.

Enabling the iSCSI license  Top

To enable the iSCSI license, complete the following step.

Step

Action

1

Enter the following command:

license add license_code

license_code is the license code you received from NetApp when you purchased the iSCSI license.

Starting and stopping the iSCSI service  Top

To start or stop the iSCSI service, complete the following step.

Step

Action

1

Enter the following command:

iscsi {start|stop}

Displaying the filer's node name  Top

To display the filer's node name, complete the following step.

Step

Action

1

Enter the following command:

iscsi nodename

Example

iscsi nodename
iSCSI target nodename: iqn.1992-08.com.netapp:sn.123456789

Changing the filer's node name  Top

To change the filer's node name, complete the following step.

Step

Action

1

Enter the following command:

iscsi nodename iqn.1992-08.com.netapp:unique_device_name

unique_device_name is the unique name for the filer.

Example

iscsi nodename iqn.1992-08.com.netapp:filer_hq

Displaying initiators connected to the filer  Top

To display a list of initiators connected to the filer, complete the following step.

Step

Action

1

Enter the following command:

iscsi show initiator

Result

The filer console displays the initiators currently connected to the filer and the portal groups to which they are connected.

Example


iscsi show initiator

Initiators connected on adapter iswta:
Tgt_PG  iSCSI Initiator Name/ISID
   2    iqn.1999-07.com.mycorp:svr1 / 40:01:01:dc:00:05
   2    iqn.1999-07.com.mycorp:svr2 / 40:01:01:dc:00:08

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments