No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor BCManager 6.5.0 eReplication User Guide 02

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Oracle 12.2 (Configuring the spfile File)

Configuring Oracle 12.2 (Configuring the spfile File)

After the databases are installed at the production site and DR site, perform related configurations to ensure that the path and name of the spfile file at the production site are the same as those at the DR site.

Prerequisites

The databases at the production site and DR site have been prepared.

Context

When installing the databases at the production site and DR site, store the spfile file in the asm disk. The spfile paths created in different environments are different. As a result, the databases cannot be started.

Procedure

  1. Log in to the production application server as an administrator and open the CLI.
  2. Run the srvctl config database -db fbdba command to query the path of the spfile file at the production site.

    NOTE:

    Database name fbdba is used as an example.

    The command output is as follows:
    [oracle@rac229 ~]$ srvctl config database -db fbdba
    Database unique name: fbdba
    Database name: fbdba
    Oracle home: /u01/app/oracle/product/12.2.0/db_1
    Oracle user: oracle
    Spfile: +FBDBA/FBDBA/PARAMETERFILE/spfile.268.984771525
    

  3. Set the path of the spfile file at the DR site to be the same as that at the production site.

    1. Log in to the production application server as an administrator and open the CLI window.
    2. Run the srvctl modify database -db fbdba -spfile +FBDBA/FBDBA/PARAMETERFILE/spfile.268.984771525 command to set the path of the spfile file at the DR site to be the same as that at the production site.
      NOTE:

      The +FBDBA/FBDBA/PARAMETERFILE/spfile.268.984771525 command is obtained from 2.

    3. Run the srvctl config database -db fbdba command to check whether the path of the spfile file at the DR site is the same as that at the production site. If yes, the configuration is successful.

Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10681

Downloads: 55

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next