Follow these steps:
/opt/CA/saas/repo/application/
./DR_mode mode=live
/opt/CA/IdentityManager/ProvisioningDirectory/highavailability
P_DIR1hostname,P_DIR2hostname,….P_DIRnHostname
DR_DIR1hostname,DR_DIR2hostname,… DR_DIRnHostname
DR_DIR1hostname,DR_DIR2hostname,… DR_DIRnHostname
P_DIR1hostname,P_DIR2hostname,….P_DIRnHostname
Use this procedure to modify the container where you are adding disaster recovery servers.
On hosting container pages, the IMPS Tenant Service Host and Disaster Recovery Tenant Service Host fields allow multiple entries. These are for entering the CA IAM Connector Server server hosts if the CA IAM Connector Server and provisioning server are on different systems. Setting site IDs for the DR site requires that the Provisioning Directory replication already exists. The topic High Availability Configuration addresses this prerequisite.
Follow these steps:
A status column shows which steps are being executed on the server. You can click search again to update the status with the latest step being executed. The status column is updated with error messages. Errors relate to connection problems or disk space on Provisioning Directory systems.
The CSP console log file typically has more information on errors. The log file can be found at this location:
/opt/CA/siteminder/adminui/server/default/log/server.log
Support for Business Object Reporting requires synchronization between the input and output directory between the Primary and Disaster Recovery site. You use rsync and a cron job for this synchronization.
Follow these steps:
This key is used with the remote server so that the cron job is not prompted for a password entry. Run the following command:
# ssh-keygen -t rsa
Press enter three times to create a default pub key.
# ssh-copy-id -i ~/.ssh/id_rsa.pub [username]@[remote_host]
Enter a password when prompted.
Repeat step 3 by copying the DR site public key to the primary site.
#!/bin/bash
#set -x #echo on
##
## Shell Daemon For: Mirroring frsinput directory
##
##
PIDFILE="/var/run/mirrorfrsinput.pid"
LOGFILE="/var/log/mirrorfrsinput.log"
mirror ()
{
pgrep -f "$0 $1" > $PIDFILE
while inotifywait -r -q -e close_write -e delete -e modify -e close_nowrite -e access -e attrib -e create -e move -e moved_from -e moved_to -e close --format "%f" /opt/CA/SharedComponents/CommonReporting3/bobje/data/frsinput/; do
rsync -aWuq --no-motd --inplace --del --ignore-errors --force /opt/CA/SharedComponents/CommonReporting3/bobje/data/frsinput/ <BO User>@<Other Site BO Server or NFS Share machine>:/opt/CA/SharedComponents/CommonReporting3/bobje/data/frsinput/
ret=$?
done
}
start ()
{
/usr/bin/nohup `mirror` > $LOGFILE &
ret=$?
}
case "$1" in
stop)
/bin/kill $(cat $PIDFILE)
;;
start)
start
;;
*)
echo "$0 [ start | stop ]"
exit 0
;;
esac
exit $?
chmod 775 mirrorfrsinput
#!/bin/bash
#set -x #echo on
##
## Shell Daemon For: Mirroring frsinput directory
## (poorly coded, quick and dirty, example)
##
PIDFILE="/var/run/mirrorfrsoutput.pid"
LOGFILE="/var/log/mirrorfrsoutput.log"
mirror ()
{
pgrep -f "$0 $1" > $PIDFILE
while inotifywait -r -q -e close_write -e delete -e modify -e close_nowrite -e access -e attrib -e create -e move -e moved_from -e moved_to -e close --format "%f" /opt/CA/SharedComponents/CommonReporting3/bobje/data/frsoutput/; do
rsync -aWuq --no-motd --inplace --del --ignore-errors --force /opt/CA/SharedComponents/CommonReporting3/bobje/data/frsoutput/ <BO User>@<Other Site BO Server or NFS Share machine>:/opt/CA/SharedComponents/CommonReporting3/bobje/data/frsoutput/
ret=$?
done
}
start ()
{
/usr/bin/nohup `mirror` >> $LOGFILE 2>&1 &
ret=$?
}
case "$1" in
stop)
/bin/kill $(cat $PIDFILE)
;;
start)
start
;;
*)
echo "$0 [ start | stop ]"
exit 0
;;
esac
exit $?
chmod 775 mirrorfrsoutput
/etc/init.d/mirrorfrsinput start /etc/init.d/mirrorfrsoutput start
Note: The scripts should only be started in one of the Business Object Report Servers at the active site. Ensure that these scripts are stopped on all other Business Object Report Servers at all sites.
In case of failover, the same set of commands need to be run from DR site to synchronize it back to the primary site.
/etc/init.d/mirrorfrsinput stop /etc/init.d/mirrorfrsoutput stop
Note: Stopping these processes will stop auto synchronization.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|