LIO iSCSI target: erinevus redaktsioonide vahel

Allikas: Kuutõrvaja
Mine navigeerimisribaleMine otsikasti
Jj (arutelu | kaastöö)
Uus lehekülg: 'Wikipedia andmeil tundub LIO olevat upstream kernelis sees juba miskist 2010. aastast ja projekti enda lehel on väidetud, et alates 2.6.38-st on LIO Linuxi standardne iSCSI target...'
 
Jj (arutelu | kaastöö)
Resümee puudub
4. rida: 4. rida:


* http://www.youtube.com/watch?v=zSyybHxuT68 demovideo, mis LIO-t kasutades HA-iSCSI klastri kokku paneb (kasutades selleks küll spets distrot - RTS OS): RTS veebi ja Wikipedia järgi tundub, et videos nähtud lahenduses kasutati DRBD ja Pacemakerit HA tekitamiseks.
* http://www.youtube.com/watch?v=zSyybHxuT68 demovideo, mis LIO-t kasutades HA-iSCSI klastri kokku paneb (kasutades selleks küll spets distrot - RTS OS): RTS veebi ja Wikipedia järgi tundub, et videos nähtud lahenduses kasutati DRBD ja Pacemakerit HA tekitamiseks.
Before LIO, the iSCSI target implementation in Ubuntu was iET.  Compared to iET, LIO is implemented as a pure kernel driver.  Operations for LIO is done via configFS special filesystem.
These packages are related to LIO:
targetcli
provides targetcli command-line utility.  This is the standard way to manipulate LIO.
python-rtslib
provides rtslib, a full-fledged python API library over configFS.
Concepts
In addition to the standard iSCSI concepts, you should know some LIO specific ones.
For the standard concepts, read RFC3720.
Fabric
LIO supports several other fabrics than iSCSI.
Look for /var/target/fabric/ directory for available fabric specifications.
Backstores
LIO supports several storage types as backing storage for LUNs.
Specifically, PSCSI passes SCSI commands through to a (real) SCSI device.
IBLOCK emulates SCSI devices on top of block devices such as LVM logical volume.
$ sudo apt-get install --no-install-recommends targetcli python-urwid
$ sudo reboot
$ targetcli
Welcome to the targetcli shell:
Copyright (c) 2012 by RisingTide Systems LLC.
All rights reserved.
Visit us at http://www.risingtidesystems.com.
Using loopback fabric module.
Using iscsi fabric module.
Using ib_srpt fabric module.
Using qla2xxx fabric module.
/> ls
o- / ..................................................................... [...]
  o- backstores .......................................................... [...]
  | o- fileio ............................................... [0 Storage Object]
  | o- iblock ............................................... [0 Storage Object]
  | o- pscsi ................................................ [0 Storage Object]
  | o- rd_dr ................................................ [0 Storage Object]
  | o- rd_mcp ............................................... [0 Storage Object]
  o- ib_srpt ........................................................ [0 Target]
  o- iscsi .......................................................... [0 Target]
  o- loopback ....................................................... [0 Target]
  o- qla2xxx ........................................................ [0 Target]
/>
http://www.linux-iscsi.org/wiki/RTSadmin

Redaktsioon: 13. juuni 2012, kell 09:49

Wikipedia andmeil tundub LIO olevat upstream kernelis sees juba miskist 2010. aastast ja projekti enda lehel on väidetud, et alates 2.6.38-st on LIO Linuxi standardne iSCSI target (STGT asemel).

  • http://www.youtube.com/watch?v=zSyybHxuT68 demovideo, mis LIO-t kasutades HA-iSCSI klastri kokku paneb (kasutades selleks küll spets distrot - RTS OS): RTS veebi ja Wikipedia järgi tundub, et videos nähtud lahenduses kasutati DRBD ja Pacemakerit HA tekitamiseks.


Before LIO, the iSCSI target implementation in Ubuntu was iET. Compared to iET, LIO is implemented as a pure kernel driver. Operations for LIO is done via configFS special filesystem.


These packages are related to LIO: targetcli provides targetcli command-line utility. This is the standard way to manipulate LIO. python-rtslib provides rtslib, a full-fledged python API library over configFS.


Concepts In addition to the standard iSCSI concepts, you should know some LIO specific ones. For the standard concepts, read RFC3720. Fabric LIO supports several other fabrics than iSCSI. Look for /var/target/fabric/ directory for available fabric specifications. Backstores LIO supports several storage types as backing storage for LUNs. Specifically, PSCSI passes SCSI commands through to a (real) SCSI device. IBLOCK emulates SCSI devices on top of block devices such as LVM logical volume.

$ sudo apt-get install --no-install-recommends targetcli python-urwid $ sudo reboot


$ targetcli Welcome to the targetcli shell:

Copyright (c) 2012 by RisingTide Systems LLC.
All rights reserved.

Visit us at http://www.risingtidesystems.com.

Using loopback fabric module. Using iscsi fabric module. Using ib_srpt fabric module. Using qla2xxx fabric module.

/> ls o- / ..................................................................... [...]

 o- backstores .......................................................... [...]
 | o- fileio ............................................... [0 Storage Object]
 | o- iblock ............................................... [0 Storage Object]
 | o- pscsi ................................................ [0 Storage Object]
 | o- rd_dr ................................................ [0 Storage Object]
 | o- rd_mcp ............................................... [0 Storage Object]
 o- ib_srpt ........................................................ [0 Target]
 o- iscsi .......................................................... [0 Target]
 o- loopback ....................................................... [0 Target]
 o- qla2xxx ........................................................ [0 Target]

/>


http://www.linux-iscsi.org/wiki/RTSadmin