Install & Configure iSCSI Target (Server) as well as iSCSI Initiator (Client) in RHEL 7 (CentOS 7):
=========
iSCSI stands for Internet Small Computer Systems Interface.
iSCSI is a transport layer protocol that works on top of the Transport Control Protocol (TCP).
It enables block-level SCSI data transport between the iSCSI initiator and the storage target over TCP/IP networks.
iSCSI supports encrypting the network packets, and decrypts upon arrival at the target.
SCSI is a block-based set of commands that connects computing devices to networked storage, including spinning up storage media and data reads/writes.
The protocol uses initiators to send SCSI commands to storage device targets on remote servers.
Storage targets may be SAN, NAS, tape, general-purpose servers – both SSD and HDD – LUNs, or others.
The protocol allows admins to better utilize shared storage by allowing hosts to store data to remote networked storage, and virtualizes remote storage for applications that require direct attached storage.
NFS, Samba, AFS (NAS Based Tools) work at filesystem level, whereas iSCSI (SAN Based like AoE) works at block level.
iSCSI Target =) iSCSI Server
iSCSI initiator =) iSCSI Client
iSCSI Target (Server) Configuration: (RHEL 7): 192.168.1.104
-------------------------------------------------------------------------------
yum repolist
Local Yum Repo Configuration:
• Configure Local Yum Repository in RHE...
ifconfig
hostnamectl set-hostname server.nehraclasses.local
hostnamectl
yum install -y targetcli
lsblk
OR
fdisk -l
targetcli
ls
BLOCK = Block-device based LUN Storage Space like Disk e.g. /dev/sdb.
FILEIO = File based LUN Storage Space like file created with dd command.
PSCSI = (SCSI Pass-through) Physical Disk based LUN Storage Space like CD-ROM.
RamDisk= Ramdisk based LUN Storage Space for higher IO speed.
/backstores/block create newlun /dev/sdb
ls
/iscsi create
ls
iscsi
-iqn
-tpg1 = target portal group
-acl = provide the access to luns with the help of client iqn number
-luns = which lun has to mapped or to be accessed by client
-portals = network cards, ip address, port number
-0.0.0.0:3260
/iscsi/iqn.2003-01.org.linux-iscsi.server.x8664:sn.89b50c23d34a/tpg1/luns create /backstores/block/newlun
ls
Go to Client & Copy Number with cat /etc/iscsi/initiatorname.iscsi
/iscsi/iqn.2003-01.org.linux-iscsi.server.x8664:sn.89b50c23d34a/tpg1/acls create iqn.1994-05.com.redhat:3e9d906e8
ls
exit
Client Configuration: (RHEL 7): 192.168.1.105
------------------------------------------------------------
yum repolist
ifconfig
hostnamectl set-hostname client.nehraclasses.local
hostnamectl
yum install -y iscsi-initiator-utils
lsblk
OR
fdisk -l
cat /etc/iscsi/initiatorname.iscsi
iscsiadm --help
iscsiadm -m discovery -t sendtargets -p 192.168.1.104
iscsiadm -m node -T iqn.2003-01.org.linux-iscsi.server.x8664:sn.89b50c23d34a 192.168.1.104 -l
lsblk
OR
fdisk -l
cat /proc/scsi/scsi
mkdir -p /newlun
mkfs.ext4 /dev/sdb
mount /dev/sdb /newlun
cd /newlun
touch test{1..10}.txt
mkdir aa bb cc dd
ls -lh
================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will be glad to answer your queries. Don't forget to subscribe the channel & turn on the bell notifications.
===============
Our Some Popular Videos:
NAVIC:
• NAVIC: The Indian GPS | INRSS (Indian...
Learn Linux Fundamentals:
• Learn Linux Fundamentals (Linux Basic...
Concept of All RAID Levels:
• Session-31 | Concept of RAID & Differ...
Configure RAID-0 in Linux:
• Live Linux Training (RHCSA+RHCE) For ...
Configure RAID-1 in Linux:
• Live Linux Training (RHCSA+RHCE) For ...
Configure RAID-5 in Linux:
• Live Linux Training (RHCSA+RHCE) For ...
Configure RAID-6 in Linux:
• Live Linux Training (RHCSA+RHCE) For ...
Configure RAID-10 in Linux:
• Live Linux Training (RHCSA+RHCE) For ...
LVM Snapshot:
• Session-30 | Logical Volume (LVM) Sna...
====================================================
Contact Us:
To Follow Vikas Nehra's Twitter Handle:👇
http://bit.ly/VikasNehraTwitterHandle
For Registration:👇
http://bit.ly/NehraClassesRegForm
To Follow Our Twitter Handle:👇
http://bit.ly/NehraClassesTwiiterHandle
To Visit Our Facebook Page:👇
www.facebook.com/nehraclasses
To Follow Nehra Classes on Instagram:👇
/ nehraclasses
To Our Visit Our Webpage:👇
http://bit.ly/NehraClassesWebpage
Join Us on Telegram App: 👇
https://t.me/NehraClasses
WhatsApp Us: 👇
https://bit.ly/2Kpqp5z
Email Us:👇
Email: [email protected]
============
©COPYRIGHT. ALL RIGHTS RESERVED.
#NehraClasses #LinuxTraining #Trending
Watch video Configure iSCSI Target (Server) & Initiator (Client) in Linux (RHEL 7) | Nehra Classes online, duration hours minute second in high quality that is uploaded to the channel Nehra Classes 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 12,400 times and liked it 211 visitors.