Using HP-UX Commands to Configure
the Distributed Lock Manager (OPS 7.3.x) |
 |
This section describes how to set the DLM's internal lock
database parameters using HP-UX commands. DLM internal parameters
are stored in a file known as /etc/opt/dlm/dlmconfig. This file is not editable, so you must create an
ASCII file first, then convert it into binary form. First, use the
following command to generate an editable template file:
# dlmquery -v -C /etc/opt/dlm/dlm.asc |
Edit the file /etc/opt/dlm/dlm.asc to incorporate the appropriate DLM internal parameters
from the Distributed Lock Manager worksheet (defaults shown here
are appropriate for the Oracle demo database, which can be installed
at the same time you install Oracle software). The file looks like
the following:
CLUSTER_NAME cluster1
MAXPROCESSES 2400
MAXRESOURCES 6000
MAXLOCKS 12000
DEADLOCK_DETECTION_INTERVAL 300
PROCESS_MONITORING_INTERVAL 300
NODE_NAME node1
IPADDR 15.27.217.9
NODE_NAME node2
IPADDR 15.27.217.10
|
Review and complete the file, supplying appropriate values
as needed. Verify the cluster name, and ensure that the IP addresses
used for IPADDR on each node belong to the same subnet. As necessary,
you can substitute the values from your own Distributed Lock Manager worksheet
for the defaults that are shown.
Use the following command to verify the configuration you
enter into the template file:
# dlmcheckconf -v -C /etc/opt/dlm/dlm.asc |
This command checks the content of the ASCII template file
and displays messages. If there are errors, edit the file again
to correct them, then issue the dlmcheckconf command again. Use the following command to copy
the configuration to all the nodes in the cluster:
# dlmapplyconf -v -C /etc/opt/dlm/dlm.asc |