Setting up shared storage: Fibre Channel

Article:HOWTO77041  |  Created: 2012-05-22  |  Updated: 2012-05-24  |  Article URL http://www.symantec.com/docs/HOWTO77041
Article Type
How To

Product(s)

Environment

Subject


Setting up shared storage: Fibre Channel

Perform the following steps to set up Fibre Channel.

To set up Fibre Channel on AIX

  1. Connect the Fibre Channel adapters and the shared storage devices to the same hub or switch.

    All systems must see all the shared devices that are required to run the critical application. If you want to implement zoning for a fibre switch, make sure that no zoning prevents all systems from seeing all these shared devices.

  2. Reboot each system:

    # shutdown -Fr
  3. After all systems have booted, use the lspv command to verify that each system can see all shared devices needed by the application.

To set up Fibre Channel shared storage on HP-UX

  1. Shut down the cluster systems that must share the devices.

  2. Install the required Fibre Channel host bus adapters on each system.

  3. Cable the shared devices.

  4. Reboot each system.

  5. Verify that each system can see all shared devices. Use the command:

    # ioscan -fnC disk

    Where "disk" is the class of devices to be shared. For example, from a system sys1 type:

    sys1# ioscan -fnC disk
    Class  I  H/W Path     Driver S/W State   H/W Type  Description
    ===============================================================
    .
    .
    disk      4  0/4/0/0.1.16.255.13.4.0  sdisk  CLAIMED     DEVICE
    SEAGATE ST318304 CLAR18 
                     /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0
    disk      5  0/4/0/0.1.16.255.13.5.0  sdisk  CLAIMED     DEVICE
    SEAGATE ST318304 CLAR18   
                       /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0
    .
    .

    And on another system, sys2, enter:

    sys2# ioscan -fnC disk
    Class  I  H/W Path     Driver S/W State   H/W Type  Description
    ===============================================================
    .
    .
    disk      4  0/4/0/0.1.16.255.13.4.0  sdisk  CLAIMED     DEVICE
    SEAGATE ST318304 CLAR18
                      /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0
    disk      5  0/4/0/0.1.16.255.13.5.0  sdisk  CLAIMED     DEVICE
       SEAGATE ST318304 CLAR18 
                       /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0
    .
    .

To set up shared storage for Fibre Channel on Linux

  1. Connect the Fibre Channel disk to a cluster system.

  2. Boot the system and change the settings of the Fibre Channel. Perform the following tasks for all QLogic adapters in the system:

    • Press Alt+Q to bring up the QLogic adapter settings menu.

    • Choose Configuration Settings.

    • Click Enter.

    • Choose Advanced Adapter Settings.

    • Click Enter.

    • Set the Enable Target Reset option to Yes (the default value).

    • Save the configuration.

    • Reboot the system.

  3. Verify that the system detects the Fibre Channel disks properly.

  4. Create volumes. Format the shared disk and create required partitions on it and perform the following:

    • Identify your shared disk name. If you have two internal SCSI hard disks, your shared disk is /dev/sdc.

      Identify whether the shared disk is sdc, sdb, and so on.

    • Type the following command:

      # fdisk /dev/shareddiskname

      For example, if your shared disk is sdc, type:

      # fdisk /dev/sdc
    • Create disk groups and volumes using Volume Manager utilities.

    • To apply a file system on the volumes, type:

      # mkfs -t fs-type /dev/vx/dsk/disk-group/volume

      For example, enter the following command:

      # mkfs -t vxfs /dev/vx/dsk/dg/vol01

      Where the name of the disk group is dg, the name of the volume is vol01, and the file system type is vxfs.

  5. Repeat step 2 and step 3 for all nodes in the clusters that require connections with Fibre Channel.

  6. Power off this cluster system.

  7. Connect the same disks to the next cluster system.

  8. Turn on the power for the second system.

  9. Verify that the second system can see the disk names correctly - the disk names should be the same.

To set up shared storage on Solaris

  1. Install the required FC-AL controllers.

  2. Connect the FC-AL controllers and the shared storage devices to the same hub or switch.

    All systems must see all the shared devices that are required to run the critical application. If you want to implement zoning for a fibre switch, make sure that no zoning prevents all systems from seeing all these shared devices.

  3. Boot each system with the reconfigure devices option:

    ok boot -r
  4. After all systems have booted, use the format(1m) command to verify that each system can see all shared devices.

    If Volume Manager is used, the same number of external disk devices must appear, but device names (c#t#d#s#) may differ.

    If Volume Manager is not used, then you must meet the following requirements:

    • The same number of external disk devices must appear.

    • The device names must be identical for all devices on all systems.

See Setting up shared storage.

See Setting up shared storage: SCSI.


Legacy ID



uxrt-60_v74035181_v73071783


Article URL http://www.symantec.com/docs/HOWTO77041


Terms of use for this information are found in Legal Notices