Last edited 05/11/2009
This guide explains how you can set up an iSCSI target and an iSCSI initiator (client), both running Ubuntu 10.04. The iSCSI protocol is a storage area network (SAN) protocol which allows iSCSI initiators to use storage devices on the (remote) iSCSI target using normal ethernet cabling. To the iSCSI initiator, the remote storage looks like a normal, locally-attached hard drive.
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I'm using two Ubuntu 10.04 servers here:
server1.example.com (Initiator): IP address 192.168.0.100 server2.example.com (Target): IP address 192.168.0.101Because we will run all the steps from this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or we become root right now by typing
sudo su2 Setting Up The Target (server2)server2:
First we set up the target (server2):
aptitude install iscsitargetOpen /etc/default/iscsitarget...
vi /etc/default/iscsitarget... and set ISCSITARGET_ENABLE to true:
ISCSITARGET_ENABLE
No comments:
Post a Comment