Enable Database Connection Pooling On Linux; Set Up A Connection Between The Server Appliance And An External Database - VMware ACE Management Server Administrator's Manual

Vmware ace 2.6
Hide thumbs Also See for ACE Management Server:
Table of Contents

Advertisement

To increase the number of database connections allowed
1
Inspect the Apache configuration file on the ACE Management Server host to determine the number of 
parallel threads or processes that might start at the same time.
2
Configure the database to allow as many connections as the Apache server.
See your database documentation. 

Enable Database Connection Pooling on Linux

Enabling database connection pooling for databases on Linux hosts can give a substantial performance gain 
under high loads. ACE Management Server can reuse database connections rather than opening new 
connections for every request. 
Enable database connection pooling in the ODBC Driver Manager (it is disabled by default) to optimize 
performance for servers on Linux platforms. 
On Windows platforms, ODBC connection pooling is enabled by default.
To enable database connection pooling on Linux
1
Start the ODBCConfig utility as a root user.
2
Click the Advanced tab.
3
Select the Connection Pooling check box. 

Set Up a Connection Between the Server Appliance and an External Database

The ACE Management Server appliance does not contain a PostgreSQL database server. You can, however, use 
an external database server with the appliance.
To set up a connection between the server appliance and an external database
1
Log in to the server appliance console as root, using the password you created during your first run of 
the server appliance.
2
Open the /etc/odbc.ini file in a text editor.
For example:
vaos# vi /etc/odbc.ini
This file contains the postgres_dsn setting for the OBSC DSN.
3
Uncomment all lines in the postgres_dsn file except the first two.
To uncomment lines, delete the pound sign (#) at the beginning of each line.
4
Replace placeholders <...> with the PostgreSQL database server DNS name or IP address and the database 
name of this server.
5
Use the default port number or set a different port number.
6
Save the file. 
After you complete this task, postgres_dsn appears in the drop‐down menu on the Database tab in the ACE 
Management Server Setup application.
VMware, Inc.
Chapter 4 Configuration Options for ACE Management Server
33

Advertisement

Table of Contents
loading

Table of Contents