openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Multi host bios upgrade support in phosphor-bmc-code-mgmt:
@ 2020-09-21 17:49 P. Priyatharshan
  2020-09-21 17:49 ` P. Priyatharshan
  2020-09-21 19:46 ` Patrick Williams
  0 siblings, 2 replies; 20+ messages in thread
From: P. Priyatharshan @ 2020-09-21 17:49 UTC (permalink / raw)
  To: openbmc, anoo, gmills, mine260309, ratagupt, ojayanth
  Cc: Velumani T-ERS, HCLTech, Sundaramoorthy Thiyagarajan

[-- Attachment #1: Type: text/plain, Size: 2345 bytes --]


Hi ,

Phosphor-software-manager currently supports bios upgrade for a single host.I would like to propose a design to add multi host bios upgrade support in Phosphor-software-manager.

Kindly review the below proposal and share your valuable comments.

Design:

a) : Add Host Number

1) MANIFEST file change:

Add  host number in MANIFEST file, purpose field like below.

Ex:
For Host1,  purpose=xyz.openbmc_project.Software.Version.VersionPurpose.Host1
For Host2,  purpose=xyz.openbmc_project.Software.Version.VersionPurpose.Host2 and So on.

2) For bios upgrade, handle the same to incorporate the host number and send host number to the systemd service obmc-flash-host-bios@service like below.

  if (host.empty())
    {
        auto biosServiceFile = "obmc-flash-host-bios@" + versionId + ".service";
    }
    else
    {
        auto biosServiceFile =
            "obmc-flash-host-bios@" + versionId + "_" + host + ".service";
    }

b) : Implement a generic IPMI based multi-host bios upgrade.

1) This generic implementation expects a json config file with the details like IPMI net function , command id, and etc and process the bios upgrade via ipmi commands.


Thanks,
Priyatharshan P
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

[-- Attachment #2: Type: text/html, Size: 3818 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-11-09 20:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 17:49 Multi host bios upgrade support in phosphor-bmc-code-mgmt: P. Priyatharshan
2020-09-21 17:49 ` P. Priyatharshan
2020-09-21 19:46 ` Patrick Williams
2020-09-21 19:46   ` Patrick Williams
2020-09-21 20:58   ` Adriana Kobylak
2020-09-21 20:58     ` Adriana Kobylak
2020-10-01 15:52     ` P. Priyatharshan
2020-10-05 17:29       ` P. Priyatharshan
2020-10-05 21:41         ` Adriana Kobylak
2020-10-15 17:16           ` P. Priyatharshan
2020-10-15 19:28             ` Vijay Khemka
2020-10-19 17:08               ` P. Priyatharshan
2020-10-19 19:25                 ` Adriana Kobylak
2020-10-21  0:10                   ` Vijay Khemka
2020-10-21  5:27                     ` P. Priyatharshan
2020-10-23 13:34                       ` P. Priyatharshan
2020-10-28 15:20                         ` P. Priyatharshan
2020-10-30 18:52                           ` Adriana Kobylak
2020-11-03 21:01                             ` Patrick Williams
2020-11-09 20:35                               ` Adriana Kobylak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).