Note: This information refers to current CVS of Adun
The new ‘Database’ menu allows you to share a database in two ways – P2P Sharing and Publishing. You can access all data on a shared database as if it was local. Plus if you derive new data from e.g. a simulation, the relationships between the original and derived data are automatically updated across the network.
P2P is for sharing with a particular person or people – to share a database in this way you
- Select the Database entry in the Browser
- Click Database->Add To P2P Shares
- This makes the database accessible to someone with the correct URL
- Click Database->Get/Mail Sharing URL
- This gets the sharing URL which you can send on to the person you want to share the DB with
To connect to a P2P shared database:
- Get the URL of database from the database owner (see step 3 above) or simply use the following test URL that contains the quickstart files: http://download.gna.org/adun/QuickstartDB
- Click Database->Add Shared
- Paste the URL into the URL field and click Add.
A published database is visible to everyone on the LAN and will appear in their browsers when they start Adun.
To publish a database:
- Select the Database in the browser
- Click Database->Publish Locally
Adun searches periodically for newly published databases, so once one is published it will appear in max 5 mins.
Checking Which Databases Are Shared
Clicking ‘Database->Show Sharing Status’ brings up a table showing which databases have been shared via P2P and which are published
Sharing on a LAN is straightforward and requires no configuration.
Sharing remotely may require the ‘sharer’ to configure their AdunServer. There are two possible configuration details
- The port the server runs on
- The address the port is bound to
The first depends on if there is a firewall etc and if there is one you might not be able to get around it.
The second is a factor if you have more than one ip address and the default address is not the one that is globally visible.
To get around this you do
AdunServer -Address [ipaddress]
where [ipaddress] is the ipaddress clients can connect to your computer on.