Guideline
For additional
security, you can limit the maximum number of permitted connections to the
external database. Use the guideline we provide here to calculate the number of
database connections that are appropriate for your deployment.
This section is optional configuration.
The guideline infers that:
-
You are running the managed file transfer, message archiver (compliance), and persistent group chat features on
the IM and Presence Service.
-
You configure
the default number of connections to the database for the persistent group chat
feature on the
Cisco Unified CM IM and Presence Administration
interface.
PostgreSQL — max_connections =
(N ×15) + Additional Connections
Oracle — QUEUESIZE =
(N ×15) + Additional Connections
Microsoft SQL Server — the maximum number of concurrent connections = (N x15) + Additional Connections
-
N is the number
of nodes in your
IM and Presence Service cluster.
-
15 is the
default number of connections to the database on the
IM and Presence Service, that is, five
connections each for the managed file transfer, message archiver, and persistent group chat features.
-
Additional
Connections represents any independent administration or database administrator
(DBA) connections to the database server.
To limit the number
of PostgreSQL database connections, configure the max_connections
value in the
postgresql.conf file located in the install_dir/data
directory. We
recommend that you set the value of the max_connections
parameter equal to, or slightly larger than, the above
guideline.
For example, if
you have an
IM and Presence Service cluster containing
six nodes, and you require an additional three DBA connections, using the
guideline above, you set the max_connections value to 93.
To limit the number
of Oracle database connections, configure the QUEUESIZE parameter in the
listener.ora file located in the install_dir/data
directory. We
recommend that you set the value of the QUEUESIZE parameter equal to the above
guideline.
For example,
if you have an
IM and Presence Service
cluster containing 4 nodes, and you require one additional DBA
connection, using the guideline above, you set the QUEUESIZE value to
61.
Microsoft SQL Server
To limit the number
of MS SQL Server database simultaneous connections carry out the steps below. We recommend that you set the size of the
queue equal to the above guideline.
-
From the SQL Server Configuration Manager, right-click the node you want to configure and click Properties.
-
Click Connections.
-
In the Connections pane, enter a value from 0 to 32767 in the Max number of concurrent connections dialog box.
-
Restart the Microsoft SQL Server.