Auto restart of Oracle Database and DDS software in Linux single-instance Environment

Source: Internet
Author: User
The Oracle database and DDS software are automatically restarted in a Linux single-instance Environment. 1. Modify etcoratab # vietcorataboradb: optora10product10.2

The Oracle database and DDS software are automatically restarted in a Linux single-instance Environment. 1. Modify/etc/oratab # vi/etc/orataboradb:/opt/ora10/product/10.2.

Homepage → Database Technology

Background:

Read News

Auto restart of Oracle Database and DDS software in Linux single-instance Environment

[Date: 2011-01-21] Source: Linux Author: laohu007 [Font:]

Auto restart of Oracle Database and DDS software in Linux single-instance Environment

1. Modify/etc/oratab
# Vi/etc/oratab
Oradb:/opt/ora10/product/10.2.0.1: Y (changed from N to Y)

2. Modify/etc/selinux/config
# Vi/etc/selinux/config
SELINUX = disabled

3. Copy a system-configured PFILE to the dbs directory.
SQL> create pfile = '/oracle/pfile. ora' from spfile;
File created.
Oracle@linuxidc.com ~ $ Cp/oracle/pfile. ora/oracle/product/10g/dbs/init. ora

4. Modify dbstart
Modify the 78th rows of dbstart ($ ORACLE_HOME/bin/dbstart)
ORACLE_HOME_LISTNER =/ade/vikrkuma_new/oracle
ORACLE_HOME_LISTNER = $ ORACLE_HOME

5. Modify/etc/rc. local.
[Oracle@linuxidc.com etc] $ vi rc. local
#! /Bin/sh
# This script will be executed * after * all the other init scripts.
# Want to do the full Sys V style init stuff.
Touch/var/lock/subsys/local
Su-oracle-c '/oracle/product/10g/bin/lsnrctl start' ++ open the listener
Su-oracle-c '/oracle/product/10g/bin/dbstart' ++ open the database
Su-dds-c '/home/dds/ds/ddstart' ++ start the DDS Software
Su-dds-c '/home/dds/bin/dds_pweb-s' ++ start the WEB
Su-dds-c '/home/dds/bin/dds_pweb-t' +++ start the WEB

With the above five steps, when a single server loses power or is shut down in a plan, the Oracle database and DDS software can be automatically restarted after the server is started .......

  • 0
  • Oracle 10g installation in Ubuntu 10.10

    Add bare devices (logical volumes) for Oracle tablespace In the AIX Environment)

    Oracle tutorial

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2011 Linux community All rights reserved Zhejiang ICP backup No. 06018118

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.