============= 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
Main_replication_dir # Choose one with enough space if you intend to keep AI in $AIBACKUP
Database1-dir # Primary DB
Database1-name # Primary DB
REMOTE_DIR # Some dir on DR server. Same as LOCALAPPLYDIR in airollfwd.sh
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.
Main_replication_dir # does not have to be the same as in aiswitchall.sh
Database1-dir # Target DB
Database1-name # Target DB
LOCALAPPLYDIR # Some dir on DR server. Same as REMOTE_DIR in aiswitch.sh
STOREDIR # directory to store AI files on DR server