Oracle® Virtual Networking for Windows Hosts Installation and Boot Guide

Exit Print View

Updated: July 2016
 
 

Run the HCA Firmware Update Script in Non-Interactive Mode

Noninteractive mode is applicable when you are using a script to update the HCAs on multiple Windows servers. This mode assumes "yes" to all prompts, so it does not halt a script and wait for user intervention.

With noninteractive mode, the update script supports burning a third-party firmware image file onto the HCA in addition to burning the firmware images supported by Oracle. However, Oracle cannot guarantee the performance of HCAs that are updated with unsupported third-party firmware.


Note -  When the script first checks for unsupported HCAs and down rev firmware, the script uses non-interactive mode to query all HCAs. The -s -detect -all string accomplishes the query. Be aware that you can manually query all installed HCAs by using the following command:

cscript Xg_FWUpdate.vbs -s -all -detect


When running the script in noninteractive mode, you use the -s argument to set the script into non-interactive mode. The examples in this procedure usenoninteractive mode.

The example shows process of running the script to update all HCAs with the minimum supported firmware version.


Note -  Running the HCA firmware update script is not part of the standard Windows host driver installation. The procedure is documented for cases in which a manual upgrade of HCA firmware is required or desired.
  1. Ensure that you are in the %programfiles%\Xsigo Systems\Support\FirmwareUpdate.

    This is the directory where the script is installed and run.

  2. Issue the Xg_FWUpdate.vbs -s command and specify arguments that cause all HCAs to upgrade to the minimum version.

    Because of non-interactive mode, you will notice that the onscreen text contains no menus.

    H:\.\Xsigo Systems\Support\FirmwareUpdate> cscript Xg_FWUpdate.vbs -s -all -
    minver
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    ##############################################################################
    ##
    # (C) 2007 Oracle Inc. All rights reserved. This material may not be
    # reproduced, displayed, modified or distributed without the express prior
    # written permission of the copyright holder.
    ##############################################################################
    ##
    Flashing Mellanox Firmware for HCA Device ID : mt25218_pciconf0
    Max FWVer: 5.1.400 Will be burn.
    Upgrading HCA firmware 5.2.0 to 5.1.400
    This Will Flash HCA with Firmware file .\Image\fw-25218-5_2_0-mhea28-xtc_a1-
    a2.bin
    Please do not interrupt the burn process or reboot the machine...
    Wait till burn completes ....................................
    ------------------------------------------------------------------------
    The firmware on one or more of the HCAs has been upgraded.
    It is recommended to reboot the machine in order for changes to take effect.
    ------------------------------------------------------------------------
  3. When the update completes, press Enter to exit the update script.
  4. Reboot the Windows server to bring HCAs up.

    You have to reboot the Windows server whenever you run the script and burn firmware on one or more HCAS. If HCAs have been updated, this reboot is required to bring them online with the new firmware.