...
Syntax for loading KGPSA-CA storage adapter:
load KGPSA <name> |
Example:
load KGPSA FGA |
The adapter instance name ("FGA" in the example above) is used then for parametrization, for example:
set FGA container[100]="/my_disks/vms_distributive.vdisk" |
Numbers in the square brackets represent KGPSA-CA units. They can be in the range 0..32766, but no more than 255 units can be configured on a single controller.
By default KGPSA-CA adapter uses first available PCI slot. If instead some particular slot is needed, refer to this section for details of specific placement of PCI peripherals on CHARON-AXP PCI bus.
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 mode only! Establish connection between virtual DEC-KGPSA-CA PCI FC adapter and physical EMULEX LightPulse PCI/PCI-X/PCIe FC adapter (pass through mode) Syntax:
Example:
|
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. |
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:
|
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 reading/writing operations. Note that this caching has a significant effect only in case of mapping to disk containers, not physcial 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:
|
...
In this mode KGPSA-CA PCI FC adapter can be directly mapped to physical disks (both local and iSCSI) and disk images as shown in the following example:
|
See the "Configuration parameters" section for details.
...
The CHARON PCI Pass Through mode allows connection between virtual DEC-KGPSA-CA PCI FC adapter and physical EMULEX LightPulse PCI/PCI-X/PCIe FC adapter plugged into host’s PCI/PCI-X/PCIe slot.
Syntax:
|
Example:
load KGPSA FGA host_bus_location="/dev/kgpsa0" |
The following is a list of EMULEX LightPulse PCI/PCI-X/PCIe FC adapters supported by CHARON-AXP PCI Pass Through driver and suitable for emulation of KGPSA-CA PCI FC adapter in CHARON PCI Pass Through mode:
Supported | Not Supported | Not tested |
---|---|---|
LP8000 | LPe1150 (FC2142SR, A8002A) | LPe11000 |
Div | ||||
---|---|---|---|---|
| ||||
Pass Through mode establishing sequence
...
To build PPT driver for EMULEX LightPulse PCI/PCI-X/PCIe FC do the following:
Step | Description | |||
---|---|---|---|---|
1 | Make sure that the required building tools and include files are installed. If they are absent install them:
| |||
2 | Open xterm and change the default directory to "
| |||
3 | Issue "make clean; make" commands to build kernel object:
It is prohibited to use a module built on a certain version of kernel on another one. | |||
4 | Check that there are no compilation errors and the file "ppt_kgpsa.ko " has been built |
Div | ||||
---|---|---|---|---|
| ||||
Installation of PPT driver for EMULEX LightPulse PCI/PCI-X/PCIe FC
To install PPT driver for EMULEX LightPulse PCI/PCI-X/PCIe FC do the following:
Step | Description | |
---|---|---|
1 | Unload standard "lpfc" driver; to do that issue the following command:
| |
2 | Load "
| |
3 | Issue "dmesg" command and check that no error appeared during the driver loading, also check that the driver has found all KGPSA devices:
|
...
To add PPT driver for EMULEX LightPulse PCI/PCI-X/PCIe FC to Linux startup do the following:
Step | Description | ||||||
---|---|---|---|---|---|---|---|
1 | Disable auto-loading of Linux standard "lpfc" driver on boot. To do that add "blacklist lpfc" to the black list file "/etc/modprobe.d/blacklist.conf " | ||||||
2 | Copy the KGPSA-CA kernel module to the location of Linux kernel modules, for example:
The particular path may be different, depending on the kernel version and Linux distribution. | ||||||
3 | Enable auto load of the module:
| ||||||
4 | Regenerate new "initramfs" image with "mkinitrd":
The particular path may be different, depending on the kernel version and Linux distribution. |