Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
45 views2 pages

RHCE NW-Service Quickreference Sheet: Packages and Installation

This document provides a quick reference sheet for configuring iSCSI services on CentOS. It outlines the packages and software needed, security considerations like firewall ports and host-based access control lists (ACLs), and basic configuration tasks for adding storage devices, creating targets, sharing devices with clients, and connecting to targets from iSCSI initiators. Systemd services, SELinux booleans, and CHAP authentication are also mentioned.

Uploaded by

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

RHCE NW-Service Quickreference Sheet: Packages and Installation

This document provides a quick reference sheet for configuring iSCSI services on CentOS. It outlines the packages and software needed, security considerations like firewall ports and host-based access control lists (ACLs), and basic configuration tasks for adding storage devices, creating targets, sharing devices with clients, and connecting to targets from iSCSI initiators. Systemd services, SELinux booleans, and CHAP authentication are also mentioned.

Uploaded by

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

RHCE NW-Service Quickreference sheet

Service: iSCSI
Note: tested on CentOS, did not work on RHEL
Packages and Installation
Name Description
iscsi-initiator-utils client utils
targetcli server utils

SELinux Hints
Boolean default description

Systemd Services and Startup Config


Service Description
target iscsi server service
iscsi iscsi client service
Security
Firewall Services/Ports

service ports
no service available tcp/3260

Host-based Security
All Client IQN have to be added:
cd /iscsi/acls
create #client-iqn

User-based Security
task cmd
Server set attribute authentication=1
set auth userid=#user
set auth password=#pass

Client node.session.auth.authmethod = CHAP


node.session.auth.username = iscsi
node.session.auth.password = 1q2w3e4r

Config Tasks
task cmd
add device cd backstores/block
create #name /dev/#disk
Create target cd /iscsi
create
cd ../../portals
create

share device cd luns


create /backstores/block/#name
cd ../../acls
create #client-iqn

cd / && saveconfig

connect iscsi device iscsiadm -m discoverydb -t st -p #host -D


iscsiadm -m node -P #iqn -p #host -l
display sessions iscsiadm -m session

You might also like