SlideShare une entreprise Scribd logo
1  sur  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]

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

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]