View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: diskless frontend
PostPosted: Mon Jun 07, 2010 10:04 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2010 9:53 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 08, 2010 10:26 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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???" :oops:

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....)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2010 2:10 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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).


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 140 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu