SlideShare una empresa de Scribd logo
1 de 37
Descargar para leer sin conexión
Lee Duncan
SUSE Labs iSCSI Hacker
lduncan@suse.com
Setting up iSCSI providers
and clients on openSUSE
2
A Short talk about using iSCSI
●
My Background
– SCSI and iSCSI experience
– Worked for SUN, HP, GE, AT&T, now SUSE
– Co-maintainer of open-iscsi initiator
– Co-maintainer of Linux kernel initiator code
– Maintainer of targets and initiator for SUSE
– Other github projects (gonzoleeman)
3
iSCSI: What is it?
●
iSCSI is just SCSI over a transport, e.g. TCP/IP
– See RFC3270
●
SCSI is just a way that a computer and disc can talk
– The Computer makes requests: this client initiates all
communication
– The Disc responds: it’s target serves disc data to the
computer
4
iSCSI: Why do I care about it?
●
Free and open software
●
Cheap: you do not need special hardware, other than your
network
●
Well used: it is generally reliable/mature
●
Well maintained
– New stuff still being added (e.g. tcmu_runner)
●
Can be building block for larger storage systems
5
iSCSI: Basics
●
iSCSi uses initiators and targets
●
A target is a server that serves up Disc LUs
●
An initiator is a client that wants to access LUs
●
We will use open-iscsi for our client
●
We will use targetcli-fb for our server
●
A picture might help ...
6
iSCSI: Topology (simple)
NetworkNetwork
Client*
Client*
ServerServer
iSCSI InitiatoriSCSI Initiator
iSCSI TargetiSCSI Target
LUN0LUN0
open-iscsi
targetcli-fb/LIO
iqn.yyyy-mm.name-authority:unique-name
iqn.yyyy-mm.name-authority:unique-name
Storage
7
iSCSI: Setting up the Target
●
We need a target for the initiator to connect to
– Using command line: targetcli(1)
●
Package: targetcli-fb (uses Python3)
– Using YaST GUI
●
Package yast2-iscsi-lio-server
8
iSCSI: Setting up the Target (cont)
●
Using the Command Line
– Use the targetcli(1) command
– Can be called to do one thing or interactively
– Must be root
– Shell-like
●
Has a node hierarchy: root, directories, ...
●
Commands depend on where you are in tree
9
iSCSI: Setting up the Target (cont)
●
Two parts to a target (must be connected)
– Backstore
●
Where the bits actually live
●
Several different types (file, disc, ...)
– Target front-end
●
Name (iqn.*)
●
Portal(s) (IP:Port)
●
LU(s)
●
ACL(s) (Initiator IQN)
10
iSCSI: Setting up the Target (cont)
11
iSCSI: Setting up the Target (cont)
12
iSCSI: Setting up the Target (cont)
13
iSCSI: Setting up the Target (cont)
14
iSCSI: Setting up the Target (cont)
15
iSCSI: Setting up the Target (cont)
●
Setting up the target using yast:
– Navigate to Network Services → iSCSI LIO Target
●
NOTE: yast does not allow configuring individual ACLs (i.e.
demo mode)
16
iSCSI: Setting up the Target (cont)
17
iSCSI: Setting up the Target (cont)
18
iSCSI: Setting up the Target (cont)
19
iSCSI: Setting up the Target (cont)
20
iSCSI: Setting up the Target (cont)
21
iSCSI: Setting up the Target (cont)
22
iSCSI: Setting up the Initiator
●
The initiator uses the open-iscsi package
– Installed and enabled by default
●
Can be configured using
– Command line: iscsiadm(1)
– YaST (uses yast2-iscsi-client package)
23
iSCSI: Setting up the Initiator (cont)
●
Initiator uses two phases to connect:
– Discovery: find target(s) at IP:Port
– Login: connect to discovered target(s)
●
Command line
– iscsiadm(1)
24
iSCSI: Setting up the Initiator (cont)
25
iSCSI: Setting up the Initiator (cont)
26
iSCSI: Setting up the Initiator (cont)
●
Setting up initiator using yast
– Uses the yast2-iscsi-client package
– Navigate to Network Services → iSCSI Initiator
27
iSCSI: Setting up the Initiator (cont)
28
iSCSI: Setting up the Initiator (cont)
29
iSCSI: Setting up the Initiator (cont)
30
iSCSI: Setting up the Initiator (cont)
31
iSCSI: Setting up the Initiator (cont)
32
iSCSI: Setting up the Initiator (cont)
33
iSCSI: Setting up the Initiator (cont)
34
iSCSI: Setting up the Initiator (cont)
35
iSCSI: That’s It!
●
iSCSI is easy to set up on openSUSE
●
You can use command line or GUI
●
You can roll your own SAN
●
For more info:
– http://www.open-iscsi.com
– https://github.com/open-iscsi/targetcli-fb
– http://www.opensuse.org
Join Us at www.opensuse.org
36
●
Contact:
lduncan@suse.com
License
This slide deck is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.
It can be shared and adapted for any purpose (even commercially) as long as Attribution is given and any
derivative work is distributed under the same license.
Details can be found at https://creativecommons.org/licenses/by-sa/4.0/
General Disclaimer
This document is not to be construed as a promise by any participating organisation to develop, deliver, or
market a product. It is not a commitment to deliver any material, code, or functionality, and should not be
relied upon in making purchasing decisions. openSUSE makes no representations or warranties with respect
to the contents of this document, and specifically disclaims any express or implied warranties of
merchantability or fitness for any particular purpose. The development, release, and timing of features or
functionality described for openSUSE products remains at the sole discretion of openSUSE. Further,
openSUSE reserves the right to revise this document and to make changes to its content, at any time,
without obligation to notify any person or entity of such revisions or changes. All openSUSE marks
referenced in this presentation are trademarks or registered trademarks of SUSE LLC, in the United States
and other countries. All third-party trademarks are the property of their respective owners.
Credits
Template
Richard Brown
rbrown@opensuse.org
Design & Inspiration
openSUSE Design Team
http://opensuse.github.io/branding-guidelines/
37

Más contenido relacionado

La actualidad más candente

Redis fundamental
Redis fundamentalRedis fundamental
Redis fundamentalYuhao Zhang
 
懷舊半殘的Win98體驗
懷舊半殘的Win98體驗懷舊半殘的Win98體驗
懷舊半殘的Win98體驗Yuan Chiu
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux UsersDru Lavigne
 
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake Deville
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake DevilleThe OpenSolaris Operating System and Sun xVM VirtualBox - Blake Deville
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake DevilleMatthew Turland
 
OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料ichikaway
 
using Virtualbox NAT and shared folder
using Virtualbox NAT and shared folderusing Virtualbox NAT and shared folder
using Virtualbox NAT and shared folderYingshiuan Pan
 
Security Considerations on Linux Package Management
Security Considerations on Linux Package ManagementSecurity Considerations on Linux Package Management
Security Considerations on Linux Package ManagementTharindu Edirisinghe
 
VirtualBox Ubuntu Host Windows Guest
VirtualBox Ubuntu Host Windows GuestVirtualBox Ubuntu Host Windows Guest
VirtualBox Ubuntu Host Windows Guestaindilis
 
Building a userspace filesystem in node.js
Building a userspace filesystem in node.jsBuilding a userspace filesystem in node.js
Building a userspace filesystem in node.jsClay Smith
 
Introduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsonIntroduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsoniXsystems
 
Operating Systems 3
Operating Systems 3Operating Systems 3
Operating Systems 3hutchison
 
Brief history of Linux containers
Brief history of Linux containersBrief history of Linux containers
Brief history of Linux containersOpenVZ
 
A brief history of Linux Containers
A brief history of Linux Containers A brief history of Linux Containers
A brief history of Linux Containers Kirill Kolyshkin
 
Connect dell equallogic storage to linux instance
Connect dell equallogic storage to linux instanceConnect dell equallogic storage to linux instance
Connect dell equallogic storage to linux instanceSaeed Siddik
 

La actualidad más candente (20)

Redis fundamental
Redis fundamentalRedis fundamental
Redis fundamental
 
懷舊半殘的Win98體驗
懷舊半殘的Win98體驗懷舊半殘的Win98體驗
懷舊半殘的Win98體驗
 
Read me
Read meRead me
Read me
 
BSD for Linux Users
BSD for Linux UsersBSD for Linux Users
BSD for Linux Users
 
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake Deville
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake DevilleThe OpenSolaris Operating System and Sun xVM VirtualBox - Blake Deville
The OpenSolaris Operating System and Sun xVM VirtualBox - Blake Deville
 
Backup UUASC 9/6/12
Backup UUASC 9/6/12Backup UUASC 9/6/12
Backup UUASC 9/6/12
 
OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料
 
using Virtualbox NAT and shared folder
using Virtualbox NAT and shared folderusing Virtualbox NAT and shared folder
using Virtualbox NAT and shared folder
 
Security Considerations on Linux Package Management
Security Considerations on Linux Package ManagementSecurity Considerations on Linux Package Management
Security Considerations on Linux Package Management
 
VirtualBox Ubuntu Host Windows Guest
VirtualBox Ubuntu Host Windows GuestVirtualBox Ubuntu Host Windows Guest
VirtualBox Ubuntu Host Windows Guest
 
Building a userspace filesystem in node.js
Building a userspace filesystem in node.jsBuilding a userspace filesystem in node.js
Building a userspace filesystem in node.js
 
Self2013
Self2013Self2013
Self2013
 
Introduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John HixsonIntroduction to FreeNAS development by John Hixson
Introduction to FreeNAS development by John Hixson
 
Operating Systems 3
Operating Systems 3Operating Systems 3
Operating Systems 3
 
Arch linux
Arch linuxArch linux
Arch linux
 
Brief history of Linux containers
Brief history of Linux containersBrief history of Linux containers
Brief history of Linux containers
 
A brief history of Linux Containers
A brief history of Linux Containers A brief history of Linux Containers
A brief history of Linux Containers
 
Pc bsd-intro
Pc bsd-introPc bsd-intro
Pc bsd-intro
 
Beyondfs-intro
Beyondfs-introBeyondfs-intro
Beyondfs-intro
 
Connect dell equallogic storage to linux instance
Connect dell equallogic storage to linux instanceConnect dell equallogic storage to linux instance
Connect dell equallogic storage to linux instance
 

Similar a Setting up iSCSI Providers and Clients in openSUSE

ISCSI server configuration
ISCSI server configurationISCSI server configuration
ISCSI server configurationThamizharasan P
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwaregeekswing
 
OpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet UpOpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet UpAaron Delp
 
iSCSI introduction and usage
iSCSI introduction and usageiSCSI introduction and usage
iSCSI introduction and usageLingshan Zhu
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Community
 
Linux io introduction-fudcon-2015-with-demo-slides
Linux io introduction-fudcon-2015-with-demo-slidesLinux io introduction-fudcon-2015-with-demo-slides
Linux io introduction-fudcon-2015-with-demo-slidesKASHISH BHATIA
 
iSCSI (Internet Small Computer System Interface)
iSCSI (Internet Small Computer System Interface)iSCSI (Internet Small Computer System Interface)
iSCSI (Internet Small Computer System Interface)Sayali Koranne
 
iSCSI: Internet Small Computer System Interface
iSCSI: Internet Small Computer System InterfaceiSCSI: Internet Small Computer System Interface
iSCSI: Internet Small Computer System InterfaceManoj Singh
 
Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseAlex Lau
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawnGábor Nyers
 
Lightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSLightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSJérôme Petazzoni
 
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)David Sweigert
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Community
 
Running A SIG in CentOS @Devconf Brno 2014
Running A SIG in CentOS @Devconf Brno 2014Running A SIG in CentOS @Devconf Brno 2014
Running A SIG in CentOS @Devconf Brno 2014Lalatendu Mohanty
 

Similar a Setting up iSCSI Providers and Clients in openSUSE (20)

Detailed iSCSI presentation
Detailed iSCSI presentationDetailed iSCSI presentation
Detailed iSCSI presentation
 
ISCSI server configuration
ISCSI server configurationISCSI server configuration
ISCSI server configuration
 
oSSN19 - openSUSE on ARM
oSSN19 - openSUSE on ARMoSSN19 - openSUSE on ARM
oSSN19 - openSUSE on ARM
 
Pusk
PuskPusk
Pusk
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
OpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet UpOpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet Up
 
iSCSI introduction and usage
iSCSI introduction and usageiSCSI introduction and usage
iSCSI introduction and usage
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
 
Linux io introduction-fudcon-2015-with-demo-slides
Linux io introduction-fudcon-2015-with-demo-slidesLinux io introduction-fudcon-2015-with-demo-slides
Linux io introduction-fudcon-2015-with-demo-slides
 
iSCSI (Internet Small Computer System Interface)
iSCSI (Internet Small Computer System Interface)iSCSI (Internet Small Computer System Interface)
iSCSI (Internet Small Computer System Interface)
 
iSCSI: Internet Small Computer System Interface
iSCSI: Internet Small Computer System InterfaceiSCSI: Internet Small Computer System Interface
iSCSI: Internet Small Computer System Interface
 
Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To Enterprise
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawn
 
Lightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFSLightweight Virtualization: LXC containers & AUFS
Lightweight Virtualization: LXC containers & AUFS
 
oSC19 openSUSE on ARM
oSC19 openSUSE on ARMoSC19 openSUSE on ARM
oSC19 openSUSE on ARM
 
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)Study notes for CompTIA Certified Advanced Security Practitioner  (ver2)
Study notes for CompTIA Certified Advanced Security Practitioner (ver2)
 
olf10
olf10olf10
olf10
 
Snaps on open suse
Snaps on open suseSnaps on open suse
Snaps on open suse
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to Enterprise
 
Running A SIG in CentOS @Devconf Brno 2014
Running A SIG in CentOS @Devconf Brno 2014Running A SIG in CentOS @Devconf Brno 2014
Running A SIG in CentOS @Devconf Brno 2014
 

Último

What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 

Último (20)

What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Setting up iSCSI Providers and Clients in openSUSE

  • 1. Lee Duncan SUSE Labs iSCSI Hacker lduncan@suse.com Setting up iSCSI providers and clients on openSUSE
  • 2. 2 A Short talk about using iSCSI ● My Background – SCSI and iSCSI experience – Worked for SUN, HP, GE, AT&T, now SUSE – Co-maintainer of open-iscsi initiator – Co-maintainer of Linux kernel initiator code – Maintainer of targets and initiator for SUSE – Other github projects (gonzoleeman)
  • 3. 3 iSCSI: What is it? ● iSCSI is just SCSI over a transport, e.g. TCP/IP – See RFC3270 ● SCSI is just a way that a computer and disc can talk – The Computer makes requests: this client initiates all communication – The Disc responds: it’s target serves disc data to the computer
  • 4. 4 iSCSI: Why do I care about it? ● Free and open software ● Cheap: you do not need special hardware, other than your network ● Well used: it is generally reliable/mature ● Well maintained – New stuff still being added (e.g. tcmu_runner) ● Can be building block for larger storage systems
  • 5. 5 iSCSI: Basics ● iSCSi uses initiators and targets ● A target is a server that serves up Disc LUs ● An initiator is a client that wants to access LUs ● We will use open-iscsi for our client ● We will use targetcli-fb for our server ● A picture might help ...
  • 6. 6 iSCSI: Topology (simple) NetworkNetwork Client* Client* ServerServer iSCSI InitiatoriSCSI Initiator iSCSI TargetiSCSI Target LUN0LUN0 open-iscsi targetcli-fb/LIO iqn.yyyy-mm.name-authority:unique-name iqn.yyyy-mm.name-authority:unique-name Storage
  • 7. 7 iSCSI: Setting up the Target ● We need a target for the initiator to connect to – Using command line: targetcli(1) ● Package: targetcli-fb (uses Python3) – Using YaST GUI ● Package yast2-iscsi-lio-server
  • 8. 8 iSCSI: Setting up the Target (cont) ● Using the Command Line – Use the targetcli(1) command – Can be called to do one thing or interactively – Must be root – Shell-like ● Has a node hierarchy: root, directories, ... ● Commands depend on where you are in tree
  • 9. 9 iSCSI: Setting up the Target (cont) ● Two parts to a target (must be connected) – Backstore ● Where the bits actually live ● Several different types (file, disc, ...) – Target front-end ● Name (iqn.*) ● Portal(s) (IP:Port) ● LU(s) ● ACL(s) (Initiator IQN)
  • 10. 10 iSCSI: Setting up the Target (cont)
  • 11. 11 iSCSI: Setting up the Target (cont)
  • 12. 12 iSCSI: Setting up the Target (cont)
  • 13. 13 iSCSI: Setting up the Target (cont)
  • 14. 14 iSCSI: Setting up the Target (cont)
  • 15. 15 iSCSI: Setting up the Target (cont) ● Setting up the target using yast: – Navigate to Network Services → iSCSI LIO Target ● NOTE: yast does not allow configuring individual ACLs (i.e. demo mode)
  • 16. 16 iSCSI: Setting up the Target (cont)
  • 17. 17 iSCSI: Setting up the Target (cont)
  • 18. 18 iSCSI: Setting up the Target (cont)
  • 19. 19 iSCSI: Setting up the Target (cont)
  • 20. 20 iSCSI: Setting up the Target (cont)
  • 21. 21 iSCSI: Setting up the Target (cont)
  • 22. 22 iSCSI: Setting up the Initiator ● The initiator uses the open-iscsi package – Installed and enabled by default ● Can be configured using – Command line: iscsiadm(1) – YaST (uses yast2-iscsi-client package)
  • 23. 23 iSCSI: Setting up the Initiator (cont) ● Initiator uses two phases to connect: – Discovery: find target(s) at IP:Port – Login: connect to discovered target(s) ● Command line – iscsiadm(1)
  • 24. 24 iSCSI: Setting up the Initiator (cont)
  • 25. 25 iSCSI: Setting up the Initiator (cont)
  • 26. 26 iSCSI: Setting up the Initiator (cont) ● Setting up initiator using yast – Uses the yast2-iscsi-client package – Navigate to Network Services → iSCSI Initiator
  • 27. 27 iSCSI: Setting up the Initiator (cont)
  • 28. 28 iSCSI: Setting up the Initiator (cont)
  • 29. 29 iSCSI: Setting up the Initiator (cont)
  • 30. 30 iSCSI: Setting up the Initiator (cont)
  • 31. 31 iSCSI: Setting up the Initiator (cont)
  • 32. 32 iSCSI: Setting up the Initiator (cont)
  • 33. 33 iSCSI: Setting up the Initiator (cont)
  • 34. 34 iSCSI: Setting up the Initiator (cont)
  • 35. 35 iSCSI: That’s It! ● iSCSI is easy to set up on openSUSE ● You can use command line or GUI ● You can roll your own SAN ● For more info: – http://www.open-iscsi.com – https://github.com/open-iscsi/targetcli-fb – http://www.opensuse.org
  • 36. Join Us at www.opensuse.org 36 ● Contact: lduncan@suse.com
  • 37. License This slide deck is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license. It can be shared and adapted for any purpose (even commercially) as long as Attribution is given and any derivative work is distributed under the same license. Details can be found at https://creativecommons.org/licenses/by-sa/4.0/ General Disclaimer This document is not to be construed as a promise by any participating organisation to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. openSUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for openSUSE products remains at the sole discretion of openSUSE. Further, openSUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All openSUSE marks referenced in this presentation are trademarks or registered trademarks of SUSE LLC, in the United States and other countries. All third-party trademarks are the property of their respective owners. Credits Template Richard Brown rbrown@opensuse.org Design & Inspiration openSUSE Design Team http://opensuse.github.io/branding-guidelines/ 37