2.4 Install Compliance Studio on the Secondary Server
To install Compliance Studio on the Secondary server:
Note:
If the load balancer is enabled for PGX, then the PGX load balancer URL should be provided in the PGX_SERVER_URL parameter of theconfig.sh file which is available in the
<COMPLIANCE_STUDIO_INSTALLATION_PATH>/bin
directory.
For example,
PGX_SERVER_URL=http://<PGX_LB_HOSTNAME>:<PGX_LB_PORT>
This configuration has to be done before installing Compliance Studio on the Secondary server and this is required only for the Graph pipeline/ PGX server.
- Compliance Studio can be installed on the Secondary server either as a fresh
installation or cloned from the Primary server.
- Install Compliance Studio (fresh installation) on the Secondary server. For more information on how to install, see the OFS Compliance Studio Installation Guide.
- For cloning files from the Primary server, see the Setup
Compliance Studio Instance for Cloning the Filesystem section in
the OFS Compliance Studio
Installation Guide.
Note:
Ensure that the following resources are shared/synced between the Primary and Secondary servers for an HA configuration:- Database (Studio, ER/FSDF, Graph, and Atomic Schemas)
- OpenSearch Cluster
After successful installation/cloning, ensure that all the services are started and the logs are clean.
- Open the additional_config.sh file in the following path and update the
parameters as mentioned in the following table.
Table 2-4 Parameter of additional_config.sh file
File Path Parameter <COMPLIANCE_STUDIO_INSTALLATION _PATH>/binPGX_INTERPRETER_OPTS="$PGX_INTERPRE TER_OPTS -DAPP_BASE_NAME='pgx- interpreter' -Dgraph- service.url=https:// <COMPLIANCE_STUDIO_SERVER_IP_ADDRES S>:7059/graph-service - Open the application.yml file in the following path and update the
parameters as mentioned in the following table.
Table 2-5 Parameter of application.yml file
File Path Parameter <COMPLIANCE_STUDIO_INSTALLATION _PATH>/deployed/mmg-home/mmg- studio/confmmgserviceUrl=https:// <LOAD_BALANCER_HOSTNAME>:7002/cs - Open the application.properties file in the following path and update
the parameters as mentioned in the following table.
Table 2-6 Parameter of application.properties file
File Path Parameter <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-gateway/confmmg.gateway.url=https://<LB_URL>/<COMPLIANCE_STUDIO_INSTALLATION_PATH>/mmg-home/mmg-ui/confBASE_URL=https:// <LOAD_BALANCER_HOSTNAME>:7002/cs<COMPLIANCE_STUDIO_INSTALLATION_PATH>/mmg-home/mmg-ui/confDP_UI_URL=https:// <LOAD_BALANCER_HOSTNAME>:7063/ pipelineserviceui/pmf/dp/index.jsp<COMPLIANCE_STUDIO_INSTALLATION_PATH>/mmg-home/mmg-ui/confMATCHSRVC_UI_URL=https:// <LOAD_BALANCER_HOSTNAME>/fcc/ graphmatchruleset.jsp<COMPLIANCE_STUDIO_INSTALLATION_PATH>/mmg-home/mmg-ui/confLOADINDEX_UI_URL=https:// <LOAD_BALANCER_HOSTNAME>/fcc/ createindex.jsp<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/pipelinegateway/confpipelineservice.uri=https:// <LOAD_BALANCER_HOSTNAME>:18005/ pipelineservice/<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/pipelinegateway/confdatapipelineservice.uri=https:// <LOAD_BALANCER_HOSTNAME>:18006/ datapipelineservice<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/data-metadata-job-<version>/confpipeline.url=https:// <LOAD_BALANCER_HOSTNAME>:18005/ pipelineservice<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/pipeline-service-<version>/confpipeline.url=https:// <LOAD_BALANCER_HOSTNAME>:18005/ pipelineservice<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/pipeline-service-<version>/confdatapipeline.url=https:// <LOAD_BALANCER_HOSTNAME>:18006/ datapipelineservice<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/pipeline-service-<version>/confgatewayUrl=https:// <LOAD_BALANCER_HOSTNAME>:18006<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/data-pipeline-service-<version>/ confmmg.url=https:// <LOAD_BALANCER_HOSTNAME>:7002/cs<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/data-pipeline-service-<version>/ confpipeline.url=https:// <LOAD_BALANCER_HOSTNAME>:18005/ pipelineservice<COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/mmg-pipeline/ pipeline/data-pipeline-service-<version>/ confdatapipeline.url=https:// <LOAD_BALANCER_HOSTNAME>:18006/ datapipelineservice - Restart Compliance Studio to reflect the updated configuration. To restart the
Compliance Studio on the Secondary server, execute the following command.
./compliance-studio.sh -–restart