On Thu, Jan 24, 2013 at 09:01:55PM +0100, Alexander Burger wrote:
>    ...
>       (pool "db/myApp/" *Dbs "fifo/myApp")
>    ...
>       ./pil myApp/main.l lib/app.l  -main -go -wait >>log/myApp  2>&1 &
>    ...
>       bin/ssl <remote-ip> 443 '<port>/!replica' key/myApp fifo/myApp 
> blob/myApp/ 20
>    ...
>       bin/replica <port> key/myApp "" rpl/db/myApp/ rpl/blob/myApp/ 4 1 1 1 1 
> 2 3 4 4 4 4 5 5 5 6 3 4 4 4 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 0 6 4 
> &

Sorry, I forgot two more points:

- The key files "key/myApp" must be created once, to hold a large random
  number

      $ ./pil -'prinl (in "/dev/random" (rd 20))' -bye >key/myApp
      $ chmod 600 key/myApp

   and then transferred (safely, e.g. with 'scp') to both machines.

- The above assumes that 'httpGate' is running, at least on the replication
  server. You could start it (from 'root') as

      # (cd /home/myApp; bin/httpGate 443 8080 pem/myApp)

   to handle SSL decryption.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to