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, you can configure these settings by performing the following steps:
Configuration steps for UNIX and Solaris systems
- Log in as a root user to the computer where the Capacity Agent is installed.
Open the /etc/system file and update values as described in the following table:
Settings for IPC semaphores in the /etc/system file
Ensure that the variable entries in the /etc/system file does not exceed 80 characters because the kernel might get disabled.
- Restart the computer for these updates to take effect.
Configuration steps for Linux systems
- Log in as a root user to the Linux system where the Capacity Agent is installed.
- Access the following path that contains the kernel settings files: /proc/sys/kernel
Update values in the following files as required: sem, shmall, shmmax, shmmni
These updates affect the Linux kernel settings. Therefore, read the Linux documentation carefully before updating these files.
- Run the following command to check the shared memory settings:
ipcs -l - Restart the system.
Configuration steps for HP systems
- Log in to the HP-UX system where the Agent is installed.
- At the UNIX prompt, enter the following command to open System Management Homepage (SMH).
#smh - Select k -Kernel Configuration and press Enter.
- Select t - Tunables to view a list of configurable parameters, and press Enter.
- Select the parameter that you want to update, and press Enter.
- Press m and specify the updated values for the required parameters.
A confirmation message about these modifications is displayed. - Restart the system.
For more information, see Kernel Parameters Configuration.