Follow on post: To setup a failover DHCPD + LTSP servers plan that Server1 should have IP of 192.168.0.254 and Server2 192.168.0.253. Setup both servers for LTSP as usual using these IP's. Now copy the files given below for Master and Slave servers in place of /etc/dhcpd.conf on both servers respectively and restart service DHCPD.
Since both servers are connected to same subnet they will answer dhcp lease requests when any thin client boots up. Whichever server responds first assigns the lease and the load of client is moved to that server. Over the period you will find automatic load balancing works and at the same time automatic fail over will happen when any of the server goes down. Both servers run on different ports (519 & 520) May be Jim can put this in Wiki. I hope there are no typos but watch out all the same. -- Regards, Sudev Barar Server1 dhcpd.conf file: ########################################### ###DHCP failover and load balancing stuff Master### ########################################### failover peer "ltsp" { primary; address 192.168.0.254; port 519; peer address 192.168.0.253; peer port 520; mclt 3600; max-response-delay 30; max-unacked-updates 10; load balance max seconds 3; ###Next two lines are important and should be there in master### hba ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; } ddns-update-style none; authoritative; default-lease-time 21600; max-lease-time 21600; option time-offset 19800; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.254; option domain-name-servers 192.168.0.254; option domain-name "ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 code 128 = string; option option-129 code 129 = text; shared-network WORKSTATIONS { subnet 192.168.0.0 netmask 255.255.255.0 { use-host-decl-names on; option log-servers 192.168.0.254; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.4.26-ltsp-3/pxelinux.0"; } else { filename "/lts/vmlinuz-2.4.26-ltsp-3"; } pool { failover peer "ltsp"; default-lease-time 21600; max-lease-time 21600; deny dynamic bootp clients; range 192.168.0.10 192.168.0.99; } } } Server2 dhcpd.conf file: ########################################### ###DHCP failover and load balancing stuff Slave### ########################################### failover peer "ltsp" { secondary; address 192.168.0.253; port 520; peer address 192.168.0.254; peer port 519; max-response-delay 30; max-unacked-updates 10; load balance max seconds 3; } ddns-update-style none; authoritative; default-lease-time 21600; max-lease-time 21600; option time-offset 19200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.253; option domain-name-servers 192.168.0.253; option domain-name "ltsp"; option root-path "192.168.0.253:/opt/ltsp/i386"; option option-128 code 128 = string; option option-129 code 129 = text; shared-network WORKSTATIONS { subnet 192.168.0.0 netmask 255.255.255.0 { use-host-decl-names on; option log-servers 192.168.0.253; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.4.26-ltsp-3/pxelinux.0"; } else { filename "/lts/vmlinuz-2.4.26-ltsp-3"; } pool { failover peer "ltsp"; default-lease-time 21600; max-lease-time 21600; deny dynamic bootp clients; range 192.168.0.10 192.168.0.99; } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net