Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
Every instance of KGPSA-CA works in one of the two following modes:
- Fabric virtualization mode 695402720 (creating virtual fabric in combination with virtual FC-3 Storage Controller). This is default mode.
- Pass Through mode 695402720 (using a specific CHARON PCI Pass Through driver)
- Fabric presentation mode 695402720 (using Linux FC HBA directly)
...
Configuration parameters
The KGPSA-CA PCI FC adapter emulation has the following configuration parameters:
host_bus_location
Parameter | host_bus_location | ||
---|---|---|---|
Type | Text String | ||
Value | Pass Through 695402720 mode mode only! Establish connection between virtual DEC-KGPSA-CA PCI FC adapter and physical EMULEX LightPulse PCI/PCI-X/PCIe FC adapter (Pass Through mode695402720) Syntax:
Example:
|
Div | ||
---|---|---|
| ||
wwid
Parameter | wwid[N] N is 0..32766 (no more than 255 units) | ||
---|---|---|---|
Type | Text String | ||
Value | Sets WWID for emulated KGPSA adapter unit. Syntax:
Example:
|
container
Parameter | container[N] N is 0..32766 (no more than 255 units) | |||||||
---|---|---|---|---|---|---|---|---|
Type | Text String | |||||||
Value | Possible values of the parameter are strings in one of the following forms:
This parameter is initially not set, thus creating NO storage elements on the controller. |
Div | ||
---|---|---|
| ||
media_type
Parameter | media_type[N] N is 0..32766 (no more than 255 units) | |
---|---|---|
Type | Text String | |
Value | Instructs CHARON-AXP to use the supplied value as the PRODUCT field in the FC INQUIRY data returned to a software running on virtual HP Alpha system in response to FC INQUIRY command. If not specified, CHARON-AXP attempts to guess the FC INQUIRY data based on virtual FC device type and underlying container (which is specified in the corresponding container configuration parameter). Initially is not specified. Example:
|
removable
Parameter | removable[N] N is 0..32766 (no more than 255 units) | |
---|---|---|
Type | Boolean | |
Value | When set to "true", the removable configuration parameter instructs CHARON-AXP to report the corresponding virtual FC device as removable. By default the removable configuration parameter is set to "false". Example:
|
Div | ||
---|---|---|
| ||
geometry
Parameter | geometry[N] N is 0..32766 (no more than 255 units) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Text String | ||||||||||||||
Value | This formatted string value specifies the explicit geometry of the disk storage element. The string format is <X>”/”<Y>[“/”<Z>] or <X>”,”<Y>[“,”<Z>][“,”<B>] where:
If this parameter is not set, CHARON-AXP will configure the geometry based on the most probable disk type. Initially not set. Example:
|
use_io_file_buffering
Parameter | use_io_file_buffering[N] N is 0..32766 (no more than 255 units) | |
---|---|---|
Type | Boolean | |
Value | When set to "true", instructs CHARON-AXP to enable host operating system I/O cache on read/write operations. Note that this caching has a significant effect only in case of mapping to disk containers, not physical drives. When enabled, host operating system I/O cache may significantly improve I/O performance of the virtual system. At the same time maintaining I/O cache requires additional host resources (CPU and memory) which may negatively affect overall performance of the virtual system. Initially is set to "false". Example:
|
Div | ||
---|---|---|
| ||
io_queue_depth
...
|
See the "Configuration parameters695402720" section for details.
Include Page | ||||
---|---|---|---|---|
|
...
The CHARON-AXP FC Fabric presentation mode allows to use Linux FC HBA directly. When using this mode, there is no need to load KGPSA adapter(s) as it was described before. The following syntax has to be used instead:
Example:
load kgpsa_generic_storage PGA interface="host3" |
...
I/O model is used for request processing.
Note |
---|
This parameter is needed for debugging puproses only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Value | Description |
---|---|
sync | synchronous |
async | asynchronous (default) |
...
The port name in format: %04x-%04x-%04x-%04x.
Example:
...
load kgpsa_generic_storage PGA port_name=2000-0000-C923-EA51
By default this value Option to fake guest's port name.
Note |
---|
This parameter is needed for debugging puproses only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Example:
load kgpsa_generic_storage PGA port_name=2000-0000-C923-EA51 |
By default this value is obtained from the specified hardware port (see above).
...
The node name in format: %04x-%04x-%04x-%04x. Option to fake guest's node name.
Note |
---|
This parameter is needed for debugging puproses only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Example:
load kgpsa_generic_storage PGA node_name=2000-0000-C923-EA51 |
...
The delay in seconds, port suspend reporting the link up waiting for Linux FC infrastructure creation. Default is 120 seconds.
Example:
...
When FC wire is removed and then plugged in, Linux rebuilds all the FC objects with new devices names, etc. Fabric presentation mode senses the link up and down events, but optionally it may delay reporting the event (for the given amount of seconds) to let Linux fully initialize FC. If delay is 0, guest OS may start initialization too early and thus fail to find some or all objects.
Example:
load kgpsa_generic_storage PGA link_up_delay=80 |
...
The link check poill interval in seconds Default is 1 second.
When FC wire is removed and then plugged in seconds Default is 1 second, Linux rebuilds all the FC objects with new devices names, etc. Fabric presentation mode senses the link up and down events, but optionally it may delay reporting the event (for the given amount of seconds) to let Linux fully initialize FC. If delay is 0, guest OS may start initialization too early and thus fail to find some or all objects.
Example:
load kgpsa_generic_storage PGA link_poll_period=2 |
...
Value | Description |
---|---|
auto | Delegates to Linux if supported, otherwise emulates |
no | Delegates to Linux (real physical fabric port connected too) |
yes | Emulates |
Qlogic does not map SG devices for ELS/CT traffic. To work around this, Fabric presentation mode implements emulation of the whole non FCP (scsi) communication over fabric. If fabric is emulated, guest OS will not see non FCP target ports (for example initiators) and will not be able to communicate with ELS/CT over fabric.
Example:
load kgpsa_generic_storage PGA emu_fabric="no" |
...
The list of the LUNs to be excluded. If empty (default), nothing is excluded.
No multi line is possible for this parameter; the maximum number of symbols inside the double quotes is 255. Use "lun_include" parameter instead if a lot of LUNs must be excluded to specify only the included LUNs.
Example:
load kgpsa_generic_storage PGA lun_exclude="6008-05F3-0005-2950-C758-BCC2-E88B-0007,6008-05F3-0005-2950-8B03-E26B-E231-0005" |
...
The list of the LUNs to be included. If empty (default), all LUNs are included.
No multi line is possible for this parameter; the maximum number of symbols inside the double quotes is 255. Use "lun_exclude" parameter instead if a lot of LUNs must be included to specify only the excluded LUNs.
Example:
load kgpsa_generic_storage PGA lun_include="6008-05F3-0005-2950-C758-BCC2-E88B-0007,6008-05F3-0005-2950-8B03-E26B-E231-0005" |
...
Value (ANSI SCSI version) | Description | |
---|---|---|
any | Any version | |
v1 | SCSI-1 | |
v2 | SCSI-2 | |
v3 | SCSI-3 | |
v3_SPC1 | SCSI-3, primary command level 1 | |
v3_SPC2 | SCSI-3, primary command level 2 (default) | |
v3_SPC3 | SCSI-3, primary command level 3 | v3_SPC4 |
SCSI-3, primary command level 4v3_SPC4 | SCSI-3, primary command level 4 |
Refer to your guest OS documentation for more details and public resources for general specification of SCSI.
Example:
load kgpsa_generic_storage PGA scsi_version="v3_SPC3" |
...
A fake device id (if not "lp8000" is needed), the default is "0xF800" ("lp8000").
Note |
---|
This parameter is needed for some specific cases only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Example:
load kgpsa_generic_storage PGA device_id=0xFA00 |
...
A fake vendor id (if not "lp8000" is needed), the default is "0x10DF" ("lp8000").
Note |
---|
This parameter is needed for some specific cases only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Example:
load kgpsa_generic_storage PGA vendor_id=0x10EA |
...
A fake revision id (if not "lp8000" is needed), the default is "0x02" ("lp8000").
Note |
---|
This parameter is needed for some specific cases only, so it is strongly recommended not to specify any value without particular instructions from Stromasys. |
Example:
load kgpsa_generic_storage PGA revision_id=0x01 |
...