- Two of more server instances of Rexuiz.
For example you have 3 servers:
Server1 1.2.3.1:26051
Server2 1.2.3.2:26052
Hacks to split stdout to log files.
With tee:
| LOGPREFIX="/path/to/log/locations/log-" LOGSUFFIX=".log" split -l 10000 --filter 'rm -f `ls -t "$LOGPREFIX"*"$LOGSUFFIX"|tail -n +3`; exec tee -a "$LOGPREFIX`date +%Y%m%d%H`$LOGSUFFIX"' - none
Without tee:
| LOGPREFIX="/path/to/log/locations/log-" LOGSUFFIX=".log" split -l 10000 --filter 'rm -f `ls -t "$LOGPREFIX"*"$LOGSUFFIX"|tail -n +3`; exec cat >> "$LOGPREFIX`date +%Y%m%d%H`$LOGSUFFIX"' - none
DROP SCHEMA public CASCADE; | |
CREATE SCHEMA public; | |
GRANT ALL ON SCHEMA public TO postgres; | |
GRANT ALL ON SCHEMA public TO public; | |
COMMENT ON SCHEMA public IS 'standard public schema'; |