One Linux server starts multiple data instances

Source: Internet
Author: User

A Linux server needs to start multiple data instances, such as DB1 and DB2.

Method:
Export Oracle_SID = DB1
Sqlplus '/as sysdba' <startup
Exit
!

Export ORACLE_SID = DB2
Sqlplus '/as sysdba' <startup
Exit
!

For different listening ports, the method for starting the listening port is lsnctl start listener1/linsterner2/
About listener? You can view the configuration file through lsnctl status, and then edit it.

If the port is the same, you only need to start lsnctl start.

You can change SID startup for web configuration startup.
Export ORACLE_SID = DB1
Emctl start dbconsole

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.