0% found this document useful (0 votes)
9 views3 pages

Configuring ISCSI Between a Windows Server

This document outlines the steps to configure iSCSI between a Windows Server (initiator) and a RHEL (target). It details the installation of necessary packages, configuration of the iSCSI target on RHEL, and the setup of the iSCSI initiator on Windows Server. The process includes creating a backstore, setting ACLs, and connecting to the target from Windows, followed by initializing the disk for use.

Uploaded by

masbin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Configuring ISCSI Between a Windows Server

This document outlines the steps to configure iSCSI between a Windows Server (initiator) and a RHEL (target). It details the installation of necessary packages, configuration of the iSCSI target on RHEL, and the setup of the iSCSI initiator on Windows Server. The process includes creating a backstore, setting ACLs, and connecting to the target from Windows, followed by initializing the disk for use.

Uploaded by

masbin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Configuring iSCSI between a Windows Server (initiator) and a RHEL (target) involves

setting up the iSCSI target on RHEL and connecting to it from Windows. Below are the steps for
both systems:

1. Configure the iSCSI Target on RHEL

Step 1: Install Packages

Install the targetcli package on RHEL:

bash
sudo yum install targetcli -y

Step 2: Start and Enable the Target Service

bash
sudo systemctl start target
sudo systemctl enable target

Step 3: Configure the iSCSI Target

1. Launch targetcli:

bash

sudo targetcli

2. Create a Backstore (e.g., using /dev/sdb):

bash

/backstores/block create disk1 /dev/sdb

3. Create an iSCSI Target IQN:

bash

/iscsi create iqn.2025-01.com.example:rhel-target

4. Bind the Backstore to a LUN:

bash

/iscsi/iqn.2025-01.com.example:rhel-target/tpg1/luns create
/backstores/block/disk1
5. Set Up ACLs (to allow the Windows initiator):
o Get the Windows Initiator IQN (see next section) and add it to the ACL:

bash

/iscsi/iqn.2025-01.com.example:rhel-target/tpg1/acls create
<Windows_Initiator_IQN>

6. Configure a Portal (bind to the server IP):

bash

/iscsi/iqn.2025-01.com.example:rhel-target/tpg1/portals create 0.0.0.0


3260

7. Save and Exit:

bash

saveconfig
exit

Step 4: Open Firewall Port

Allow iSCSI traffic (port 3260) on RHEL:

bash
sudo firewall-cmd --permanent --add-port=3260/tcp
sudo firewall-cmd --reload

2. Configure the iSCSI Initiator on Windows Server

Step 1: Find the Windows Initiator IQN

1. Open the iSCSI Initiator tool:


o Press Win + R, type iscsicpl.exe, and press Enter.
2. Go to the Configuration tab.
3. Copy the Initiator Name (e.g., iqn.1991-05.com.microsoft:win-server).

Step 2: Connect to the RHEL Target

1. In the iSCSI Initiator tool, go to the Discovery tab.


o Click Discover Portal.
o Enter the RHEL server’s IP address and port 3260.
o Click OK.
2. Go to the Targets tab:
o The RHEL target (e.g., iqn.2023-10.com.example:rhel-target) will appear.
o Select the target and click Connect.
o Check Enable multi-path if needed and click OK.
3. Verify the connection status changes to Connected.

Step 3: Initialize and Use the Disk

1. Open Disk Management:


o Press Win + X and select Disk Management.
2. A new disk will appear as Offline. Right-click it and select Online.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy