Profile Parameters for the Enqueue Clients
Use
If you want to use the standalone enqueue server, you have to set the following parameters in the profile files of the enqueue clients (application server instances):
enque/process_location = REMOTESA
enque/serverhost = <host name of the enqueue server>
enque/serverinst = <instance number of the enqueue server>
enque/deque_wait_answer = TRUE (note the use of upper and lower case here)
This parameter determines whether the dequeue (removal of locks) is done synchronously or asynchronously. The parameter can have the following values:
-
TRUE: Waits for response from the enqueue server (synchronous)
-
FALSE: Does not wait for response (asynchronous)
Establishing Connection to Standalone Enqueue Server
The following parameters should already have appropriate default values. If necessary though, you can change these values.
-
enque/con_timeout = 5000
The parameter specifies the maximum time (in milliseconds) the client can block for when a connection is being set up. If the connection cannot be established, the client waits for one second and then retries. Parameter enque/con_retriesdetermines how often the attempts are repeated.
-
enque/con_retries = 60
After the specified number of retries, the caller (the application) reports an error.
The entire wait time is therefore between
1s* enque/con_retries and (1s + enque/con_timeout ms) * enque/con_retries.
More Information
For further information about profile parameters refer to the sections below.
Profile Parameters for the Standalone Enqueue Server
Profile Parameters for the Enqueue Replication Server
The standard parameters used in the enqueue environment are described in the section Important Profile Parameters for the Lock Concept.