Oracle® Calendar Administrator's Guide Release 2 (9.0.4) Part Number B10892-02 |
|
|
View PDF |
This appendix details the modifications that must be made to certain kernel parameters and operating environments in order to ensure that sufficient resources are allocated to the calendar server. It also details issues in server configuration that must be considered in order to support certain special operating environments such as Solaris clusters.
The UNIX system parameters that need adjustment are used to control resource consumption on a user-, process-, or system-wide basis. In the case of either a user or a process parameter, the new value for the parameter should be the existing value or the calendar server requirement, whichever is larger or smaller, depending on the parameter. In the case of a system-wide parameter, the server requirement must be added to the existing value to calculate a new value.
The assumptions concerning the server $ORACLE_HOME/ocal/misc/unison.ini
file parameters are:
Solaris provides tunable parameters for the kernel and kernel modules. While normally you should not need to change these parameters, there are special circumstances under which it is necessary. Under Solaris, kernel parameters are modified by directly editing the /etc/system
file with a standard text editor. All of the parameters are set using the following syntax:
set rlim_fd_cur=1024 set rlim_fd_max=4117
In addition, the message queue and semaphore parameters must include the name of the specific module to be modified. The syntax is as follows:
set msgsys:msginfo_msgmni=351 set semsys:seminfo_semmni=345
In order for the preceding changes to take effect, reboot the system.
To see the current values assigned to the kernel parameters, use the sysdef
command. For example:
% sysdef
The maximum number of open files is unlimited under Solaris, and therefore does not need to be set.
The following forceload directives must be specified in the /etc/system
kernel configuration file:
forceload: sys/semsys forceload: sys/shmsys
In the "NEW setting" column, the "max" function returns the larger of the two arguments.
The following is an actual example:
Information on modifying the kernel parameters is available in the Solaris Tunable Parameters Reference Manual by Sun Microsystems, Inc.
For more information on modifying the kernel parameters under Solaris, refer to Solaris Internals: Core Kernel Components (ISBN: 0-13-022496-0)
The following section describes the maximum kernel requirements, and as such should apply to most HP-UX installations. All parameters can be modified via SAM, a menu-based system administration manager.
The value of semmsl
is set at 500 and is not configurable on HP-UX.
In the "NEW setting" column, the "max" function returns the larger of the two arguments.
This section describes how to set the maxfiles
and/or maxfiles_lim
kernel parameters(s) to greater than 2048 when running HP-UX 11.0.
Although the /usr/conf/master.d/core-hpux
file contains the following lines:
*range maxfiles<=2048
*range maxfiles_lim<=2048
the kernel can still be compiled manually with values for maxfiles
and maxfiles_lim
larger than 2048. Note that 60000 is the upper bound for these parameters in HP-UX 10.20 and above.
When trying to set either maxfiles
or maxfiles_lim
to larger than 2048, for example 4000, in System Administration Manager (SAM) the following error occurs:
The value specified for tunable parameter "maxfiles", "4000", evaluates to "4000" which is more than the maximum allowed value of "2048". SAM did not have this problem in HP-UX 10.20.
At HP-UX 11.0 SAM relies on the /usr/conf/master.d/*
files to set the upper and lower values for kernel parameters. As already discussed the /usr/conf/master.d/core-hpux
file contains the following lines:
*range maxfiles<=2048
*range maxfiles_lim<=2048
To allow SAM to support setting either maxfiles
or maxfiles_lim
to larger than 2048, the preceding lines in the /usr/conf/master.d/core-hpux
file must be changed to:
*range maxfiles<=60000
*range maxfiles_lim<=60000
After making the change, SAM may still have stored the old values within the /var/sam/boot.config
file. The boot.config
file can be move out of the way to cause SAM to recognize the changes made to the core-hpux
file. After moving the boot.config
file, restarting SAM should cause this file to be rebuilt using the new values. /usr/sam/lbin/getkinfo -b
can also be used to recreate the boot.config
file.
Similarly, if maxfiles
or maxfiles_lim
have been set manually to values larger than 2048, the preceding steps can be used to prevent SAM from erroring on the parameter's values when entering the Configurable Parameters menu item within SAM. Without making the preceding changes, SAM will typically reset the "Pending Value" for these parameters back to 2048 anytime SAM is used.
The following is an actual example:
For more information on modifying the kernel parameters under HP-UX, refer to http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
Linux platforms require a change to the system kernel parameters in order to support the Oracle Calendar server's default configuration. Use the following table to determine the calendar server requirements for each parameter, where the value of X for each parameter is equal to its previous setting.
Note that the kernel.sem
parameter is multi-valued, accepting a value of the format: 'semmsl semmns semopm semmni'
.
To increase the file descriptor's soft and hard limits, edit /etc/security/limits.conf
and add the following lines:
*soft nofile 1024
*hard nofile 65535
Note that you may need to log out and back in again before the changes take effect.
In the "NEW setting" column, the "max" function returns the larger of the two arguments.
The following is an actual example:
AIX platforms require a change to the system kernel parameters in order to support the Oracle Calendar server's default configuration. Use the following table to determine the calendar server requirements for each parameter, where the value of X for each parameter is equal to its previous setting.
In the "NEW setting" column, the "max" function returns the larger of the two arguments.
The following is an actual example:
For more information on modifying the kernel parameters under AIX, refer to Performance Management Guide: Kernel Tunable Parameters http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixbman/prftungd/2365a82.htm#HDRI25144
The term "cluster" does not refer to the same concept as a calendar server cluster -- a calendar server cluster is a node network in which one node is designated a "master node" for the purposes of client sign-in, automated registration, etc., while an operating system cluster is considered to be a system in which two or more machines can be used to manage the same data, providing failover capabilities.
In these environments, it is important to differentiate between the physical host name, which is the actual host name of a given machine, and the cluster host name, which is the host name of the cluster containing that machine. If you intend to use your calendar server in a cluster environment, you should set all parameters in the $ORACLE_HOME/ocal/misc/unison.ini
file that require the host name of the local host to the cluster host name. In addition, you must add the [ENG]
calendarhostname
parameter to unison.ini
, and set its value to the cluster host name. Finally, if using an external LDAP directory server, you must ensure that the [YOURHOSTNAME, unidas]
section specifies the cluster host name in place of YOURHOSTNAME
.
If using a node network, ensure also that your $ORACLE_HOME/ocal/misc/nodes.ini
file uses only cluster host names instead of physical host names, and ensure that all clients are using the cluster host name to sign in to the calendar server.