![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 2101665.1 : How to upgrade the firmware using the ILOM CLI , for SPARC CMT Servers
In this Document
Applies to:SPARC T3-1 - Version All Versions to All Versions [Release All Releases]SPARC T3-2 - Version All Versions to All Versions [Release All Releases] SPARC T4-1 - Version All Versions to All Versions [Release All Releases] SPARC T4-2 - Version All Versions to All Versions [Release All Releases] SPARC T5-2 - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. GoalTo provide a guideline for ILOM firmware procedure and also demonstrate the different tools used for this purpose Solution
One method that can be used to Upgrade System firmware is the load -source command , from the ILOM CLI. This method gets the firmware image from a remote server, using a network protocol (ftp, stfp, http, etc) and executes the installation. For this the ILOM must be able to access to a HOST that stores the firmware image and that supports also the network protocol. Some considerations: – Both Servers ( Sparc Server and Host Server must be located in the same subnet or they must be reachable between each other ) A good practice should be also, to reset the service processor, before arrange the upgrade (-> reset /SP ). In that way we can avoid any hung condition during the process. From http://docs.oracle.com/cd/E37444_01/html/E37446/z400371a1482689.html#scrolltoc To load the Oracle ILOM firmware image using the CLI, issue the load -source command followed by the path to locate the firmware image you want to install. For example: load -source protocol://username:password@server_ip/<path_to_image>/<image.pkg> Where the protocol can be: http, https, ftp, tftp, sftp, scp
SUPPORTED PROTOCOLS
SCP --- The SCP protocol is a network protocol, based on the BSD RCP protocol,[3] which supports file transfers between hosts on a network. SCP uses Secure Shell (SSH) for data transfer and uses the same mechanisms for authentication, thereby ensuring the authenticity and confidentiality of the data in transit. A client can send (upload) files to a server, optionally including their basic attributes (permissions, timestamps). Clients can also request files or directories from a server (download). SCP runs over TCP port 22 by default. If a host is running a ssh server will be able to send/receive scp requests The first step that must be done is to upload the file to the host server and then the next step is to load the firmware, from the sparc server, executing the following command: -> load -source scp://root:password@10.152.X.X/root/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y Firmware update is complete. -> /sbin/reboot SFTP sftp is a command-line interface client program to transfer files using the SSH File Transfer Protocol (SFTP) as implemented by the sftp-server command by the OpenSSH project, which runs inside the encrypted Secure Shell connection. It provides an interactive interface similar to that of traditional FTP clients. sftp should not be confused with running an FTP client over an SSH connection. One implementation of sftp is part of the OpenSSH project. If a host is running a SSH server, should be able to receive sftp requests. Like the previous protocol, the firmware image must be uploaded and then loaded from the Sparc Server -> load -source sftp://root:password@10.152.X.X/root/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y Firmware update is complete. -> /sbin/reboot FTP FTP is built on a client-server model architecture and uses separate control and data connections between the client and the server. FTP users may authenticate themselves with a clear-text sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. There's a ftp client and a ftp server. As previous cases, we need to upload the firmware image to the host that will run the ftp server and then call from the Sparc Server the load utility, in our case: -> load -source ftp://jack:password@10.152.X.X/151689-03/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y Firmware update is complete. -> /sbin/reboot In the case of the ftp protocol we need to use the relative path instead of the absolute path For example, If we have an user jack , with home directory /home/jack and we upload the file to his directory will have 2 paths: – absolute path: /home/jack/firmware_image.pkg
TFTP ------ TFTP is a file transfer protocol which allows a client to get from or put a file onto a remote host. One of its primary uses is in the early stages of nodes booting from a local area network. TFTP has been used for this application because it is very simple to implement. In this case we need to upload the firmware to the tftp directory (in some unix/linux OS located at /tftpboot or a directory defined as a tftp home directory) and then execute the load source command -> load -source tftp://10.152.X.X/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y Firmware update is complete. -> /sbin/reboot
HTTP Hypertext Transfer Protocol, is oftenly used to store html or dynamic web content. A web server must be running apache or similar and the firmware image must be uploaded to the default html dirtectory. This directory will change according to OS type For example Solaris 11 : located at /var/apache2/2.2/htdocs -> load -source http://jack:password@10.152.X.X/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y Firmware update is complete. -> /sbin/reboot
TROUBLESHOOTING TIPS
- Sometimes network protocol requests, can be rejected due to firewall rules (iptables, selinux, windows firewall, etc) -> load -source ftp://root:password@10.152.X.X/root/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg Error: Access denied to remote resource Verify any firewall rule applied to the host server, that stores the firmware image - Sometimes mistyping could lead to unreachable paths -> load -source tftp://root:password@10.152.X.X/boot/Sun_System_Firmware-8_3_11-SPARC_T3-1.pkg Error: Couldn't resolve host name Firmware image update failed. Also verify if we are talking about absolute or relative path. - Verify that the service (tftp, ftp) is running properly -> load -source tftp://root:password@10.133.X.X/Sun_System_Firmware-7_4_8_a-Netra_T5220.pkg NOTE: An upgrade takes several minutes to complete. ILOM Are you sure you want to load the specified file (y/n)? y gethostbyname() failed. Firmware image update failed. load: Command Failed In this case tftp is not running correctly [root@v240-sca11-a] / # tftp localhost You need to verify locally or remotelly, that your server is working properly
ADDITIONAL RESOURCES
Solaris[TM] Operating System: How to set-up a TFTP server. (Doc ID 1004474.1)
Attachments This solution has no attachment |
||||||||||||||||
|