2 Installing Eloquence on the HP-UX platform
Eloquence resource requirements depend on configuration and usage:
Citing the SAM online documentation on kernel parameters:
Certain kernel operating parameters can be configured to fit specific system needs, resulting in better performance or more effective allocation of resources. The ideal value for each parameter is often determined by the system's particular hardware configuration, the specific mix of applications the system runs, and the trustworthiness of system users; factors that vary widely from system to system.
HP attempts to provide reasonable default parameter settings, but you may find it necessary or beneficial to modify these settings to better suit the needs of your particular system's users. Use the list below to obtain detailed information about each configurable kernel parameter.
WARNING: Changing kernel parameters to improper or inappropriate values or combinations of values can cause data loss, system panics, or other operating anomalies, depending on which parameters are set to what values. Before altering the value of any configurable kernel parameter, be sure you know the implications of making the change. Never set any system parameter to a value outside the allowable range for that parameter (SAM refuses to store values outside of the allowable range). Many parameters interact, and their values must be selected in a balanced way.
Note that individual parameters usually pertain to a specific subsystem; some are independent, but others are interrelated or interact with each other. The following subsections are grouped according to subsystem.
At the system console:
proc: table is fullAlso, if a user tries to start a new process from a shell, the following message prints on their terminal:
no more processes
If a user attempts to start a new process that would cause the total number of processes for that user to exceed maxuprc, the system issues an error message to the user:
no more processesThe maxuprc should be much smaller than the nproc parameter, otherwise a single user could use up all system resources (for example due to a program failure).
After rasing this value you also need to create the new pty slave and master side device files in the /dev/pty and /dev/ptym directories. This can be done with insf(1m). Please note, that for npty values above 60 you have to specify the -n argument to insf.
HP-UX 9.x
cd /dev /etc/insf -n 60 -d pty0 /etc/insf -n 60 -d pty1HP-UX 10.x
/sbin/insf -n 60 -d pty
The ninode parameter specifies the maximum number of open inodes that can be in memory. Each unique open file has an open inode associated with it. Therefore, the larger the number of unique open files, the larger ninode should be.
Each DATA file opened within eloqcore needs a lock for each process. So this value should be adapted to the anticipated usage. Each eloqcore process can currently open up to 20 DATA files concurrently.
Setting shmmni to an arbitrarily large number wastes memory and can degrade system performance. Setting the value too high on systems with small memory configuration may consume enough memory space that the system cannot boot. Select a value that is close to actual system requirements for optimum memory usage. A value not exceeding 1024 is recommended unless system requirements dictate otherwise.
The shmseg parameter specifies maximum number of shared memory segments that can be simultaneously attached to a single process. The HP-UX 10.x default is 12.
If using IPC transport for the eloqdb5 and eloqdb6 servers, this value should be adapted to the max. number of concurrent local processes accessing a single server.
If using IPC transport for the eloqdb5 and eloqdb6 servers, it may be necessry to adapt this value according to the anticipated max. number of concurrent local eloqcore processes which access the eloqdb5 or eloqdb6 server.
The semmap parameter specifies the size of the free-space resource map used for allocating new System V IPC semaphores. The HP-UX 10.x default is semmni+2.
If semaphore usage is heavy and a request for a semaphore set cannot be accommodated, the following message appears:
danger: mfree map overflowYou should then configure a new kernel with a larger value for semmap.
The semmns parameter specifies the system-wide maximum number of individual semaphores that can be allocated. The HP-UX 10.x default is 128 which should usually be sufficient.
The semmnu parameter defines the maximum number of processes that can have undo operations pending on semaphores. The HP-UX 10.x default is 30.
If using IPC transport for the eloqdb5 and eloqdb6 servers, it may be necessary to adapt this value according to the anticipated max. number of concurrent local eloqcore processes which access the eloqdb5 or eloqdb6 server. A semaphore undo entry is required for each process accessing the eloqdb5 or eloqdb6 servers with using the IPC transport.
The semume parameter defines the maximum number of semaphores that a given process can have undo operations pending on. The HP-UX 10.x default is 10.
An undo is a special, optional, flag in a semaphore operation which causes that operation to be undone if the process which invoked it terminates. semume specifies the maximum number of semaphores that any given process can have undos pending on.
If using IPC transport for the eloqdb5 and eloqdb6 servers, it may be necessary to adapt this value according to the anticipated max. number of concurrent local eloqcore processes which access the eloqdb5 or eloqdb6 server. A semaphore undo entry is required for each process accessing the eloqdb5 or eloqdb6 servers with using the IPC transport.
Please add lines like below to your /etc/services file:
eloqsd 8100/tcp # Eloquence A.06.00 eloqsd server eloqdb 8102/tcp # Eloquence A.06.00 eloqdb6 server eloqdb5 8104/tcp # Eloquence A.06.00 eloqdb5 server runsrv 8010/tcp # Eloquence RunSRV (Windows)where the first column specifies the service name (eg. eloqsd) and the second column the associated port number and protocol (eg. 8100/tcp). The selected port numbers may not already be in use by another programs.
# Start Eloquence eloqsd server
/opt/eloquence6/bin/eloqsd
# Start Eloquence eloqdb6 server
/opt/eloquence6/bin/eloqdb6
# In case you want to start Eloquence eloqdb5 server
# uncomment the line below
#/opt/eloquence6/bin/eloqdb5
START_ELOQDB6=1
To start Eloquence servers manually enter the following command:
/sbin/init.d/eloq start
To stop Eloquence servers manually enter the following command:
/sbin/init.d/eloq stop