Intelligent management of rearranged servers in a data processing system
A system and method of managing configurations of rearranged servers in a data processing system (DPS). The method includes acquiring infrastructure data associated with a DPS including a first group of servers being monitored by a first group of sensors that generate a first set of sensor data and a second group of servers being monitored by a second group of sensors that generate a second set of sensor data. The method includes querying the DPS to acquire a plurality of network addresses associated with the first group of servers and the second group of servers. The method includes identifying a plurality of DPS locations of the first group of servers and the second group of servers. The method includes generating, based on the plurality of DPS locations, a server location map of the first group of servers and the second group of servers in the DPS.
1 . A method comprising:
acquiring infrastructure data associated with a data process system (DPS) comprising a first group of servers being monitored by a first group of sensors that generate a first set of sensor data and a second group of servers being monitored by a second group of sensors that generate a second set of sensor data;
querying the DPS to acquire a plurality of network addresses associated with the first group of servers and the second group of servers;
identifying, by a processing device based on the infrastructure data and the plurality of network addresses, a plurality of DPS locations of the first group of servers and the second group of servers;
generating, based on the plurality of DPS locations, a server location map of the first group of servers and the second group of servers in the DPS, the server location map associates the first group of servers with the first set of sensor data and the second group of servers with the second set of sensor data;
determining, based on the plurality of DPS locations, a relocation of a first server of the first group of servers to cause the first server to join the second group of servers;
re-generating the server location map to indicate the relocation of the first server of the first group of servers to cause the first server to join the second group of servers; and
re-associating the first server from the first group of sensors to the second group of sensors responsive to determining the relocation of the first server,
wherein the server location map further indicates that the first server is associated with the second set of sensor data instead of the first set of sensor data.
2 . The method of claim 1 , further comprising:
receiving the first set of sensor data and the second set of sensor data from a local control system that executes an application to gather the first set of sensor data and the second set of sensor data from the DPS and forward the first set of sensor data and the second set of sensor data to the processing device.
3 . The method of claim 1 , further comprising:
prior to determining the relocation of the first server of the first group of servers,
generating configuration data for the first server of the first group of servers based on the first set of sensor data; and
providing the configuration data to the first server to cause the first server to be adjusted based on the configuration data; and
responsive to determining the relocation of the first server of the first group of servers,
generating additional configuration data for the first server of the first group of servers based on the second set of sensor data; and
providing the additional configuration data to the first server to cause the first server to be adjusted based on the additional configuration data.
4 . The method of claim 1 , further comprising:
preconfiguring the first server based on the second set of sensor data responsive to determining the relocation of the first server of the first group of servers, wherein the second group of sensors generated the second set of sensor data based on the second group of servers and without monitoring the first server.
5 . The method of claim 1 , wherein a first portion of the plurality of DPS locations respectively correspond to a first group of rack slots of a first server rack associated with the first group of servers, and wherein a second portion of the plurality of DPS locations respectively correspond to a second group of rack slots of a second server rack associated with the second group of servers.
6 . The method of claim 1 , wherein determining, based on the plurality of DPS locations, the relocation of the first server of the first group of servers to cause the first server to join the second group of servers further comprises:
receiving, from an application executing a local control system, a message indicating that the application received:
a request to listen for a broadcast message to be sent from a current server that is coupled to a second port of a plurality of ports of a second network switch, and
the broadcast message indicating that a current network address of the current server corresponds to a first network address of the first server; and
determining, based on the broadcast message, that the current server corresponds to the first server.
7 . The method of claim 1 , wherein
the first group of servers is coupled to a first network switch and the second group of servers is coupled to a second network switch;
the infrastructure data comprises a first mapping of a plurality of ports of the first network switch to a first group of location identifiers that respectively correspond to a first portion of the plurality of DPS locations; and
the infrastructure data comprises a second mapping of a plurality of ports of the second network switch to a second group of location identifiers that respectively correspond to a second portion of the plurality of DPS locations.
8 . The method of claim 7 , wherein identifying, by the processing device based on the infrastructure data and the plurality of network addresses, the plurality of DPS locations of the first group of servers and the second group of servers further comprises:
determining that a first set of network addresses corresponding to the first group of servers is included in a first network address table of the first network switch; and
determining that a second set of network identifiers corresponding to the second group of servers is included in a second network address table of the second network switch.
9 . The method of claim 1 , wherein each of the first group of sensors and the second group of sensors include at least one of a temperature sensor, a power sensor, or an airflow sensor.
10 . A system comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
acquire infrastructure data associated with a data process system (DPS) comprising a first group of servers being monitored by a first group of sensors that generate a first set of sensor data and a second group of servers being monitored by a second group of sensors that generate a second set of sensor data;
query the DPS to acquire a plurality of network addresses associated with the first group of servers and the second group of servers;
identify, based on the infrastructure data and the plurality of network addresses, a plurality of DPS locations of the first group of servers and the second group of servers;
generate, based on the plurality of DPS locations, a server location map of the first group of servers and the second group of servers in the DPS, the server location map associates the first group of servers with the first set of sensor data and the second group of servers with the second set of sensor data;
determine, based on the plurality of DPS locations, a relocation of a first server of the first group of servers to cause the first server to join the second group of servers;
re-generate the server location map to indicate the relocation of the first server of the first group of servers to cause the first server to join the second group of servers; and
re-associate the first server from the first group of sensors to the second group of sensors responsive to determining the relocation of the first server,
wherein the server location map further indicates that the first server is associated with the second set of sensor data instead of the first set of sensor data.
11 . The system of claim 10 , wherein the processing device is further to:
receive the first set of sensor data and the second set of sensor data from a local control system that executes an application to gather the first set of sensor data and the second set of sensor data from the DPS and forward the first set of sensor data and the second set of sensor data to the processing device.
12 . The system of claim 10 , wherein the processing device is further to:
prior to determining the relocation of the first server of the first group of servers,
generate configuration data for the first server of the first group of servers based on the first set of sensor data; and
provide the configuration data to the first server to cause the first server to be adjusted based on the configuration data;
responsive to determining the relocation of the first server of the first group of servers,
generate additional configuration data for the first server of the first group of servers based on the second set of sensor data; and
provide the additional configuration data to the first server to cause the first server to be adjusted based on the additional configuration data.
13 . The system of claim 10 , wherein the processing device is further to:
preconfigure the first server based on the second set of sensor data responsive to determining the relocation of the first server of the first group of servers, wherein the second group of sensors generated the second set of sensor data based on the second group of servers and without monitoring the first server.
14 . The system of claim 10 , wherein a first portion of the plurality of DPS locations respectively correspond to a first group of rack slots of a first server rack associated with the first group of servers, and wherein a second portion of the plurality of DPS locations respectively correspond to a second group of rack slots of a second server rack associated with the second group of servers.
15 . The system of claim 10 , wherein to determine, based on the infrastructure data, the relocation of the first server of the first group of servers to cause the first server to join the second group of servers, the processing device is further to:
receive, from an application executing a local control system, a message indicating that the application received:
a request to listen for a broadcast message to be sent from a current server that is coupled to a second port of the plurality of ports of a second network switch, and
the broadcast message indicating that a current network address of the current server corresponds to a first network address of the first server; and
determine, based on the broadcast message, that the current server corresponds to the first server.
16 . The system of claim 10 , wherein the processing device is further to:
the first group of servers is coupled to a first network switch and the second group of servers is coupled to a second network switch;
the infrastructure data comprises a first mapping of a plurality of ports of the first network switch to a first group of location identifiers that respectively correspond to a first portion of the plurality of DPS locations; and
the infrastructure data comprises a second mapping of a plurality of ports of the second network switch to a second group of location identifiers that respectively correspond to a second portion of the plurality of DPS locations.
17 . The system of claim 16 , wherein to identify, by the processing device based on the infrastructure data and the plurality of network addresses, the plurality of DPS locations of the first group of servers and the second group of servers, the processing device is further to:
determine that a first set of network addresses that correspond to the first group of servers is included in a first network address table of the first network switch; and
determine that a second set of network identifiers corresponding to the second group of servers is included in a second network address table of the second network switch.
18 . The system of claim 10 , wherein each of the first group of sensors and the second group of sensors include at least one of a temperature sensor, a power sensor, or an airflow sensor.
19 . A non-transitory computer-readable medium storing instructions that, when execute by a processing device, cause the processing device to:
acquire infrastructure data associated with a data process system (DPS) comprising a first group of servers being monitored by a first group of sensors that generate a first set of sensor data and a second group of servers being monitored by a second group of sensors that generate a second set of sensor data;
query the DPS to acquire a plurality of network addresses associated with the first group of servers and the second group of servers;
identify, by the processing device and based on the infrastructure data and the plurality of network addresses, a plurality of DPS locations of the first group of servers and the second group of servers;
generate, based on the plurality of DPS locations, a server location map of the first group of servers and the second group of servers in the DPS, the server location map associates the first group of servers with the first set of sensor data and the second group of servers with the second set of sensor data;
determine, based on the plurality of DPS locations, a relocation of a first server of the first group of servers to cause the first server to join the second group of servers;
re-generate the server location map to indicate the relocation of the first server of the first group of servers to cause the first server to join the second group of servers; and
re-associate the first server from the first group of sensors to the second group of sensors responsive to determining the relocation of the first server,
wherein the server location map further indicates that the first server is associated with the second set of sensor data instead of the first set of sensor data.