Determining electrical wiring connection configuration for power system
By receiving data from PDU and electrical equipment units, linear regression or elastic network algorithms are used to automatically determine the wiring association of the power system, solving the errors and delays of manual mapping, achieving real-time and accurate monitoring and adjustment of the power system, and ensuring system redundancy and security.
Patent Information
- Application Number
- CN202280092020.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-18
- Filing Date
- 2022-04-21
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, manual mapping of the electrical wiring topology or configuration of the power system is error-prone, slow and expensive, and records are updated slowly when the wiring configuration changes, resulting in knowledge that is time-sensitive and difficult to timely identify and respond to unplanned server outages and other situations. .
By receiving power usage and activity measurement data of PDU sockets and electrical equipment units, using linear regression methods or elastic network algorithms to estimate models, automatically determine the association between PDU sockets and electrical equipment units, monitor and adjust wiring configurations in real time, and meet redundancy and constraints, generating alerts or actions in response to unexpected changes.
It achieves quasi-real-time, accurate and automatic monitoring and adjustment of power system wiring configuration, reduces error risks and costs, identifies and responds to configuration changes in a timely manner, and ensures system redundancy and security.
Smart Images

Figure CN118786394A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to monitoring an electric power system including a plurality of power distribution units (PDUs) and a plurality of electrical equipment units to be supplied with electric power. In particular, the present invention relates to determining the configuration of electrical wiring connections between power outlets of the PDUs and the electrical equipment units. Background Art
[0002] The power system controls the delivery of power to various electrical equipment units or users that require such power. For example, in a data center, power is delivered from a power distribution unit (PDU) to various units of electrical equipment in a server room, such as various server machines. In particular, power is delivered via electrical wiring connections between the outlets of the PDU and the server machines.
[0003] It is desirable to understand the topology or configuration of the electrical wiring connecting the PDUs and electrical equipment units (e.g., servers), i.e., to understand which PDU outlets are connected to which electrical equipment units. This can help, for example, to ensure that adequate redundancy is provided for server machines or other equipment that provide critical services, to identify security vulnerabilities, or to understand the impact of withdrawing or shutting down a particular power line, for example, for maintenance. This electrical wiring configuration can change relatively frequently over time; for example, when server machines are swapped in and out of service, or when maintenance is to be performed on certain parts of the power system.
[0004] It is known to perform manual mapping of the topology or configuration of the electrical wiring of an electric power system. That is, the physical wiring links may be checked manually by service personnel. However, this approach has the disadvantage of being prone to errors and being relatively slow and expensive to perform. In practice, a relatively long period of time may elapse between a change occurring in the wiring topology and that change being reflected in the records, since the records may be updated only during relatively infrequent updates that are performed manually. This may create the problem that the knowledge of the wiring configuration may be time-sensitive, for example in the event of an unplanned server outage requiring the replacement of a set of PDUs.
[0005] The present invention is set in this context. Summary of the invention
[0006] According to one aspect of the present invention, there is provided a computer-implemented method for monitoring an electric power system, the electric power system comprising a plurality of power distribution units (PDUs) and a plurality of electrical equipment units to be provided with electric power. The method is used to determine the configuration of the electrical wiring connection between the power outlets of the PDU and the electrical equipment units. The method comprises receiving PDU data indicating the power usage of each of the PDU outlets over time. The method comprises receiving activity data indicating one or more activity metrics of each of the electrical equipment units over time. The method comprises determining an association between the PDU outlets and the electrical equipment units based on the received PDU data and the received activity data to determine the configuration of the electrical wiring connection between the outlets of the PDU and the electrical equipment units.
[0007] Determining the association between the PDU outlets and the electrical equipment units includes, for each of the electrical equipment units: estimating a model describing the activity of the corresponding electrical equipment unit as a function of the power usage of each of the PDU outlets; and based on the estimated model, selecting which of the PDU outlets is associated with the corresponding electrical equipment unit. Alternatively, determining the association between the PDU outlets and the electrical equipment units may include, for each of the PDU outlets, estimating a model describing the power usage of the corresponding PDU outlet as a function of the activity of each of the electrical equipment units; and based on the estimated model, selecting which of the electrical equipment units is associated with the corresponding PDU outlet.
[0008] The function may be a linear function.
[0009] The model can be estimated using linear regression methods.
[0010] In the model, the power usage of each PDU outlet can have a corresponding coefficient associated therewith. Each coefficient can indicate a proportion of the activity of the electrical equipment unit associated with the corresponding PDU outlet. Estimating the model can include estimating the value of each coefficient.
[0011] For each PDU socket, if the estimated value of the corresponding coefficient is greater than a specified threshold, it can be determined that the corresponding PDU socket is associated with the corresponding electrical equipment unit.
[0012] If the estimated value of the corresponding coefficient is within a specified tolerance from zero, it may be determined that the corresponding PDU outlet is not associated with the corresponding electrical equipment unit.
[0013] For one of the PDU sockets, the selecting step may include: estimating another model describing the activity of the corresponding electrical equipment unit as a function of power usage of each of the PDU sockets except the one PDU socket; and determining that the one of the PDU sockets is associated with the corresponding electrical equipment unit if the estimated activity of the other model is within a specified tolerance of the estimated activity of the model.
[0014] If the estimated activity of the other model is not within a specified tolerance, then the one of the PDU outlets may be dropped from the model.
[0015] The selecting step may include repeating the estimating and determining steps for each of the PDU outlets.The further model describing the activity of the respective electrical equipment units may be a function of the power usage of those PDU outlets that were not previously discarded from the model.
[0016] The steps of estimating the model and selecting which of the PDU outlets is associated with the corresponding electrical equipment unit may be performed simultaneously.
[0017] The estimation step and the selection step may be performed using an elastic net algorithm.
[0018] Determining an association between a PDU socket and an electrical equipment unit may include: calculating a distance metric between power usage of each PDU socket and one or more activity metrics of each electrical equipment unit; and determining which of the PDU sockets is associated with each of the corresponding electrical equipment units based on the calculated distance metric.
[0019] Determining which of the PDU outlets is associated with each of the respective electrical equipment units may include solving a linear sum assignment problem to minimize a sum of distance metrics between the associated PDU outlets and the electrical equipment units.
[0020] Each electrical equipment unit may be associated with more than one PDU socket. Optionally, each electrical equipment unit may be associated with two PDU sockets.
[0021] The method may include analyzing the determined electrical wiring configuration for one or more defined constraints to be satisfied by the electrical wiring configuration. The method may include outputting an action if the determined electrical wiring configuration does not satisfy a respective constraint.
[0022] The one or more defined constraints may include a redundancy constraint, which includes, for each of the plurality of electrical equipment units, that the corresponding electrical equipment unit must be connected to at least two of the PDU outlets. The one or more defined constraints may include a redundancy constraint, which includes, for each of the plurality of electrical equipment units, that at least two of the PDU outlets to which the corresponding electrical equipment unit is connected must receive power from different power sources of the power system.
[0023] The method may include identifying one or more of the electrical equipment units that provide critical functionality. In some examples, only the identified one or more electrical equipment units may be analyzed for redundancy constraints.
[0024] For each electrical equipment unit in the plurality of electrical equipment units, if the corresponding electrical equipment unit does not satisfy the constraint of being connected to at least two of the PDU outlets, the method may include selecting a PDU outlet from one or more available PDU outlets in the plurality of PDU outlets. The output action may include providing a recommendation to connect the corresponding electrical equipment unit to the selected PDU outlet.
[0025] Selecting a PDU outlet from a plurality of PDU outlets may be based on the physical proximity of the corresponding electrical equipment unit to one or more available PDU outlets. Optionally, the selected PDU outlet may be the PDU outlet that is physically closest to the corresponding electrical equipment unit.
[0026] Selecting a PDU outlet from the plurality of PDU outlets may be based on the respective current loads of each of the plurality of power sources providing power to the plurality of PDU outlets. Optionally, the selected PDU outlet may be the PDU outlet receiving power from the power source having the lowest current load.
[0027] The one or more defined constraints may include that each of the PDUs has no more than a defined maximum number of electrical equipment units connected thereto. The one or more defined constraints may include that a particular electrical equipment unit must be connected to a PDU in a defined subset of the PDUs.
[0028] The output action may include generating an alarm, optionally an audible and / or visual alarm. The output action may include outputting a notification to one or more personnel, optionally one or more maintenance personnel and / or system administrators.
[0029] The method may include comparing the associations determined at the current time step with previously determined associations from previous time steps to identify changes in the wiring configuration. The method may include, for each identified change, determining whether the change is an unexpected change, and if the change is an unexpected change, outputting an action.
[0030] The action may include generating an alert for one or more service personnel or maintenance personnel. The action may include triggering a secure erase of the electrical equipment unit associated with the unexpected change. The action may include restricting physical access to the electrical equipment unit associated with the unexpected change.
[0031] The received PDU data may be time series data indicating power usage of PDU outlets over a defined historical time period.The received activity data may be time series data indicating activity metrics of electrical equipment units over a defined historical time period.
[0032] The method may include, prior to determining an association between a PDU outlet and an electrical equipment unit, realigning the time series data so that samples of the PDU data and the activity data relate to the same time step.
[0033] The realignment step may include upsampling the PDU data and / or activity data and interpolating the upsampled data to a defined sampling period. The realignment step may include downsampling the interpolated data to a desired sampling period using samples of the PDU data and activity data associated with the same time step.
[0034] The power system may be a data center power system.One or more of the electrical equipment units may be server machines.
[0035] The one or more activity metrics of each electrical equipment unit may include central processing unit (CPU) utilization of the electrical equipment unit. The one or more activity metrics of each electrical equipment unit may include memory utilization of the electrical equipment unit. The one or more activity metrics of each electrical equipment unit may include the number of bytes transferred in input / output operations generated by processes of the electrical equipment unit. The one or more activity metrics of each electrical equipment unit may include disk accesses per second. The one or more activity metrics of each electrical equipment unit may include graphics processing unit (GPU) activity of the electrical equipment unit.
[0036] According to another aspect of the present invention, there is provided a non-transitory computer-readable medium having instructions stored thereon, which, when executed by a processor, cause the processor to perform the method as described above.
[0037] According to another aspect of the present invention, there is provided a controller for monitoring an electric power system, the electric power system comprising a plurality of power distribution units (PDUs) and a plurality of electrical equipment units to be provided with electric power. The controller is used to determine the configuration of the electrical wiring connection between the power outlets of the PDU and the electrical equipment units. The controller comprises one or more processors, the one or more processors being configured to: receive PDU data indicating the power usage of each of the PDU outlets over time; receive activity data indicating one or more activity metrics of each of the electrical equipment units over time; and determine the association between the PDU outlets and the electrical equipment units based on the received PDU data and the received activity data to determine the configuration of the electrical wiring connection between the outlets of the PDU and the electrical equipment units. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Examples of the present invention will now be described with reference to the accompanying drawings, in which:
[0039] Figure 1 schematically illustrates a power system of a data center according to an example of the present invention; and
[0040] Figure 2 An example of a method for monitoring the Figure 1 The steps of the method for an electric power system. DETAILED DESCRIPTION
[0041] Figure 1 1 is a schematic diagram of a data center 10 for housing computer systems and related components. For example, data center 10 may be in the form of a building or a dedicated space within a building.
[0042] Figure 1 A power system 12 is schematically shown, wherein power is supplied to systems and components in a data center 10. The power system 12 includes a plurality of power distribution units (PDUs) 121 in the form of devices that distribute power from the input of each PDU 121 to a plurality of outlets. PDUs are typically used to distribute power to devices such as computer racks and / or network devices in a data center. The input of each PDU 121 can receive power from any suitable power source 124 (e.g., an uninterruptible power supply (UPS), a (backup) generator, or other utility power source). Different PDUs in the PDU 121 can receive power from different power sources 124. For example, a first set 121a of PDUs 121 can receive power from a first UPS 124a, and a second set 121b of PDUs 121 can receive power from a second UPS 124b that is different from the first UPS 124a.
[0043] The power system 12 includes a plurality of electrical equipment units or components 122 that require power to operate or function. In the depicted example, the PDU 121 may provide power to electrical equipment located in a server room or space 101 of the data center 10. The electrical equipment units 122 in the server room 101 may primarily include server machines (or simply servers) that provide services (e.g., processing or storage / storage services) to various client stations (e.g., computers). The electrical equipment units 122 may also include other server room equipment that requires power, such as peripherals or hardware.
[0044] PDU 121 supplies power to server 122 via physical link 123 therebetween. Specifically, the link is in the form of electrical wiring 123, each of which connects a socket of one of PDU 121 to one of servers 122. Figure 1 As shown, each server 122 may be connected to more than one PDU 121. In the context of a data center, this provides redundancy in the power system, as the failure of one PDU does not necessarily indicate a cessation of operation of the associated server, thereby preventing unplanned downtime of service critical equipment.
[0045] The specific wiring configuration of the power system 12 - i.e., which PDU outlets 121 are connected to the servers 122 via the electrical wiring 123 - can change relatively frequently over time. In a data center, servers and related equipment may be taken out of service relatively regularly for maintenance or upgrades, e.g., a particular power line may be shut down for a period of time. MAC (Move, Add, Change) operations may be performed to install, relocate, and / or upgrade various electrical equipment, e.g., servers.
[0046] Manually monitoring the mapping of the electrical wiring between the outlets of PDUs 121 and servers 122 would be expensive, time consuming, and prone to error. Furthermore, when performed manually, updates to the mapping may be performed relatively infrequently, which means that a relatively long time may pass between a change in the wiring configuration and the change being reflected in the record.
[0047] Although the power system is described in the context of providing power to equipment in a data center, it should be understood that the described power system can be used in different contexts where a PDU provides power to various electrical equipment units and components, for example, in a home or office setting, at a manufacturing site, etc.
[0048] Figure 1Also included is a system or controller 14 for monitoring the power system 12. In particular, the system 14 is used to determine the configuration of the physical wiring or link 123 between the outlets of the PDU 121 and the server 122, as will be discussed in more detail below. The controller 14 includes an input configured to receive data indicative of the operation of the power system 12, such as data from the PDU 121, the server 122, and / or another source (e.g., a storage device) storing data indicative of the operation of the power system 12. The controller 14 includes an output that can transmit an alarm or control signal based on the determined wiring configuration.
[0049] The controller 14 may be in the form of or include any suitable computing device, for example, one or more functional units or modules implemented on one or more computer processors. Such functional units may be provided by suitable software running on any suitable computing substrate using conventional or custom processors and memory. One or more functional units may use a common computing substrate (e.g., the functional units may run on the same server) or a separate substrate, or one or both functional units may themselves be distributed among multiple computing devices. The computer memory may store instructions for executing the methods to be performed by the controller 14, and the processor may execute the stored instructions to perform the methods.
[0050] Although indicated as being separate from the power system 12 in the illustrated example, in different examples, the system or controller 14 can be considered to be part of the power system 12. The controller can be located in any suitable location. For example, the controller can be near one or more other components of the power system, such as in a server room 101 having server machines of the data center 10, or in a different location within the data center 10. Alternatively, the controller can be remote from other components of the power system and / or remote from the data center. In fact, in some examples, the controller can be considered to be one of the electrical equipment units powered by the PDU 121 and monitor itself as part of the method described below to automatically determine and monitor the wiring topology between the PDU outlets and the electrical equipment units.
[0051] The present invention is advantageous in that it provides automatic determination and monitoring of the configuration or topology of physical links or wiring connections between outlets of a PDU of an electrical power system and electrical equipment units (e.g., server machines in a data center) to which the PDU provides power. In particular, the present invention is advantageous in that automatic monitoring allows changes in the wiring configuration (which may occur relatively frequently) to be identified in real time, quasi real time, or at any other desired frequency.
[0052] This means that actions responsive to identified configuration changes can be performed in a timely manner. For example, in the case of a security breach where a server is disconnected from a power source, the breach is detected immediately, meaning that actions can be taken quickly to contain the breach. As another example, in the case where one or more of the electrical equipment units have unplanned downtime, the associated PDUs can be immediately identified and replaced or repaired if necessary, thereby minimizing the unplanned downtime.
[0053] The automatic monitoring of the present invention also provides for an inexpensive and accurate determination of the wiring configuration and eliminates the risk of error and expense involved when such tasks are performed manually.
[0054] The present invention achieves these benefits by determining a mapping between a PDU's outlets and electrical equipment units (e.g., servers) that represents a physical link between the PDU outlets and the servers. In particular, the mapping is determined based on analyzing the power usage of each of the PDU outlets in conjunction with the (processing) activity of the servers so as to determine a correlation or pattern indicating a physical wiring connection between a particular one of the PDU outlets and a particular PDU outlet in the server. This will be described in more detail below. Beneficially, the present invention uses readily available data to automatically map the wiring configuration.
[0055] Figure 2 Steps of a method 20 are shown that is performed by a system or controller 14 to determine and monitor the configuration of electrical wiring connections 123 between power outlets of a PDU 121 and electrical equipment units 122 (eg, servers and / or other server room equipment).
[0056] At step 201, the method 20 involves receiving PDU data indicating power usage over time for each of the PDU outlets. In particular, the PDU data is received at an input of the controller 14. The PDU data may be in the form of time series data indicating power usage of the PDU outlets over a defined historical time period, i.e., historical time series data in the form of a power consumption signature indicating the time power consumption of each PDU outlet. The time series data may be sampled at fixed intervals.
[0057] The PDU data may be received or obtained directly from each PDU outlet (or from each PDU 121). Alternatively, the PDU data may be obtained from a central platform that receives and stores power consumption data for each PDU outlet. The controller 14 may receive the PDU data substantially continuously, meaning that the power consumption data is received in real time or near real time, or the controller 14 may receive the PDU data at fixed intervals, wherein the data covers a specified operating period.
[0058] Also at step 201, the method 20 involves receiving activity or performance data indicating one or more activity or performance metrics of each electrical equipment unit 122 (e.g., server) over time. Similar to the PDU data described above, the activity data is received at an input of the controller 14. The activity data may be in the form of time series data indicating one or more metrics of server activity or performance over a defined historical time period, i.e., historical time series data in the form of a server activity signature indicating temporal server activity or performance of each server 122. The time series data may be sampled at fixed intervals.
[0059] The activity data may be received or obtained directly from each server 122, for example, via a standard monitoring interface commonly available on the server, such as VMware, vCenter, Windows Sysinternals, SolarWinds IT monitoring software, HPE OneView, etc. That is, the activity data may be retrieved from each server 122 by connecting to a management server or a special API (application programming interface) on each server. The activity data may be received from the server's (PMS) platform management system.
[0060] The activity data may include any suitable data indicating the activity or performance over time of each server 122. For example, the activity data may include processor usage (central processing unit (CPU) percentage), memory usage, bytes read / written on disk (e.g., disk accesses per second), bytes sent / received on a network interface, graphics processing unit (GPU) activity of the server, etc.
[0061] In step 202, method 20 may optionally involve realigning the received PDU and activity time series data so that samples of the PDU data and the activity data relate to the same time step. In particular, the sampling period of the received data may not be constant over time. For example, even if the sampling period should be five seconds, in fact, it may actually be between four and six seconds. Each server may also have a different sampling rate and / or be sampled at different times, for example, the first server is sampled at 0, 5, 10... seconds, and the second server is sampled at 2, 12, 22... seconds. Therefore, the received data can be manipulated to have the same sampling period and the same sampling instance. This can be performed by interpolation (e.g., linear interpolation) of the received data.
[0062] In one example, data realignment may involve upsampling the received PDU data and / or activity data and interpolating the upsampled data to a defined sampling period. The upsampled interpolated data may then be downsampled to a desired sampling period (typically the same sampling period as the original data), for example, one second, wherein the sampling of the PDU data and the activity data involves the same time step, i.e., the resulting data has a sampling instant that is common to both the PDU socket and the server. The downsampling describes retaining the desired data while discarding the remaining data. This data realignment may advantageously allow for more accurate analysis and comparison of the PDU data and the server data to identify patterns and associations in the following steps.
[0063] At step 203 , method 20 involves determining associations between PDU outlets and electrical equipment units 122 based on the received PDU data and the received activity data to determine an electrical wiring connection configuration between the outlets of PDU 121 and electrical equipment units 122 .
[0064] In one example, the association of each server (or other electrical equipment unit) 122 may be determined or inferred by estimating a model that describes the activity of the corresponding server 122 based on the power usage of each of the PDU outlets. The estimated model may then be used to determine which of the PDU outlets is associated with the corresponding server 122. In a different example, a model that describes the power usage of the corresponding PDU outlets based on the activity of the servers 122 may be estimated, and the estimated model may then be used to determine which of the servers 122 are associated with the corresponding PDU outlets.
[0065] In more detail, consider the first server in servers 122. Activity data (e.g., time series) for server 122 and power usage data for each PDU outlet are extracted. A model is then fitted using the power signature time series for each PDU in PDU 121 to predict or estimate server activity. For example, the fitted model may be a linear model of the form:
[0066] s=a0+a1p1+a2p2+a3p3+…
[0067] Where s is the server 122 under consideration, p1, p2, p3, ... are the sockets of the PDU 121 of the system 12, and a1, a2, a3, ... are coefficients representing the proportion of the activity on the server 122 under consideration that is related to the power consumption of the corresponding PDU socket. a0 can be considered as an intercept term representing a baseline level of activity of the server 122 under consideration that is not explained by the power consumption of any PDU socket.
[0068] It is assumed that an increase in power consumption at the PDU outlet is highly unlikely to correspond to a decrease in server activity. Therefore, a constraint can be imposed that the coefficients take non-negative values, i.e., a0,a1,a2,…≥0.
[0069] Once the model has been fit to the server 122 under consideration, a step is performed to discard from the model those PDU outlets that are not associated with the respective server 122. This may be referred to as a feature selection step. In particular, the feature selection step examines or analyzes the inferred coefficients in the estimated model, and in particular, examines or analyzes the strength of the relationship between the time series of each of the PDU outlets and the server 122. PDU outlets whose inferred coefficients are considered not to be significantly different from zero are discarded, and the remaining PDU outlets are considered to be connected to the server 122 under consideration.
[0070] The feature selection step can be performed step by step. For example, one of the PDU sockets can be considered for removal from the estimated model. A comparison of model metrics with and without the one of the PDU sockets can be performed. For example, this can involve estimating another model in the absence of data associated with the PDU socket considered for removal, and comparing the model to the other model. If there is no statistically significant degradation in the performance of the server 122 under consideration, it can be assumed that the one PDU socket is not connected to the server 122, and the one PDU socket is removed from the model. Otherwise, the one PDU socket remains in the model. The process can be repeated for each PDU socket. The feature selection step can be performed using a linear regression method.
[0071] Additionally, bootstrapping methods can be used to perform feature selection. In particular, time series data can be broken down into smaller sub-parts of the data and then concatenated together in order to minimize the impact of unusual instances in the data when estimating the model.
[0072] The above steps are repeated in sequence for each of the servers 122 until it has been inferred which of the PDU outlets are associated with and therefore connected to which of the servers 122 .
[0073] Although above, the steps of estimating the (linear) model and performing feature selection are described as separate steps, wherein feature selection is after model estimation, these steps can be performed simultaneously instead. In particular, this can be performed using an elastic net regularization algorithm. As known to those skilled in the art, the elastic net is a penalized regularized regression method that linearly combines the lasso and ridge methods, and is also known to those skilled in the art. For a description of the elastic net algorithm, see, for example, "Regularization and Variable Selection via the Elastic Net", Zou et al., JR Statist. Soc. B (2005), 67, Part 2, pp. 301-320. For a description of the lasso (minimum absolute shrinkage and selection operator) method or algorithm, see, for example, "Regression shrinkage and selection via the lasso", Tibshirani, JR Statist. Soc. B (1996), 58, No. 1, pp. 267-288. A description of the ridge regression algorithm is found, for example, in "Ridge Regression: Biased Estimation for Nonorthogonal Problems", Hoerl et al., Technometrics (1970), Vol. 12, No. 1, pp. 55-67.
[0074] As mentioned earlier, the elastic net algorithm is a combination of the lasso model and the ridge regression model. In both cases, these models aim to fit a linear model between the outcome (in this case, the server time series) and the predictor (in this case, the PDU time series) while aiming to minimize the complexity of the resulting model. In this case, "complexity" refers to the number of variables used in the model. The lasso model does this by discarding predictors by setting their coefficients to zero, while ridge regression does this by shrinking the coefficients to zero. In both cases, the coefficients can be estimated using coordinate descent, with the goal of minimizing a loss function that penalizes the complexity of the model.
[0075] When used alone, the lasso model may discard PDU time series that are highly correlated with one another in the PDU time series, for example, in the case where power usage is balanced between two PDU outlets. In addition, using ridge regression alone will fail to discard any PDU outlets. The elastic net algorithm allows for a combination of these methods, and in particular allows for uncorrelated PDU outlets to be discarded while retaining relevant but highly correlated PDU outlets.
[0076] In a further modification of the example of estimating the model, the model can be a nonlinear model instead of a linear model. For example, a random forest can be used, which can also simultaneously infer or estimate the relationship between the server and the PDU socket while discarding irrelevant PDU sockets.
[0077] Once the model has been estimated for each server, i.e., once the association between each server and PDU socket has been inferred, the determined association for each server is updated in a repository or other data store of server-PDU associations, which may be part of the controller or system 14 or separate therefrom.
[0078] The method steps for determining server-PDU associations may be scheduled at fixed intervals, for example using data generated in intermediate timestamps.Such scheduling allows a repository of server-PDU associations to be maintained and kept up to date without requiring operator intervention.
[0079] In another example, the step of determining the association between the PDU outlets and the servers 122 is performed based on the calculated distance metric (step 203). In particular, the distance between the power usage or consumption time series of each PDU outlet and the activity or performance metric time series of each server 122 is calculated. The calculated distance is a measure of similarity, i.e., the correlation between the two time series. The larger the distance, the less similar the two time series are. On the other hand, a smaller distance indicates a greater similarity between the time series signals.
[0080] The distance metric may be calculated using any suitable method (eg, mean square error), wherein a correlation coefficient (eg, Pearson correlation coefficient, Kendall coefficient, Spearman coefficient, etc.) is used as a measure of the linear correlation between two sets of data (ie, two time series). In practice, the distance between two time series can be calculated in different ways, for example: the multiplicative inverse of the correlation; using the matrix profile algorithm, which is known to the technician and its description can be found, for example, in "Matrix Profile XII: MPdist: A Novel Time Series Distance Measure to Allow Data Mining in More Challenging Scenarios", Gharghabi et al., 2018 IEEE International Conference on Data Mining, pp. 965-970; calculating the structural similarity index measure (SSIM), which is known to the technician and its description can be found, for example, in "Image Quality Assessment: From Error Visibility to Structural Similarity", Wang et al., IEEE Transactions on Image Processing (2004), Vol. 13, No. 4, pp. 600-612; dynamic time warping; transform-based similarity methods, including discrete Fourier transform (DFT) or discrete wavelet transform (DWT).
[0081] Once all distances between pairs of time series are calculated, the PDU outlets are assigned to the server 122 such that the sum of the distances between two assigned time series across all assignments is minimized. That is, the sum of all distances between the selected pairs of time series (or other forms of received data) is minimized. This is known as the linear sum assignment problem, as known to those skilled in the art, and it can be solved, for example, as described in "On Implementing 2D Rectangular Assignment Algorithms" Crouse, IEEE Transactions on Aerospace and Electronic Systems (2016), Vol. 52, No. 4, pp. 1679-1696.
[0082] In this context, each server machine 122 may need to have redundant power supplies. Therefore, multiple PDU outlets may be associated with each server. Therefore, an assumption for the linear and allocation problem may be that each server has two power supplies (PDU outlets), and the problem is solved based on this constraint or assumption to minimize the sum of distances. The resulting / determined allocations or associations are stored in a repository or data storage (part of the controller 14 or separate from the controller 14). Similar to the above, the process of determining allocations or associations can be scheduled to be repeated at fixed intervals using data generated in intermediate timestamps. This set of determined associations together constitutes a determined configuration of wiring connections between the PDU outlets and the servers 122.
[0083] return Figure 2 , at step 204, method 20 may optionally involve analyzing the server-PDU associations determined in the previous step. In one example, this may involve analyzing the determined electrical wiring configuration for one or more defined constraints to be satisfied by the electrical wiring configuration. These constraints may, for example, include that a particular server 122 needs to be located in a particular rack of a PDU 121, and / or that each server 122 (or some subset of servers 122) needs to be connected to at least two different PDUs 121 (for redundancy capabilities). The constraints may additionally or alternatively include that a PDU 121 must have at most a predetermined number of servers 122 connected thereto, for example, because of power limitations of a power source 124 to which the PDU 121 is connected. Such analysis of constraints may be performed regardless of how the server-PDU associations are performed in step 203, but may be particularly used in examples where a model is estimated to determine associations.
[0084] In another example (which may be performed in addition to or separately from constraint analysis), analyzing server-PDU associations may involve comparing the set or list of associations determined in step 203 (the current time step) with a list of server-PDU associations determined or generated at a previous iteration or run of the process (at a previous time step). The previous associations may be stored in a data store and retrieved to perform the comparison. The comparison step is intended to identify differences between the current set of associations and the previous set of associations to identify changes that have occurred to the cabling configuration.
[0085] One way to do this is to first identify associations that are present in the current (new) list but were not previously present (i.e., were not present in the previous list). For example, the first element (association) can be picked from the current list of associations. If that element was in the previous list, the next element in the current list is considered. If the first element was not in the previous list, it can be determined whether such a change is expected. For example, a particular server can be marked before determining the current list of associations to indicate that the particular server is about to be moved, added, etc. In this case, the change can be considered expected. On the other hand, if no such label or other information is available, the change can be considered unexpected and the particular element can be marked as such. This operation is repeated for each element (i.e., each entry or row of the current list).
[0086] After the above step of considering each element of the new list, each element of the previous list can be considered to identify associations that were previously present but are now gone (i.e., do not appear in the current list). Likewise, where a change from the previous list to the new list is identified, a check can be performed to determine whether the change was expected, e.g., information may be used to indicate that a particular server is about to be removed from the system before determining the current list of associations.
[0087] This analysis of comparing current and previous association lists may be performed regardless of how the server-PDU association is performed in step 203, but may be particularly useful in examples where association is determined based on minimizing a distance metric between time series. In some examples, a time-stamped log of previous association lists may be stored for further analysis, e.g., to track how changes in topology affect the overall efficiency of the system.
[0088] At step 205, the method may optionally involve outputting, via the controller 14, one or more remedial actions based on the analysis of the determined associations performed in step 204. In one example, an action may be output if one or more constraints are deemed unsatisfied. For example, an audible and / or visual alarm (or other suitable alarm) may be generated, such as near a server room. Alternatively or in addition, a notification may be sent to maintenance personnel and / or system administrators, such as via email, telephone notification, audible or visual indicators in a control room of the data center 10.
[0089] In another example, if one or more unexpected changes are detected in the wiring configuration (at step 204), an action can be output. For example, an alarm can be sent to a system administrator who provides information related to the unexpected change. If it is still accessible via the network, a possible action can be to trigger a secure erase operation of the server 122 associated with the unexpected change. A further action can be to prevent access to the relevant server, for example, by automatically locking the door of the server room of the data storage 10 where the server is located, thereby preventing the removal of the device from the server room. Other actions can also be performed based on the required security level of the particular data center under consideration. For example, in the case of relatively low security, the action after sending an alarm to the system administrator (or other relevant personnel) can be performed only after the system administrator confirms that the alarm is not a false alarm. Although this may increase the delay in applying security measures, destructive server downtime can be avoided in the case of a false alarm. It should be understood that these actions in response to unexpected changes may be particularly useful in the context of detecting and taking action to contain security vulnerabilities or sabotage in the data center (for example, individuals maliciously disconnect the server from the power line in a way that changes the power topology of the system, for example, unauthorized replacement of the server or theft of the server).
[0090] As described above, in a specific example, the determined association between the outlets of PDU 121 and server 122 can be used to ensure that the server 122 of system 12 has sufficient and necessary redundancy, for example, to avoid a disaster. The described method can also be used to restore redundancy to each server in server 122 as needed.
[0091] In more detail, redundancy refers to designing a system to replicate certain components so that a failure in one of the components (e.g., causing a disruption in normal power) does not affect the operation and services of critical IT infrastructure. In this context, redundant power supplies may be provided so that servers can continue to operate in the event of a power outage or failure. As described above, servers and / or PDUs in a data center may be added to, moved, or removed from a power distribution system relatively frequently, for example, to perform routine work on computer equipment, such as installation, relocation, or upgrades. Therefore, ensuring that redundancy (e.g., power supply redundancy) is maintained in such a power system may be challenging.
[0092] The redundant power supply requirement or constraint may be that the critical equipment must be connected to at least two different PDU outlets, and / or the PDU outlets to which the critical equipment components are connected receive power from different power supplies 124. In this case, each electrical equipment unit 122 is a server machine. The operation of each server 122 may be critical, such that each server 122 requires redundant power, i.e., each server 122 needs to be connected to at least two of the PDU outlets 121. In different cases, only some of the servers 122 may provide services that are considered critical, in which case only a critical subset of the servers 122 may need to have redundant power supplies. In still different cases, multiple electrical equipment units may provide multiple different types of devices (e.g., peripheral devices as well as servers), in which case only a subset of the electrical equipment units may be considered critical and require redundant power supplies.
[0093] When analyzing the server-PDU associations at step 204 of method 20, it may be determined whether any constraints related to the necessary redundancy of system 12 are satisfied. This may first involve determining which electrical equipment units are considered critical, i.e., they require redundant power supplies. For example, this may be performed via a lookup in an equipment inventory repository. It may be that certain types of electrical equipment units (e.g., servers) are considered critical, while other types (e.g., peripherals) are not critical.
[0094] For each electrical equipment unit in the identified key electrical equipment unit, it can be first determined whether the corresponding unit is connected to at least two different PDU sockets. This ensures that the failure of one of the connected PDU sockets does not indicate that the operation of the key unit is affected. If the condition that the key equipment unit is connected to two PDU sockets is met, it can be determined whether the corresponding key equipment unit is linked to at least two different power supplies 124a, 124b. In other words, the different PDU sockets to which the key electrical equipment unit is connected may need to provide power from different power supplies. For example, one PDU in the connected PDU 121 can receive power from the first power supply 124a, and another PDU in the connected PDU 121 can receive power from the second power supply 124b. This ensures that the failure of one of the power supplies 124a, 124b does not indicate that the operation of the key equipment unit is impaired.
[0095] If it is determined that one of the critical electrical equipment units 122 does not satisfy the redundancy constraints, action can be taken to restore the required redundancy to the system 12. This can involve the controller 14 identifying PDU sockets to which the critical unit 122 can be connected to restore redundancy. A list of available PDU sockets can be obtained in the first instance, i.e., a list of unused PDU sockets (e.g., due to being connected to electrical equipment unit 121). Such a list can be obtained from the determined associated wiring configuration (from step 203). Based on the determined associations, it is known which PDU sockets are connected to which electrical equipment units 122, and therefore, which PDU sockets have available sockets that are not currently in use, i.e., not currently connected to another component.
[0096] In one example, the output action at step 205 may simply provide an indication of which critical equipment unit 122 does not meet redundancy requirements and a list of available PDU outlets so that a user or operator can select which available PDU outlet to connect to the identified critical equipment unit 122 to restore redundancy.
[0097] Alternatively, the associated steps determined by the redundancy constraint analysis may further include selecting a specific one (or more) of the available PDU outlets, and the output action may then be providing a specific recommendation to the user to connect the selected PDU outlet to the identified critical equipment unit 122 to restore redundancy.
[0098] A list or specific recommendation of the identified critical equipment units 122 and available PDU outlets may be provided in any suitable manner. For example, this may be performed via an alert sent to management software of the system 12, a text message or call to a mobile phone, or a visual alert in a control room of the data center 10.
[0099] The selection of a particular one of the available PDU outlets can be based on a number of different factors, and the selection can be performed to optimize one or more aspects of the wiring configuration and system operation. The physical layout or arrangement of the various components in the data center 10 can be stored in a memory and can be available to the controller 14. The selection of a particular available PDU outlet can be based on the relative physical proximity of different components of the system 12. For example, in one example, a particular one of the available PDU outlets (or an available outlet of a particular one of the PDUs 121) that is closest to the identified key unit 122 can be selected, which can help maintain a simple wiring configuration. In another example, a particular one of the available PDU outlets that is closest to / adjacent to another (or another) PDU outlet connected to the identified key unit 122 can be selected, again for reasons such as simplicity of configuration, but optionally, the available PDU outlet receives power from a different power source 124.
[0100] The selection of a particular one of the available PDU outlets may optionally be based on the load of the different power sources 124 providing power to the PDU 121 at a given time. The current load of the different power sources 124 may be obtained in any suitable manner. For example, the current load of each power source may be inferred from the determined server-PDU associations. In an example, the selection of the available PDU outlets may be made to improve load balancing in the system 12, for example, the selected PDU outlet may be the portion of the PDU 121 that receives power from the power source 124 in the system 12 having the lowest current load.
[0101] The selection of a particular one of the available PDU outlets may be based on a combination of different factors, e.g., according to an optimization algorithm that optimizes across a number of different factors. For example, the selected PDU outlet may be identified based on one or more of: maximizing usage of adjacent PDU outlets or adjacent PDUs 121; proximity to the electrical equipment unit in question; improved load balancing of the system 12; and consideration of the entire power chain of the identified PDU or PDU outlet.
[0102] Many modifications may be made to the examples described without departing from the scope of the appended claims.
Claims
1. A computer-implemented method for monitoring an electrical power system, the electrical power system comprising a plurality of power distribution units (PDUs) and a plurality of electrical equipment units to be provided with power, the method being used to determine the configuration of electrical wiring connections between power outlets of the PDUs and the electrical equipment units, the method include: receiving PDU data indicating power usage over time for each of the PDU outlets; receiving activity data indicative of one or more activity metrics of each of the electrical equipment units over time; as well as An association between the PDU outlets and the electrical equipment unit is determined based on the received PDU data and the received activity data to determine an electrical wiring connection configuration between the outlets of the PDU and the electrical equipment unit.
2. The method according to claim 1, in, Determining the association between the PDU socket and the electrical equipment unit includes: For each of the electrical equipment units, estimating a model describing the activity of a corresponding electrical equipment unit as a function of the power usage of each of the PDU outlets; and selecting, based on the estimated model, which of the PDU outlets is associated with a corresponding electrical equipment unit, or For each of the PDU outlets, estimating a model describing the power usage of corresponding PDU outlets as a function of the activity of each of the electrical equipment units; and Based on the estimated model, which of the electrical equipment units is associated with the corresponding PDU outlet is selected.
3. The method according to claim 2, in, The function is a linear function.
4. The method according to claim 2 or 3, in, The model was estimated using a linear regression method.
5. The method according to any one of claims 2 to 4, in, In the model, the power usage of each of the PDU outlets has a corresponding coefficient associated with the power usage, each coefficient indicating a proportion of the activity of the electrical equipment unit associated with the corresponding PDU outlet, and wherein estimating the model includes estimating the value of each of the coefficients.
6. The method according to claim 5, in, For each of the PDU outlets, if the value of the estimated corresponding coefficient is greater than a specified threshold, it is determined that the corresponding PDU outlet is associated with the corresponding electrical equipment unit.
7. The method according to claim 5 or 6, in, If the estimated value of the corresponding coefficient is within a specified tolerance from zero, then it is determined that the corresponding PDU outlet is not associated with the corresponding electrical equipment unit.
8. The method according to any one of claims 2 to 7, in, For one of the PDU sockets, the selecting step includes: estimating another model describing the activity of the corresponding electrical equipment unit as a function of the power usage of each of the PDU outlets except the one PDU outlet; and If the estimated activity of the other model is within a specified tolerance of the estimated activity of the model, then it is determined that the one of the PDU outlets is associated with a corresponding electrical equipment unit.
9. The method according to claim 8, in, If the estimated activity of the other model is not within a specified tolerance, the one of the PDU outlets is dropped from the model.
10. The method according to claim 9, in, The selecting step includes repeating the estimating step and the determining step for each of the PDU outlets, wherein the another model describing the activity of the corresponding electrical equipment unit is a function of the power usage of those PDU outlets that were not previously discarded from the model.
11. The method according to any one of claims 2 to 10, in, The steps of estimating the model and selecting which of the PDU outlets is associated with a corresponding electrical equipment unit are performed simultaneously.
12. The method according to claim 11, in, The estimation step and the selection step are performed using the elastic net algorithm.
13. The method according to any one of the preceding claims, in, Determining the association between the PDU and the electrical equipment unit includes: calculating a distance metric between the power usage of each PDU outlet and one or more activity metrics of each electrical equipment unit; and Based on the calculated distance metric, it is determined which of the PDU outlets is associated with each of the corresponding electrical equipment units.
14. The method according to claim 13, in, Determining which of the PDU outlets is associated with each of the corresponding electrical equipment units includes solving a linear sum assignment problem to minimize a sum of the distance metrics between the associated PDU outlets and the electrical equipment units.
15. The method according to claim 14, in, Each electrical equipment unit is associated with more than one PDU; optionally, each electrical equipment unit may be associated with two PDUs.
16. A method according to any one of the preceding claims, wherein include: The determined electrical wiring configuration is analyzed for one or more defined constraints to be satisfied by the electrical wiring configuration, and an action is output if the determined electrical wiring configuration does not satisfy respective ones of the constraints.
17. The method according to claim 16, in, The one or more defined constraints include a redundancy constraint, and for each electrical equipment unit in the plurality of electrical equipment units, the redundancy constraint includes: The corresponding electrical equipment unit must be connected to at least two of the PDUs; and At least two of the PDUs to which the respective electrical equipment units are connected must receive power from different power sources of the power system.
18. The method according to claim 17, wherein include: One or more of the electrical equipment units providing critical functions are identified, wherein only the identified one or more electrical equipment units are analyzed for the redundancy constraints.
19. The method according to claim 17 or 18, in, For each electrical equipment unit among the multiple electrical equipment units, if the corresponding electrical equipment unit does not satisfy the redundancy constraint, the method includes: selecting a PDU socket from one or more available PDU sockets among the multiple PDU sockets, and wherein outputting the action includes: providing a recommendation to connect the corresponding electrical equipment unit to the selected PDU socket.
20. The method according to claim 19, in, Selecting the PDU outlet from the plurality of PDU outlets is based on one or more of the following: the physical proximity of the corresponding electrical equipment unit to the one or more available PDU outlets; optionally, wherein the selected PDU outlet is the PDU outlet that is physically closest to the corresponding electrical equipment unit; A respective current load of each of the plurality of said power sources providing power to the plurality of PDUs; and optionally, wherein the selected PDU outlet is a PDU outlet receiving power from a power source having a lowest current load.
21. The method according to any one of claims 16 to 20, in, The one or more defined constraints include one or more of the following: Each of the PDUs has no more than a defined maximum number of electrical equipment units connected to the PDU; and A specific electrical equipment unit must be connected to a PDU within a defined subset of the PDUs.
22. The method according to any one of claims 16 to 21, in, Outputting the action includes one or more of the following: generating an alarm, optionally an audible alarm and / or a visual alarm; as well as A notification is output to one or more personnel, optionally one or more maintenance personnel and / or system administrators.
23. A method according to any one of the preceding claims, wherein include: comparing the associations determined at the current time step with previously determined associations from previous time steps to identify changes in the wiring configuration; as well as For each identified change, a determination is made as to whether the change is an unexpected change, and if the change is an unexpected change, an action is output.
24. The method according to claim 23, in, The actions include one or more of the following: generating an alert for one or more service or maintenance personnel; triggering a secure erase of the electrical equipment unit associated with the unexpected change; and Physical access to the electrical equipment unit associated with the unexpected change is restricted.
25. A method according to any one of the preceding claims, in, The received PDU data is time series data indicating power usage of the PDU outlets over a defined historical time period, and wherein the received activity data is time series data indicating activity metrics of the electrical equipment units over the defined historical time period.
26. The method of claim 25, comprising, prior to determining the association between the PDU outlet and the electrical equipment unit, realigning the time series data so that samples of the PDU data and activity data relate to the same time step.
27. The method according to claim 26, in, The realignment steps include: Upsampling the PDU data and / or the activity data, and interpolating the upsampled data to a defined sampling period; and The interpolated data is downsampled to a desired sampling period using samples of the PDU data and activity data associated with the same time step.
28. A method according to any one of the preceding claims, in, The power system is a data center power system, and wherein one or more of the electrical equipment units are server machines.
29. A method according to any one of the preceding claims, in, The one or more activity metrics for each electrical equipment unit include one or more of the following: a central processing unit (CPU) utilization rate of the electrical equipment unit; memory utilization of the electrical equipment unit; the number of bytes transferred in input / output operations generated by a process of said electrical equipment unit; Disk accesses per second; and A graphics processing unit (GPU) activity of the electrical equipment unit.
30. A non-transitory computer readable medium having stored thereon instructions which, when executed by a processor, cause the processor to perform the method according to any one of the preceding claims.
31. A controller for monitoring an electric power system, the electric power system comprising a plurality of power distribution units (PDUs) and a plurality of electrical equipment units to be provided with electric power, the controller being used to determine a configuration of an electrical wiring connection between power outlets of the PDUs and the electrical equipment units, the controller comprising one or more processors, the one or more processors being configured to: receiving PDU data indicating power usage over time for each of the PDU outlets; receiving activity data indicative of one or more activity metrics of each of the electrical equipment units over time; as well as An association between the PDU outlets and the electrical equipment units is determined based on the received PDU data and the received activity data to determine the electrical wiring connection configuration between the outlets of the PDU and the electrical equipment units.
