ISCSI protocol configuration in RedhatlinuxAS4 Environment

Source: Internet
Author: User
Article Title: iSCSI protocol configuration in RedhatlinuxAS4 environment. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

ISCSI technology is a SCSI instruction set that is developed by IBM and used by hardware devices to run on the upper layer of the IP protocol, this command set allows you to run the SCSI protocol on an IP network so that it can select routes on high-speed Gigabit Ethernet. ISCSI is a new storage technology that combines existing SCSI interfaces with Ethernet technologies to allow servers to exchange data with storage devices using IP networks.

1. Installation preparation

Choose system Settings> Add/delete Programs> network servers> iscsi-initiator-utils> Update

2. Edit the iscsi. conf file.

Vi/etc/iscsi. conf

Add the following content at the end of the file:

DiscoveryAddress = 10.8.0.105 <磁盘阵列ip address>

You need to specify the Group IP Address of your UIT array.

SendAsyncText = yes

Initiator can receive synchronization events from the client to the vender Specific

Continuous = yes

To specify all sessions that are still open

3. Configure the iscsi. conf file

# Service iscsi start

To verify that the iscsi service will take effect at startup, run the following chkconfig command:

# Chkconfig? ? List iscsi

Iscsi 0: off 1: off 2: off 3: off 4: off 5: off 6: off

By default, the newly added iscsi Initiator does not work automatically after it is started. Therefore, you need to set every management level to "off. To take effect after startup, use the following chkconfig command:

# Chkconfig? ? Add iscsi

# Chkconfig iscsi on

The preceding two commands first check whether the script is necessary to start and stop the service, and then specify the service to the correct management level. Then, check whether the changes take effect:

# Chkconfig? ? List iscsi

Iscsi 0: off 1: off 2: on 3: on 4: on 5: on 6: off

 

[1] [2] Next page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.