From: Erik A. H. <er...@he...> - 2002-07-16 14:30:01
|
On Tue, Jul 16, 2002 at 01:04:16AM -0600, Wilton Wong wrote: > > With Mac address, how do I set a single machine as both amster and > > slave ( for testing purposes)? > > I don't belive that this is possible. It is possible for a machine to be a master and slave for itself at the same time. It's a pretty confusing arrangement though since processes will show up several times in the process tree. You can't use the beoboot stuff (MAC addresses and so on) to do this though. You will have to run the slave daemon (bpslave) directly. I usually set this up on the loop-back interface. Tell the front end it is 127.0.0.1. Then give the slave nodes IPs in the range 127.0.0.2+ Then you can start like this "bpslave -s 127.0.0.2 127.0.0.1 2223". NOTE: Before doing this, you will want to comment out everything in the node setup script (/etc/beowulf/node_up) to avoid having the master try to set itself up. - Erik |