http://www.arikaplan.com/oracle/ari111897b.htmlhttp://www.devx.com/dbzone/Article/20713http://www.pcs-computing.com/support/oracle_mkdb.htmlOracle: Instance creation checklist | |
For all of you people out there that are really dbas, forgive me. This is a work in progress. I'm currently reading the Oracle 8i Handbook and I need a place to stash all the things they tell me to do when creating databases. Hopefully, once I'm done, this'll be a pretty complete document. In the mean time, it's what it is. Later - much laterWell, studying has progressed. I'm to the point where I'm verifying/troubleshooting the checklist. If anyone has suggestions/comments/concerns, please send 'em. Please realize that I built this checklist on a Pentium 200 with one disk drive, so the details below aren't what would match a production environment. It's not the sizes or the specific environment that I'm after - more the steps that should be taken for most database creation exercises.
|
Saturday, October 9, 2010
Oracle Instance
Clapton
Friday, October 8, 2010
Oracle Install
Oracle & PHP Installfest guide - Oracle 10gR2 on RHEL4 - OTN Night 2005 ----------------------------------------------------------------------- Installing Oracle 10g (10.2.0.1) on RHEL4 *** This guide is for test purposes only - not production *** Boot from RHEL4 disc1 press enter for graphical install ** Need at least 512MB RAM / 2.5GB Space ** + Automaticaly or Manually partition your hard drive with Disk Druid /tmp = 512MB ext3 fixed size /boot = 128MB ext3 fixed size swap = 1024MB fixed size / = fill to maximum allowable size + Accept defaults for GRUB boot loader, and configure networking. + Most Linux distros and RHEL4 ship with default security preferences locked down. For testing purposes I typically turn off the firewall and disable SE Linux. + Set language preferences and root password + Select 'Customize software to be installed' - make sure the packages essential for installing Oracle are selected. Desktop : X Window System; Gnome or KDE Editors : at least one editor - vi etc. Graphical Internet : a web browser - firefox Development : Development Tools, and Compat Legacy Languages For post-install configuration login as root -------------------------------------------- + create groups /usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/groupadd oper + create OS user oracle with group permissions and home /opt/oracle /usr/sbin/useradd -g oinstall -G dba,oper -d /opt/oracle oracle + set user oracle's password /usr/bin/passwd oracle + Append user oracle's bash profile with PATH and ORACLE:BASE,HOME and SID information vi /opt/oracle/.bash_profile umask 022 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib ORACLE_BASE=/opt/oracle ORACLE_HOME=$ORACLE_BASE/product/10gR2 ORACLE_SID=orcl PATH=$ORACLE_HOME/bin:$PATH export PATH LD_LIBRARY_PATH ORACLE_BASE ORACLE_HOME ORACLE_SID + Create the directory for the software installation and assign ownership to oracle:oinstall chown -R oracle:oinstall /opt chmod -R 775 /opt + Make sure the correct kernel parmeters are appended to sysctl.conf vi /etc/sysctl.conf (these can be easily copied from the Quick Installation Guide for Linux x86 doc on the Oracle10g CD) kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 + set the kernel parameters or reboot /sbin/sysctl -p Login in to xwindows session as user oracle ------------------------------------------- + Mount the Oracle10g CD and run the installer mount /media/cdrom (cd $HOME && /media/cdrom/runInstaller) - follow the installer instructions - use password mgmt to unlock DBuser scott & set password 'tiger' + open http://localhost.localdomain:1158/em in a browser or As root # vi /etc/oratab change :N to :Y # cp /etc/oratab /var/opt/oracle/oratab + This enables the oracle user to dbshut, dbstart and lsnrctl start
Ref:
http://www.oracle-base.com/articles/11g/OracleDB11gR1InstallationOnEnterpriseLinux4and5.php
http://www.oracle.com/technetwork/articles/smiley-rac10g-install-082032.html
http://www.oracle.com/technetwork/articles/smiley-10gdb-install-092939.html
http://www.akadia.com/services/ora_linux_install_10g.html
http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
======
RAC
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
http://decipherinfosys.wordpress.com/2007/01/24/estimating-projecting-the-size-of-a-table-in-oracle/
http://anuj-singh.blogspot.com/2008/01/oracle-11g-installation-on-suse-103.html
Monday, October 4, 2010
Friday, October 1, 2010
JVM Monitoring
http://cupi2.uniandes.edu.co/web/javadoc/j2se/1.5.0/docs/tooldocs/share/jstatd.html
http://www.herongyang.com/Java-Tools/jstat-JVM-Statistics-Monitoring-Tool.html
http://prefetch.net/blog/index.php/2008/01/16/monitoring-garbage-collection-with-jstat/
http://www.opennms.org/wiki/JVM_Monitoring_using_SNMP
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html
http://support.hyperic.com/display/hypcomm/Set+up+Java+JVM+Monitoring
=======
http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
http://www.ibm.com/developerworks/library/j-rtm2/index.html
http://www.ibm.com/developerworks/library/j-rtm3/index.html
===========
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
http://code.google.com/p/javamelody/
http://www.eginnovations.com/web/java-monitoring.htm
---------------
http://www.hyperic.com/products/tomcat-monitoring
http://www.torsten-horn.de/techdocs/jmx.htm
http://www.bpurcell.org/blog/index.cfm?entry=967&mode=entry
http://www.herongyang.com/Java-Tools/jstat-JVM-Statistics-Monitoring-Tool.html
http://prefetch.net/blog/index.php/2008/01/16/monitoring-garbage-collection-with-jstat/
http://www.opennms.org/wiki/JVM_Monitoring_using_SNMP
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html
http://support.hyperic.com/display/hypcomm/Set+up+Java+JVM+Monitoring
=======
http://www.ibm.com/developerworks/library/j-rtm1/index.html?ca=dgr-jw22javaruntime1&S_TACT=105AGX59&S_CMP=GR
http://www.ibm.com/developerworks/library/j-rtm2/index.html
http://www.ibm.com/developerworks/library/j-rtm3/index.html
===========
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
http://code.google.com/p/javamelody/
http://www.eginnovations.com/web/java-monitoring.htm
---------------
http://www.hyperic.com/products/tomcat-monitoring
http://www.torsten-horn.de/techdocs/jmx.htm
http://www.bpurcell.org/blog/index.cfm?entry=967&mode=entry
JVM Performance Tuning
http://www.javaworld.com/javaforums/showflat.php?Number=30206&page=44
http://java.sun.com/performance/jvmstat/
http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.50/diag/appendixes/cmdline/cmdline_x.html
http://forums.sun.com/thread.jspa?threadID=756468
------
http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html
------
http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html
http://java.sun.com/performance/jvmstat/
http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.50/diag/appendixes/cmdline/cmdline_x.html
http://forums.sun.com/thread.jspa?threadID=756468
------
http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html
------
http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html
Subscribe to:
Posts (Atom)
Linux Interview Linux booting process EXT4 XFS file system runlevel scan disk hba driver systool -c fc_host lspci -nn | grep -i hba single...
-
https://thomasvogt.wordpress.com/2008/08/26/mcserviceguard-cluster-installation-on-hp-ux-1131/ http://www.learnitguide.net/2015/05/config...
-
"Initrd" is the name of the "initial ramdisk" feature of Linux. With this, you have your loader (probably LILO or Grub)...