Appendix B4. Using the PostgreSQL DBMS |
General Description PostgreSQL is an object-relational DBMS distributed as a freeware unlike such commercial DBMS as Oracle Database, Microsoft SQL Server, etc. The PostgreSQL DBMS may be used to arrange an external DB for the Dr.Web Enterprise Server in large anti-virus networks. To do this: 1.Install the PostgreSQL server. 2.Set up the ODBC driver. 3.Set up the Dr.Web Enterprise Server to use the respective external database. You can do this in configuration file or via the Dr.Web Control Center: Configure Dr.Web Enterprise Server, Database tab. Installation and Supported Versions Please download the latest available version of this free product (the PostgreSQL server and correspondent ODBC-driver), otherwise do not use the version earlier than 8.2.
For more information about conversion to the external database see p. Changing the Type of the DBMS for Dr.Web Enterprise Security Suite. For more information about installation of Enterprise Server using external database see step 10 in p. Installing the Dr.Web Enterprise Server for Windows® OS.
Installation for 64-bit systems PsqlODBC driver for x64 systems is not supplied by an official developer. However, according to the PostgreSQL DBMS official web-site, prerelease installation packages can be installed. You can download these packages, for instance, using following links: ◆http://www.enterprisedb.com/products/pgdownload.do#windows ◆http://code.google.com/p/visionmap/wiki/psqlODBC ◆http://www.geocities.jp/inocchichichi/psqlodbc/index.html
Parameters When setting access to PostgreSQL, use the parameters described below. PostgreSQL parameters (only in the version for UNIX OS)
More information can be found at http://www.postgresql.org/docs/manuals/. Dr.Web Enterprise Server and PosrtgreSQL DB Interaction via the UDS If the Enterprise Server and the PostgreSQL DB are installed on the same computer, their interaction can be set via the UDS (UNIX domain socket). To set interaction via the UDS: 1.In the postgresql.conf PostgreSQL configuration file, specify the following directory for the UDS: unix_socket_directory = '/var/run/postgresql' 2.Restart the PostgreSQL.
|