5.1.3 Georedundancy Parameters
Configure the following parameters to enable and configure georedundancy in the values.yaml file for OCNWDAF:
Table 5-4 REDUNDANCY AGENT CONFIGURATION
| Parameter | Description | Default Value |
|---|---|---|
| ocnwdaf.cluster.namespace | Name space of the deployment
Note: Change this to the name space of OCNWDAF deployments. |
ocn-nwdaf |
| ocnnwdaf.geored.hooks.database | Database information for the hook | nwdaf_subscription |
| ocnnwdaf.geored.hooks.table | Table information for the hook | nwdaf_subscription |
| ocnnwdaf.geored.hooks.column1 | Column1 information for the hook | record_owner |
| ocnnwdaf.geored.hooks.column2 | Column2 information for the hook | current_owner |
| ocnnwdaf.geored.hooks.image | Image information for the hook | ocnwdaf-docker.dockerhub-phx.oci.oraclecorp.com/nwdaf-cap4c/nwdaf-cap4c-mysql:8.0.30 |
| ocnnwdaf.geored.agent.name | Name of the deployment | ocn-nwdaf_georedagent |
| ocnnwdaf.geored.agent.replicas | Number of Replicas | 1 |
| ocnnwdaf.geored.agent.image.source | Image for GRD Agent
Note:Modify this value if the image is in a different repository. |
occne-repo-host:5000/occne/redagent-ms-dev:1.0.31 |
| ocnnwdaf.geored.agent.image.pullPolicy | Image Pull Policy | IfNotPresent |
| ocnnwdaf.geored.agent.resources.limits.cpu | CPU Limit | 1 |
| ocnnwdaf.geored.agent.resources.limits.memory | Memory Limit | 1Gi |
| ocnnwdaf.geored.agent.resources.request.cpu | CPU Request | 1 |
| ocnnwdaf.geored.agent.resources.request.memory | Memory Request | 1Gi |
| ocnnwdaf.geored.agent.service.type | Service Type of the Deployment | ClusterIP |
| ocnnwdaf.geored.agent.service.port.containerPort | Container Port of the Deployment | 9181 |
| ocnnwdaf.geored.agent.service.port.targetPort | Target Port of the Deployment | 9181 |
| ocnnwdaf.geored.agent.service.port.name | Name of the Service Port | ocnwdafgeoredagentport |
| ocnnwdaf.geored.agent.service.prometheusport.containerPort | Container Port of the Prometheus | 9000 |
| ocnnwdaf.geored.agent.service.prometheusport.targetPort | Target Port of the Prometheus | 9000 |
| ocnnwdaf.geored.agent.service.prometheusport.name | Name of the Prometheus
Note: Modify the port name based on the Prometheus on the deployed setup. |
http-cnc-metrics |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SERVER_HTTP2_ENABLED | Enable/Disable HTTP2 | TRUE |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_HEARTBEAT_INTERVAL_MS | Time Interval To check HeartBeat in "ms" | 10000 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_HEARTBEAT_THRESHOLD | Number of Time Times to check Heart Beat | 5 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_CORE_COMP_THRESHOLD | Number of Time Times to check Heart Beat toward Core Components provides | 5 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_NUMBER | Current Site Number | 1 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_ID | Current Site ID | OCNWDAF-XX-1 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_NUMBER_OF_MATED_SITE | Number of Mated Sites. It is updated based on GRD Sites in sync. | 1 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SELF_ADDRESS | Current Agent Address. The resolvable URL of the OCNWDAF Gateway service. This address should be reachable outside the cluster . | |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_MICROSERVICE_LIVELINESS_MS | Check Interval for OCNWDAF Microservice in "ms". | 10000 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_OCNWDAF_CORE_COMPONENT_LIST | List of OCNWDAF microservices that needs to be verified. | ocn-nwdaf-subscription |
| ocnnwdaf.geored.agent.env.GEO_RED_SITE_SUBSCRIPTION_OWNERSHIP_TRANSFER_URL | Subscription API for Ownership Transfer | http://ocn-nwdaf-subscription-service-internal:8087/nnwdaf-eventssubscription/v1/subscriptions/updateServingOwner |
| ocnnwdaf.geored.agent.env.GEO_RED_SITE_DATA_COLLECTION_URL | Data Collection API for Ownership Check | http://ocn-nwdaf-data-collection-service-internal:8081/ra/notify |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_DBTIER_REPLICATION_STATUS_URL | cnDBTier Monitor Service URL for Replication | Use the Reachable Monitor Service from Deployed CNDB namespace. For example: http://mysql-cluster-db-monitor-svc.{cndbnamspace}.svc.{domainname}:8080/db-tier/status/replication |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_DBTIER_STATUS_URL | cnDBTier Monitor Service URL for Local | Use the Reachable Monitor Service from Deployed CNDB namespace. For example: http://mysql-cluster-db-monitor-svc.{cndbnamspace}.svc.{domainname}:8080/db-tier/status/local |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_SECONDARY_SITEID | Secondary Site ID | OCNWDAF-XX-2 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_SECONDARY_ADDRESS | Secondary Site Address |
The Resolvable URL of the OCNWDAF Gateway of Secondary Site. This address should be reachable outside the cluster |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_TERTIARY_SITEID | Tertiary Site ID | OCNWDAF-XX-3 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_SITE_TERTIARY_ADDRESS | Tertiary Site Address |
The Resolvable URL of the OCNWDAF Gateway of Tertiary Site. This address should be reachable outside the cluster |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_DB_URL | IP of the Site cnDBTier | The Cluster IP/External IP of the CNDB |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_USERNAME | Name of the DB User with privileges to GRD DB and Subscription DB. The user should have access to both GRD and Subscription Databases | occneuser |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_PASSWORD | Password for the DB User | password |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_ENABLE | Enable/disable GRD | false |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_DB_PORT | Port of the database | 3306 |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_DB_NAME | Name of the GRD database | georedagent |
| ocnnwdaf.geored.agent.env.GEO_RED_AGENT_CONFIG_SERVER | Config Server URL for the Site's OCNWDAF | http://nwdaf-cap4c-spring-cloud-config-server:8888 |