Chinaunix首页 | 论坛 | 博客
  • 博客访问: 11589667
  • 博文数量: 8065
  • 博客积分: 10002
  • 博客等级: 中将
  • 技术积分: 96708
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-16 17:06
文章分类

全部博文(8065)

文章存档

2008年(8065)

分类: 服务器与存储

2008-07-17 16:10:14

 have not post on dostor forum before,this is my first time and I want to share some experience of setup ISCSI



When I come across this problem,and I try to search on google not too much info for ISCSI settings,especially for Mutual Chap.The basic settings is kind of straightforward,but the chap authentication is a little bit hard.



My feeling is on windows ISCSI initiator is easier than on linux /etc/iscsi.conf setting,basic initiator Chap is easier than the mutual chap settings.



Environment

storage:AX100SCi

serverinux Redhat ES 3.0,one GibE and one 10/100 NIC,souceforge.net open source download iscsi initiator


Storage IP:managerment 192.168.1.10 ISCSI port 192.168.2.20

Linux server,10/100 Nic ip 192.168.1.11,GibE 192.168.2.21


Make sure to you can ping storage management and ISCSI port from server,check firewall you might block port 3260,you need that port open for iSCSI



Be careful:The best is setup management and iSCSI data on different subnet



storage AX100SCi using Navishpere experess login to setup mutual chap,choose advanced:



Initiator chap username:linuxbox

chap secrets:Ilovelinuxbox


Mutual chap system username:emcarray

chap secrets:Iloveemcarray


On Linux server,open and edit /etc/iscsi.conf,

discoverstorage=192.168.2.10:3260

outgoingusername=emcarray

outgoinguserpasswd=Iloveemcarray

incomingusername=linuxbox

incominguserpasswd=Ilovelinuxbox


here is a little bit tricky,hard to understand outgoing and incoming to match the storage chap settings.From my point view,it is initiator match mutual,and mutual match the initiator.



Corrent me if I am wrong.


If you have a better idea to understand the settings for mutual chap in iscsi.conf,please share with your experience.
阅读(532) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~