SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Introduction to  Diskless Remote Boot Linux Jazz Wang Yao-Tsung Wang [email_address]
At First, We have “ 4 + 1 ” PC Cluster It'd better be 2 n Manage Scheduler
Each PC has  AMD64 CPU  x 4, 512MB RAM  x 4, 120GB Disk  x 4, PCI-E Graphic Card  x 3
Total Resource =  AMD64 CPU x 20 ,   512MB RAM x 20 =  10 GB RAM , 120GB Disk x 20 =  2.4 TB Disk , PCI-E Graphic Card x 15
GiE Switch WAN Then, We connect 5 PCs with  Gigabit Ethernet  Switch 10/100/1000 MBps Add 1 NIC for WAN
LAN Switch WAN 4  Compute Nodes  will communicate via  LAN Switch . Only  Manage Node  have  Internet Access  for Security! Compute Nodes Manage Node
DRBL Client PCs LAN Switch WAN DRBL Server For  Effective Management , We'll install  DRBL Server  on  Manage Node , and  Compute Nodes become  DRBL Client .
1st, We install Base System of  GNU/Linux  on  Management Node . You can choose: Redhat, Fedora, CentOS, Mandriva, Ubuntu, Debian, ... Linux Kernel Kernel Module GNU Libc Boot Loader
2nd, We install  DRBL package   and configure it as  DRBL Server .  There are lots of service needed: SSHD, DHCPD, TFTPD, NFS Server, NIS Server, YP Server ... DHCPD TFTPD NFS Bash Perl Network Booting YP NIS Account Mgnt. DRBL Server based on existing Open Source  and keep  Hacking ! SSHD Linux Kernel Kernel Module GNU Libc Boot Loader
After running “ drblsrv -i ” &  “ drblpush -i ”, there will be  pxelinux, vmlinux-pex, initrd-pxe  in TFTPROOT, and different  configuration files  for  each Compute Node in NFSROOT DHCPD TFTPD NFS YP NIS SSHD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
BIOS PXE BIOS PXE BIOS PXE BIOS PXE 3nd, We enable  PXE  function in  BIOS  configuration. DHCPD TFTPD NFS YP NIS SSHD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
BIOS PXE BIOS PXE BIOS PXE BIOS PXE While Booting,  PXE  will query IP address from  DHCPD . TFTPD NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
IP 1 IP 2 IP 3 IP 4 While Booting,  PXE  will query IP address from  DHCPD . TFTPD NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
IP 1 IP 2 IP 3 IP 4 After PXE get its IP address, it will download booting files from  TFTPD . Config. Files Ex. hostname NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe TFTPD Linux Kernel Kernel Module GNU Libc Boot Loader
IP 1 IP 2 IP 3 IP 4 Config. Files Ex. hostname NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe TFTPD Linux Kernel Kernel Module GNU Libc Boot Loader pxelinux vmlinuz initrd pxelinux vmlinuz initrd pxelinux vmlinuz initrd pxelinux vmlinuz initrd
Config. Files Ex. hostname YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz initrd pxelinux vmlinuz-pxe initrd-pxe TFTPD After downloading booting files, scripts in  initrd-pxe  will config  NFSROOT  for each Compute Node. NFS Linux Kernel Kernel Module GNU Libc Boot Loader
YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz initrd pxelinux vmlinuz-pxe initrd-pxe TFTPD Config. Files Ex. hostname NFS Linux Kernel Kernel Module GNU Libc Boot Loader Config. 1 Config. 2 Config. 3 Config. 4
DRBL Server YP NIS DHCPD TFTPD NFS Bash Perl SSHD Applications  and  Services  will also deployed to each Compute Node  via  NFS  .... Bash Perl SSHD Bash Perl SSHD Bash Perl SSHD Bash Perl SSHD
DRBL Server DHCPD TFTPD With the help of  NIS  and  YP , You can login each Compute Node with the  Same ID / PASSWORD stored in DRBL Server!  NFS SSHD YP NIS SSHD SSHD SSHD SSHD SSH Client
Questions? Jazz Wang Yao-Tsung Wang [email_address]

Weitere ähnliche Inhalte

Was ist angesagt?

Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
nseemiller
 
SaltStack – (Not) just another Automation & Remote Execution Tool
SaltStack – (Not) just another Automation & Remote Execution ToolSaltStack – (Not) just another Automation & Remote Execution Tool
SaltStack – (Not) just another Automation & Remote Execution Tool
inovex GmbH
 

Was ist angesagt? (20)

OSS AWS 핸즈온 강의
OSS AWS 핸즈온 강의OSS AWS 핸즈온 강의
OSS AWS 핸즈온 강의
 
Rancher OS - A simplified Linux distribution built from containers, for conta...
Rancher OS - A simplified Linux distribution built from containers, for conta...Rancher OS - A simplified Linux distribution built from containers, for conta...
Rancher OS - A simplified Linux distribution built from containers, for conta...
 
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitchBuilding a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
 
Docker techzone
Docker techzoneDocker techzone
Docker techzone
 
CoreOS Overview
CoreOS OverviewCoreOS Overview
CoreOS Overview
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
Yum server ( FTP Server )
Yum server ( FTP Server ) Yum server ( FTP Server )
Yum server ( FTP Server )
 
Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
 
Linux Containers (LXC)
Linux Containers (LXC)Linux Containers (LXC)
Linux Containers (LXC)
 
Fundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSEFundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSE
 
OLSR setup
OLSR setup OLSR setup
OLSR setup
 
Docker Workshop
Docker WorkshopDocker Workshop
Docker Workshop
 
Docker 1.9 release party - Docker Ha Noi
Docker 1.9 release party - Docker Ha NoiDocker 1.9 release party - Docker Ha Noi
Docker 1.9 release party - Docker Ha Noi
 
Gentoo on a 486
Gentoo on a 486Gentoo on a 486
Gentoo on a 486
 
QNAP COSCUP Container Station
QNAP COSCUP Container StationQNAP COSCUP Container Station
QNAP COSCUP Container Station
 
Docker 101, Alexander Ryabtsev
Docker 101, Alexander RyabtsevDocker 101, Alexander Ryabtsev
Docker 101, Alexander Ryabtsev
 
Docker internals
Docker internalsDocker internals
Docker internals
 
SaltStack – (Not) just another Automation & Remote Execution Tool
SaltStack – (Not) just another Automation & Remote Execution ToolSaltStack – (Not) just another Automation & Remote Execution Tool
SaltStack – (Not) just another Automation & Remote Execution Tool
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
 
Kickstart server
Kickstart serverKickstart server
Kickstart server
 

Ähnlich wie Introduction to Diskless Remote Boot in Linux

Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
badamisri
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5
Carlos Eduardo
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
Beni Krisbiantoro
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
Premjith Achemveettil
 
linux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrixlinux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrix
Sherif Mousa
 

Ähnlich wie Introduction to Diskless Remote Boot in Linux (20)

Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux Conf Admin
Linux Conf AdminLinux Conf Admin
Linux Conf Admin
 
linux
linuxlinux
linux
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting
 
Kickstart
KickstartKickstart
Kickstart
 
LSA2 - 02 Namespaces
LSA2 - 02  NamespacesLSA2 - 02  Namespaces
LSA2 - 02 Namespaces
 
LinuxKit Swarm Nodes
LinuxKit Swarm NodesLinuxKit Swarm Nodes
LinuxKit Swarm Nodes
 
Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5
 
Ltsp talk
Ltsp talkLtsp talk
Ltsp talk
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Server configuration
Server configurationServer configuration
Server configuration
 
Linux
LinuxLinux
Linux
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
 
Ubuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server ProjectUbuntu and Linux Terminal Server Project
Ubuntu and Linux Terminal Server Project
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
linux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrixlinux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrix
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmaple
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Introduction to Diskless Remote Boot in Linux

  • 1. Introduction to Diskless Remote Boot Linux Jazz Wang Yao-Tsung Wang [email_address]
  • 2. At First, We have “ 4 + 1 ” PC Cluster It'd better be 2 n Manage Scheduler
  • 3. Each PC has AMD64 CPU x 4, 512MB RAM x 4, 120GB Disk x 4, PCI-E Graphic Card x 3
  • 4. Total Resource = AMD64 CPU x 20 ,   512MB RAM x 20 = 10 GB RAM , 120GB Disk x 20 = 2.4 TB Disk , PCI-E Graphic Card x 15
  • 5. GiE Switch WAN Then, We connect 5 PCs with Gigabit Ethernet Switch 10/100/1000 MBps Add 1 NIC for WAN
  • 6. LAN Switch WAN 4 Compute Nodes will communicate via LAN Switch . Only Manage Node have Internet Access for Security! Compute Nodes Manage Node
  • 7. DRBL Client PCs LAN Switch WAN DRBL Server For Effective Management , We'll install DRBL Server on Manage Node , and Compute Nodes become DRBL Client .
  • 8. 1st, We install Base System of GNU/Linux on Management Node . You can choose: Redhat, Fedora, CentOS, Mandriva, Ubuntu, Debian, ... Linux Kernel Kernel Module GNU Libc Boot Loader
  • 9. 2nd, We install DRBL package and configure it as DRBL Server . There are lots of service needed: SSHD, DHCPD, TFTPD, NFS Server, NIS Server, YP Server ... DHCPD TFTPD NFS Bash Perl Network Booting YP NIS Account Mgnt. DRBL Server based on existing Open Source and keep Hacking ! SSHD Linux Kernel Kernel Module GNU Libc Boot Loader
  • 10. After running “ drblsrv -i ” & “ drblpush -i ”, there will be pxelinux, vmlinux-pex, initrd-pxe in TFTPROOT, and different configuration files for each Compute Node in NFSROOT DHCPD TFTPD NFS YP NIS SSHD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
  • 11. BIOS PXE BIOS PXE BIOS PXE BIOS PXE 3nd, We enable PXE function in BIOS configuration. DHCPD TFTPD NFS YP NIS SSHD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
  • 12. BIOS PXE BIOS PXE BIOS PXE BIOS PXE While Booting, PXE will query IP address from DHCPD . TFTPD NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
  • 13. IP 1 IP 2 IP 3 IP 4 While Booting, PXE will query IP address from DHCPD . TFTPD NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe Config. Files Ex. hostname Linux Kernel Kernel Module GNU Libc Boot Loader
  • 14. IP 1 IP 2 IP 3 IP 4 After PXE get its IP address, it will download booting files from TFTPD . Config. Files Ex. hostname NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe TFTPD Linux Kernel Kernel Module GNU Libc Boot Loader
  • 15. IP 1 IP 2 IP 3 IP 4 Config. Files Ex. hostname NFS YP NIS SSHD DHCPD pxelinux vmlinuz-pxe initrd-pxe TFTPD Linux Kernel Kernel Module GNU Libc Boot Loader pxelinux vmlinuz initrd pxelinux vmlinuz initrd pxelinux vmlinuz initrd pxelinux vmlinuz initrd
  • 16. Config. Files Ex. hostname YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz initrd pxelinux vmlinuz-pxe initrd-pxe TFTPD After downloading booting files, scripts in initrd-pxe will config NFSROOT for each Compute Node. NFS Linux Kernel Kernel Module GNU Libc Boot Loader
  • 17. YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz initrd pxelinux vmlinuz-pxe initrd-pxe TFTPD Config. Files Ex. hostname NFS Linux Kernel Kernel Module GNU Libc Boot Loader Config. 1 Config. 2 Config. 3 Config. 4
  • 18. DRBL Server YP NIS DHCPD TFTPD NFS Bash Perl SSHD Applications and Services will also deployed to each Compute Node via NFS .... Bash Perl SSHD Bash Perl SSHD Bash Perl SSHD Bash Perl SSHD
  • 19. DRBL Server DHCPD TFTPD With the help of NIS and YP , You can login each Compute Node with the Same ID / PASSWORD stored in DRBL Server! NFS SSHD YP NIS SSHD SSHD SSHD SSHD SSH Client
  • 20. Questions? Jazz Wang Yao-Tsung Wang [email_address]