Battlemesh logo
  • Comments
  • Edit
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
    • Edit SideBar
  • Login

Navigation

  • RecentChanges
  • FindPage
  • PastEvents
  • ContactUs
  • HelpContents
Revision 10 as of 2010-02-26 19:42:44
  • BattleMeshV3
  • NodeConfigScript

What is the NodeConfig script?

NodeConfig script we can use to change configuration of any number of nodes.

usage of the attached scripts:

  • ./telnet-loop.sh nodetable.csv nodeconfigscript

will connect to all nodes (one-by-one), listed in the nodetable.csv (mac-addresses, etc.) execute the nodeconfigscript _on the node. It is using the telnet daemon running on the nodes to connect.

the variant ssh-loop.sh uses ssh to connect to the nodes -- use ssh keys to connect without having to enter passwords...

use copy-loop.sh to copy files over to all of the nodes listed in your table.

Files

  • [get | view] (2016-12-28 10:25:07, 1.2 KB) [[attachment:copy-loop.sh]]
  • [get | view] (2016-12-28 10:25:07, 1.3 KB) [[attachment:nodeconfigscript]]
  • [get | view] (2016-12-28 10:25:07, 0.8 KB) [[attachment:nodetable.csv]]
  • [get | view] (2016-12-28 10:25:07, 1.6 KB) [[attachment:ssh-loop.sh]]
  • [get | view] (2016-12-28 10:25:07, 1.5 KB) [[attachment:telnet-loop.sh]]
 All files | Selected Files: delete move to page copy to page
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01