Creation of Data Guard association fails

Description: DBAAS-70658:[FATAL] [DBAAS-70658] Inconsistent rpm versions detected in the Data Guard clusters for the RPM ‘dbcsagent’ .

Cause: The primary database cluster and the standby cluster have mismatched versions of the dbcs-agent RPM.

For example:

  • Primary database cluster: dbcs-agent-update-2.24.0.0.0-241009.1500.x86_64
  • Standby cluster node (exa-dbhost1): dbcs-agent-update-24.3.2.0.0-240828.1206.x86_64

Action: Ensure that all nodes across both the primary and standby clusters have the same versions of the dbcs-agent and dbaastools RPMs installed.

  1. Check the current RPM versions.

    Log in to the database server, switch to the root user, and run the following commands:

    rpm -qa | grep agent
    dbcs-agent-2.8OL7-22.3.1.0.1_220721.1435.x86_64
    dbcs-agent-update-25.1.1.0.0-250107.0908.x86_64
    rpm -qa | grep dbaas
    dbaastools_exa-1.0-25.1.1.0.0_250107.0908.x86_64

    If the versions differ between nodes within the same cluster or across primary and standby clusters, perform the following updates.

  2. Update dbcs agent RPMs
    1. Contact Oracle Support or your cloud operations team to obtain the latest dbcs-agent RPM packages.
    2. Copy the RPMs to all database servers
    3. Log in to each database server, switch to the root user, and run:
      dbaascli admin updateAgent --imageTag <image_tag_of_agent_update_rpm>

      For example:

      dbaascli admin updateAgent --imageTag dbcs-agent-update-24.3.2.0.0-240828.1206.x86_64
  3. Update the admin agent.
    dbaascli admin updateAgent --adminAgent --imageTag <image_tag_of_admin_update_rpm>

    For example:

    dbaascli admin updateAgent --adminAgent --imageTag dbcs-admin-update-1.2.0.0.0_240429.1351.x86_64
  4. Update dbaastools.
    dbaascli admin updateStack -latest

For more information, see dbaascli admin updateStack.