Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
...
Every instance of KGPSA-CA works in one of the two following modes:
...
- Fabric virtualization mode (creating virtual fabric in combination with virtual FC-3 Storage Controller). This is default mode.
...
- Pass Through mode (using a specific CHARON PCI Pass Through driver)
...
- Fabric presentation mode (using Linux FC HBA directly)
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|
...
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 | 18401789411551 Pass Through mode only ! Establish connection between virtual DEC-KGPSA-CA PCI FC adapter and physical EMULEX LightPulse PCI/PCI-X/PCIe FC adapter (18401789411551Pass Through mode) Syntax: load KGPSA <controller name> host_bus_location="/dev/kgpsa<X>" |
Example: load KGPSA FGA host_bus_location="/dev/kgpsa0" |
|
---|
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: set <controller name> wwid[unit-number]="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" |
Example: set FGA wwid[2]="6008-05F3-0005-2950-BF8E-0B86-A0C7-0001" |
|
---|
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: - Physical disk
- "/dev/sd<L>", where "L" is letter, for example "/dev/sdb"
- "/dev/disk/by-id/..." - addressing by the disk ID, for example "/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D01QJ4"
- "/dev/disk/by-label/..." - addressing by the disk label, for example "/dev/disk/by-label/MyStorage"
"/dev/disk/by-uuid/..." - addressing by the disk UUID, for example "/dev/disk/by-uuid/0e808a2f-cdd3-4944-a245-f729ffd73882" Please note that existing data on such a disk may be destroyed, depending on how it is used in the emulator.
Note |
---|
"/dev/sd<L>" addressing is not persistent, so it is strongly recommended to use "/dev/disk/by-id/wwn-*" syntax instead to refer the disk by its WWID - especially in the enviroments utilizing FC and SAN storages. |
These disks must not be formatted by the host OS. Example:
set FGA container[0]="/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D01QJ4" |
It is also possible to use not a whole disk, but previously created partitions on it. In this case the syntax is the following: "/dev/sd<L><N>" where N is the number of partition to be used. Example: set FGA container[0]="/dev/sdc3" |
.Loop (virtual block) devices
- Loop (virtual block) devices
"/dev/loop<N>" Example:
set FGA container[100]="/dev/loop0" |
- Multipath disk
- File representing a physical disk of the HP Alpha system (disk image)
This parameter is initially not set, thus creating NO storage elements on the controller. |
---|
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: set FGA media_type[0]="HSZ70" |
|
---|
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: set FGA removable[400]=true |
|
---|
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: Parameter | Description |
---|
X | The number of sectors per track | Y | The number of tracks per cylinder | Z | The number of cylinders on the unit. If omitted, Z is calculated based on X, Y and the total number of sectors on the unit that reflects the size of the disk storage element. This is an optional parameter. | B | The total size of the disk (in blocks) reported to the guest OS. If omitted it is calculated automatically. This is an optional parameter. |
If this parameter is not set, CHARON-AXP will configure the geometry based on the most probable disk type. Initially not set. Example: set FGA geometry[201] = "255/255" |
Info |
---|
It is possiblle to specify each parameter independently of another one. The following syntax is used for that: set FGA geometry[300]="*,*,*,16777210" |
|
|
---|
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: set FGA use_io_file_buffering[300]=true |
|
---|
io_queue_depth
...
set FGA container[0]="/my_disks/my_dka401.vdisk"
set FGA container[100]="/dev/sdb"
set FGA container[200]="/dev/sdc2"
set FGA container[300]="/dev/dm-0"
|
See the "18401789411551Configuration parameters" section for details.
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|
...
initializing ...
polling for units on kzpba0, slot 4, bus 0, hose 0 ...
pka0.0.0.4.0 PKA0 Q-Logic/ISP PCI SCSI HBA
polling for units on kgpsa0, slot 5, bus 0, hose 0 ...
pga0.0.0.5.0 PGA0 WWN 1000-0000-C92E-97C9
fabric WWN 2003-0060-6920-4682
directory WWN 20fc-0060-6920-4682
port 021400 WWN 5000-1fe1-000b-6bf1
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 021500 WWN 5000-1fe1-000b-6bf4
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
polling for units on kgpsa1, slot 6, bus 0, hose 0 ...
pgb0.0.0.6.0 PGB0 WWN 1000-0000-C92D-8D00
fabric WWN 2003-0060-6920-45ff
directory WWN 20fc-0060-6920-45ff
port 011400 WWN 5000-1fe1-000b-6bf2
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 011500 WWN 5000-1fe1-000b-6bf3
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 011100 failed port login
... enter console
CHARON-AXP (AlphaServer ES40) emulator. Version 4.611
Copyright (C) 20152020, STROMASYS (www.stromasys.com)
P00>>>
|
The next step is to configure paths for the FC storage:
P00>>>fc show devices
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038 (ev:none)
via adapter via fc_port con
[0] pga0.0.0.5.0 5000-1fe1-000b-6bf1 no (ev:none)
[1] pga0.0.0.5.0 5000-1fe1-000b-6bf4 yes (ev:none)
[2] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 no (ev:none)
[3] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 yes (ev:none)
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074 (ev:none)
via adapter via fc_port con
[4] pga0.0.0.5.0 5000-1fe1-000b-6bf1 no (ev:none)
[5] pga0.0.0.5.0 5000-1fe1-000b-6bf4 yes (ev:none)
[6] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 no (ev:none)
[7] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 yes (ev:none)
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b (ev:none)
via adapter via fc_port con
[8] pga0.0.0.5.0 5000-1fe1-000b-6bf1 no (ev:none)
[9] pga0.0.0.5.0 5000-1fe1-000b-6bf4 yes (ev:none)
[10] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 no (ev:none)
[11] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 yes (ev:none)
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080 (ev:none)
via adapter via fc_port con
[12] pga0.0.0.5.0 5000-1fe1-000b-6bf1 no (ev:none)
[13] pga0.0.0.5.0 5000-1fe1-000b-6bf4 yes (ev:none)
[14] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 no (ev:none)
[15] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 yes (ev:none)
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039 (ev:none)
via adapter via fc_port con
[16] pga0.0.0.5.0 5000-1fe1-000b-6bf1 yes (ev:none)
[17] pga0.0.0.5.0 5000-1fe1-000b-6bf4 no (ev:none)
[18] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 yes (ev:none)
[19] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 no (ev:none)
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a (ev:none)
via adapter via fc_port con
[20] pga0.0.0.5.0 5000-1fe1-000b-6bf1 yes (ev:none)
[21] pga0.0.0.5.0 5000-1fe1-000b-6bf4 no (ev:none)
[22] pgb0.0.0.6.0 5000-1fe1-000b-6bf2 yes (ev:none)
[23] pgb0.0.0.6.0 5000-1fe1-000b-6bf3 no (ev:none)
P00>>>fc set boot udid 400
P00>>>INIT
initializing ...
polling for units on kzpba0, slot 4, bus 0, hose 0 ...
pka0.0.0.4.0 PKA0 Q-Logic/ISP PCI SCSI HBA
polling for units on kgpsa0, slot 5, bus 0, hose 0 ...
pga0.0.0.5.0 PGA0 WWN 1000-0000-C92E-97C9
fabric WWN 2003-0060-6920-4682
directory WWN 20fc-0060-6920-4682
port 021400 WWN 5000-1fe1-000b-6bf1
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 021500 WWN 5000-1fe1-000b-6bf4
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
polling for units on kgpsa1, slot 6, bus 0, hose 0 ...
pgb0.0.0.6.0 PGB0 WWN 1000-0000-C92D-8D00
fabric WWN 2003-0060-6920-45ff
directory WWN 20fc-0060-6920-45ff
port 011400 WWN 5000-1fe1-000b-6bf2
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 011500 WWN 5000-1fe1-000b-6bf3
lun 0000000000000100 DEC HSG80 V88F
UDID:100 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0038
lun 0000000000000200 DEC HSG80 V88F
UDID:200 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0074
lun 0000000000000300 DEC HSG80 V88F
UDID:300 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-007b
lun 0000000000000400 DEC HSG80 V88F
UDID:400 WWID:01000010:6000-1fe1-000b-6bf0-0009-9081-1283-0080
lun 0000000000006c00 DEC HSG80 V88F
UDID:108 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-0039
lun 0000000000006d00 DEC HSG80 V88F
UDID:208 WWID:01000010:6000-1fe1-000b-6bf0-0009-0440-4014-003a
lun 0000000000000000
port 011100 failed port login
... enter console
CHARON-AXP (AlphaServer ES40) emulator. Version 4.911
Copyright (C) 20182020, STROMASYS (www.stromasys.com)
P00>>>SHOW DEV
sys0.0.0.0.0 SYS0 System ROOT Device
ewa0.0.0.3.0 EWA0 00-51-71-F5-8E-D8
pka0.0.0.4.0 PKA0 Q-Logic/ISP PCI SCSI HBA
pga0.0.0.5.0 PGA0 WWN 1000-0000-C92E-97C9
pgb0.0.0.6.0 PGB0 WWN 1000-0000-C92D-8D00
pqa0.0.0.15.0 PQA0 ALi 1553C Integrated IDE Controller
pqb0.0.1.15.0 PQB0 ALi 1553C Integrated IDE Controller
dqa0.0.0.15.0 DQA0 Virtual ATAPI - TEAC DW-224E-V
dka0.0.0.4.0 DKA0 Virtual SCSI Disk (C)SRI
dga400.1001.0.5.0 $1$DGA400 DEC HSG80 V88F
dga400.1002.0.5.0 $1$DGA400 DEC HSG80 V88F
dgb400.1003.0.6.0 $1$DGA400 DEC HSG80 V88F
dgb400.1004.0.6.0 $1$DGA400 DEC HSG80 V88F
P00>>>BOOT $1$DGA400
dga400.1001.0.5.0: failed to open device
(boot dga400.1002.0.5.0)
jumping to bootstrap code
OpenVMS (TM) Alpha Operating System, Version V7.3-2
© Copyright 1976-2003 Hewlett-Packard Development Company, L.P.
%SMP-I-CPUTRN, CPU #02 has joined the active set.
%SMP-I-CPUTRN, CPU #03 has joined the active set.
%SMP-I-CPUTRN, CPU #01 has joined the active set.
Please enter date and time (DD-MMM-YYYY HH:MM)
|
...
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" |
...
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" |
...