Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 2005 1
Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g... 3... 3... 4 1. Oracle... 4 2.... 5 3.... 6 4. Oracle... 6 5. RHEL3.0... 6 6. Oracle... 7 a.... 7 b.... 8 c.... 9 d.... 9 7. Oracle... 10... 10 Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 2
Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g Red Hat Enterprise Linux 2.1 AS RHAS2.1 Oracle Database 10g Red Hat Enterprise Linux 3 RHEL3 Oracle Database 10g RHAS2.1 RHEL3 RHEL3 Red Hat URL Migrating to Red Hat Enterprise Linux Benefits and Guidelines http://www.redhat.com/whitepapers/rhel/rhel3migration WPSO.pdf Oracle / /boot /etc /var /home /usr Oracle Oracle Oracle Cluster Ready Services CRS Oracle RHEL3 Oracle Oracle Database 10g 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX, hp Tru64 UNIX, Linux, and Solaris Operating System (SPARC) Oracle Database 10g Oracle Universal Installer Oracle Database 10g Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 3
RHEL3 RHEL3 RHAS2.1 RHEL3 1. Oracle 2. 3. 4. Oracle 5. RHEL3 6. Oracle 7. Oracle 1. Oracle Oracle Automatic Storage Management ASM $ sqlplus /nolog SQL> CONNECT SYS/sys_password as SYSDBA SQL> SHUTDOWN NORMAL $ $ORACLE_HOME/bin/lsnrctl stop listenername Oracle Oracle Real Application Clusters RAC RHEL3 Oracle CRS 1. RAC 2. ASM 3. 4. Virtual Internet Protocol VIP Oracle Notification System ONS 5. CRS RAC ASM srvctl stop Oracle Real Application Clusters 10g 1 (10.1) Server Control (SRVCTL) Oracle Real Application Clusters 10g Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 4
1 (10.1.0.2.0) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris Operating System (SPARC 64-bit), and Windows Platforms RAC Linux-Based Systems $ $ORACLE_HOME/bin/lsnrctl stop listenername CRS # init.crs stop CRS # init.crs disable /etc/inittab 2. root / tar /etc Oracle Oracle # cd / # tar cvjf oracle-bak.tar.bz2 etc home/oracle opt/orclfmap opt/oracle usr/local/bin/oraenv usr/local/bin/dbhome usr/local/bin/coraenv var/spool/cron/oracle /home/oracle Oracle /var/spool/cron/oracle crontab Automatic Storage Management ASM Oracle /opt/oracle/ oracle-bak.tar.bz2 NFS # tar tvjf oracle-bak.tar.bz2 j tar bzip2 /etc Oracle Oracle Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 5
Oracle /etc/hosts /etc/fstab /etc/x11/xf86config $ /bin/rpm qa # /sbin/fdisk l $ /sbin/lsmod $ /sbin/sysctl a $ /sbin/ifconfig a $ /sbin/chkconfig --list # /usr/bin/raw -qa 3. / /bin /boot /dev /etc /mnt /lib /root /sbin /usr /var RHAS2.1 /misc /opt /proc 4. Oracle Oracle Oracle Oracle CRS RHEL3 5. RHEL3.0 Red Hat Enterprise Linux 3: Installation Guide for x86, Itanium, AMD64, and Intel Extended Memory 64 Technology (Intel EM64T) RHEL3 Oracle Real Application Clusters RAC RHEL3 RHEL3 RAC Update 2 Q2 2004 RHEL3 Web https://www.redhat.com/security/notes Oracle VLM RHEL3 hugetlb URL 2004 1 Upgrading from Red Hat Enterprise Linux 2.1 AS To Red Hat Enterprise Linux 3 http://www.oracle.com/technology/pub/articles/index.html Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 6
Oracle Database RAW Oracle Database ASM URL Installing Oracle ASMLib http://www.oracle.com/technology/tech/linux/asmlib/in stall.html RAC hangcheck # /sbin/insmod hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 6. Oracle tar RHEL3 oracle-bak.tar.biz2 $ cd $HOME/tar_dir $ su # tar xvjf oracle-bak.tar.bz2 RHEL3 RHAS2.1 RHEL3 Oracle Database 10g 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX, hp Tru64 UNIX, Linux, and Solaris Operating System (SPARC) RAC Linux-Based Systems a. umask 022 022 # umask # umask 022 RHAS2.1 RHAS2.1 RAC Oracle /etc/init.d/init.crs /etc/init.d/init.crsd /etc/init.d/init.cssd Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 7
/etc/init.d/init.evmd /etc/ocfs.conf /etc/oracle/ocr.loc /etc/oracle/scls_scr/hostname/* /etc/orainst.loc /etc/oratab /etc/rc/rc.local /etc/pam.d/login /etc/security/limits.conf /home/oracle (or home directory of user who installed Oracle) /usr/local/bin/oraenv /usr/local/bin/dbhome /usr/local/bin/coraenv /opt/oracle /opt/orcl.fmap /etc/init.d /usr/local/bin/opt/orcl.fmap/*/bin /opt/orcl.fmap/*/etc x # cd /etc/init.d # ls l init.cssd -r-xr-xr-x 1 root root 16910 Jul 26 15:26 init.cssd.ssh.profile. ls a b. /etc/rc.d rc.2 rc.3 rc.5 /etc/init.d Oracle Universal Installer RHAS2.1 Installer /etc/rc.d K96init.crs S96init.crs init.crs /etc/init.d /etc/init.d Oracle cp cp --no-dereference bash # for DIR in rc2.d rc3.d rc5.d; do > cd $HOME/tar_dir/rc.d/$DIR Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 8
> cp --no-dereference *init.crs /etc/rc.d/$dir > done RHAS2.1 RAC *init.crs *init.cssd init.d Oracle c. RHAS2.1 RHEL3 /etc/csh.* /etc/profile /etc/group /etc/passwd /etc/inittab* diff 2 $ diff $HOME/tar_dir/etc/inittab /etc/inittab RHEL3 RHEL3 RHAS2.1 Oracle vi RHEL3 Oracle Database Installation Guide Pre-Installation Tasks /etc/group /etc/passwd groupadd useradd RHAS2.1 ID Oracle Oracle Universal Installer inittab.cssd /etc/inittab /etc/inittab RHEL3 Oracle & Oracle Oracle /etc/inittab /etc/inittab RHEL3 /etc/new_inittab Oracle d. RHAS2.1 RHEL3 RHAS2.1sysctl.conf /etc Oracle Database Linux RHEL3 hugetlb_pool URL 2004 1 Upgrading from Red Hat Enterprise Linux 2.1 AS To Red Hat Enterprise Linux 3 http://www.oracle.com/technology/pub/articles/index.html Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 9
Oracle VLM 7. Oracle RHEL3 I/O Oracle Oracle $ cd $ORACLE_HOME/rdbms/lib && make PL_ORALIBS=-laio f ins_rdms.mk async_on I/O Oracle /etc/new_inittab /etc/inittab # sync; sync; sync; mv /etc/new_inittab /etc/inittab RAC 1 1 Oracle Real Application Clusters 10g 1 (10.1.0.2.0) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris Operating System (SPARC 64-bit), and Windows Platforms Red Hat Enterprise Linux 3: Installation Guide for x86, Itanium, AMD64, and Intel Extended Memory 64 Technology (Intel EM64T) Oracle $ $ORACLE_HOME/bin/lsnrctl start Enterprise Manager $ srvctl config database -d db ASM ASM SQL*Plus SYSDBA SYS $ sqlplus /NOLOG SQL> CONNECT SYS/PASSWORD AS SYSDBA SQL> STARTUP RHAS2.1 Oracle Database 10g RHEL3 Oracle Database 10g 1 10.1 Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 10
Red Hat Enterprise Linux 2.1 AS Red Hat Enterprise Linux 3 Oracle Database 10g 2005 1 : Ellen Desmond : Mark Bauer Peter Knaggs Jeffrey Levinger Richard Long Van Okamura Sally Piao Daljeet Singh Janelle Simmons Khethavath Singh Helen Slattery Chris Trevino Tak Fung Wang Gary Young Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. : : +1.650.506.7000 : +1.650.506.7200 www.oracle.com Oracle Copyright 2005 Oracle Corporation All rights reserved.