Configuring the shared memory and semaphores


On each managed system, shared memory and semaphores are required for data collection. The Agent requires one semaphore and one shared memory segment for each metric group per instance (instance refers to a system or an application collector). The default values of shared memory and semaphores are usually sufficient. 

If you are notified about inadequate shared memory and semaphore resources during Agent installation, configure the following settings:

To configure UNIX and Solaris systems

  1. Log in as a root user to the computer where the Continuous Optimization Agent is installed.
  2. Open the /etc/system file and update values as described in the following table:

    The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

    Warning

    Ensure that the variable entries in the /etc/system file does not exceed 80 characters because the kernel might get disabled.

  3. Restart the computer for these updates to take effect.

To configure Linux systems

  1. Log in as a root user to the Linux system where the Continuous Optimization Agent is installed.
  2. Access the following path that contains the kernel settings files: /proc/sys/kernel
  3. Update values in the following files as required: sem, shmall, shmmax, shmmni

    Note

    These updates affect the Linux kernel settings. Therefore, read the Linux documentation carefully before updating these files.

  4. Run the following command to check the shared memory settings:
    ipcs -l
  5. Restart the computer.

To configure HP systems

  1. Log in to the HP-UX computer where the Agent is installed.
  2. At the UNIX prompt, enter the following command to open System Management Homepage (SMH).
    #smh
  3. Select k -Kernel Configuration.
  4. Select t - Tunables to view a list of configurable parameters.
  5. Select the parameter that you want to update.
  6. Press m and specify the updated values for the required parameters.
    A confirmation message about these modifications is displayed.
  7. Restart the computer.

For more information, see Kernel Parameters Configuration.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*