Oracle Database 11.2.0.2 tcp_ and udp_ New kernel parameters for Sun Solaris 10
There are some new kernel parameters needs to be configured in order to Install new patch set for 11gR2 (11.2.0.2)
Error message while running Installer:
The following are the list of parameters:
1) tcp_smallest_anon_port
2) tcp_largest_anon_port
3) udp_smallest_anon_port
4) udp_largest_anon_port
When i was trying to Install this new patchset, the result for pre-requisite check was failed because of these newly introduces kernel parameters.
These kernel parameters was not updated in Installation and upgrade guide for solaris at the time when i was installing:
http://download.oracle.com/docs/cd/E11882_01/install.112/e17755/toc.htm#BABGADGE
Setting these kernel parameters:
1) To view the current value of these parameters, login as root user:
The kernel parameters as expected by the Installer:
kernel parameter preset val expected
tcp_smallest_anon_port -- 32768 --> 9000
tcp_largest_anon_port -- 65535 --> 65500
udp_smallest_anon_port -- 32768 --> 9000
udp_largest_anon_port -- 65535 --> 65500
update these kernel parameters using following parameters:
Then verify the settings using:
After setting these kernel parameters the pre-requisite check was successfull and Installation completed without any issue.
Happy reading.
Error message while running Installer:
PRVF-7543 : OS Kernel parameter “tcp_smallest_anon_port” does not have proper value on node “solaris1″ [Expected = "9000" ; Found = "32768"]
PRVF-7543 : OS Kernel parameter “tcp_largest_anon_port” does not have proper value on node “solaris1″ [Expected = "65500" ; Found = "65535"]
PRVF-7543 : OS Kernel parameter “udp_smallest_anon_port” does not have proper value on node “solaris1″ [Expected = "9000" ; Found = "32768"]
PRVF-7543 : OS Kernel parameter “udp_largest_anon_port” does not have proper value on node “solaris1″ [Expected = "65500" ; Found = "65535"]
The following are the list of parameters:
1) tcp_smallest_anon_port
2) tcp_largest_anon_port
3) udp_smallest_anon_port
4) udp_largest_anon_port
When i was trying to Install this new patchset, the result for pre-requisite check was failed because of these newly introduces kernel parameters.
These kernel parameters was not updated in Installation and upgrade guide for solaris at the time when i was installing:
http://download.oracle.com/docs/cd/E11882_01/install.112/e17755/toc.htm#BABGADGE
Setting these kernel parameters:
1) To view the current value of these parameters, login as root user:
bash-3.00# ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port
9000
65500
bash-3.00#
bash-3.00# ndd /dev/udp udp_smallest_anon_port udp_largest_anon_port
9000
65500
bash-3.00#
The kernel parameters as expected by the Installer:
kernel parameter preset val expected
tcp_smallest_anon_port -- 32768 --> 9000
tcp_largest_anon_port -- 65535 --> 65500
udp_smallest_anon_port -- 32768 --> 9000
udp_largest_anon_port -- 65535 --> 65500
update these kernel parameters using following parameters:
bash-3.00# ndd -set /dev/tcp tcp_largest_anon_port 65535
bash-3.00# ndd -set /dev/udp udp_smallest_anon_port 9000
bash-3.00# ndd -set /dev/udp udp_largest_anon_port 65500
bash-3.00# ndd -set /dev/tcp tcp_smallest_anon_port 9000
bash-3.00# ndd -set /dev/tcp tcp_largest_anon_port 65500
Then verify the settings using:
bash-3.00# ndd /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port
bash-3.00# ndd /dev/udp udp_smallest_anon_port udp_largest_anon_port
After setting these kernel parameters the pre-requisite check was successfull and Installation completed without any issue.
Happy reading.
Comments
tm::sysinit:/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 32776 > /dev/console
2. Save the changes and close the file.
3. Reboot the server for these settings to take effect.