DR Functions
The KFS DR environment serves two functions.
- Local fallback testing for quarterly disaster recovery tests.
- Localized testing of "production-like" issues.
Based on which function is needed, the DR system may need to use a different encryption key for database access (PROD/NON-PROD)
Encryption Key Adjustment
This key can be swapped by checking the following files reference the correct key.
KFS
/srv/uconn_configs/kfs-config/sa_forms/java/dev/kfs/security.properties
RICE
/srv/uconn_configs/rice-config/rice-config.xml
Please ensure the key that is not currently in use is commented out, NOT deleted, as they need to be changed often.
rSmart Cloud environment Parameter
The following parameter is located in the UCONN local dr environments in the files /srv/uconn_configs/configuration_defaults_config.xml (kfs) and /srv/uconn_configs/rice-config/rice-config.xml (kr)
<!-- DR Configuration Properties --> <!--<param name="dr.cloud.environment>false</param>-->
This value MUST remain commented because it will cause unexpected behaviors in our load-balanced environments. This parameter is for use exclusively by rSmart with a value of "true" to configure their cloud instance during our quarterly DR exercises or in the event of a true disaster scenario.
Copy back data from rSmart to local DR
rSmart will place data into the directory /home/dba/inbound on the server rsmart.uconn.edu
The files for restore are contained in the tarball kfs.tar.gz which should be copied locally and then uncompressed.
Once uncompressed, copy the complete contents of the /reports and /staging directories onto the local UCONN KFS dr environment dr.kfs.uconn.edu overwriting any existing files
and directories. This can be done either via CLI or using a tool like Filezilla for local SFTP.
The target dirs are /srv/uconn_configs/kfs-config/work/dev/kfs/reports and /srv/uconn_configs/kfs-config/work/dev/kfs/staging