10th step - Ready to go!

The places are now properly set up and may be started. Each place is started by the start script place. It expects the file name of the config file as first parameter, followed by the fully qualified host name where the place is started on, and the parameter start.

Remember that permanent places have preset values in the places file of the PNS server that cannot be overridden. Therefore you will fail to start a place on a host different from the one mentioned in the places file. Temporary places are not tied to a special host. However, the place must be able to establish a connection to the PNS server in order to publish their execution site.

If you use the place script, do not forget to set your environment variables (AMETAS_HOME and CLASSPATH) accordingly in the current terminal (e.g. xterm under Unix or the command prompt under Windows) as shown in step 2. If you used the installation script you should use the generated script files in $AMETAS_HOME/bin for starting and stopping places. These scripts automatically set all variables.

If you feel uncomfortable writing your passphrase in plain text in the script you can replace the mantra everywhere by writing .QUERY. When the execution reaches this point you are prompted to enter your mantra. Example:
$ cd /home/user/ametas/places
$ java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace first/config &
$ java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace second/config &
$ java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace tmpplace/config &
C:\> cd ametas\places\first
C:\AMETAS\PLACES\FIRST> java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace config
C:\> cd ametas\places\second
C:\AMETAS\PLACES\SECOND> java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace config
C:\> cd ametas\places\tmpplace
C:\AMETAS\PLACES\TMPPLACE> java -DDNS_HOSTNAME=myhost.athome.de AMETAS.place.AMETASPlace config
  In Windows, you must start one command prompt for each place. Using OS/2, you can utilize the start or detach command and start the other places similar to Unix.

If you want to repeat your installation you are advised to write an installation script or use the one we provided (see the beginning).

  Most operations are only performed once. CA identites are longest-living because the validity of all other identities depend on them. Place Users are normally signed only once as well. Each user needs an identity which stays the same for all applications. You may however be forced to re-certify your identities when the validity has expired.