I've succefully started two brokers for one database. The 4GL clients connect shared memory and one sql user connects through a firewall for which port 6010 and 6011 are opened.
Because the 4GL client connect shared memory is it necessary to start the 4GL broker with -H and -S?
Is it correct that the -B -Mn and -n only need to be set on the primary broker?
Here's my startup script:
proserve <db> -H localhost -S 6000 -ServerType 4GL -minport 6001 -maxport 6003 -Mpb 3 -Ma 3 -Mn 5 -B 70000 -n 50 proserve <db> -H localhost -S 6010 -ServerType SQL -minport 6011 -maxport 6011 -Mpb 1 -Ma 3 -m3
Richard
No.
Yes.
No.
Yes.
Hi Richard,
If you don't want to connect the database using shared memory, then you may need to change the client script and use -S 6000 to connect to your database.
--
Regards,
Kunal
and ... if all your 4gl clients are connecting via shared memory then you do not need to specify
-S 6000 -ServerType 4GL -minport 6001 -maxport 6003 -Mpb 3 -Ma 3 -Mn 5
on the first proserve command. for the sake of readableness, i would put the -m3 at the beginning o f the second proserve command, right after the database name