For such a platform, an LA configuration file could be:
| # file LA_example.cfg, configuration file for an LA | |||
| agentType | = | DIET_LOCAL_AGENT | |
| name | = | LA_example | |
| parentName | = | MA_example | |
| #traceLevel | = | 1 | # default |
| #dietPort | = | <port> | # not needed |
| #dietHostname | = | <hostname|IP> | # not needed |
| fastUse | = | 1 | |
| #ldapUse | = | 0 | # default |
| nwsUse | = | 1 | |
| nwsNameserver | = | nwshost:9001 | |
| #useLogService | = | 0 | # default |
| #lsOutbuffersize | = | 0 | # default |
| #lsFlushinterval | = | 10000 | # default |
This configuration file is the only argument to the executable dietAgent, which is installed in install_dir/bin. This LA will register as a child of MA_example. Run
~ > dietAgent LA_example.cfg Local Agent LA_example started.