7.11.2 Example

This section explains an example of using the database structure modification utility (registering the generations of a HiRDB file system area).

Organization of this subsection
(1) Example of registering generation information for a HiRDB file system area

(1) Example of registering generation information for a HiRDB file system area

This example registers generation information for /HiRDB_P/area01_GN1, and /HiRDB_P/area02_GN1 in the replica HiRDB file system area of the original HiRDB file system area /HiRDB_P/area01, and /HiRDB_P/area02.

Command to be executed

pdmod -a /usr/seifile/mofl01

Contents of the control statement file (/usr/seifile/mofl01)

create generation for HiRDB file system area
    "/HiRDB_P/area01_GN1"   ............................................1
    server name bes1   .................................................2
    generation number 1   ..............................................3
    reproduce "/HiRDB_P/area01" ;   ....................................4
create generation for HiRDB file system area
    "/HiRDB_P/area02_GN1"   ............................................1
    server name bes2   .................................................2
    generation number 1   ..............................................3
    reproduce "/HiRDB_P/area02" ;   ....................................4

Explanation
  1. Specifies the name of the replica HiRDB file system area.
  2. Specifies the name of the back-end server that defines the replica HiRDB file system area.
  3. Specifies the generation number used to manage the replica HiRDB file system area.
  4. Specifies the name of the original HiRDB file system area.