Symbolic Links in the Shadow Directory
Symbolic links to the live database, Shadow Database, live clean log sub-directory and Shadow clean log sub-directory are set up in /usr/realman/shadow when the Shadow Database configuration is first defined using tlmenu as described in Defining/Redefining a Shadow Database.
The purpose of using symbolic links is to enable the tlmenu to reference the live and Shadow Databases and their associated clean log sub-directories without you needing to keep track of which is live and which is the Shadow. Each time the Shadow pair is swapped, the symbolic links are reconfigured.
Example
For example, the following links are created for the Shadow system name crime.
/usr/realman/shadow/crime/live_clogdir -> /cleanlog/dbase0
/usr/realman/shadow/crime/live_db -> /real0/dbase0
/usr/realman/shadow/crime/shadow_db -> /real1/dbase1
/usr/realman/shadow/crime/shadow_clogdir -> /cleanlog/dbase1
where:
crime is the name of the Shadow system that you specify in the procedure Configuring Shadow Pair.
dbase0 is the live database (live_db) with live clean log directory (live_clogdir) dbase0.
dbase1 is the Shadow Database (shadow_db) with Shadow clean log directory (shadow_clogdir) dbase1.
Each Shadow Database system must have a different name and must share the same clean partition (for example, /cleanlog). Each Shadow system configuration must have a different directory in /usr/realman/shadow containing the symbolic links for that pair.