Configure catalog in Oracle

Source: Internet
Author: User

1: Create a tablespace on the catalog Database:
Export Oracle_SID = ORCL
 
Create tablespace rmants datafile '/home/oracle/rman/rmants. ora' size 20 M;
 
Note: The tablespace name must not be rman. If it is rman, an error will be reported in the next operation because rman is a keyword;
 
2. Create a user on the catalog Database:
 
SQL> Create user rman identified by rman default tablespace rmants
 
2 temporary tablespace temp quota unlimited on rmants;
 
SQL> grant recovery_catalog_owner to rman;
 
In this example, two databases are on the same server.
 
Next, go to the target database.

1. [oracle @ aoracle admin] $ vi tnsnames. ora

Catalog =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.190.140) (PORT = 1521 ))
)
(CONNECT_DATA =
(SID = ORCL)
)
)
 
2. [oracle @ aoracle ~] $ Tnsping catalog
 
Check whether it can be connected.

  • 1
  • 2
  • Next Page

Related Article

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.