Install Ubuntu LTS 10.04 server on a iscsi root

Alex Muntada alexm at alexm.org
Wed Sep 8 08:54:47 UTC 2010


+ carlopmart <carlopmart at gmail.com>:

> Oops .. Sorry I didn't see it. Ok, I can configure an IP for iscsi target, but I
> can't configure iscsi initiator. If I can't configure iscsi client name, I can't
> login to iscsi target because if is configured with ACLs based on iscsi name.
> How can I configure iscsi initiatorname??

Assuming you have a Sun Storage 7000 series iSCSI target, please note
that default ubuntu installation will create a random iSCSI initiator name.
In order to grant access to the iSCSI target during installation, we add it
to the iSCSI target group named "default" (with no ACL).

After the installation is finished, we change the initiator name in several
places (/etc/iscsi/initiatorname.iscsi, /etc/iscsi/iscsi.initramfs), update
initramfs and move the iSCSI target to an initiator group with ACL.

On the other hand, we haven't managed to grant access to iSCSI targets
through username and password yet. So we're using a private network,
our own random initiator names and an initiator group with ACL for each
initiator name.

Hope that helps!

-- 
Alex Muntada <alexm at alexm.org>
http://alexm.org/




More information about the ubuntu-server mailing list