Bug 463601
Summary: | [LTC 6.0 FEAT] 201171:FCP Automatic Port Discovery | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | IBM Bug Proxy <bugproxy> | |
Component: | kernel | Assignee: | Hans-Joachim Picht <hpicht> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Jenner <mjenner> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.0 | CC: | ejratl, gmuelas, jjarvis, notting, peterm, rlerch | |
Target Milestone: | alpha | Keywords: | FutureFeature | |
Target Release: | --- | |||
Hardware: | s390x | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 579599 (view as bug list) | Environment: | ||
Last Closed: | 2009-09-14 13:59:45 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 707020 | |||
Bug Blocks: | 356741, 465489, 579599 |
Description
IBM Bug Proxy
2008-09-24 03:00:37 UTC
Did this make 2.6.27? What (if anything) is the kernel/userspace interface like? Correct, this is upstream in kernel 2.6.27. After setting a FCP adapter devno. manually online, the zfcp driver will automatically scan and add to the sysfs the reachable/founded WWPNs from the storage server. Please remember that the documentation in the Installation Guide should be updated. Here is an example screenshot with kernel 2.6.27: *** Just after reboot a system with 1 FCP adapter/devno attached **** [root@h0515007 ~]# ls /sys/bus/ccw/drivers/zfcp/ 0.0.1707 bind uevent unbind [root@h0515007 ~]# ls /sys/bus/ccw/drivers/zfcp/0.0.1707/ availability cutype hardware_version online port_remove uevent bus devtype in_recovery peer_d_id port_rescan card_version driver lic_version peer_wwnn status cmb_enable failed modalias peer_wwpn subsystem *** When setting the devno online, WWPN discovery happens automaticaly in zfcp kernel driver *** [root@h0515007 ~]# echo 1 > /sys/bus/ccw/drivers/zfcp/0.0.1707/online [root@h0515007 ~]# ls /sys/bus/ccw/drivers/zfcp/0.0.1707/ 0x500308c141699001 0x5005076303098335 0x500507630e8202aa modalias 0x500308c141699004 0x50050763030b0104 availability online 0x500507630040710b 0x50050763030bc562 bus peer_d_id 0x500507630040727b 0x5005076303100104 card_version peer_wwnn 0x5005076300c20b8e 0x5005076303108104 cmb_enable peer_wwpn 0x5005076300c7b130 0x500507630310c562 cutype port_remove 0x5005076300cbb130 0x500507630313c562 devtype port_rescan 0x5005076300cc0b8e 0x5005076303148335 driver status 0x5005076303000104 0x5005076303198335 failed subsystem 0x5005076303008104 0x50050763031b0104 hardware_version uevent 0x500507630300c562 0x500507630e0002aa host0 0x500507630303c562 0x500507630e0202aa in_recovery 0x5005076303048335 0x500507630e8002aa lic_version Why is manual onlining needed? (This correlates to a question in the other bug) - what's the downside of having the driver do it automatically? Because if the System z device drivers would automatically set online all the devices sensed (some customers have 4K devices), then precious resources in the machine would be wasted. Since System z machines are expensive enough, we don't want to waste customers resources. Activating only the ones that the customer will explicit use, to be decided during the installation and init/cfg files. Why can't the visibility of devices be set at the zVM level, much like FC/iscsi visibility being set at the SAN level? via upstream kernel, no code to attach to feature BZ This feature has a required co-feature request in installer to be complete That is: 48104 ??-?? RHBZ 463186 [LTC 6.0 FEAT] 201689:Installer - FCP automatic port discovery Kernel portion is upstream, requires release note and installer support. Code is included in the rhel6 kernel via upstream. Marked as CLOSED/CURRENTRELEASE ------- Comment From mgrf.com 2010-04-29 06:03 EDT------- This feature is successful verified on beta1 Set feature to "verified" - Thx- |