Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

System Setting Required to Run Oracle Software

Oracle Database Tips by Donald Burleson

Located in the Code Depot for this book (see Appendix B) is a script called os_prep.sh.  This script should be run as the root user on each node. It will automatically write each of the settings described in the following section to the necessary system configuration files.

 

SYSTEM SETTING

DESCRIPTION

kernel.shmni (leave at default)

The maximum number of system-wide shared memory segments.

kernel.shmmax =2147483648

The maximum size of each shared memory segment. It should be set to a minimum of half the real memory. Setting it at 2 gigabytes will not cause trouble even if there is minimal RAM installed. It is saved in file /etc/sysctl.conf.

kernel.shmall (leave at default)

Defines the maximum amount of shared memory that may be in use at any time on the system.

kernel.shmseg (leave at default)

Defines the maximum number of shared memory segments to which a single process can attach.

Semmsl

Maximum number of semaphores per set.

Semmns

Total number of semaphores in the system.

Semopm

Maximum number of operations per semop call.

Semmni

Maximum number of semaphore sets.

The previous four semaphore parameters are saved in /etc/sysctl.conf  using the following syntax, delimited by white space:

### kernel.sem=semmsl semmns semopm semmni

kernel.sem=250 32000 100 128

fs.file-max = 65536

Determines the maximum number of files that any single process can open. It is saved in file /etc/sysctl.conf.

net.core.rmem_default=262144

 

Each network socket is allocated a send buffer for outbound packets and a receive socket for inbound packets. To support high data rates required for Oracle's cache fusion, these four parameters are increased. It is saved in file /etc/sysctl.conf.

net.core.wmem_default=262144

net.core.rmem_max=262144

net.core.wmem_max=262144

ulimit ?u 16384

Sets the maximum number of processes that a user can start. The Oracle user starts the database, which requires a high limit. It is saved in file /etc/rc.local.

Table 4.2: System settings and descriptions

A few system settings are specific to a RAC on a Firewire configuration. The following table lists those settings. These settings are also included in the os_prep.sh script.

System Setting

Description

options sbp2 sbp2_exclusive_login=0

post-install sbp2 insmod sd_mod

post-remove sbp2 rmmod sd_mod

Settings specific to the kernel modified for dual logging on the firewire drive. It is saved in the file  /etc/modules.conf.

Table 4.3: RAC specific settings on Firewire confiruration

Running the os_prep.sh Script

Run the os_prep.shscript as shown in Figure 4.5. When the script has finished, use the init 6 command to reboot the node. Afterward, proceed to the next node and follow the same steps to install the modified kernel.  Run the os_prep.sh script and reboot.

Verifying the External Drive

With the modified kernel installed, the os_prep.shrun, and each node rebooted, the external drive should now be available to each node. The commands shown in Figure 4.6 are used to verify that a given node has detected the external drive. If the external drive has been partitioned, the fdisk ?l | grep sd command will return one line for the disk and one line for each partition. If the external drive is not detected, which is common for a first boot to the new kernel, another reboot of the node in question will usually fix the problem.


Learn More about PC RAC:
 

If you want to learn RAC at home, get the bestselling book "Personal Oracle Real Application Clusters" by Edward Stoever.

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.