LinHES Forums http://forums.linhes.org/ |
|
diskless frontend http://forums.linhes.org/viewtopic.php?f=21&t=21114 |
Page 1 of 1 |
Author: | Too Many Secrets [ Mon Jun 07, 2010 10:04 pm ] |
Post subject: | diskless frontend |
I'm trying to get this working and here's what I've done. Quote: Ran config_diskless_frontend.bash script from FE.
Ran above script on MBE with same name. Removed MBE /nfsroot/image and copied FE /nfsroot/image in it's place. Checked fstab to point to MBE on nfs mounts. Now I also have dhcp running on my wireless router, so I don't know if that's borking things. I also I'm not convinced that this is a hardware problem with a Pundit-S unit on the FE, though it's set for network boot. any tips or suggestions welcome. |
Author: | Greg Frost [ Tue Jun 08, 2010 9:53 pm ] |
Post subject: | |
You need to run config_diskless_frontend.bash on the MBE not the FE. You shouldnt need to do anything on the FE other than set it to boot from the network. |
Author: | Too Many Secrets [ Tue Jun 08, 2010 10:26 pm ] |
Post subject: | |
Greg Frost wrote: You need to run config_diskless_frontend.bash on the MBE not the FE. You shouldnt need to do anything on the FE other than set it to boot from the network.
"It's a what???" ![]() I read another thread (guide) and it seemed to make sense to me the way I described. So how does the script know which of my FEs I want to run diskless? I guess the name... What about my unique drivers? (ie FE uses VDPAU and MBE does not.) The router dhcp will play nice with the MBE dhcp as long as they have different ip addresses? Can I specify a static ip on the diskless FE so I can ssh in easily? (soo many questions, so little time....) |
Author: | Greg Frost [ Wed Jun 09, 2010 2:10 am ] |
Post subject: | |
You run it once, boot the frontend and then run the script again. The second time you run it it takes note of the mac address that it saw from the first boot and binds this to a fixed ip address which it will always allocate to that FE. The ip address also determines which nfsroot gets mounted. The entire root filesystem for the frontend is stored in /nfsroot/frontend_name, so it you need different drivers, you can set them up and it will only affect the frontend. The only problem can arise when you FE will not boot an image created from the BE install. In that case only do you need to do some complicated stuff to setup the image for the FE. Things like vdpau settings are mostly stored in the database (against the fe hostname). If you have trouble with your router interfering, change your router so that the FE is considered to have a "static" IP. Then the routrer wont try to DHCP it. I found that before I had done this, the boot would stall part way through, but I could get it to complete by issuing a broadcast ping (ping -b 10.0.0.255 - or theboradcast address for your home subnet). The FE will always be given the same IP if you run the script twice, so sshing should be a snap. If you run it a third time it will allow you to boot another FE (and a fourth time to fix its IP address after you boot it and the BE sees its mac address). |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |