Compare Configuration Across Two Different systems
Starting with Oracle Autonomous Health Framework (AHF) 23.1, Oracle Orachk and Oracle Exachk can compare configurations across two different systems.
Configuration comparison is useful for scenarios such as:
- Primary versus standby systems.
- Test versus production systems.
- Healthy versus unhealthy systems.
Run Oracle Orachk or Oracle Exachk on both systems, and then use the resulting collection ZIP files with the -diff option.
The comparison identifies:
- Different values for the same configuration or parameter.
- Values found only in the first system.
- Values found only in the second system.
- Values common to both systems.
For Oracle Orachk:
orachk -diff <compliance_collection_zip1> <compliance_collection_zip2> -force -showallcomparison
For Oracle Exachk:
exachk -diff <compliance_collection_zip1> <compliance_collection_zip2> -force -showallcomparison
The -showallcomparison option generates configuration comparisons for all applicable targets, including:
- Database servers
- Storage servers
- Switches
- Oracle ASM
- Patches
- Other discovered configuration components
Without -showallcomparison, the command compares only one target of each type, such as one database server, one storage server, and one switch.
Note:
You can use the -showallcomparison option only when the -force option is also specified with the -diff command.