Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

Overview


This section describes how to change the path of log anchor, online log file, archive log file, and double write file.

In order to change the paths of these files, the Altibase server must be restarted, so be sure to perform it after securing service downtime.

 

Summary of change procedure


  1. Check the current path setting.
  2. Stop the Altibase server.
  3. Copy files and change properties.
  4. Start the Altibase server.
  5. Check the change path.

 

Detailed procedure


 

1. Check the current path setting


Refer to the sentence below to check the current path of each property and make a note of it.

 

2. Stop the Altibase server


Stop the Altibase server.

 

3. Copy the files and change properties


Copy the file which path you want to change to the new path and change the properties of each.

  • Log anchor

    There are three log anchor files: loganchor0, loganchor1, and loganchor2.
    Copy all three files from the path located in the LOGANCHOR_DIR property to the new path.
    Find the LOGANCHOR_DIR property in the $ALTIBASE_HOME/conf/altibase.properties file and change it to a new path.

  • Online log file

    The online log file name format is logfile#.
    Copy all files starting with logfile from the path located in the LOG_DIR property to the new path.

    Find the LOGANCHOR_DIR property in the $ALTIBASE_HOME/conf/altibase.properties file and change it to a new path.

  • Archive log file

    The Archive log file name format is logfile#.
    Copy all files starting with logfile from the path located in the ARCHIVE_DIR property to the new path.
    Find the LOGANCHOR_DIR property in the $ALTIBASE_HOME/conf/altibase.properties file and change it to a new path.

  • Double Write file

    The Double Lite file name format is *.dwf.
    Copy all files ending in *.dwf from the path located in the DOUBLE_WRITE_DIRECTORY property to the new path.
    Find the DOUBLE_WRITE_DIRECTORY property in the $ALTIBASE_HOME/conf/altibase.properties file and change it to a new path.
  • File type properties and file name format table

     

    파일 종류프로퍼티파일 이름 형식
    로그 앵커LOGANCHOR_DIR

    loganchor0

    loganchor1

    loganchor2

    온라인 로그파일LOG_DIRlogfile#
    아카이브 로그파일ARCHIVE_DIRlogfile#
    더블 라이트(Double Write) 파일DOUBLE_WRITE_DIRECTORY*.dwf

     



3. Altibase 서버 구동


Altibase 서버를 구동합니다.

 

4. 변경 경로 확인


1. 현재 경로 설정 확인 에서 수행한 SQL문으로 변경 경로를 확인합니다.

 

 

  • No labels