RHEL5 환경에서 ISCSI 구성하기

네트워크 스토리지
 
FCoe
iSCSI
AoE
 
뭐가 이리도 많지? ^^
 
궁금하당~~~

2011.7.1 추가함

iSCSI on CentOS 5.5

CentOS 5.5 iSCSI target setup with TGT
http://bsmith9999.blogspot.com/2010/10/centos-55-iscsi-target-setup-with-tgt.html

Linux tgtadm: Setup iSCSI Target ( SAN )
http://www.cyberciti.biz/tips/howto-setup-linux-iscsi-target-sanwith-tgt.html

iSCSI = Internet SCSI

iSCSI는 TCP/IP 기술을 사용하여 SCSI 프로토콜을 전송하여
네트워크상의 다른 시스템에 탑재된 하드 디스크를 연결하기 위한 구조.

iSCSI target -> server
iSCSI initiator -> client
    iSCSI initiator use CRC for data integrity

TGT = target framework
STGT = SCSI target framework
IQN = iSCSI Qualified Name

tgtadm – Linux SCSI Target Administration Utility

LUN = iSCSI Logical Unit
DM = device mapper

CHAP = User/Password authentication

Scsi-target-utils Quickstart Guide
https://fedoraproject.org/wiki/Scsi-target-utils_Quickstart_Guide

RHEL 5.5/CentOS 5.5 iSCSI Storage Server
http://rhev-wiki.org/index.php?title=RHEL_5.5/CentOS_5.5_iSCSI_Storage_Server

1. fdisk /dev/sdc

2. yum install scsi-target-utils

3. /etc/tgt/targets.conf
<target iqn.2001-04.com.example:export.disk1>
    backing-store /dev/sdc1
</target>

4. chkconfig tgtd on && service tgtd start

5. tgtadm –lld iscsi –op show –mode target
————————————————-
Target 1: iqn.2001-04.com.example:export.disk1
   System information:
       Driver: iscsi
       State: ready
   I_T nexus information:
   LUN information:
       LUN: 0
           Type: controller
           SCSI ID: IET     00010000
           SCSI SN: beaf10
           Size: 0 MB
           Online: Yes
           Removable media: No
           Backing store type: rdwr
           Backing store path: None
       LUN: 1
           Type: disk
           SCSI ID: IET     00010001
           SCSI SN: beaf11
           Size: 764710 MB
           Online: Yes
           Removable media: No
           Backing store type: rdwr
           Backing store path: /dev/sdc1
   Account information:
   ACL information:
       ALL
————————————————-

Running an iSCSI SAN on CentOS 5

RHEL5 iSCSI Target/Initiator
http://blog.hamzahkhan.com/?p=55

iSCSI initiator로 Fedora 14의 Disk volume(iSCSI Target) 마운트
http://bryans.tistory.com/entry/iSCSI-initiator%EB%A1%9C-Fedora-14%EC%9D%98-Disk-volumeiSCSI-Target-%EB%A7%88%EC%9A%B4%ED%8A%B8

scsi-target-utils로 iscsi target 설정하기…
http://strawman.egloos.com/1929167

Configure iSCSI Target
http://www.server-world.info/en/note?os=Fedora_15&p=iscsi

Configure iSCSI Initiator
http://www.server-world.info/en/note?os=Fedora_15&p=iscsi&f=2

Configuring iSCSI Targets and Initiators on RHEL5
http://www.outsidaz.org/blog/2010/02/27/configuring-iscsi-targets-and-initiators-on-rhel5/

Installing Linux on a Multipath iSCSI LUN on an IP Network
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/multiisci/liaaimiscistart.htm

How Do I Setup an iSCSI Server in Redhat Enterprise Linux (RHEL) 6?
http://samcaldwell.net/index.php/technical-articles/3-how-to-articles/103-how-do-i-setup-an-iscsi-server-in-redhat-enterprise-linux-rhel-6

The iSCSI server is not CPU intensive, but it is (obviously) an I/O intensive server.
This means that a single quad-core CPU can easily be overkill,
but a slow disk controller or slow networking can kill the project before it reaches production.

it would have been a better plan to use smaller SFF disks to achieve higher performance over more disks.
the operating system was loaded on 2*160GB (RAID 1).
The iSCSI LUN exposed by the server existed on 4*1.5TB (RAID10).

Use two or more NICs per iSCSI server to access the storage network.
In most cases, a minimum of four NICs just for storage is appropriate.

Configure iSCSI in CentOS 4/5 REHL 4/5
http://linuxbites.wordpress.com/2010/03/26/configure-iscsi-in-centos-45-rehl-45/

Quick notes on using TGT as a iSCSI target on Linux
http://billscontinuinglife.com/2011/03/quick-notes-on-using-tgt-as-a-iscsi-target/

Install iscsi target:
yum install scsi-target-utils

Check to see if disks are available:
fdisk -l

Start and enable the daemon at boot time:
service tgtd start

create the target and define its name:
tgtadm –lld iscsi –op new –mode target –tid 1 -T iqn.2001-04.local.somecompany:storage.disk2

add a LUN to the target:
tgtadm –lld iscsi –op new –mode logicalunit –tid 1 –lun 1 -b /dev/sdb

Enable the target to accept any initiators:
tgtadm –lld iscsi –op bind –mode target –tid 1 -I ALL

Check to see status
tgtadm –lld iscsi –op show –mode target

iscsi + truecrypt 를 이용한 원격 보안 저장소 만들기 part.1
http://storymate.net/~wbstory/tc/wbstory/129

PC PitStop –  Value leader in SATA & SCSI storage
http://www.pc-pitstop.com/

2010-08-15 CentOS 5.5(64bit)で試すiSCSI環境構築ガイド  
http://d.hatena.ne.jp/yoshi-ken/20100815

오픈 소스로 만드는 공유 파일 시스템:코스트 비교
http://j2k.naver.com/j2k_frame.php/korean/bitstar.jp/blog/?p=1774

implementing High Availability (HA) fail over for server pools and guests in Oracle VM
http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10898/ha.htm

NFS와 iSCSI의 성능차이
http://j2k.naver.com/j2k_frame.php/korean/d.hatena.ne.jp/bitwaka/20090507/1241676154

ServerA <– 100Mbps –> ServerB
약1GB의 파일을Write/Read
NFS,iSCSI,로컬HDD(SATA/7200회전)

time dd if=/dev/zero of=/mnt/iscsi-vol/testfile bs=128k count=8192

Write3번째
NFS : 6.6 MB/s
iSCSI : 36.0 MB/s
Local : 146 MB/s

Formatting an iSCSI mount as OCFS2
http://blog.travisz.com/2011/03/27/formatting-an-iscsi-mount-as-ocfs2/

Setting Up an Inexpensive iSCSI Linux Cluster Using SLES10 and OCFS2
http://www.oracle.com/technetwork/topics/linux/iscsi-linux-rac-cluster-sles10-094669.html

Linux, iSCSI 환경에서 Oracle RAC 10g Release 2 클러스터 설치하기
http://www.oracle.com/technetwork/kr/testcontent/hunter-rac10gr2-iscsi-092170-ko.html

Linux 에서 iSCSI 설치
http://lunatine.springnote.com/pages/6522583

2011.7.2 추가함
Setting Up an Inexpensive iSCSI Linux Cluster Using SLES10 and OCFS2
http://www.oracle.com/technetwork/topics/linux/iscsi-linux-rac-cluster-sles10-094669.html

iSCSI With OCFS2
http://gimparm.blogspot.com/2010/07/iscsi-with-ocfs2.html

Scalable Web Solutions – Use Case: Regulatory Reform In Vietnam On eZ Publish CMS
http://www.slideshare.net/gofina/scalable-web-solutions-use-case-regulatory-reform-in-vietnam-on-ez-publish-cms

SUSE Linux Enterprise Server 11 SP1 – Storage Administration Guide
http://www.novell.com/documentation/sles11/pdfdoc/stor_admin/stor_admin.pdf

Keep web servers in sync with DRBD and OCFS2
http://rackerhacker.com/2010/12/02/keep-web-servers-in-sync-with-drbd-and-ocfs2/

Clustered Filesystem with DRBD and OCFS2 on CentOS 5.5
http://wiki.virtastic.com/display/howto/Clustered+Filesystem+with+DRBD+and+OCFS2+on+CentOS+5.5

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

14 Responses

  1. Your article helped me a lot, is there any more related content? Thanks!

  2. Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  3. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  1. 2024년 3월 2일

    … [Trackback]

    […] Find More on on that Topic: nblog.syszone.co.kr/archives/4514 […]

  2. 2024년 3월 4일

    … [Trackback]

    […] Here you will find 6337 additional Information on that Topic: nblog.syszone.co.kr/archives/4514 […]

  3. 2024년 3월 8일

    … [Trackback]

    […] Read More on to that Topic: nblog.syszone.co.kr/archives/4514 […]

  4. 2024년 4월 27일

    … [Trackback]

    […] There you will find 10496 more Information on that Topic: nblog.syszone.co.kr/archives/4514 […]

  5. 2024년 6월 4일

    … [Trackback]

    […] Read More on that Topic: nblog.syszone.co.kr/archives/4514 […]

  6. 2024년 6월 29일

    … [Trackback]

    […] Find More on to that Topic: nblog.syszone.co.kr/archives/4514 […]

  7. 2024년 7월 9일

    … [Trackback]

    […] Information to that Topic: nblog.syszone.co.kr/archives/4514 […]

  8. 2024년 7월 30일

    … [Trackback]

    […] Read More on that Topic: nblog.syszone.co.kr/archives/4514 […]

  9. 2024년 8월 21일

    … [Trackback]

    […] Read More Information here to that Topic: nblog.syszone.co.kr/archives/4514 […]

  10. 2024년 9월 4일

    … [Trackback]

    […] Information to that Topic: nblog.syszone.co.kr/archives/4514 […]

  11. 2024년 9월 6일

    … [Trackback]

    […] Information to that Topic: nblog.syszone.co.kr/archives/4514 […]

페이스북/트위트/구글 계정으로 댓글 가능합니다.