Subject | Re: Multiple Servers on one machine |
---|---|
Author | prairiedechien |
Post date | 2006-12-18T13:40:53Z |
Hello,
Can you confirm that it is not possible to run 2 FB servers as 2
different services?
Thanks
Christophe.
--------
There are two general ways to do it (as you didn't mention your target
OS, I'm talking about Windows):
- Run one version as a service and the other as an application
- Run both as an application.
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...>
wrote:
Can you confirm that it is not possible to run 2 FB servers as 2
different services?
Thanks
Christophe.
--------
There are two general ways to do it (as you didn't mention your target
OS, I'm talking about Windows):
- Run one version as a service and the other as an application
- Run both as an application.
--- In firebird-support@yahoogroups.com, Stefan Heymann <lists@...>
wrote:
>target
> Hi Rocky,
>
> > Has anyone here tried installing FB 1.5 and FB 2.0 on one machine?
>
> Yes, I did and it works.
>
> > Any tips on how to tame these 2 beasts and make them live
> > harmoniously in one box?
>
> There are two general ways to do it (as you didn't mention your
> OS, I'm talking about Windows):on:
>
> - Run one version as a service and the other as an application
> - Run both as an application.
>
> Running Firebird as an Application
> ----------------------------------
> You can start the SuperServer with
> fbserver.exe -a
>
> You can also provide the TCP port that this instance shall listen
> fbserver.exe -a -p 3051them
>
> (Without -p the server will listen on the port defined in
> firebird.conf, so must configure them differently).
>
> Now you can zip out both servers to different directories and run
> both, configuring them to listen on different ports.names
>
> Running Firebird as a Service
> -----------------------------
> Only one of the servers can run as a service because the service
> are the same for both versions. You can use instsvc.exe only for oneServer\Instances
> of the two and use the above fbserver -a for the other.
>
> Client Connection
> -----------------
> You must include the port number into your connection string:
> So instead of dbserver:D:\DB\MyDB.fdb
> you now use dbserver/3051:D:\DB\MyDB.fdb
>
> fbclient.dll
> ------------
> Your client will search for an fbclient.dll for connecting to the
> server.
>
> If it's a "good" client it will go to the registry and look up
> HKEY_LOCAL_MACHINE\SOFTWARE\Firebird Project\Firebird
> for the Firebird path. You can use the Firebird 2.0 client libraryfor
> both versions so you could use instreg with Firebird 2.0.have
>
> If you don't use instreg there will be no registry entry so will
> to copy the fbclient.dll to the application or Windows directory.
>
> HTH
>
>
> Best Regards
>
> Stefan
>
>
> --
> Stefan Heymann
> www.destructor.de/firebird
>