… | |
… | |
267 | That means that the values specified in the profile have highest priority |
267 | That means that the values specified in the profile have highest priority |
268 | and the values specified directly via C<configure> have lowest priority, |
268 | and the values specified directly via C<configure> have lowest priority, |
269 | and can only be used to specify defaults. |
269 | and can only be used to specify defaults. |
270 | |
270 | |
271 | If the profile specifies a node ID, then this will become the node ID of |
271 | If the profile specifies a node ID, then this will become the node ID of |
272 | this process. If not, then the profile name will be used as node ID. The |
272 | this process. If not, then the profile name will be used as node ID, with |
273 | special node ID of C<anon/> will be replaced by a random node ID. |
273 | a slash (C</>) attached. |
|
|
274 | |
|
|
275 | If the node ID (or profile name) ends with a slash (C</>), then a random |
|
|
276 | string is appended to make it unique. |
274 | |
277 | |
275 | =item step 2, bind listener sockets |
278 | =item step 2, bind listener sockets |
276 | |
279 | |
277 | The next step is to look up the binds in the profile, followed by binding |
280 | The next step is to look up the binds in the profile, followed by binding |
278 | aemp protocol listeners on all binds specified (it is possible and valid |
281 | aemp protocol listeners on all binds specified (it is possible and valid |
… | |
… | |
305 | Example: configure a node using a profile called seed, which is suitable |
308 | Example: configure a node using a profile called seed, which is suitable |
306 | for a seed node as it binds on all local addresses on a fixed port (4040, |
309 | for a seed node as it binds on all local addresses on a fixed port (4040, |
307 | customary for aemp). |
310 | customary for aemp). |
308 | |
311 | |
309 | # use the aemp commandline utility |
312 | # use the aemp commandline utility |
310 | # aemp profile seed nodeid anon/ binds '*:4040' |
313 | # aemp profile seed binds '*:4040' |
311 | |
314 | |
312 | # then use it |
315 | # then use it |
313 | configure profile => "seed"; |
316 | configure profile => "seed"; |
314 | |
317 | |
315 | # or simply use aemp from the shell again: |
318 | # or simply use aemp from the shell again: |