Mismatched Server Realms after adding vCenter servers with fakevCenter

We have added vCenter servers using the fakevCenter tool in support/bin and since doing so, we always have the error when running diagnostics.

Mismatched Server Realms (Finds any servers whose Realm doesn't match its Realm RoleClass.) : Servers with mismatched Realm relationships:  [138670001, 176730001, 146100001]

Has anyone figured out a way to get the diagnostics to ignore these? When we run the cli diagnostics it errors out part way through as well:

/opt/opsware/oi_util/bin/run_all_probes.sh run

Mismatched Server Realms (Finds any servers whose Realm doesn't match its Realm RoleClass.) : Servers with mismatched Realm relationships: [138670001, 176730001, 146100001]
--------------------------
(Local execution failed - exit code 1)

[Summary]
1 of 1 hosts are valid Opsware core systems.
4 of 7 validation probes passed.
[root@mysaserver ~]#

Thanks,

/A

  • Verified Answer

    +1

    Problem solved. Seem when I ran the ./fakeVCenter --ip 10.10.10.20 I neglected to include the --realmid and it defaulted to one of the realms under the primary core. We have 3 listed - Core1, Core1-agents and Core1-mm. It assigned the vCenters to Core1-agents instead of Core1.

    So I removed the virtualization servers, deactivated, deleted and waited 20 minutes.Ran garbage collection manually for good measure.

    Next I added the vCenters back using ./fakeVCenter --ip 10.10.10.20 --realmid 40001 and now there are no more errors running diagnostics. From the man page:

    .B \-\-ip <vcenter_ip>
    This mandatory argument is the IP address of a vCenter
    .TP
    .B \-\-realmid <id>
    Option argument of the realm to create the device in, if not supplied
    the Realm of the facilty where the script is executed is computed.
    .SH USAGE
    This example will integrate a vCenter at 192.168.1.35, first mock the server.

    # fakeVCenter --ip 192.168.1.35

  • 0   in reply to 

    Make sure you are using at least OPSWtools-2.0.40 there was a bug that created realm mismatch errors.
    This switch is handy to correct data created by prior version --fixIntegrity
    Or just delete them, use the latest version of the tools, and create them again.