Symantec logo

Example: Configuring LMX Parameters

If you see the message "no minors available" on one node, you can edit the file /kernel/drv/lmx.conf and add a configuration parameter increasing the value for the maximum number of contexts. (While the term "minors" is reported in the error message, the term "contexts" must be used in the configuration file.) Be aware that increasing the number of contexts on a system has some impact on the resources of that system.

In the following example, configuring contexts=16384 allows a maximum of 8192 Oracle processes (8192 * 2 = 16384). Note that double-quotes are not used to specify an integer value.

#

# LMX configuration file

#

name="lmx" parent="pseudo" contexts=16384 instance=0;

For the changes to take effect, either restart the system, or reconfigure the LMX module using the following steps:

  1. Shut down all Oracle service groups on the system:

    # hagrp -offline oragrp -sys galaxy

  2. Stop all Oracle client processes on the system, such as sqlplus and svrmgrl.
  3. Unconfigure the LMX module:

    # /sbin/lmxconfig -U

  4. Determine the LMX module ID:

    # /usr/sbin/modinfo | grep -i lmx

    The module ID is the number in the first column of the output.

  5. Unload the LMX module, using the module ID you determined:

    # /usr/sbin/modunload -i module_ID

  6. Configure the LMX module:

    # /sbin/lmxconfig -c

  7. Bring the service groups back online:

    # hagrp -online oragrp -sys galaxy