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...
DRBL Client PCs LAN Switch WAN DRBL Server For  Effective Management , We'll install  DRBL Server  on  Manage Node , and  ...
1st, We install Base System of  GNU/Linux  on  Management Node . You can choose: Redhat, Fedora, CentOS, Mandriva, Ubuntu,...
2nd, We install  DRBL package   and configure it as  DRBL Server .  There are lots of service needed: SSHD, DHCPD, TFTPD, ...
After running “ drblsrv -i ” &  “ drblpush -i ”, there will be  pxelinux, vmlinux-pex, initrd-pxe  in TFTPROOT, and differ...
BIOS PXE BIOS PXE BIOS PXE BIOS PXE 3nd, We enable  PXE  function in  BIOS  configuration. DHCPD TFTPD NFS YP NIS SSHD pxe...
BIOS PXE BIOS PXE BIOS PXE BIOS PXE While Booting,  PXE  will query IP address from  DHCPD . TFTPD NFS YP NIS SSHD DHCPD p...
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-...
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 ...
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 Ke...
Config. Files Ex. hostname YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz px...
YP NIS SSHD DHCPD initrd initrd initrd IP 1 IP 2 IP 3 IP 4 pxelinux vmlinuz pxelinux vmlinuz pxelinux vmlinuz pxelinux vml...
DRBL Server YP NIS DHCPD TFTPD NFS Bash Perl SSHD Applications  and  Services  will also deployed to each Compute Node  vi...
DRBL Server DHCPD TFTPD With the help of  NIS  and  YP , You can login each Compute Node with the  Same ID / PASSWORD stor...
Questions? Jazz Wang Yao-Tsung Wang [email_address]
Upcoming SlideShare
Loading in …5
×

Introduction to Diskless Remote Boot in Linux

1,524 views

Published on

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,524
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
30
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Introduction to Diskless Remote Boot in Linux

  1. 1. Introduction to Diskless Remote Boot Linux Jazz Wang Yao-Tsung Wang [email_address]
  2. 2. At First, We have “ 4 + 1 ” PC Cluster It'd better be 2 n Manage Scheduler
  3. 3. Each PC has AMD64 CPU x 4, 512MB RAM x 4, 120GB Disk x 4, PCI-E Graphic Card x 3
  4. 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. 5. GiE Switch WAN Then, We connect 5 PCs with Gigabit Ethernet Switch 10/100/1000 MBps Add 1 NIC for WAN
  6. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 20. Questions? Jazz Wang Yao-Tsung Wang [email_address]

×