X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fiscsi.creole;h=78acd2540b7e5cddefabed25d003e4e2d0f1893f;hb=refs%2Fheads%2Fsalsa;hp=fff90f42c4310e7913e93ee67f5cf411d5398a0c;hpb=14d3ce4f50de40e5d8d4eed96a5d142858c8de39;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/iscsi.creole b/input/howto/iscsi.creole index fff90f4..78acd25 100644 --- a/input/howto/iscsi.creole +++ b/input/howto/iscsi.creole @@ -50,6 +50,17 @@ corresponding to the two addresses that controller A has: * Go to **Manage** -> **Volume Management** -> **volume mapping** and map the new volume to a free LUN on the new host. +=== Meanwhile on Melee Islan^W^WGiustini (telnet version) === + +* Log into the telnet config interface (see dsa-passwords for details) +* run {{{show iscsi-hosts}}}. You should see a iqn without a hostname attached. + Compare that one to **InitiatorName** in {{{/etc/iscsi/initiatorname.iscsi}}}. + If they are the same, set it like {{{set iscsi-host host iqn.1993-08.org.debian:01:f3c2e4746681 rossini}}} + **bad thing, you need to remember the iqn for the next step** +* run {{{show chap-records}}}, this will list you the already configured hosts. + To add a new host run something like {{{create chap-record name iqn.1993-08.org.debian:01:f3c2e4746681 secret foobar mutual-name iqn.1986-03.com.hp:storage.msa2012i.0834d5ecda mutual-secret 1234567890ABCDEF }}} +* for volume management see [[export-iscsi]] + === Back on the host === * edit /etc/iscsi/iscsid.conf: @@ -61,9 +72,9 @@ corresponding to the two addresses that controller A has: * stop and start iscsi: {{{ - /etc/init.d/open-iscsi stop && + service open-iscsi stop && sleep 3 && - (cd / && env -i /etc/init.d/open-iscsi start) + service open-iscsi start) }}} * not sure if this is necessary again: @@ -172,7 +183,7 @@ apt-get install multipath-tools * for the wwid thing in there create an entry in multipath.conf with a proper name, then reload multipathd {{{ vi /etc/multipath.conf - /etc/init.d/multipath-tools reload + service multipath-tools reload echo show topology | multipathd -k ls -l /dev/mapper }}}