Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread EDB C/S deployment
Fri, Jan 25 2008 3:45 AMPermanent Link

"Harry de Boer"
LS

If I send the EDBserver to a customer (no config file-I figure it's self
created?) and he lets me know that the server is running on a certain
ip/port, and I know nothing about the directory structure of the machine
it's running on:

-Is it possibe to create a database with EDBmngr that connects to that
server from a script (that creates and fill some data)?
-Or do I need to know the dir structure?
-How do you deploy a C/S solution with EDB?

Regards, Harry

Fri, Jan 25 2008 1:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Harry,

<< If I send the EDBserver to a customer (no config file-I figure it's self
created?) >>

There's two things to keep in mind with configuration of the server:

1) The .INI configuration for the server
2) The configuration file itself

The .INI contains the information that the server needs in terms of where
the configuration file is, etc.:

http://www.elevatesoft.com/scripts/manual.dll?action=mantopic&id=edb1sql&category=0&topic=3

The configuration file will automatically be created, if it doesn't exist
already.

<< and he lets me know that the server is running on a certain ip/port, and
I know nothing about the directory structure of the machine it's running on:

-Is it possibe to create a database with EDBmngr that connects to that
server from a script (that creates and fill some data)? >>

Yes, but you have to specify a path in relation to the server, so it may be
more advisable to do this type of installation on the actual server machine
where you can more easily use some simple Delphi function calls to get the
proper information for the database directory structure prior to executing
the CREATE DATABASE statement(s).  Of course, you can also build this type
of installation functionality directly into the server itself (edbsrvr.dpr)
in order to allow your server to be "self-configuring" when it is first
started up.  The process to do so would be the same as with the data module
in the sample CDCollector application that comes with EDB.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Jan 26 2008 11:34 AMPermanent Link

"Harry de Boer"
Tim,

-Is there a reason why the ini file under Windows is not in the app's dir
(like Linux) ?
-I the config file is autocreated is the ini file also auto updated ?

Regards, Harry

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in bericht
news:BEED4A22-64F0-484E-914B-268FA6C3D948@news.elevatesoft.com...
> Harry,
>
> << If I send the EDBserver to a customer (no config file-I figure it's
self
> created?) >>
>
> There's two things to keep in mind with configuration of the server:
>
> 1) The .INI configuration for the server
> 2) The configuration file itself
>
> The .INI contains the information that the server needs in terms of where
> the configuration file is, etc.:
>
>
http://www.elevatesoft.com/scripts/manual.dll?action=mantopic&id=edb1sql&category=0&topic=3
>
> The configuration file will automatically be created, if it doesn't exist
> already.
>
> << and he lets me know that the server is running on a certain ip/port,
and
> I know nothing about the directory structure of the machine it's running
on:
>
>  -Is it possibe to create a database with EDBmngr that connects to that
> server from a script (that creates and fill some data)? >>
>
> Yes, but you have to specify a path in relation to the server, so it may
be
> more advisable to do this type of installation on the actual server
machine
> where you can more easily use some simple Delphi function calls to get the
> proper information for the database directory structure prior to executing
> the CREATE DATABASE statement(s).  Of course, you can also build this type
> of installation functionality directly into the server itself
(edbsrvr.dpr)
> in order to allow your server to be "self-configuring" when it is first
> started up.  The process to do so would be the same as with the data
module
> in the sample CDCollector application that comes with EDB.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Mon, Jan 28 2008 2:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Harry,

<< -Is there a reason why the ini file under Windows is not in the app's dir
(like Linux) ? >>

MS Vista, with the redirection on the Program Files folders, etc.

<< -I the config file is autocreated is the ini file also auto updated ? >>

No, they are two completely different things.  Think of the .INI file as a
persistent version of the TEDBEngine properties.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image