Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb50

Kb50

Emulab FAQ: Software Setup: Can I schedule programs to run automatically when a node boots?

Emulab FAQ: Software Setup: Can I schedule programs to run automatically when a node boots?

Yes! You can arrange to run a single program or script when your node boots. The script is run as the UID of the experiment creator, and is run after all other node configuration (including RPM installation) has completed. The exit status of the script (or program) is reported back and is made available for you to view in Experiment Information link in the menu at your left. The Emulab NS extension tb-set-node-startcmd is used in the NS file to specify the path of the script (or program) to run. You may specify a different program for each node in the experiment.

Please see the Extensions page for a summary of all Emulab NS extensions, and the Emulab Tutorial for an example.