Power6 Virtual Fibre Channel Adapter


 
Thread Tools Search this Thread
Operating Systems AIX Power6 Virtual Fibre Channel Adapter
# 1  
Old 06-15-2009
Power6 Virtual Fibre Channel Adapter

Hello,

Searched in all IBM Redbooks and on the internet and couldn't find anything about the new feature of POWER 6 which Virtual Fibre ( Fiber ) channel adapter.

It is similar to virtual scsi adapter.

In my client partition I created the virtual Fibre Adapter mapped it with the VIO adapter (also need to create a virtual fibre)
but how to map using mkvdev command ?

Anyone know how to use this feature ?

Thanks
# 2  
Old 06-16-2009
Just found a document for virtual fibre adapter

Help -

Configuring a virtual fibre channel adapter

You can configure a virtual fibre channel adapter dynamically for a running logical partition using the Hardware Management Console (HMC).
A Linux® logical partition supports the dynamic addition of virtual fibre channel adapters only if the DynamicRM tool package is installed on the Linux logical partition. To download the DynamicRM tool package, see the Service and productivity tools for Linux on POWER™ systems Web site.
If you plan to configure a virtual fibre channel adapter for a logical partition that uses shared memory (hereafter referred to as a shared memory partition), you might need to adjust the amount of I/O entitled memory assigned to the shared memory partition before you configure the adapter:
  • If the I/O entitled memory mode of the shared memory partition is set to the auto mode, you do not need to take action. When you configure the new virtual fibre channel adapter, the HMC automatically increases the I/O entitled memory of the shared memory partition to accommodate the new adapter.
  • If the I/O entitled memory mode of the shared memory partition is set to the manual mode, you must increase the I/O entitled memory that is assigned to the shared memory partition to accommodate the new adapter. For instructions, see Adding and removing I/O entitled memory dynamically to and from a shared memory partition.

When you dynamically configure a virtual fibre channel adapter on a client logical partition that uses Virtual I/O Server resources, the virtual fibre channel adapter is lost when you restart the logical partition because the partition profile does not include the virtual fibre channel adapter. You cannot add the virtual fibre channel adapter to a partition profile after you dynamically configure it on the logical partition because the virtual fibre channel adapter that you add to the partition profile is assigned a different pair of worldwide port names (WWPNs) than the virtual fibre channel adapter that you dynamically configured on the logical partition. If you want to include the virtual fibre channel adapter in a partition profile, then do not dynamically configure the virtual fibre channel adapter on the logical partition. Instead, create the virtual fibre channel adapter in a partition profile and then start the logical partition using that partition profile. For instructions, see Changing partition profile properties.

To configure a virtual fibre channel adapter dynamically for a running logical partition using the HMC, follow these steps:
  1. In the navigation pane, expand Systems Management > Servers.
  2. Click the server on which the logical partition is located.
  3. In the work pane, select the logical partition on which you want to configure the virtual fibre channel adapter.
  4. From the Tasks menu, click Dynamic Logical Partitioning > Virtual Adapters. The Virtual Adapters window is displayed.
  5. Click Actions > Create > Fibre Channel Adapter. The Create Virtual Fibre Channel Adapter window is displayed.
  6. Enter the slot number for the virtual fibre channel adapter into the Adapter field.
  7. Select the remote logical partition and enter the ID of the remote virtual fibre channel adapter as follows:
    • If you create a virtual fibre channel adapter on the Virtual I/O Server logical partition, select the client logical partition that uses this server adapter to connect to a physical port on a physical fibre channel adapter. Then, enter the ID of the virtual fibre channel adapter on the client logical partition that uses this server adapter to connect to a physical port on a physical fibre channel adapter.
    • If you create a virtual fibre channel adapter on a client logical partition, select the Virtual I/O Server logical partition that contains the virtual fibre channel adapter to which this client adapter connects. Then, enter the ID of the virtual fibre channel adapter on the Virtual I/O Server to which this client adapter connects.
  8. Click OK to close the Create Virtual Fibre Channel Adapter window.
  9. Click OK to close the Virtual Adapter window and create the virtual fibre channel adapter. If you create a virtual fibre channel adapter on a client logical partition, the HMC generates a pair of WWPNs for the virtual fibre channel adapter. If all of the WWPNs on the server are used, you can reset the WWPN prefix to add WWPNs to the server. For instructions, see Obtaining additional WWPNs for the server. After you reset the WWPN prefix, repeat this procedure to add a virtual fibre channel adapter to a client logical partition.
If you created a virtual fibre channel adapter on a Virtual I/O Server logical partition, complete the following tasks:
  1. Access any existing partition profiles for the Virtual I/O Server logical partition and add the virtual fibre channel adapter to those partition profiles. The virtual fibre channel adapter is lost when you shut down the Virtual I/O Server logical partition and activate it using a partition profile that does not include the virtual fibre channel adapter.
  2. Assign the virtual fibre channel adapter to a physical port on the physical fibre channel adapter that is connected to the physical storage that you want the associated client logical partition to access. For instructions, see Assigning the virtual fibre channel adapter to a physical fibre channel adapter.


Parent topic: Configuring virtual resources for logical partitions

Related information
Adding virtual adapters dynamically
Changing partition profile properties
Redundancy configuration using virtual fibre channel adapters
Virtual fibre channel

-----Post Update-----

The above document shows how to assign virtual fibre channel adapter to VIO and Client Partition.

The below document shows, how to map them:

http://publib.boulder.ibm.com/infocenter/systems/scope/hw/index.jsp?topic=/iphat/iphblconfigvfc.htm

Assigning the virtual fibre channel adapter to a physical fibre channel adapter

To enable N-Port ID Virtualization (NPIV) on managed systems, connect the virtual fibre channel adapter on the Virtual I/O Server logical partition to a physical port on a physical fibre channel adapter.
Before you start, verify that the following statements are true:
  • Verify that you have created the virtual fibre channel adapters on the Virtual I/O Server logical partition and associated them with virtual fibre channel adapters on the client logical partition.
  • Verify that you have created the virtual fibre channel adapters on each client logical partition and associated them with a virtual fibre channel adapter on the Virtual I/O Server logical partition.

After the virtual fibre channel adapters are created, you need to connect the virtual fibre channel adapter on the Virtual I/O Server logical partition to the physical ports of the physical fibre channel adapter. The physical fibre channel adapter should be connected to the physical storage that you want the associated client logical partition to access. Tip: If you are using the HMC, version 7 release 3.4.2 or later, you can use the HMC graphical interface to assign the virtual fibre channel adapter on a Virtual I/O Server to a physical fibre channel adapter.
To assign the virtual fibre channel adapter to a physical port on a physical fibre channel adapter, complete the following steps from the Virtual I/O Server command-line interface:

  1. Use the lsnports command to display information for the available number of NPIV ports and available worldwide port names (WWPNs). For example, running lsnports returns results similar to the following: Name Physloc fabric tports aports swwpns awwpns
    -----------------------------------------------------------------------------------
    fcs0 U789D.001.DQDMLWV-P1-C1-T1 1 64 64 2048 2047
    fcs1 U787A.001.DPM0WVZ-P1-C1-T2 1 63 62 504 496
    Note: If there are no NPIV ports in the Virtual I/O Server logical partition, the error code E_NO_NPIV_PORTS(62) is displayed.
  2. To connect the virtual fibre channel adapter on the Virtual I/O Server logical partition to a physical port on a physical fibre channel adapter, run the vfcmap command: vfcmap -vadapter virtual fibre channel adapter -fcp fibre channel port name where:
    • Virtual fibre channel adapter is the name of the virtual fibre channel adapter created on the Virtual I/O Server logical partition.
    • Fibre channel port name is the name of the physical fibre channel port. Note: If no parameter is specified with the -fcp flag, the command unmaps the virtual fibre channel adapter from the physical fibre channel port.
  3. Use the lsmap command to display the mapping between virtual host adapters and the physical devices to which they are backed. To list NPIV mapping information, type: lsmap -all -npiv. The system displays a message similar to the following:Name Physloc ClntID ClntName ClntOS
    ---------------------------------------------------------------
    vfchost0 U8203.E4A.HV40026-V1-C12 1 HV-40026 AIX

    Status:NOT_LOGGED_IN
    FC name:fcs0 FC loc code:U789C.001.0607088-P1-C5-T1
    Ports logged in:0
    Flags:1 <not_mapped, not_connected>
    VFC client name: VFC client DRC:
When you are finished, consider the following tasks:
  • For each logical partition, verify that both WWPNs are assigned to the same physical storage and have the same level of access on the storage area network (SAN). For instructions, see the IBM® System Storage SAN Volume Controller.Note: To determine the WWPNs that are assigned to a logical partition, use the Hardware Management Console (HMC) to view the partition properties or partition profile properties of the client logical partition.
  • If you later need to remove the connection between the virtual fibre channel adapter created on the Virtual I/O Server logical partition and the physical port, you can do so by using the vfcmap command and not specifying a parameter for the -fcp flag.



Parent topic: Configuring the Virtual I/O Server

Related information
Changing virtual fibre channel by using the Hardware Management Console
Configuring a virtual fibre channel adapter using the HMC
Virtual I/O Server and Integrated Virtualization Manager commands
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Fibre Channel link not ready on Netra 240

Hi, One of my Netra 240 went into hung state and I had to reboot it. I powered it off and tried booting it again but unsuccessful. It is not connected to SAN and have local disks. Not able to boot in failsafe mode too. There are two disks of 72GB, both are mirrored in SVM. It complains about... (5 Replies)
Discussion started by: solaris_1977
5 Replies

2. AIX

[ASK] - AIX Fibre Channel behavior

Hello all, Let me introduce about the context and my environment. We have an AIX 6.1 system, it has 4 FC channels / > lsdev -Cc adapter | grep fcs fcs0 Available 23-T1 Virtual Fibre Channel Client Adapter fcs1 Available 23-T1 Virtual Fibre Channel Client Adapter fcs2 Available 23-T1... (14 Replies)
Discussion started by: Phat
14 Replies

3. Solaris

Fibre channel link down on booting Solaris server

Hi I had power issue that affected a server, in which I had power ON the server SPARC T1-B3 running solaris 10. After power on the system stops at ok prompt, them I issued the following commands: {0} ok setenv auto-boot? false auto-boot? = false {0} ok reset-all SPARC T3-1B,... (10 Replies)
Discussion started by: fretagi
10 Replies

4. AIX

AIX - Fibre Adapter and IBM Storage

Hello, Just a quick question Usually from a PSERIES if you want to connect to IBM SAN Storage you connect the IBM SAN Storage through a SAN Switch something like this --- however my question Can you connect from Pseries directly to San Storage without SAN Switch what would be... (8 Replies)
Discussion started by: filosophizer
8 Replies

5. IP Networking

Virtual Adapter MAC address..

Hi, I just want to know whether two MAC address can exist in a adapter.. I mean one there will be mandatory one And another as user defined one.. Any replies will be more helpful.. Please help.. :wall: (0 Replies)
Discussion started by: Priya Amaresh
0 Replies

6. Hardware

Fibre Channel HBA recommendations?

We will be buying new Xeon E5-based servers for our datacenter and were wondering which Fibre Channel host bus adapters we should select for these. The choices are Emulex or QLogic (8Gb FC HBAs). Anybody have any recommendations on which is the better choice? Thanks in advance. (1 Reply)
Discussion started by: atahmass
1 Replies

7. Solaris

USCSICMD ioctl calls for Fibre Channel(FC) devices on Solaris 10?

Hi , I have wrtitten a C program that issues USCSICMD ioctl call to the tape devices attached on solaris sparc 10. I was able to get the required information from all SCSI tape devices attached using the utility. But, whenever it is run on FC attached tape drives , the program returns an error... (0 Replies)
Discussion started by: naveen448
0 Replies

8. AIX

Fibre channel drivers on RS/6000 aix 5L

Want to configure IBM raid strorage but the aix 5L cds do not have the drivers for the fibre channels. The machine is RS/6000. I have gone to IBM downlaodable sites but i can't find the drivers? help pliz:mad: (4 Replies)
Discussion started by: Zim-Aix-Guru
4 Replies

9. AIX

Spliting PCI-X Dual Channel Ultra320 SCSI Adapter

I have 1 PCI-X Dual Channel Ultra320 SCSI Adapter card for my p570 server. I would like to split the 2 channels for the usage of 2 tape drives in different LPARs. Is that possible? For example, I have 2 LPARs running in p570 server, LPAR-A configured the Ultra320 card as pci7 in slot... (11 Replies)
Discussion started by: kwliew999
11 Replies
Login or Register to Ask a Question