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

eSight V300R010C00SPC200, 300, and 500 Local HA System Software Installation Guide (SUSE Linux + Oracle + Veritas) 10

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).
How Do I Place an Oracle Database Log File to a Self-Defined Directory

How Do I Place an Oracle Database Log File to a Self-Defined Directory

Answer

  1. Log in to the eSight server as the root user.

    In the two-node cluster scenario, perform the following operations on the active and standby servers. For details about how to switch services from the active server to the standby server, see Common Operations and Configuration > Common HA System Operations > Manual Switchover Between Active and Standby Servers in the Maintenance Guide.

  2. Change the owner directory of the self-defined directory (for example, /log/for/oracle/) to oracle. The self-defined directory must exist.
    # chown -R oracle:dba /log/for/oracle/
  3. Ensure that you can open the directory using the oracle account, and has read and write permissions. If not, run the following command:
     
    # chmod 700 /log/for/oracle/ 
    # chmod 755 /log/for/ 
    # chmod 755 /log/
  4. Switch to the oracle user and run the following commands in SQLPLUS:
     
    # su - oracle 
    $ sqlplus / as sysdba 
    > alter system set log_archive_duplex_dest='/log/for/oracle/' scope=both;
  5. Check the result.
    > archive log list

    If the Archive destination field displays as /log/for/oracle/, the setting is successful.

Translation
Download
Updated: 2019-10-30

Document ID: EDOC1100044372

Views: 33027

Downloads: 26

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