=head1 Name B - Performs Licensed Internal Code (LIC) update support for HMC-attached POWER5 and POWER6 Systems, and POWER7 systems using Direct FSP management. =head1 B B [B<-h>|B<--help> | B<-v>|B<--version>] =head2 PPC (with HMC) specific: B I B<-p> I {B<--activate> B|B} [B<-V>|B<--verbose>] B I {B<--commit>|B<--recover>} [B<-V>|B<--verbose>] =head2 PPC (without HMC, using Direct FSP Management) specific: B I B<-p> I B<--activate> B [B<-d> I] B I {B<--commit>|B<--recover>} =head1 B B The B command initiates Firmware updates on supported xCAT nodes. Licensed Internal Code (also known as microcode) updates are performed on supported HMC-attached POWER5 and POWER6 pSeries nodes, and POWER7 systems using Direct FSP management. The command scans the specified directory structure for Firmware update package files applicable to the given nodes and components. And then it will B select the B version for the upgrade. The firmware update files include the Microcode update package and associated XML file. They can be downloaded from the IBM Web site: I. The POWER5 and POWER6 systems contain several components that use Licensed Internal Code. The B command supports two of these components: the managed system (also known as the Central Electronics Complex, or CEC) and the power subsystem (also known as the Bulk Power Assembly (BPA) or Bulk Power Controller (BPC)). Some POWER5 managed systems can be attached to a power subsystem. These power subsystems can support multiple managed systems. When the B command is invoked, xCAT will determine the managed system or power subsystem associated with that CEC and perform the update. The B can be an CEC or CEC list, a Lpar or Lpar list and a Frame or Frame list. But CEC (or Lpar) and Frame B be used at the same time. When the I is an CEC or CEC list, B will upgrade the firmware of the CEC or CECs in the cec list. If I is a Lpar or Lpar list, B will update Licensed Internal Code (LIC) on HMC-attached POWER5 and POWER6 pSeries nodes, and POWER7 systems using Direct FSP management. If I is a Frame or Frame list, B will update Licensed Internal Code (LIC) of the power subsystem on HMC-attached POWER5 and POWER6 pSeries nodes. The I can also be the specified node groups. You can specify a comma or space-separated list of node group ranges. See the I man page for detailed usage information. =head2 PPC (with HMC) specific: The B command uses the B command to connect to the HMC controlling the given managed system and perform the updates. Before run B, please use B to check if the related HMC ssh is enabled. If enable a HMC ssh connection, please use B comamnd. B This command may take considerable time to complete, depending on the number of systems being updated and the workload on the target HMC. In particular, power subsystem updates may take an hour or more if there are many attached managed systems. Depending on the Licensed Internal Code update that is installed, the affected HMC-attached POWER5 and POWER6 systems may need to be recycled. The B<--activate> flag determines how the affected systems activate the new code. The concurrent option activates code updates that do not require a system recycle (known as a "concurrent update"). If this option is given with an update that requires a system recycle (known as a "disruptive update"), a message will be returned, and no activation will be performed. The disruptive option will cause any affected systems that are powered on to be powered down before installing and activating the update. Once the update is complete, the command will attempt to power on any affected systems that it powered down. Those systems that were powered down when the command was issued will remain powered down when the update is complete. The flash chip of a POWER5 and POWER6 managed system or power subsystem stores firmware in two locations, referred to as the temporary side and the permanent side. By default, most POWER5 and POWER6 systems boot from the temporary side of the flash. When the B command updates code, the current contents of the temporary side are written to the permanent side, and the new code is written to the temporary side. The new code is then activated. Therefore, the two sides of the flash will contain different levels of code when the update has completed. The B<--commit> flag is used to write the contents of the temporary side of the flash to the permanent side. This flag should be used after updating code and verifying correct system operation. The B<--recover> flag is used to write the permanent side of the flash chip back to the temporary side. This flag should be used to recover from a corrupt flash operation, so that the previously running code can be restored. BWhen the B<--commit> or B<--recover> two flags is used, the noderange B be BPA. It only B be CEC or LPAR ,and will take effect for B managed systems and power subsystems. xCAT recommends that you shutdown your Operating System images and power off your managed systems before applying disruptive updates to managed systems or power subsystems. Any previously activated code on the affected systems will be automatically accepted into permanent flash by this procedure. B If the power subsystem is recycled, all of its attached managed systems will be recycled. If it outputs B<"Timeout waiting for prompt"> during the upgrade, please set the B<"ppctimeout"> larger in the B table. After the upgrade, remeber to change it back. If run the B<"rflash"> command on an AIX management node, need to make sure the value of B<"useSSHonAIX"> is B<"yes"> in the site table. =head2 PPC (using Direct FSP Management) specific: In currently Direct FSP/BPA Management, our B doesn't support B value of B<--activate> flag, and only support B. The B option will cause any affected systems that are powered on to be powered down before installing and activating the update. So we require that the systems should be powered off before do the firmware update. In Direct FSP/BPA Management, there is -d option. The default value is /tmp. When do firmware update, rflash will put some related data from rpm packages in directory, so the execution of rflash will require available disk space in for the command to properly execute: (1) For one CEC/Frame, if the rpm package size is rpmsize, it requires that the available disk space should be more than: 3 * rpmsize (2) For 12 CECs and 1 Frame in a building block, the rpm packages of the CECs are the same one, it require that the available disk space should be more than: 3 * rpmsize + 11 * 1.5 * rpmsize = 19.5 * rpmsize (3)For n CECs/Frames, all the rpm packages are different, it require that the available disk space should be more than: 3 * rpmsize * n (4)For 2 building block, each building block including 12 CECs and 1 Frame, and the rpm packages of the CECs in two building block are the same one. it require that the available disk space should be more than: 3 * rpmsize + 11 * 1.5 * rpmsize + 12 * 1.5 * rpmsize = 37.5 * rpmsize (5) For 2 building block, each building block including 12 CECs and 1 Frame, and the rpm packages of the CECs in the same building block are the same one, but in different building block are different. it require that the available disk space should be more than: (3 * rpmsize + 11 * 1.5 * rpmsize) * 2 = 39 * rpmsize For Power 775, the rflash command takes effect on the primary and secondary FSPs or BPAs almost in parallel. =head1 B =over 7 =item B<-h|--help> Writes the command’s usage statement to standard output. =item B<-p directory> Specifies the directory where the packages are located. =item B<-d data_directory> Specifies the directory where the raw data from rpm packages for each CEC/Frame are located. The default directory is /tmp. The option is only used in Direct FSP/BPA Management. =item B<--activate> B | B Must be specified to activate the new Licensed Internal Code. The "disruptive" option will cause the target systems to be recycled. Without this flag, LIC updates will be installed only, not activated. =item B<--commit> Used to commit the flash image in the temporary side of the chip to the permanent side for both managed systems and power subsystems. =item B<--recover> Used to recover the flash image in the permanent side of the chip to the temporary side for both managed systems and power subsystems. =item B<-v|--version> Displays the command's version. =item B<-V|--verbose> Verbose output. =back =head1 B 0 The command completed successfully. 1 An error has occurred. =head1 B =over 4 =item 1 To update only the power subsystem attached to a single HMC-attached pSeries CEC(cec_name), and recycle the power subsystem and all attached managed systems when the update is complete, and the Microcode update package and associated XML file are in /tmp/fw, enter: rflash cec_name -p /tmp/fw --activate disruptive =item 2 To update only the power subsystem attached to a single HMC-attached pSeries node, and recycle the power subsystem and all attached managed systems when the update is complete, and the Microcode update package and associated XML file are in /tmp/fw, enter: rflash bpa_name -p /tmp/fw --activate disruptive =item 3 To commit a firmware update to permanent flash for both managed system and the related power subsystems, enter: rflash cec_name --commit =back =head1 B B =head1 NOTES This command is part of the xCAT software product. =head1 SEE ALSO L, L