============= LIST OF SCRIPTS ====================
-- Start with aiswitchall.sh. It lists database directories and database names that need replication.
-- aiswitchall.sh, aiswitch.sh, aiswitch2..sh and aiftp.sh should run on the source box.
-- aiftp.sh is doing FTP so you need to fiill the target DR-server-name, user-name and password.
-- airollfwdall.sh and airollfwd.sh should run on the target (Disaster-Recovery) box.
-- On target box airollfwdall.sh lists dattabase directories and database names that are replicated.
============== CHANGES TO BE MADE ==============
Here is a list of directories, database names and other stuff specific to your system
aiswitchall.sh:
Main_replication_dir # Choose one with enough space if you intend to keep AI in $AIBACKUP
Database1-dir # Primary DB
Database1-name # Primary DB
aiswitch.sh:
REMOTE_DIR # Some dir on DR server. Same as LOCALAPPLYDIR in airollfwd.sh
aiftp.sh:
DR-server-name
user-name # if you set up user FTP without need to enter password on DR server
password # then you might skip it. Otherwise make sure aiftp.sh does not have read permissions for all.
airollfwdall.sh:
Main_replication_dir # does not have to be the same as in aiswitchall.sh
Database1-dir # Target DB
Database1-name # Target DB
airollfwd.sh:
LOCALAPPLYDIR # Some dir on DR server. Same as REMOTE_DIR in aiswitch.sh
STOREDIR # directory to store AI files on DR server