Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
...
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|
Configuration parameters
The KZPBA PCI SCSI adapter emulation has the following configuration parameters:
scsi_id
Parameter | scsi_id |
---|
Type | Numeric |
---|
Value | Specifies SCSI ID of KZPBA PCI SCSI Adapter in a range 0..7 By default the "scsi_id" configuration parameter is set to 7. Example: set PKA scsi_id=06
|
---|
host, port
Parameter | host, port |
---|
Type | Text String |
---|
Value | These parameters are used in SCSI cluster configurations: - host : specifies remote end-point (remote host name and, optionally, TCP/IP port on remote host) of SCSI connection between this KZPBA PCI SCSI adapter and remote KZPBA PCI SCSI adapter on some host.
- port : specifies local end-point (TCP/IP port on local host) of SCSI connection between this KZPBA PCI SCSI adapter and remote KZPBA PCI SCSI adapter on some host.
By default the "host" and "port" configuration options are not specified. Syntax: port[connection-number]=<local port> host[connection-number]="<host-name{:tcpip-port-no}>"
whereWhere: connection_-number = remote_scsi_id * 100 + lun_id Example: + lun_id Example - 2 members cluster on the same Charon server - Node 1: set PKA scsi_id=6
set PKA port[700]=11067 host[700]="localhost:11076"
Example - 2 members cluster on the same Charon server - Node 2: set PKA scsi_id=7
set PKA port[600]=17060 11076 host[600]="localhost:1607011067"
|
---|
container
Parameter | container[N] N is "XXYY" number, where: - XX - SCSI ID (0..15)
- YY - LUN (00..07)
|
---|
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 PKA 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 PKA container[0]="/dev/sdc1"
.
- Multipath disk
- Loop (virtual block) devices
- Direct mapping to some SCSI device, for example, a SCSI disk, tape reader or tape changer
"/dev/sg<N>" (do not use /dev/st<N> devices, only /dev/sg<N> for tape drives)
Example: set PKA container[300]="/dev/sg0"
.
- CD-ROM device
- ISO file for reading distribution CD-ROM image
- File representing a physical disk of the HP Alpha system (disk image)
- File representing the tape (tape image)
- [<drive>":\"<path-name>/]<path-name>"\"]<file-name>".vtape"
These files are created automatically. Mapping may also include a full path (recommended), for example: "/my_tapes/backup.vtape" Example: set PKA container[500]="my_mka500.vtape"
How the Emulator Maps Guest-OS Operations to the Virtual Tape Drive: Guest-OS operations | Emulator Action |
---|
Open device for reading | Create a container file if none exists. open for reading and lock container file | Open device for writing | Create a container file if necessary; open for writing and lock the container file | Unload (eject) tape from drive | Close a container file if open and unlock it - this allows copy/move/delete operations on CHARON host |
Info |
---|
The container file associated with a virtual tape drive can be compared to the tape cartridge used in a physical tape drive. Both store the data written to the tape device by the guest OS. The size of virtual tape container files is limited only by space available in the emulator host file system. Prerequisite to the examples below: a virtual tape device has been configured in the CHARON configuration file and it is not in use by the guest OS. To perform backup: - The tape device may be issued the "unload" command and the container-file moved/deleted to insure proper status
- Initialize the tape device using standard guest OS procedure.
- Perform backup.
- Issue "unload" command to the tape device in the guest OS.
- On the emulator host, move the *.vtape container file containing backup data for storage or further backup.
To restore from a backup: - The tape device may be issued the "unload" command to insure proper status.
- On the emulator host, move or copy a *.vtape container file containing backup data onto the filename specified in the CHARON configuration file.
- Perform restore.
- Issue the "unload" command to the tape device in the guest OS.
- Delete or move the container file in preparation for the next vtape operation.
Warning |
---|
CHARON does not support muti-volume backup for tape images. If some mutli-volume set (in form of tape images) has to be restored it is recommended to configure several tape drives in CHARON configuration file, assign each tape image to each tape drive and use them in the following way (OpenVMS example): $ BACKUP MKA100:BACKUP.BCK,MKA200,MKA300,MKA4000/SAVE_SET DKA0:...
|
|
This parameter is initially not set, thus creating NO storage elements on the controller.
|
---|
Parameter | media_type[N] N is "XXYY" number, where: - XX - SCSI ID (0..15)
- YY - LUN (00..07)
|
---|
Type | Text String |
---|
Value | Instructs CHARON-AXP to use the supplied value as the PRODUCT field in the SCSI INQUIRY data returned to a software running on virtual HP Alpha system in response to SCSI INQUIRY command. If not specified, CHARON-AXP attempts to guess the SCSI INQUIRY data based on virtual SCSI device type and underlying container (which is specified in the corresponding container configuration parameter). Initially is not specified. Example: set PKA media_type[0]="HSZ70"
|
---|
removable
Parameter | removable[N] N is "XXYY" number, where: - XX - SCSI ID (0..15)
- YY - LUN (00..07)
|
---|
Type | Boolean |
---|
Value | When set to "true", the removable configuration parameter instructs CHARON-AXP to report the corresponding virtual SCSI device as removable. By default the removable configuration parameter is set to "false". Example: set PKA removable[400]=true
Note that virtual SCSI tapes and CD-ROM devices are always reported as removable regardless of the "removable" configuration parameter. |
---|
geometry
Parameter | geometry[N] N is "XXYY" number, where: - XX - SCSI ID (0..15)
- YY - LUN (00..07)
|
---|
Type | Text String |
---|
Value | This formatted string value specifies the explicit geometry of the disk storage element. This parameter is not applicable to tape storage elements. The string format is <X>”/”<Y>[“/”<Z>] or <X>”,”<Y>[“,”<Z>][“,”<B>] where: - X corresponds to the number of sectors per track
- Y corresponds to the number of tracks per cylinder
- Z corresponds to 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 corresponds to 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. Info |
---|
It is possiblle to specify each parameter independently of another one. The following syntax is used for that: set PKA geometry[300]="*,*,*,16777210"
|
The syntax described above is applicable only to disk storage elements. If the container is a tape image, the following format is used instead: Syntax: "<image-size>[, <early-warning-zone-size>]"
where: image-size corresponds to the tape size in MBearly-warning-zone-size corresponds to the size (in KB) of the space left on the tape when a warning to the OS is issued. If omitted, 64K is assumed.
Example: set PKA geometry[603] = "255/255"
|
---|
use_io_file_buffering
Parameter | use_io_file_buffering[N] N is "XXYY" number, where: - XX - SCSI ID (0..15)
- YY - LUN (00..07)
|
---|
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 and tape 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 PKA use_io_file_buffering[603]=true
|
---|
io_queue_depth
...