Hi Christopher,
I have checked the latest file hwtable.c on /pub/mirrors/kernel.org/pub/scm/linux/storage/multipath-tools and I do not understand the entries for vendor HP and Hitachi. I hope you can help.
Here are some background information:
Vendor Hitachi build two different storage classes with fibre channel connectivity: Enterprise class and Modular class.
The SCSI product inquiry for Enterprise classe always begins with "OPEN-" and the rest of the string depends on the LUN type (for example "OPEN-V*10" for a MetaLUN/LUSE build from 10 different internal LUNs). The LUNs of the Enterprise Class can be accessed active/active (multibus). There are different versions of the Enterprise class and all with nearly the same internal crossbar/switch architecture (no bus): 9910, 9960, 9970V, 9980V, USP100, USP600 and USP1100.
The other storage class made by Hitachi is the Modular class. The SCSI product inquiry for Modular class always begins with "DF". The LUNs of the Modular class can be accessed active/passive (group_by_prio) and for spreading the load you need a prioritizer (pp_hds_modular). There are also a lot of different versions of the Hitachi Modular class and all with a two-controller-architecture: 9200, 9520V, 9530V, 9570V, 9580V, 9585V, WMS, AMS500, AMS1000 and so on. The Hitachi internal naming for 9200 is DF500x, for 95xxV is DF600x and for AMS/WMS is DF700x. The SCSI product inquiry changes depending on the Hitachi internal name and the LUN type (for example "DF600F-CM" for a 9580V LUN with Command Device functionality.
I am an employee of HDS - Hitachi Data Systems. It is a 100% doughter of Hitachi Limited in Japan and we are the responsible for selling and for service of the Storage products from Hitachi worldwide.
Hawlett Packard (HP) does also sell the Hitachi Enterprise class. The only difference is the different SCSI inquiry for vendor (HP) and the names. The SCSI inquiry for product "OPEN-" is the same. HP sells the Hitachi Enterprise class under the name XPxxxxx.
The product A6189A is HPs own developed Modular storage class and is selled under the name EVA. It is not compatible to Hitachi products.
SUN Microsystems is also selling the Hitachi Enterprise class but they do not change the SCSI vendor inquiry. They use "HITACHI" as vendor string.
Here are the questions to the latest hwtable.c:
{
.vendor = "HITACHI",
.product = "{A6189A,OPEN-}",
.getuid = DEFAULT_GETUID,
.getprio = NULL,
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = MULTIBUS,
.pgfailback = FAILBACK_UNDEF,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
The product A6189A is a HP product. It needs an entry under vendor="HP". The product should only be "OPEN-" and the vendor should be "{HITACHI,HP}".
{
.vendor = "HP",
.product = "DF[456]00",
.getuid = DEFAULT_GETUID,
.getprio = NULL,
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = MULTIBUS,
.pgfailback = FAILBACK_UNDEF,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
The vendor here should be "HITACHI" and the product should be "DF". getprio should be "/sbin/pp_hds_modular %d", pgpolicy=GROUP_BY_PRIO and pgfailback= FAILBACK_IMMEDIATE.
Sorry for the confusion....
Regards
Matthias Rudolph
Hitachi Data Systems
-----Ursprüngliche Nachricht-----
Von: Matthias Rudolph
Gesendet: Mittwoch, 26. April 2006 17:15
An: 'dm-devel redhat com'
Cc: 'christophe varoqui'
Betreff: Re: [dm-devel] Hitachi prioritizer ?
Hi Christopher,
sorry - the software development is not my daily business....
The file hwtable.c should be changed from:
...
r += store_hwe(hw, "HITACHI", "DF400", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "HITACHI", "DF500", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "HITACHI", "DF600", MULTIBUS, DEFAULT_GETUID);
...
to:
...
r += store_hwe(hw, "HITACHI", "DF", GROUP_BY_PRIO, DEFAULT_GETUID, "/sbin/pp_hds_modular %d", "0", "0", "readsector0", FAILBACK_IMMEDIATE);
r += store_hwe(hw, "HITACHI", "OPEN-", MULTIBUS, DEFAULT_GETUID);
...
First entry is for Hitachi Modular Storage Active/Passive. The Product inquiry always begins with "DF".
Second entry is for Hitachi Enterprise Storage Active/Active. The Product inquiry always begins with "OPEN-".
Regards, Matthias