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

Managing the FCP service

Commands to use  Top

You use the fcp commands for most of the tasks involved in managing the FCP service and the target and initiator HBAs. For a quick look at all the fcp commands, enter the fcp help command at the filer prompt.

You can also use FilerView and go to

Verifying that FCP service is running  Top

If FCP service is not running, target HBAs are automatically taken offline. They cannot be brought online until the FCP service is started.

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

Step

Action

1

Enter the following command:

fcp status

Result

A message is displayed indicating whether FCP service is running.

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

Verifying that the FCP service is licensed  Top

To verify whether the FCP service is licensed, complete the following step.

Step

Action

1

Enter the following command:

license

Result

A list of all available services appears, and those services that are enabled show the license code; those that are not enabled are indicated as "not licensed."

Enabling the FCP service  Top

To enable the FCP service, 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 FCP license.

For FAS270 appliances

After you license the FCP service on an FAS270 appliance, you must reboot. When the appliance boots up, the port labeled Fibre Channel 2 is in SAN target mode. When you enter Data ONTAP commands that display adapter statistics, this port is slot 0, so the virtual ports are shown as 0a_0, 0a_1, and 0a_2.

Starting and stopping FCP service  Top

To start and stop the FCP service, complete the following step.

Step

Action

1

Enter the following command:

fcp {start|stop}

Example

fcp start

Result

The FCP service begins running. If you enter fcp stop, the FCP service stops running.

Taking HBA adapters offline and bringing them online  Top

To take a target HBA adapter offline or bring it online, complete the following step.

Step

Action

1

Enter the following command:

fcp config adapter [up|down]

Example

fcp config 4a down

Result

The target HBA 4a is offline. If you enter fcp config 4a up, the target HBA is brought online.

Disabling the FCP license  Top

To disable the FCP license, complete the following step.

Step

Action

1

Enter the following command:

license delete service

service is any service you can license.

Example

license delete fcp

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