e29163bb7e33197aabd127947f198f8d3045d6b9
[mirror/dsa-wiki.git] / input / howto / export-iscsi.creole
1 = Export iSCSI with gustini =
2 This document describes how to add new new volumes on gustini and add them into the OS.
3
4 == via Web-Frontend ==
5 {{{
6 * Log into gustini via webfrontend
7 * Manage
8   + Volume Management
9     - add volume 
10       add volume size and name but leave LUN blank (NONE)
11     - volume mapping
12       find the next free scsi-lun
13       * run "multipathd -k" on dijkstra
14         + show topology
15         geo2-boot (3600c0ff000d5f6bde2d4cf4901000000) dm-7 HP      ,MSA2012i      
16         [size=245M][features=0][hwhandler=0]
17         \_ round-robin 0 [prio=0][active]
18          \_ 1:0:0:1 sda 8:0   [active][ready]
19          \_ 0:0:0:1 sdb 8:16  [active][ready]
20                   ^ that is the LUN
21       find the next unused one and map it
22   + on dijkstra: rescan the iscsi bus
23     iscsiadm -m node --targetname "iqn.1986-03.com.hp:storage.msa2012i.0834d5ecda.a" --rescan
24
25   + on dijkstra: add aliases to the wwids (show topology)
26   + on dijkstra: /etc/init.d/multipath-tools reload
27 }}}
28
29 == via telnet interface ==
30 {{{
31 * Log into gustini via telnet
32 * create a new volume (eg berlioz-boot) on vdisk giustini-vdisk-1:
33   + create volume vdisk giustini-vdisk-1 size 256MB berlioz-boot
34   (there is a 'help create volume' command with lots of informations)
35 * map the new volume to traetta.debian.org, LUN 12
36   + map volume berlioz-boot lun 12 host traetta access rw
37   (again, there is a 'help map volume' command with lots of informations)
38 }}}