Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/a/ac217167852c812a2b5ed7d0609322cc.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/a/ac217167852c812a2b5ed7d0609322cc.metadata failed
Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/a/ac217167852c812a2b5ed7d0609322cc.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/webuser/www.agentscape.org/agentscape-wiki/data/cache/a/ac217167852c812a2b5ed7d0609322cc.xhtml failed

Networking

AgentScape attempts to configure as much of the networking automatically if possible. However, this may not always be adequate for your specific needs.

* IP address: The IP address that is reported to other machines is automatically determined from all the available network interfaces on your machine. However, this may not be the address you want to report to other users (if you are behind a NAT or if your machine has multiple IP addresses, etc). You can manually override the address that is being reported by the host using the ipAddress parameter.

* TCP ports: The AgentScape kernel uses 2 TCP ports to communicate with different machines in the network (one for communication, another for agent transfer). By default, these are automatically assigned. If you are behind a firewall, you can specify the ports to be used for these using the muxPort and acPort arguments.

The aforementioned arguments should be part of the host section of the configuration file. At the moment, these parameters cannot be set via the configuration editor, so they have to be manually added to the XML file in the host config section.

<agentscape xmlns="http://www.agentscape.org/config">
  <location name="Location_1">
    <host name="Host_1" lookupserver="false" locationmanager="true">
      <config>
        <arguments>
          <argument name="ipAddress" value="10.0.0.45"/>
          <argument name="muxPort" value="8001"/>
          <argument name="acPort" value="8001"/>
        </arguments>
      </config>
    </host>
  </location>
</agentscape>

To verify that the settings are correct, you can inspect the console output when the host is starting up:

Starting Host_1@Location_1

Setting IPAddress to : 130.161.177.134

» Starting Kernel

AOS MUX port 8001

AOS ACTP port 8002

creating state dir

configuring IP

initializing keystore 310 ms

usage/networking.txt · Last modified: 2013/03/15 12:29 by reinier