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

Managing the FCP service on systems with onboard ports

Storage systems with onboard ports  Top

The following systems have onboard FCP adapters, or ports, that you can configure to connect to disk shelves or to operate in SAN target mode:

FAS270 storage systems  Top

FAS270 onboard ports

A FAS270 storage system provides two independent Fibre Channel ports identified as Fibre Channel B (with a blue label) and Fibre Channel C (with an orange label):

The Fibre Channel C port does not support mixed initiator/target mode. The default mode for this port is initiator mode. If you want to license the FCP service and connect the FAS270 to a SAN, you have to configure this port to operate in SAN target mode.

FAS270 cluster configuration example

FAS270 cluster configurations in dual_fabric mode must be cabled to switches that support public loop topology. To connect a FAS270 cluster to a fabric topology that includes switches that only support point-to-point topology, such as McDATA Director class switches, you must connect the cluster to an edge switch and use this switch as a bridge to the fabric.

FAS270 models also support single_image mode. If you upgrade your configuration to single_image mode, there are no switch restrictions. For information about changing your cfmode setting, see the Fibre Channel Configuration Guide, available from the following URL:

http://now.netapp.com/NOW/knowledge/docs/san/fcp_iscsi_config/QuickRef/FCPConfigurationGuide.pdf

The following figure shows an example configuration in which a multi-attached host accesses a FAS270 cluster. For information about specific switch models supported and fabric configuration guidelines, see the online NetApp Fibre Channel Configuration Guide at the following URL: http://now.netapp.com/NOW/knowledge/docs/san/fcp_iscsi_config/QuickRef/
FCPConfigurationGuide.pdf.

Configuring the Fibre Channel port for target mode

After you cable your configuration and enable the cluster, configure port Fibre Channel C for target mode by completing the following steps.

Step

Action

1

If the FCP protocol is not licensed, install the license by entering the following command:

license add FCP_code

FCP_code is the FCP service license code provided to you.

Example

fas270a> license add XXXXXXX 
A fcp site license has been installed.
cf.takeover.on_panic is changed to on
Run 'fcp start' to start the FCP service.
Also run 'lun setup' if necessary to configure LUNs.
A reboot is required for FCP service to become available.
        FCP enabled.
fas270a> Fri Dec  5 14:54:24 EST [fas270a: rc:notice]: fcp licensed
2

Reboot the FAS270 by entering the following command:

reboot
3

Verify that the Fibre Channel C port is in target mode by entering the following command:

sysconfig 

Example

fas270a> sysconfig
        NetApp Release R6.5xN_031130_2230: Mon Dec  1 00:07:33 PST 2003
        System ID: 0084166059 (fas270a)
        System Serial Number: 123456 (fas270a)
        slot 0: System Board
                Processors:         2
                Processor revision: B2
                Processor type:     1250
                Memory Size:        1022 MB
        slot 0: FC Host Adapter 0b
                14 Disks:            952.0GB
                1 shelf with EFH
        slot 0: Fibre Channel Target Host Adapter 0c
        slot 0: SB1250-Gigabit Dual Ethernet Controller
                e0a MAC Address:    00:a0:98:01:29:cd (100tx-fd-up)
                e0b MAC Address:    00:a0:98:01:29:ce (auto-unknown-cfg_down)
        slot 0: NetApp ATA/IDE Adapter 0a (0x00000000000001f0)
                0a.0                 245MB

Note
The Fibre Channel C port is identified as Fibre Channel Target Host Adapter 0c.

4

Start the FCP service by entering the following command:

fcp start

Example

fas270a> fcp start
FCP service is running.
Wed Sep 17 15:17:04 GMT [fas270a: fcp.service.startup:info]: FCP service 
startup

FAS3000Configuring the Fibre Channel port for initiator mode

To configure one or more onboard Fibre Channel ports to operate in initiator mode, complete the following steps.

Step

Action

1

Remove the FCP protocol license by entering the following command:

license delete fcp

adapter is the port number. You can specify more than one port.

Example

fas270a> license delete fcp
Fri Dec 5 14:59:02 EST [fas270a: fcp.service.shutdown:info]: FCP service shutdown
cf.takeover.on_panic is changed to off
A reboot is required for TapeSAN service to become available.
unlicensed fcp.
FCP disabled.
fas270a> Fri Dec 5 14:59:02 EST [fas270a: rc:notice]: fcp unlicensed
2

Reboot the storage system by entering the following command:

reboot
3

After the reboot, verify that the port 0c is in initiator mode by entering the following command:

sysconfig

Example

fas270a> sysconfig
        NetApp RscrimshawN_030824_2300: Mon Aug 25 00:07:33 PST 2003
        System ID: 0084166059 (fas270a)
        System Serial Number: 123456 (fas270a)
        slot 0: System Board
                Processors:         2
                Processor revision: B2
                Processor type:     1250
                Memory Size:        1022 MB
        slot 0: FC Host Adapter 0b
                14 Disks:            952.0GB
                1 shelf with EFH
        slot 0: Fibre Channel Target Host Adapter 0c
        slot 0: SB1250-Gigabit Dual Ethernet Controller
                e0a MAC Address:    00:a0:98:01:29:cd (100tx-fd-up)
                e0b MAC Address:    00:a0:98:01:29:ce (auto-unknown-cfg_down)
        slot 0: NetApp ATA/IDE Adapter 0a (0x00000000000001f0)
                0a.0                 245MB


4

Enable port 0c by entering the following command:

storage enable adapter 0c

Example

fas270a> storage enable adapter 0c
Mon Dec 8 08:55:09 GMT [rc:notice]: Onlining Fibre Channel adapter 0c.
host adapter 0c enable succeeded
series systems  Top

FAS300 series onboard ports

The FAS3000 has four onboard Fibre Channel ports that have orange labels and are numbered 0a, 0b, 0c, 0d. Each port can be configured to operate in one of the following modes:

The operating mode of the Fibre Channel port depends on your configuration. See the following sections for information about the two recommended SAN configurations:

FAS3000 configuration with two Fibre Channel ports

The following figure shows the default SAN configuration in which a multi-attached host accesses a FAS3000 cluster. You cable the Fibre Channel ports as follows:

For detailed cabling instructions, see the Installation and Setup Instructions flyer that shipped with your system.

In this configuration, partner mode is the only supported cfmode of each node in the cluster. On each node in the cluster, port 0c provides access to local LUNs, and port 0d provides access to LUNs on the partner. This configuration requires that multipathing software is installed on the host.

If you order a FAS3000 system with the FCP license, ports 0a and 0b are preconfigured to operate in initiator mode. Ports 0c and 0d are preconfigured to operate in SAN target mode.

FAS3000 configuration using four onboard ports

The following example shows a configuration that uses all four onboard Fibre Channel ports to connect to the SAN. On each storage system in the cluster, ports 0a and 0c connect to Switch/Fabric 1. Ports 0b and 0d connect to Switch/Fabric 2. Each storage system has two 64-bit Fibre Channel HBAs, which are used to connect to local and partner disk shelves.

In this configuration, the default cfmode of each node in the cluster is partner. On each node in the cluster, port 0a and 0c provide access to local LUNs, and ports 0b and 0d provide access to LUNs on the partner. This configuration requires that multipathing software is installed on the host.

Note
This configuration also supports the other cfmode settings. For information on changing the default cfmode from partner to another setting, see the online NetApp Fibre Channel Configuration Guide at http://now.netapp.com/NOW/knowledge/docs/san/fcp_iscsi_config/QuickRef/
FCPConfigurationGuide.pdf.

If you ordered this configuration, then all four onboard ports are preconfigured to operate in target mode. If you have the two-port Fibre Channel configuration and want to upgrade to this configuration, then you have to configure ports 0c and 0d to operate in target mode by using the fcadmin config command.

Configuring the onboard ports for target mode

To configure the onboard ports to operate in target mode, complete the following steps.

Step

Action

1

If you have not licensed the FCP service, install the license by entering the following command:

license add license_code

license_code is the license code you received when you purchased the FCP license.

2

If you have already connected the port to a switch or fabric, take it offline by entering the following command:

fcadmin config -d adapter

adapter is the port number. You can specify more than one port.

Example

The following example takes ports 0c and 0d offline.

fcadmin config -d 0c 0d
3

Set the onboard ports to operate in target mode by entering the following command:

fcadmin config -t target adapter...

adapter is the port number. You can specify more than one port.

Example

The following example sets onboard ports 0c and 0d to target mode.

fcadmin config -t target 0c 0d
4

Reboot each system in the cluster by entering the following command:

reboot
5

Start the FCP service by entering the following command:

fcp start

Example

fas3050a> fcp start
FCP service is running.
Wed Mar 17 15:17:05 GMT 
[fas3050a:fcp.service.startup:info]: FCP service startup
6

Verify that the Fibre Channel ports are online and configured in the correct state for your configuration by entering the following command:

fcadmin config

Example

The following output example shows the correct configuration of Fibre Channel ports for a four-port SAN configuration.

Note
The output might display the Local State of a target port as UNDEFINED on new systems. This is a default state for new systems. This state does not indicated that your port is misconfigured. It is still configured to operate in target mode.

fas3050a> fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             online
  0b   target     CONFIGURED             online
  0c   target     CONFIGURED             online
  0d   target     CONFIGURED             online

Configuring the onboard ports for initiator mode

To configure one or more onboard Fibre Channel ports to operate in initiator mode, complete the following steps.

Step

Action

1

If you have not licensed the FCP service, install the license by entering the following command:

license add license_code

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

2

If you have already connected the port to a switch or fabric, take it offline by entering the following command:

fcadmin config -d adapter

adapter is the port number. You can specify more than one port.

Example

The following example takes ports 0c and 0d offline.

fcadmin config -d 0c 0d
3

Set the onboard ports to operate in target mode by entering the following command:

fcadmin config -t target adapter...

adapter is the port number. You can specify more than one port.

Example

The following example sets onboard ports 0c and 0d to target mode.

fcadmin config -t target 0c 0d
4

Reboot each system in the cluster by entering the following command:

reboot
5

Start the FCP service by entering the following command:

fcp start

Example

fas3050a> fcp start
FCP service is running.
Wed Mar 17 15:17:05 GMT [fas270a: 
fcp.service.startup:info]: FCP service startup
6

Verify that the Fibre Channel ports are online and configured in the correct state for your configuration by entering the following command:

fcadmin config

Example

The following output example shows the correct configuration of Fibre Channel ports for a four-port SAN configuration.

Note
The output might display the Local State of a target port as UNDEFINED on new systems. This is a default state for new systems. This state does not indicated that your port is misconfigured. It is still configured to operate in target mode.

fas3050-1> fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             online
  0b   target     CONFIGURED             online
  0c   target     CONFIGURED             online
  0d   target     CONFIGURED             online

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