Reconciling Services and servers - field synchronisation

Chaz_
Tera Guru

Hi,

 

I have a use case and would like to get some thoughts from the architect community around the best and most efficient way of handling this.

 

Service1 - Type field = a, b

 

Server1 - Type field = a, b

Server2 - Type filed = b, c

Server3 - Type field = d, b, a

 

In the above scenario, Service1 is related to several servers. The service and servers all have a type field. I would like to run some sort of job/BR which would loop through the service down to all its servers, and check if any of the servers have a type which is not defined at the server level.

 

For example, Server2 has c and Server3 has d which are not on the service. How could I check these differences, at scale, across all services and downstream rels to the servers, and work out which types are not present on the service, and then initiate an action to remove that type?

 

I imagine storing things in an array may help, but run the risk of causing memory issues on the service now servers.

 

Thanks.

2 REPLIES 2

Kristen Ankeny
Kilo Sage

A couple questions:

- Are you using service mapping?

- How far down the infrastructure do you need to go to find possible servers?

Chaz_
Tera Guru

Hi,

 

We are not using service mapping. We probably need to go down up to 4/5 levels, but there could more.

 

Thanks.