[fc4]~>/opt/drbl/setup/drblsrv -i Language | »y¨¥| èªè¨ ?. [0]: English [1]: Chinese Traditional (Big5) - Taiwan | ¤¤¤å (¤j¤­½X) - ¥xÆW. [2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中æ (æ¨æºç¢¼) - 0 [0] *****************************************************, Hint! When a yes/no option is available, the default value is uppercase, Ex. (y/N), the default is "N", when you press "Enter", it will use "N". If you are not sure which one to choose, you can just press "Enter" key. *****************************************************, *****************************************************, Installing DRBL for RedHat/Fedora Linux... The version number for your OS: FC4 *****************************************************, Do you want to set the proxy server ? [y/N] *****************************************************, Do you want to select yum repository ? If yes, we will list some for you to choose, this maybe good if you know which mirror site is faster in your site. If not, we will use the existing config files in this machine (so you have to make sure the yum repository setting works in this machine) and generate some config files of DRBL related packages. [y/N] y *****************************************************, Which "ayo" repository do you want to use for OS packages ? 0 -> free.nchc.org.tw, 1 -> download.fedora.redhat.com, 4 -> Use the existing yum setting in this server (You must make sure it is working!) 5 -> Enter ayo repository (with OS packages) by yourself. [0] *****************************************************, ------------------------------------------------------ The url and path you selected: http://free.nchc.org.tw, /fedora/linux/core/ ------------------------------------------------------ *****************************************************, Which "ayo" repository do you want to use for DRBL packages ? 0 -> free.nchc.org.tw, 1 -> diskless.nchc.org.tw, 2 -> drbl.sourceforge.net, 5 -> To enter repository (with DRBL packages) by yourself. [0] *****************************************************, ------------------------------------------------------ The url and path you selected: http://free.nchc.org.tw, drbl-core/i386 ------------------------------------------------------ Do you want to use the DRBL "unstable" packages which ismuch more powerful, but maybe very unstable (If you are super brave!!!) (If you downloaded the drbl rpm package from the unstable directory, say "yes" here) ? [y/N] y *****************************************************, Backuping the repo files... done! Turn off the testing and devel repository...done! Creating the fedora core packages repository list... Creating the fedora updates packages repository list... *****************************************************, Creating the DRBL stable packages repository list... Creating the DRBL testing packages repository list... Creating the DRBL unstable packages repository list... done! *****************************************************, Do you want to install those network installation boot images so that you can let client to install some Linux distribution (RedHat Linux, Fedora Core, MandrakeLinux and Debian) via network ? (Assume that your client machine has harddisk and it is possible you will install Linux into that, say Y) [y/N] y Do you want to use SMP kernel for clients, i.e. your client have two or more CPUs ? Note!!! By chooing SMP kernel, this script will select the optimized kernel automatically! [y/N] Do you want to use the serial console output for clients ? If you do NOT know anything about this, say "N" here, otherwise clients might show NOTHING on the screen ! [y/N] *****************************************************, Which CPU architecture kernel do you want to assign for DRBL clients ? [0/1/2] 0 -> i386 level CPU 1 -> i586 level CPU 2 -> Use the same CPU level with that of this DRBL server Note! Note Note! Note! Note! Note! Note! note!!! If your client machine(s) is not the same level with server, please answer "0" or "1", otherwise your client machine(s) will NOT be able to boot. If you use wrong CPU level kernel, the glibc and openssl package might use i686 or i386, the kernel might use i686, i586 or i386, which might be not suitable to all your machines. If you are not sure, "1" is recommended, this will still have good performance and compability. [1] *****************************************************, The optimization for your system is set to "i586". *****************************************************, Do you want to upgrade operating system ? [Y/n] *****************************************************, If there is new glibc and openssl in updates, do you want to upgrade ? [0/1/2/3] "0" to keep the existing glibc and openssl. "1" to keep the existing glibc, while upgrade openssl, "2" to keep the existing openssl, while upgrade glibc, "3" to upgrade glibc and openssl (default), Warning!!!!! glibc is very important, you have to make sure the new glibc will work with this WORKING system (It is seldom that the system hang after upgrading glic, but it did happen in RedHat 9). Sometimes the new glibc will make you cry (Seldom happened)... If you are not sure, you can keep the old but working one, i.e. answer "0". [3] *****************************************************, 1st, we upgrade the whole system... *****************************************************, We will upgrade glibc and openssl. Setting up Update Process Setting up repositories drbl 100% |=========================| 951 B 00:00 drbl-testing 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 updates-released 100% |=========================| 951 B 00:00 drbl-unstable 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Excluding Packages in global exclude list Finished No Packages marked for Update/Obsoletion *****************************************************, 2nd, installing the necessary files for DRBL... *****************************************************, Install dhcp, tftp, nfs, yp, mkinitrd-net, syslinux... Setting up Install Process Setting up repositories drbl 100% |=========================| 951 B 00:00 drbl-testing 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 updates-released 100% |=========================| 951 B 00:00 drbl-unstable 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package nfs-utils.i386 0:1.0.7-8 set to be updated ---> Package firstboot.noarch 0:1.3.42-1 set to be updated ---> Package dhcp.i386 10:3.0.2-12 set to be updated ---> Package mkinitrd-net.i386 0:1.13-2drbl set to be updated ---> Package lynx.i386 0:2.8.5-23 set to be updated ---> Package memtest86+.i386 0:1.55.1-1 set to be updated ---> Package ntp.i386 0:4.2.0.a.20040617-8 set to be updated ---> Package ypbind.i386 3:1.17.2-5 set to be updated ---> Package socket.i386 0:1.3pre2-1 set to be updated ---> Package tftp-server.i386 0:0.40-6 set to be updated ---> Package clonezilla.i386 0:1.3.4-11 set to be updated ---> Package etherboot.i386 0:5.4.0-2drbl set to be updated ---> Package dos2unix.i386 0:3.1-24 set to be updated ---> Package ddrescue.i386 0:1.10_0.0.5-2drbl set to be updated ---> Package ypserv.i386 0:2.13-6 set to be updated ---> Package yp-tools.i386 0:2.8-8 set to be updated ---> Package freedos.i386 0:1.0-6drbl set to be updated ---> Package partimage.i386 0:0.6.5-beta1_2drbl set to be updated ---> Package syslinux.i386 0:3.08-2 set to be updated --> Running transaction check --> Processing Dependency: system-config-date >= 1.7.9 for package: firstboot --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package system-config-date.noarch 0:1.7.18-1 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: clonezilla i386 1.3.4-11 drbl-unstable 842 k ddrescue i386 1.10_0.0.5-2drbl drbl 218 k dhcp i386 10:3.0.2-12 base 591 k dos2unix i386 3.1-24 base 13 k etherboot i386 5.4.0-2drbl drbl 3.6 M firstboot noarch 1.3.42-1 base 330 k freedos i386 1.0-6drbl drbl 1.2 M lynx i386 2.8.5-23 base 1.7 M memtest86+ i386 1.55.1-1 base 59 k mkinitrd-net i386 1.13-2drbl drbl-unstable 838 k nfs-utils i386 1.0.7-8 base 313 k ntp i386 4.2.0.a.20040617-8 base 1.2 M partimage i386 0.6.5-beta1_2drbl drbl-unstable 626 k socket i386 1.3pre2-1 drbl 15 k syslinux i386 3.08-2 base 190 k tftp-server i386 0.40-6 base 26 k yp-tools i386 2.8-8 base 64 k ypbind i386 3:1.17.2-5 base 32 k ypserv i386 2.13-6 base 129 k Installing for dependencies: system-config-date noarch 1.7.18-1 base 631 k Transaction Summary ============================================================================= Install 20 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 12 M Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: partimage ####################### [ 1/20] Installing: tftp-server ####################### [ 2/20] Installing: ypbind ####################### [ 3/20] Installing: ntp ####################### [ 4/20] Installing: system-config-date ####################### [ 5/20] Installing: nfs-utils ####################### [ 6/20] Installing: firstboot ####################### [ 7/20] Installing: dhcp ####################### [ 8/20] Installing: mkinitrd-net ####################### [ 9/20] Installing: lynx ####################### [10/20] Installing: memtest86+ ####################### [11/20] Installing: socket ####################### [12/20] Installing: clonezilla ####################### [13/20] Installing: etherboot ####################### [14/20] Installing: dos2unix ####################### [15/20] Installing: ddrescue ####################### [16/20] Installing: ypserv ####################### [17/20] Installing: yp-tools ####################### [18/20] Installing: freedos ####################### [19/20] Installing: syslinux ####################### [20/20] Installed: clonezilla.i386 0:1.3.4-11 ddrescue.i386 0:1.10_0.0.5-2drbl dhcp.i386 10:3.0.2-12 dos2unix.i386 0:3.1-24 etherboot.i386 0:5.4.0-2drbl firstboot.noarch 0:1.3.42-1 freedos.i386 0:1.0-6drbl lynx.i386 0:2.8.5-23 memtest86+.i386 0:1.55.1-1 mkinitrd-net.i386 0:1.13-2drbl nfs-utils.i386 0:1.0.7-8 ntp.i386 0:4.2.0.a.20040617-8 partimage.i386 0:0.6.5-beta1_2drbl socket.i386 0:1.3pre2-1 syslinux.i386 0:3.08-2 tftp-server.i386 0:0.40-6 yp-tools.i386 0:2.8-8 ypbind.i386 3:1.17.2-5 ypserv.i386 0:2.13-6 Dependency Installed: system-config-date.noarch 0:1.7.18-1 Complete! *****************************************************, No highest optimization for your system, we will use the "i386/i586" glibc & openssl package. Install the i386 version of glibc-2.3.5-10... Searching the glibc in ayo repository... Installing i386 glibc from http://free.nchc.org.tw//fedora/linux/core//4/i386/os/Fedora/RPMS//glibc-2.3.5-10.i386.rpm... ########################################### [100%] ########################################### [100%] Stopping sshd: [ OK ] Starting sshd: [ OK ] Install the i386 version of openssl-0.9.7f-7... Searching the openssl in ayo repository... Installing i386 openssl from http://free.nchc.org.tw//fedora/linux/core//4/i386/os/Fedora/RPMS//openssl-0.9.7f-7.i386.rpm... ########################################### [100%] ########################################### [100%] *****************************************************, Trying to upgrade some necessary packages if available... The version number for your OS: FC4. Force to upgrade some packages if necessary... Setting up Install Process Setting up repositories drbl 100% |=========================| 951 B 00:00 drbl-testing 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 updates-released 100% |=========================| 951 B 00:00 drbl-unstable 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do *****************************************************, Installing some Linux distribution network installation images... *****************************************************, Setting up Install Process Setting up repositories drbl 100% |=========================| 951 B 00:00 drbl-testing 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 updates-released 100% |=========================| 951 B 00:00 drbl-unstable 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package rh-FC4-x86-64-netinstall.i386 0:1.0-1drbl set to be updated ---> Package rh-FC4-netinstall.i386 0:1.0-1drbl set to be updated ---> Package CentOS-4-netinstall.i386 0:1.0-2drbl set to be updated ---> Package mdk-10.2-netinstall.i386 0:1.0-1drbl set to be updated ---> Package rh-FC3-x86-64-netinstall.i386 0:1.0-2drbl set to be updated ---> Package rh-FC2-x86-64-netinstall.i386 0:1.0-2drbl set to be updated ---> Package rh-9-netinstall.i386 0:1.0-3drbl set to be updated ---> Package rh-FC1-netinstall.i386 0:1.0-4drbl set to be updated ---> Package rh-FC2-netinstall.i386 0:1.0-2drbl set to be updated ---> Package mdk-9.2-netinstall.i386 0:1.0-3drbl set to be updated ---> Package mdk-10.0-netinstall.i386 0:1.0-3drbl set to be updated ---> Package rh-FC3-netinstall.i386 0:1.0-2drbl set to be updated ---> Package rh-8.0-netinstall.i386 0:1.0-2drbl set to be updated ---> Package debian-sarge_k2.6-netinstall.i386 0:1.0-1drbl set to be updated ---> Package mdk-10.1-netinstall.i386 0:1.0-2drbl set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: CentOS-4-netinstall i386 1.0-2drbl drbl 4.3 M debian-sarge_k2.6-netinstall i386 1.0-1drbl drbl-unstable 4.1 M mdk-10.0-netinstall i386 1.0-3drbl drbl 2.0 M mdk-10.1-netinstall i386 1.0-2drbl drbl 2.1 M mdk-10.2-netinstall i386 1.0-1drbl drbl 2.2 M mdk-9.2-netinstall i386 1.0-3drbl drbl 1.3 M rh-8.0-netinstall i386 1.0-2drbl drbl 3.4 M rh-9-netinstall i386 1.0-3drbl drbl 645 k rh-FC1-netinstall i386 1.0-4drbl drbl 4.0 M rh-FC2-netinstall i386 1.0-2drbl drbl 3.5 M rh-FC2-x86-64-netinstall i386 1.0-2drbl drbl 4.2 M rh-FC3-netinstall i386 1.0-2drbl drbl 4.4 M rh-FC3-x86-64-netinstall i386 1.0-2drbl drbl 5.3 M rh-FC4-netinstall i386 1.0-1drbl drbl-unstable 5.9 M rh-FC4-x86-64-netinstall i386 1.0-1drbl drbl-unstable 6.0 M Transaction Summary ============================================================================= Install 15 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 53 M Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: mdk-10.1-netinstall ####################### [ 1/15] Installing: rh-FC4-x86-64-netinstall ####################### [ 2/15] Installing: rh-FC4-netinstall ####################### [ 3/15] Installing: CentOS-4-netinstall ####################### [ 4/15] Installing: mdk-10.2-netinstall ####################### [ 5/15] Installing: rh-FC3-x86-64-netinstall ####################### [ 6/15] Installing: rh-FC2-x86-64-netinstall ####################### [ 7/15] Installing: rh-9-netinstall ####################### [ 8/15] Installing: rh-FC1-netinstall ####################### [ 9/15] Installing: rh-FC2-netinstall ####################### [10/15] Installing: mdk-9.2-netinstall ####################### [11/15] Installing: mdk-10.0-netinstall ####################### [12/15] Installing: rh-FC3-netinstall ####################### [13/15] Installing: rh-8.0-netinstall ####################### [14/15] Installing: debian-sarge_k2.6-netinstall ####################### [15/15] Installed: CentOS-4-netinstall.i386 0:1.0-2drbl debian-sarge_k2.6-netinstall.i386 0:1.0-1drbl mdk-10.0-netinstall.i386 0:1.0-3drbl mdk-10.1-netinstall.i386 0:1.0-2drbl mdk-10.2-netinstall.i386 0:1.0-1drbl mdk-9.2-netinstall.i386 0:1.0-3drbl rh-8.0-netinstall.i386 0:1.0-2drbl rh-9-netinstall.i386 0:1.0-3drbl rh-FC1-netinstall.i386 0:1.0-4drbl rh-FC2-netinstall.i386 0:1.0-2drbl rh-FC2-x86-64-netinstall.i386 0:1.0-2drbl rh-FC3-netinstall.i386 0:1.0-2drbl rh-FC3-x86-64-netinstall.i386 0:1.0-2drbl rh-FC4-netinstall.i386 0:1.0-1drbl rh-FC4-x86-64-netinstall.i386 0:1.0-1drbl Complete! *****************************************************, Creating device source for clients... Get the devices file from RPM repository... dev and MAKEDEV rpm is not found... The DRBL client will use udev... Cleaning the tmp device directory... *****************************************************, In ayo repository, searching the latest kernel ... Available kernel: kernel-2.6.11-1.1369_FC4 The latest kernel in the ayo repository is kernel-2.6.11-1.1369_FC4 It will take several minutes to install this kernel, please be patient... Installing i586 kernel-2.6.11-1.1369_FC4 from http://free.nchc.org.tw//fedora/linux/core//4/i386/os/Fedora/RPMS//kernel-2.6.11-1.1369_FC4.i586.rpm. Downloading... Preparing... ########################################### [100%] 1:kernel ########################################### [100%] *****************************************************, *****************************************************, Creating the image files for PXE and Etherboot client, this will take a few minutes ... The latest kernel for DRBL clients is 2.6.11-1.1369_FC4 Using the kernel modules from /tftpboot/node_root//lib/modules... The selected kernel for DRBL clients is: 2.6.11-1.1369_FC4 Creating the network boot initrd for PXE clients... Using the kernel modules from /tftpboot/node_root//lib/modules... done! Finished! Done! *****************************************************, Creating config file for PXE clients... Generating default pxelinux config (/tftpboot/nbi_img/pxelinux.cfg/default)... Adding menus for DRBL, local boot, memtest86+, FreeDOS... Adding CentOS-4-netinstall menu... Adding debian-sarge_k2.6-netinstall menu... Adding mdk-10.0-netinstall menu... Adding mdk-10.1-netinstall menu... Adding mdk-10.2-netinstall menu... Adding mdk-9.2-netinstall menu... Adding rh-8.0-netinstall menu... Adding rh-9-netinstall menu... Adding rh-FC1-netinstall menu... Adding rh-FC2-netinstall menu... Adding rh-FC2-x86-64-netinstall menu... Adding rh-FC3-netinstall menu... Adding rh-FC3-x86-64-netinstall menu... Adding rh-FC4-netinstall menu... Adding rh-FC4-x86-64-netinstall menu... done! Done! *****************************************************, Done! [fc4]~>/opt/drbl/setup/drblpush -i Language | »y¨¥| èªè¨ ? [0]: English [1]: Chinese Traditional (Big5) - Taiwan | ¤¤¤å (¤j¤­½X) - ¥xÆW [2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | 中æ (æ¨æºç¢¼) - 0 [0] ****************************************************** Hint! When a yes/no option is available, the default value is uppercase, Ex. (y/N), the default is "N", when you press "Enter", it will use "N". If you are not sure which one to choose, you can just press "Enter" key. ****************************************************** Searching the installed packages for DRBL server...This might take several minutes... Finished searching the installed packages for DRBL server. ****************************************************** ------------------------------------------------------ The interactive mode let you supply the information of your DRBL environment. ------------------------------------------------------ ------------------------------------------------------ DOMAIN is unset, please enter DOMAIN now: [drbl.sf.net] Set DOMAIN as drbl.sf.net ------------------------------------------------------ Please enter the client hostname prefix: [fc4] Set the client hostname prefix as fc4 ------------------------------------------------------ Found private IP "192.168.120.14" in eth0 on your system! Found private IP "192.168.163.254" in eth1 on your system! Found private IP "192.168.206.254" in eth2 on your system! Configured ethernet card(s) found in your system: eth0 eth1 eth2 ------------------------------------------------------ Only 1 IP address for eth0, we will not use eth0 for DRBL environment! The ethernet port(s) for DRBL environment: eth1 eth2 ****************************************************** ****************************************************** Now we can collect the MAC address of clients! If you want to let the DHCP service in DRBL server offer same IP address to client every time when client boot, and you never did this procedure, you should do it now! If you already have those MAC addresses of clients, you can put them into different group files (These files number is the same number of networks cards for DRBL service). In this case, you can skip this step. This step helps you to record the MAC addresses of clients, then divide them into different groups. It will save your time and reduce the typos. The MAC addresses will be recorded turn by turn accroding to the boot of clients, and they will be put into different files according to the network card in server, file name will like macadr-eth1.txt, macadr-eth2.txt... Please boot the clients by order, make sure they boot from etherboot or PXE! Do you want to collect them ? [y/N] ****************************************************** OK! Let's continue... ****************************************************** Do you want to let the DHCP service in DRBL server offer same IP address to the client every time when client boots (If you want this function, you have to collect the MAC addresses of clients, and save them in file(s) (as in the previous procedure)). This is for the clients connected to DRBL server's ethernet network interface eth1 ? [y/N] ****************************************************** What is the initial number do you want to use in the last set of digits in the IP (i.e. the initial value of d in the IP address a.b.c.d) for DRBL clients connected to this ethernet port eth1. [1] ****************************************************** OK! Let's continue, we will set the IP address of clients by "first boot gets IP first" instead of fixed one! How many DRBL clients (PC for students) connected to DRBL server's ethernet network interface eth1 ? Please enter the number: [12] 2 ****************************************************** The final number in the last set of digits in the clients' IP is "2". We will set the IP address for the clients connected to DRBL server's ethernet network interface eth1 as: 192.168.163.1 - 192.168.163.2 Accept ? [Y/n] ****************************************************** OK! Let's continue... Do you want to let the DHCP service in DRBL server offer same IP address to the client every time when client boots (If you want this function, you have to collect the MAC addresses of clients, and save them in file(s) (as in the previous procedure)). This is for the clients connected to DRBL server's ethernet network interface eth2 ? [y/N] ****************************************************** What is the initial number do you want to use in the last set of digits in the IP (i.e. the initial value of d in the IP address a.b.c.d) for DRBL clients connected to this ethernet port eth2. [1] ****************************************************** OK! Let's continue, we will set the IP address of clients by "first boot gets IP first" instead of fixed one! How many DRBL clients (PC for students) connected to DRBL server's ethernet network interface eth2 ? Please enter the number: [12] 1 ****************************************************** The final number in the last set of digits in the clients' IP is "1". We will set the IP address for the clients connected to DRBL server's ethernet network interface eth2 as: 192.168.206.1 - 192.168.206.1 Accept ? [Y/n] ****************************************************** OK! Let's continue... ****************************************************** The Layout for your DRBL environment: ****************************************************** NIC NIC IP Clients +-----------------------------+ | DRBL SERVER | | | | +-- [eth0] 192.168.120.14 +- to WAN | | | +-- [eth1] 192.168.163.254 +- to clients group 1 [ 2 clients, their IP | | from 192.168.163.1 - 192.168.163.2] | +-- [eth2] 192.168.206.254 +- to clients group 2 [ 1 clients, their IP | | from 192.168.206.1 - 192.168.206.1] +-----------------------------+ ****************************************************** Total clients: 3 ------------------------------------------------------ If there is a local harddrive in your client machine, do you want to create swap file in it so that client has more memory to use ? (This step will NOT destroy any data in that harddisk!) [Y/n] ****************************************************** OK! We will try to create a swap file for your client if it has local ard drive ! ------------------------------------------------------ ------------------------------------------------------ What's the maximun size (Megabytes) for the swap file ? We will try to allocate the size for you, but it's not enough, 60% of the free space will be used. [128] maxswapsize=128 ------------------------------------------------------ Which mode do you want the clients to use after they boot ? "1" for Graphic mode (X window system), this is default, "2" for Text mode. [1] The clients will enter graphic mode after booting. ****************************************************** ------------------------------------------------------ Which mode do you want when client boots in graphic mode ? login (0), auto login (1) or timed login (2) [0] The clients will wait for user to login when they boot. ****************************************************** ------------------------------------------------------ Do you want to set the root's password for clients instead of using same root's password copied from server ? (For better security) [y/N] OK! Let's continue... ------------------------------------------------------ Do you want to set the boot prompt for clients ? [Y/n] How many 1/10 sec is the boot prompt timeout for clients ? [70] OK! Let's continue... ------------------------------------------------------ ------------------------------------------------------ By using alias interface, every client can have 2 IPs, one of them is private IP for clients connected to DRBL server, and the other is public IP for clients directly connected to WAN from switch! Do you want to setup public IP for clients ? [y/N] ------------------------------------------------------ Do you want to let DRBL clients have an option to run thin-client mode ? i.e. If you have thin client, and you want to let that client run remote display (which will mostly use resources of server), say "Y" here. Note! 1. If your server is not powerful, say "no" here. 2. By saying "yes" here, we will turn on xdmcp, It is never a safe thing to turn on that. Setting up /etc/hosts.allow and /etc/hosts.deny to only allow local access is another alternative but not the safest. Firewalling port 177 is the safest if you wish to have xdmcp on. Read the manual for more notes on the security of XDMCP. Please set it by yourself! 3. If you say "yes" here, you might have to restart your desktop environment manager (gdm/kdm) later, remember to save your data before you close applications! Do you want to open thin client mode for clients ? [y/N] OK! Let's continue... ------------------------------------------------------ ****************************************************** ****************************************************** ------------------------------------------------------ Checking the kernel config "/boot/config-2.6.11-1.1369_FC4..." The running kernel in the server supports NFS over TCP! Note! If you change the running kernel in the server, and not sure wheither the kernel supports NFS over udp or tcp, you'd better to re-run "drblpush -i" again to avoid the client boots in failure! Press Enter to continue... ------------------------------------------------------ The NETWORK is NOT set in /etc/sysconfig/network-scripts/ifcfg-eth1, use the calculated NETWORK=192.168.163.0. ------------------------------------------------------ The NETWORK is NOT set in /etc/sysconfig/network-scripts/ifcfg-eth2, use the calculated NETWORK=192.168.206.0. ------------------------------------------------------ ****************************************************** The RPCNFSDCOUNT in /etc/sysconfig/nfs is set as 7 (2.5*Total_Client_No). ****************************************************** ****************************************************** We are now ready to deploy the files to system! Do you want to continue ? Warning! If you go on, your firewall rules will be overwritten during the setup! The original rules will be backuped as /etc/sysconfig/iptables.drblsave. [Y/n] ****************************************************** OK! Let's do it! ------------------------------------------------------ Checking the necessary disk space...done! Cleaning the stale files of the diskless nodes if they exist...done! *****************************************************, *****************************************************, The version number for your Linux: FC4 Keeping the old common root files if they exist... Keeping old nodes if they exist... Creating common root files... This might take several minutes..........The DRBL client uses i586 kernel with version 2.6.11-1.1369_FC4... Trying to update the /tftpboot/node_root/lib/modules/2.6.11-1.1369_FC4 from server's /lib/modules/... This might take several minutes... The kernel 2.6.11-1.1369_FC4 installed in this DRBL server is for "i686", while the DRBL client wants kernel with "i586"! Skip this! Copying the directory /etc/ to clients common root /tftpboot/node_root... Cleaning the ssh key file ssh_host_dsa_key copied from server...done! Cleaning the ssh key file ssh_host_dsa_key.pub copied from server...done! Cleaning the ssh key file ssh_host_key copied from server...done! Cleaning the ssh key file ssh_host_key.pub copied from server...done! Cleaning the ssh key file ssh_host_rsa_key copied from server...done! Cleaning the ssh key file ssh_host_rsa_key.pub copied from server...done! The startup services for DRBL client are: netfs portmap crond nfslock sshd crond xfs ypbind kudzu haldaemon messagebus drblthincli mkswapfile firstboot Using udev for clients... Deleting the accounts (except root) in the clients common root template...done! Enabling the NIS client for this clients common root template...done! Creating some necessary files in the clients common root template......done! Creating DRBL client: fc4101 192.168.163.1... The display manager we selected for your DRBL client is "gdm"... Setting node 192.168.163.1 as normal_login...done! done !!! Creating DRBL client: fc4102 192.168.163.2... The display manager we selected for your DRBL client is "gdm"... Setting node 192.168.163.2 as normal_login...done! done !!! Creating DRBL client: fc4201 192.168.206.1... The display manager we selected for your DRBL client is "gdm"... Setting node 192.168.206.1 as normal_login...done! done !!! Copying the config file to /etc/sysconfig/drbl...done! Now set the services dhcp, xinetd, portmap, nis, nfs, iptables to be on when the machine start up. Now start the NAT service... Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: nat filter [ OK ] Saving firewall rules to /etc/sysconfig/iptables: [ OK ] ip_forward is already on. Now set the YP securenets... done! Update YP... Now start the service: dhcpd xinetd portmap iptables ypserv ypbind yppasswdd ypxfrd nfs nfslock ntpd Starting dhcpd: [ OK ] Stopping xinetd: [ OK ] Starting xinetd: [ OK ] Stopping portmap: [ OK ] Starting portmap: [ OK ] Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: nat filter [ OK ] Applying iptables firewall rules: [ OK ] Starting YP server services: [ OK ] Binding to the NIS domain: [ OK ] Listening for an NIS domain server.. Starting YP passwd service: [ OK ] Starting YP map server: [ OK ] Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] Starting RPC idmapd: [ OK ] Starting NFS statd: [ OK ] Starting ntpd: [ OK ] ip_forward is already on. The display manager in this DRBL server is "gdm" The GDM remote access in the DRBL server is already off! Disable the thin client mode for DRBL clients ... Set sysconfig DRBL_THIN_CLIENT=off for client 192.168.163.1 Set sysconfig DRBL_THIN_CLIENT=off for client 192.168.163.2 Set sysconfig DRBL_THIN_CLIENT=off for client 192.168.206.1 done ! Clean all the previous saved config file if they exist...done! Turn on the boot prompt for PXE client...done! Turn off the thin client option in PXE boot menu...done! ****************************************************** Enjoy DRBL!!! NCHC Free Software Labs, Taiwan http://opensource.nchc.org.tw http://drbl.nchc.org.tw; http://drbl.sf.net ****************************************************** Now syncing - flush filesystem buffers... ****************************************************** If you like, you can reboot the DRBL server now to make sure everything is ready...(This is not necessary, just an option.). ****************************************************** DRBL server is ready! Now set the client machines to boot from PXE or Etherboot, then turn on them (Refer to http://drbl.sourceforge.net/redhat/ for more details). Note! If you use Etherboot in your client machine, version 5.4.0 or newer is required!!!.