Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

oracle-validated

The oracle-validated RPM is designed to simply installation or Oracle libraries and modifing /etc/sysctl.conf and /etc/security/limits.conf

rpm -ql oracle-validated
/etc/rc.d/init.d/oraclevalidated
/etc/sysconfig/oracle-validated/oracle-validated-verify
/etc/sysconfig/oracle-validated/oracle-validated.params
/usr/bin/oracle-validated-verify

When you install the oracle-validated RPM using up2date and ULN, it will automatically install all packages required by the Oracle database installer.


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Jun 28, 2011] Revisiting the oracle-validated RPM (Sergio's Blog)

Aug 27, 2008
I'm still not over the fact that all my blog post from the previous incarnation of this blog are gone. It makes me upset just writing about it. Luckily, I was able to use the Wayback Machine to recover some of the content. Today I'd like to revisit an old blog post about the oracle-validated RPM.

Last week I was in Japan meeting with customers and partners when the topic of installing Oracle Database on Oracle Enterprise Linux came up. I was asked how we can make it easier to resolve the prerequisites for installing Oracle Database on Linux. This customer was not aware of the oracle-validated RPM, so I figured it's worth covering this useful tool again.

When you install the oracle-validated RPM using up2date and ULN, it will automatically install all packages required by the Oracle database installer.

[root@localhost ~]# up2date --install oracle-validated

Fetching Obsoletes list for channel: el4_i386_addons...

Fetching Obsoletes list for channel: el4_i386_oracle...

Fetching Obsoletes list for channel: el4_i386_latest...

Fetching rpm headers...

Oracle Validated Setup on OEL 5 Update 4 " Core Content Only

March 30, 2010 Jason Stortz

For those of you that have ever tried to setup an Oracle Database on Linux you know there are a variety of steps to take on your fresh box before you can actually begin the installation process. You will need to install serveral binaries and those will perhaps have several depedencies. After that you will need to create an "oracle" user. And the list goes on. If you have a support subscription with a valid Customer Support Identifeir (CSI) this whole process gets MUCH easier.

My Unbreakable Linux Network support subscription and accompanying CSI allow for the use of the "up2date" command. This will update the binary I ask for as well as deduce, install and/or update any dependencies. Technically, I can accomplish the same tasks without the subscrption. This would require that I look up (and not miss) binary depedencies while also having the time to manually hunt down, download and install the binaries by hand. Or I can just use the up2date command!

Having just installed OEL5.4 and registered the box with the Unbreakable Linux Network I can use the up2date command along with the parameter "oracle-validated". Running this command will update all the necessary binaries in prepartion for installing Oracle Database. It will resolve and install or update all related dependencies of those binaries. It will aso create the OS user oracle along with the oinstall and dba OS groups. Let's try it out here:

Reference

root@lusytp08: # ll
total 48
drwxr-xr-x  2 root root  4096 Jun 28 17:36 ./
drwxr-xr-x 10 root root  4096 Jun 28 17:36 ../
-rw-r--r--  1 root root    23 Jun 28 17:36 oracle-validated.conf
-rw-r--r--  1 root root  5306 Apr 13 12:04 oracle-validated.params
-rwxr-xr-x  1 root root 27328 Apr 13 12:04 oracle-validated-verify*
---: /etc/sysconfig/oracle-validated
[0]root@lusytp08: # vi oracle-validated.conf
---: /etc/sysconfig/oracle-validated
[0]root@lusytp08: # oracle-validated
bash: oracle-validated: command not found
---: /etc/sysconfig/oracle-validated
[127] root@lusytp08: # ./oracle-validated-verify
---: /etc/sysconfig/oracle-validated
[0]root@lusytp08: # ll
total 48
drwxr-xr-x  2 root root  4096 Jun 28 17:37 ./
drwxr-xr-x 10 root root  4096 Jun 28 17:36 ../
-rw-r--r--  1 root root    23 Jun 28 17:37 oracle-validated.conf
-rw-r--r--  1 root root  5306 Apr 13 12:04 oracle-validated.params
-rwxr-xr-x  1 root root 27328 Apr 13 12:04 oracle-validated-verify*
---: /etc/sysconfig/oracle-validated
[0]root@lusytp08: # vi oracle-validated-verify
---: /etc/sysconfig/oracle-validated
[0]root@lusytp08: # cd /var/log
---: /var/log
[0]root@lusytp08: # ls
acpid            boot.log        dmesg    mail              pm       samba             tallylog    yum.log
anaconda.log     brcm-iscsi.log  faillog  maillog           ppp      scrollkeeper.log  up2date
anaconda.syslog  btmp            gdm      mcelog            prelink  secure            vbox
anaconda.xlog    cron            iptraf   messages          rpmpkgs  setroubleshoot    wtmp
audit            cups            lastlog  oracle-validated  sa       spooler           Xorg.0.log
---: /var/log
[0]root@lusytp08: # cd oracle-validated-verify
bash: cd: oracle-validated-verify: No such file or directory
---: /var/log
[1] root@lusytp08: # ls
acpid            boot.log        dmesg    mail              pm       samba             tallylog    yum.log
anaconda.log     brcm-iscsi.log  faillog  maillog           ppp      scrollkeeper.log  up2date
anaconda.syslog  btmp            gdm      mcelog            prelink  secure            vbox
anaconda.xlog    cron            iptraf   messages          rpmpkgs  setroubleshoot    wtmp
audit            cups            lastlog  oracle-validated  sa       spooler           Xorg.0.log
---: /var/log
[0]root@lusytp08: # cd oracle-validated
---: /var/log/oracle-validated
[0]root@lusytp08: # ls
backup  results
---: /var/log/oracle-validated
[0]root@lusytp08: # ll
total 16
drwxr-xr-x  4 root root 4096 Jun 28 12:48 ./
drwxr-xr-x 15 root root 4096 Jun 28 15:43 ../
drwxr-xr-x  5 root root 4096 Jun 28 17:37 backup/
drwx------  2 root root 4096 Jun 28 17:37 results/
---: /var/log/oracle-validated
[0]root@lusytp08: # cd r*
---: /var/log/oracle-validated/results
[0]root@lusytp08: # ls
orakernel.log
---: /var/log/oracle-validated/results
[0]root@lusytp08: # ll
total 12
drwx------ 2 root root 4096 Jun 28 17:37 ./
drwxr-xr-x 4 root root 4096 Jun 28 12:48 ../
-rw-r--r-- 1 root root 2139 Jun 28 17:37 orakernel.log
---: /var/log/oracle-validated/results
[0]root@lusytp08: # cat orakernel.log
Adding group oinstall with gid 685037
groupadd: group oinstall exists
Adding group dba
groupadd: group dba exists
Adding user oracle with user id 685036, initial login group oinstall, supplementary group dba and  home directory /home/oracle
User oracle is already present
uid=5001(oracle) gid=5000(dba) groups=5000(dba)
Creating oracle user passed

Verifying  kernel parameters as per Oracle recommendations...
fs.file-max             6815744
kernel.msgmni           2878
kernel.msgmax           8192
kernel.msgmnb           65536
kernel.sem              250 32000 100 142
kernel.shmmni           4096
kernel.shmall           1073741824
kernel.shmmax           4398046511104
kernel.sysrq            1
net.core.rmem_default           262144
net.core.rmem_max               4194304
net.core.wmem_default           262144
net.core.wmem_max               1048576
fs.aio-max-nr           3145728
net.ipv4.ip_local_port_range            9000 65500
vm.min_free_kbytes              51200
Setting kernel parameters as per oracle recommendations...
Altered file /etc/sysctl.conf
Original file backed up at /etc/sysctl.conf.orabackup
Verifying & setting of kernel parameters passed

Verifying oracle user OS limits as per Oracle recommendations...
oracle  soft    nofile          131072
oracle  hard    nofile          131072
oracle  soft    nproc           131072
oracle  hard    nproc           131072
oracle  soft    core            unlimited
oracle  hard    core            unlimited
oracle  soft    memlock         50000000
oracle  hard    memlock         50000000
Setting oracle user OS limits as per Oracle recommendations...
Altered file /etc/security/limits.conf
Original file backed up at /etc/security/limits.conf.orabackup
Verifying & setting of user limits passed

Verifying kernel boot parameters as per Oracle recommendations...
numa=off already present

numa=off already present

numa=off already present

Setting kernel boot parameters as per Oracle recommendations...
Boot parameters will be effected on next reboot
Altered file /boot/grub/grub.conf
Original file backed up at /boot/grub/grub.conf.orabackup
Verifying & setting of boot parameters passed

Verifying module parameters as per Oracle recommendations...
No settings to be modified
Verifying & setting of module parameters passed

Taking a backup of old config files under /var/log/oracle-validated/backup/Jun-28-2011-17-37-49
---: /var/log/oracle-validated/results
[0]root@lusytp08: #
---: /var/log/oracle-validated/results
[0]root@lusytp08: # ls
orakernel.log
---: /var/log/oracle-validated/results
[0]root@lusytp08: # ll
total 12
drwx------ 2 root root 4096 Jun 28 17:37 ./
drwxr-xr-x 4 root root 4096 Jun 28 12:48 ../
-rw-r--r-- 1 root root 2139 Jun 28 17:37 orakernel.log
---: /var/log/oracle-validated/results
[0]root@lusytp08: # cd



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019