Using the cache from different computers and users
The cache can be shared by many computers. The advantage is,
that if a certain time consuming computation such as Blast or
3D-alignment has already been performed on somewhere, the result
would show up immediately. However, this is more complicated to set up.
First, a new postgres user needs to
be created. Get into the psql shell
psql strap_cache
Then type
CREATE USER strap WITH PASSWORD 'anyPassword';
GRANT ALL PRIVILEGES ON DATABASE strap_cache to strap;
GRANT ALL PRIVILEGES ON table cache to strap;
In the configuration of postgres, the other computer need permission to acces postgres.
Strap needs to be started with the additional program parameters
-cacheUser=strap -cachePassword=anyPassword
-cacheUrl=jdbc:postgresql://10.39.28.149/strap_cache where
10.39.28.149 should be replaced by the IP number of the computer
running postmaster.