Using the CLI
Before You Start
Upgrade Scope
Use the Computing Product Compatibility Checker to obtain information about the servers that support the MSCC SmartRAID 3152-8i RAID controller card.
You are advised to download and install the driver matching the OS to prevent compatibility issues.
Impact of the Upgrade
After the upgrade, restart the server for the latest firmware version to take effect. The restart will interrupt services.
Precautions
Observe the precautions listed in Table 3-9 during the upgrade.
No. |
Precautions |
---|---|
1 |
Misoperations during the firmware upgrade may cause an upgrade failure and make the RAID controller card unavailable. |
2 |
Stop running services on the server before the upgrade. |
3 |
Do not power off the OS during the upgrade and do not change configurations except for those involved in the upgrade guide. |
4 |
Before the upgrade, read this document carefully to ensure that you have learned all the content. For any problems or suggestions pertaining to the document, contact Huawei technical support. |
Preparations
Obtaining Upgrade Approval
Before the upgrade, ensure that the upgrade scheme and customer upgrade time are approved and that the upgrade is approved by the representative office.
Determining the Current and Target Versions
Before upgrading the RAID controller card firmware, determine the current RAID controller card firmware version and the target version. This information is required if a rollback is required. For details about how to check the firmware version, see Querying the Firmware Version of a RAID Controller Card.
Obtaining Software Packages
Scenarios
Obtain the software package required for the upgrade.
Procedure
Obtain the required software packages using the methods described in Table 3-10.
Software Package |
How to Obtain |
---|---|
Firmware upgrade package of the RAID controller card |
|
Verifying the Digital Signatures of Software Packages
To avoid using software packages that have been tampered with during transmission or storage, download their digital signature files for integrity check while downloading the software packages.
After a software package is downloaded from the Support website, verify its PGP digital signature. See OpenPGP Signature Verification Guide. If the software package fails the verification, do not use it, and contact Huawei technical support.
Before a software package is used in installation or update, its digital signature also needs to be verified according to the OpenPGP Signature Verification Guide to ensure that the software package is not tampered with.
For carriers: https://support.huawei.com/carrier/digitalSignatureAction.
For enterprise users: https://support.huawei.com/enterprise/en/tool/pgp-verify-TL1000000054.
Upgrade Procedure
Scenarios
Upgrade the MSCC SmartRAID 3152-8i RAID controller card firmware using a CLI tool on the OS.
Prerequisites
- You have backed up the data and programs on the server.
- You have downloaded the RAID controller card firmware upgrade package to a PC and decompressed the package.
- You have powered on the server hosting the MSCC SmartRAID 3152-8i RAID controller card.
- You have logged in to the iBMC WebUI.
Procedure
- Mount the upgrade file.
The iBMC Remote Virtual Consoles includes the Java Remote Virtual Console and HTML5 Integrated Remote Console. The HTML5 Integrated Remote Console does not support local directory. This section uses the Java Remote Virtual Console as an example. For more information, see iBMC User Guide.
- On the toolbar of the virtual console, click
to display the screen shown in Figure 3-19.
- Select Directory and click Browse.
- Select the folder generated after the RAID controller card firmware upgrade package is decompressed.
Select the folder of the target version for an upgrade and the folder of the source version for a rollback.
- Click Connect.
If the Eject icon is available, as shown in Figure 3-20, the upgrade file is successfully mounted.
- On the toolbar of the virtual console, click
- Install the ARCCONF tool.
- Visit the RAID controller card page at Microsemi website.
- Click
.
- Download ARCCONF as instructed.
- Decompress the downloaded package to obtain the tools for different OSs.
- Use a file transfer tool (such as WinSCP) to upload the tool for Linux to the server OS.
- Run the rpm -ivh Arcconf-xxx.rpm command to install ARCCONF.
- Copy the upgrade file to the server and assign the read and write permissions to the file.
- On Linux, run the mkdir fw command to create the fw folder in the root directory.
- Run the mount /dev/sr0 /mnt command to mount the local folder to the /mnt directory.
After you enter mount /dev/sr, press Tab to display the value following sr.
- Run the cd /mnt command to go to the /mnt directory.
- Run the cp * -R /root/fw/ command to copy the files in the mounted local folder to the fw directory.
- Run the cd /root/fw/ command to go to the fw directory.
- Run the chmod 777 * command to add read and write permissions for the firmware upgrade package.
- Run the arcconf list command to query the controller ID of the current RAID controller card.
- Run the arcconf romupdate Controller_ID XXX.bin noprompt command to upgrade the firmware.
- Controller_ID indicates the controller ID of the RAID controller card obtained in 4, that is, the value of Controller ID in Figure 3-21.
- The command is executed successfully if "Command completed successfully" is displayed.
- The RAID controller card does not support the delivery of multiple firmware upgrade or downgrade commands at the same time. The firmware upgrade commands must be executed in serial mode.
- Restart the server for the new firmware version to take effect.
reboot
It takes 5 to 10 minutes for the server to restart.
- Check whether the firmware version is the target version.
If no error message is displayed during the firmware upgrade and the version of the upgraded firmware is the target version, the firmware is successfully upgraded. For details about how to query the firmware version of a RAID controller card, see Querying the Firmware Version of a RAID Controller Card.
Rollback
Rollback Guidelines
If the upgrade fails and the software version is still the source version, you do not need to perform a rollback. If any of the following problems occurs, contact technical support to determine whether a rollback is required.
- A major fault occurred during the upgrade, and cannot be located and rectified within the specified time.
- After the upgrade is complete, the target version functions abnormally.
- The entire upgrade cannot be finished as scheduled. To prevent service interruption in peak hours caused by the upgrade, a rollback is required.
Rollback Procedure
- Determine the target version.
- Roll back the firmware version.
The rollback procedure is the same as the upgrade procedure. For details, see 3 to 6 in Upgrade Procedure.
- Check the firmware version after the rollback. For details, see Querying the Firmware Version of a RAID Controller Card.
If no error message is displayed during the rollback and the version number is the source version, the rollback is successful.
Common Operations
Querying the Firmware Version of a RAID Controller Card
You can use either of the following methods to query the RAID controller card firmware version:
- Query the firmware version on the BIOS Setup Utility. The specific method is described as follows:
- During the server boot process, press Delete when information shown in Figure 3-22 is displayed.
- Enter the password and press Enter.
The screen shown in Figure 3-23 is displayed.
- Select Device Manager and press Enter.
The screen shown in Figure 3-24 is displayed.
- Select MSCC SmartRAID 3152-8i and press Enter. The screen shown in Figure 3-25 is displayed.
- Select Controller Information and press Enter.
The basic information about the RAID controller card is displayed. Firmware Version indicates the firmware version of the RAID controller card, as shown in Figure 3-26.
- After the server restarts, use the RAID card CLI tool arcconf to query the firmware version of the RAID controller card on the OS.
arcconf getversion
[root@localhost ~]# arcconf getversion Controllers found: 1 Controller #1 ============== Firmware : 1.61[0] (0) Driver : Linux 1.1.4-130 (0) Command completed successfully. [root@localhost ~]#
In the command output, the Firmware field indicates the firmware version of the RAID controller card.