今天又重新run了一次,把訊息節錄下來.似乎看不到甚麼錯誤的資訊...
萬分感謝.
******************************************************
OK! Let's do it!
------------------------------------------------------
Checking the necessary disk space... done!
Copying the config file to /etc/drbl... done!
Backup the original /etc/hosts as /etc/hosts.drblsave... done!
Generate the /etc/hosts for clients connected to eth1... done!
Cleaning the stale files of the diskless nodes if they exist... done!
*****************************************************.
*****************************************************.
The version number for your GNU/Linux: CO5.6
Completely cleaning old common root files if they exist... done !
Completely cleaning old nodes if they exist... done !
Creating common root files... This might take several minutes...........Copying normal dir /lib64 to /tftpboot/node_root/... done!
Update the kernel for client if necessary...
The DRBL client uses x86_64 kernel with version 2.6.18-238.el5...
Trying to update the /tftpboot/node_root/lib/modules/2.6.18-238.el5 from server's /lib/modules/... This might take several minutes...
Found kernel modules in /lib/modules/2.6.18-238.el5 and its arch "x86_64" matches client's "x86_64"...
Syncing /lib/modules/2.6.18-238.el5 to client's common root...
Syncing /boot/*-2.6.18-238.el5* to client's common root...
Generating the /tftpboot/node_root/lib/modules/2.6.18-238.el5/modules.dep
Syncing /lib/firmware/ to client's common root...
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!
Commenting the TCPwrapper related file /tftpboot/node_root/etc/hosts.deny copied from server... done!
Commenting the TCPwrapper related file /tftpboot/node_root/etc/hosts.allow copied from server... done!
The startup services for DRBL client are:
firstboot netfs portmap crond nfslock sshd crond xfs ypbind kudzu haldaemon messagebus acpid gpm pcscd cpuspeed drblthincli mkswapfile arm-wol
Using udev for clients... Deleting the accounts (except root) in the clients common root template... done!
Enabling the NIS client in the common root template... done!
Creating some necessary files in the clients common root template...... done!
Creating DRBL client: ggg1120 192.168.105.20... Change the root's password for DRBL client 192.168.105.20...done!
Creating DRBL client: ggg1121 192.168.105.21... Change the root's password for DRBL client 192.168.105.21...done!
Modifying option diskless_client_os in drbl-ocs.conf...
Disable the password in pxelinux simple menu for all clients...
Disabling PXE password in config file /tftpboot/nbi_img/pxelinux.cfg/default...
done!
Now add necessary services to this DRBL server: DHCP, TFTP, NFS, NIS...
Generating the NFS exports for DRBL clients...
Backup the original /etc/exports as /etc/exports.drblsave
Exporting to clients by IP address line-by-line...
Full DRBL or Full Clonezilla mode, exporting client's directories etc, var, root...
The /etc/exports setting is ok now!
Now generate the firewall rules for NAT service...
Warning! /etc/sysconfig//iptables is renamed as iptables.drblsave!
Your firewall rules is overwritten!!! We set the NAT for clients to access this DRBL server!
Stop the NAT service first...
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...
Backup the original /var/yp/securenets as /var/yp/securenets.drblsave
The /var/yp/securenets setting is done!
Update YP...
Now add the service: dhcpd xinetd portmap iptables ypserv ypbind yppasswdd ypxfrd nfs nfslock
Force to add dhcpd service in this RH-like DRBL server...
Force to add xinetd service in this RH-like DRBL server...
Force to add portmap service in this RH-like DRBL server...
Force to add iptables service in this RH-like DRBL server...
Force to add ypserv service in this RH-like DRBL server...
Force to add ypbind service in this RH-like DRBL server...
Force to add yppasswdd service in this RH-like DRBL server...
Force to add ypxfrd service in this RH-like DRBL server...
Force to add nfs service in this RH-like DRBL server...
Force to add nfslock service in this RH-like DRBL server...
Now start the service: dhcpd xinetd portmap iptables ypserv ypbind yppasswdd ypxfrd nfs nfslock
Starting dhcpd: [ 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 ]
Loading additional iptables modules: ip_conntrack_netbios_n[ OK ]
Stopping YP server services: [ OK ]
Starting YP server services: [ OK ]
Shutting down NIS services: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.
Stopping YP passwd service: [ OK ]
Starting YP passwd service: [ OK ]
Stopping YP map server: [ OK ]
Starting YP map server: [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Stopping NFS locking: [ OK ]
Stopping NFS statd: [ OK ]
Starting NFS statd: [ OK ]
ip_forward is already on.
The GDM or KDM config file is NOT found! Skip setting the DM! Maybe you will not be able to make this DRBL server as thin client server!
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!
Modifying /tftpboot/nbi_img/pxelinux.cfg/default to let DRBL client use text PXE boot menu... done!
DRBL SSI mode. Set clientdir opt for label drbl in pxelinux config...
Setting drbl_mode="drbl_ssi_mode" in /etc/drbl/drbl_deploy.conf and /etc/drbl/drblpush.conf... done!
Full clonezilla mode. Remove clientdir opt for label clonezilla in pxelinux config...
Setting clonezilla_mode="full_clonezilla_mode" in /etc/drbl/drbl_deploy.conf and /etc/drbl/drblpush.conf... done!
You have to use "/opt/drbl/sbin/dcs" -> clonezilla-start to start Clonezilla service, so that there will be a Clonezilla menu when client boots
*****************************************************.
Enjoy DRBL!!!
http://drbl.nchc.org.tw;
http://drbl.nameNCHC Free Software Labs, Taiwan.
http://free.nchc.org.tw*****************************************************.
If you like, you can reboot the DRBL server now to make sure everything is ready...(This is not necessary, just an option)
*****************************************************.
The DRBL server is ready! Now set the client machines to boot from PXE or Etherboot. (refer to
http://drbl.sourceforge.net for more details)
NOTE! If Etherboot is used on client computers, version 5.4.0 or newer is required!
P.S. The config file is saved as /etc/drbl/drblpush.conf. Therefore if you want to run drblpush with the same config again, you may run it as: /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf