Home
last modified time | relevance | path

Searched full:psus (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/phosphor-power/tools/power-utils/
H A Dvalidator.hpp47 * @brief Checks if all PSUs are of the same model.
49 * @return true if all PSUs have the same model.
55 * @brief Counts the number of PSUs that are physically present and
58 * @return true if successfully counted present PSUs.
64 * @brief Retrieves the required number of PSUs for redundancy.
72 * @brief Ensure all PSUs have same model, validate all PSUs present
73 * and functional meet or exceed the number of PSUs required for this
96 int presentPsuCount = 0; // Count of physically present PSUs
97 int redundantCount = 0; // Total number of PSUs required to be
H A Dmain.cpp54 …"Validate number of present PSU vs number of required PSUs and all PSUs have same model before up… in main()
H A Dvalidator.cpp25 // All PSUs must have same model in areAllPsuSameModel()
37 lg2::error("Failed to get all PSUs from EM, error {ERROR}", "ERROR", e); in areAllPsuSameModel()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dpsu_manager.cpp23 "/xyz/openbmc_project/power/power_supplies/chassis0/psus";
109 // Monitor PSUs anytime state is on in initialize()
149 psus.clear(); in getPSUConfiguration()
171 if (psus.empty()) in getPSUConfiguration()
231 std::find_if(psus.begin(), psus.end(), [&invpath](auto& psu) { in getPSUProperties()
234 if (invMatch != psus.end()) in getPSUProperties()
254 psus.emplace_back(std::move(psu)); in getPSUProperties()
265 if (psus.empty()) in getPSUProperties()
399 if (powerOn && !psus.empty() && !supportedConfigs.empty()) in entityManagerIfaceAdded()
565 for (auto& psu : psus) in syncHistory()
[all …]
H A Dchassis.cpp73 if (psus.empty()) in getPSUConfiguration()
134 std::find_if(psus.begin(), psus.end(), [&invpath](auto& psu) { in getPSUProperties()
137 if (invMatch != psus.end()) in getPSUProperties()
155 psus.emplace_back(std::move(psu)); in getPSUProperties()
165 if (psus.empty()) in getPSUProperties()
291 // Search in PSUs for driver name in populateDriverName()
292 std::for_each(psus.begin(), psus.end(), [&driverName](auto& psu) { in populateDriverName()
298 // Assign driver name to all PSUs in populateDriverName()
299 std::for_each(psus.begin(), psus.end(), in populateDriverName()
H A Dpsu_manager.hpp117 for (auto& psu : psus) in onOffConfig()
132 for (auto& psu : psus) in clearFaults()
257 for (auto& psu : psus) in updateInventory()
291 * @brief Check that all PSUs have the same model name and that the system
292 * has the required number of PSUs present as specified in the Supported
297 * @return true if all the required PSUs are present, false otherwise.
302 * @brief Returns the number of PSUs that are required to be present.
304 * @return required number of PSUs, or 0 if the number could not be
318 * @brief Helper function to validate that all PSUs have the same model name
323 * @return true if all the PSUs have the same model name, false otherwise.
[all …]
H A Dchassis.hpp113 std::vector<std::unique_ptr<PowerSupply>> psus; member in phosphor::power::chassis::Chassis
177 * driver name to all PSUs (including missing PSUs).
/openbmc/phosphor-power/phosphor-power-supply/docs/
H A DMultiChassis.md7 - It gets the PSUs device access information (such as PSU I2CBus and I2CAddress)
18 ## Goal: Support Multi-Chassis PSUs
26 - Find all PSUs associated with each chassis.
27 - Update the PSUs status on DBus with appropriate path i.e.
40 - Functions to get and add PSUs
49 - Find all PSUs associated with chassis from **inventory manager** (using
58 standby power. The **phosphor-psu-monitor** app monitors all PSUs associated
93 - Monitor PSUs across all chassis
/openbmc/docs/designs/
H A Dpsu-firmware-update.md14 There is no support in OpenBMC to update the firmware for PSUs.
49 5. There are cases that a system could use different models of PSUs, and thus
52 For some PSUs, it is risky to do PSU code update while the host is running to
62 2. If the redundant PSUs are all connected;
63 3. If the AC input and DC standby output is OK on all the PSUs;
202 - Verify the PSU code update is done on all PSUs successfully;
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-supplies-monitoring/
H A Dpower-supplies-monitoring.bb5 SRC_URI:append = " file://psu2-monitoring.service file://psu1-monitoring.service file://psus-manage…
27 install -m 0755 ${UNPACKDIR}/psus-manager.sh ${D}/usr/bin/psus-manager.sh
/openbmc/openbmc/meta-hpe/meta-dl360-g11/recipes-hpe/power-supplies-monitoring/
H A Dpower-supplies-monitoring.bb5 SRC_URI:append = " file://psu2-monitoring.service file://psu1-monitoring.service file://psus-manage…
27 install -m 0755 ${UNPACKDIR}/psus-manager.sh ${D}/usr/bin/psus-manager.sh
/openbmc/openbmc/meta-hpe/meta-dl385-g11/recipes-hpe/power-supplies-monitoring/
H A Dpower-supplies-monitoring.bb5 SRC_URI:append = " file://psu2-monitoring.service file://psu1-monitoring.service file://psus-manage…
27 install -m 0755 ${UNPACKDIR}/psus-manager.sh ${D}/usr/bin/psus-manager.sh
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-supplies-monitoring/files/
H A DstartMonitoring2.sh6 psus-manager 2 up
8 psus-manager 2 down
H A DstartMonitoring1.sh6 psus-manager 1 up
8 psus-manager 1 down
H A Dpsu1down.service5 ExecStart=/usr/bin/psus-manager.sh 1 down
/openbmc/openbmc/meta-hpe/meta-dl385-g11/recipes-hpe/power-supplies-monitoring/files/
H A DstartMonitoring1.sh6 psus-manager 1 up
8 psus-manager 1 down
H A DstartMonitoring2.sh7 psus-manager 2 up
9 psus-manager 2 down
/openbmc/openbmc/meta-hpe/meta-dl360-g11/recipes-hpe/power-supplies-monitoring/files/
H A DstartMonitoring1.sh6 psus-manager 1 up
8 psus-manager 1 down
H A DstartMonitoring2.sh7 psus-manager 2 up
9 psus-manager 2 down
H A Dpsu2up.service5 ExecStart=/usr/bin/psus-manager.sh 2 up
H A Dpsu1down.service5 ExecStart=/usr/bin/psus-manager.sh 1 down
/openbmc/phosphor-psu-code-mgmt/
H A DREADME.md75 inventory path. If multiple PSUs are using the same version, multiple PSU
80 - Example of system with two PSUs that have different versions:
115 - Example of system with two PSUs that have the same version:
161 PSUs. If there is any PSU that has older firmware, it will be updated to the
/openbmc/phosphor-power/cold-redundancy/
H A Dcold_redundancy.hpp49 * @brief Indicates the count of PSUs
51 * @details Indicates how many PSUs are there on the system.
59 * different PSUs calling createPSU function for
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/
H A DPowerSupplyRedundancy.interface.yaml37 Number of PSUs are currently on system.
41 The min number of PSUs in the system required to obtain redundancy
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp523 // This is a version that is different than the running PSUs in scanDirectory()
539 // running on one or more PSUs. Set Path and ExtendedVersion properties. in scanDirectory()
541 // running on a PSU. The properties are needed to update other PSUs. in scanDirectory()
565 // Get the model name of the PSUs that have been found. Note that we in findModelDirectory()
654 // image, run the activation so that all PSUs are running the same in syncToLatestImage()
660 lg2::info("Automatically update PSUs to versionId {VERSION_ID}", in syncToLatestImage()

123