Installing GEXEC on planetlab nodes:
To give out command line arguments on planet lab nodes from the orbit-lab consoles following steps need to be taken:
- Put in the required binaries in the planet lab nodes: /usr/local/sbin/gexecd /usr/local/sbin/authd /usr/local/bin/gexecd
- Set the environment variable LD_ASSUME_KERNEL to value "2.4.2".
- Run the authd and gexecd files from /usr/local/sbin.
After performing these steps gexecd is running on the planetlab nodes and ready to accept command from any other server running gexec.
On the grid console gexec is unable to access the planet lab nodes as it is firewalled. But the planet lab nodes can be accessed by the internal4. To check the access gexec has been installed on internal4. To give out command to planet lab nodes from internal4 the GEXEC_SVRS environment variable needs to be set to the specific planet lab node.
eg to give out command to say planetlab-1.cs.princeton.edu
export GEXEC_SVRS="planetlab-1.cs.princeton.edu" gexec -n 0 hostname
Result: 0 planetlab-1.cs.princeton.edu