Example for Performing In-Service Patch Installation

This section provides an example for installing patches without interrupting services.

Networking Requirements

In-service patch installation can be performed on a device if the device performance needs to be optimized without affecting the use of the current system software, and if the device must work uninterruptedly for a long time.

As shown in Figure 1, the performance of Device A needs to be optimized. Huawei has provided a patch file for the customer to install.

Figure 1 Networking diagram for performing in-service patch installation

Configuration Roadmap

The configuration roadmap is as follows:

  1. Upload a patch to the storage medium of AMB.
  2. Load and run the patch.
  3. Verify the configuration.

Data Preparation

To complete the configuration, you need the following data:

  • Name of the patch, which is V***R***SPH001.pat in this example
  • Patch file storage path on the main control board, which is cfcard:/ in this example

Procedure

  1. Upload the patch matching the system software.

    # Configure Device A as an FTP server.
    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceA
    [*HUAWEI] commit
    [~DeviceA] ftp server enable
    Info:  Enabling the FTP server configuration  succeeded. 
    [*DeviceA] aaa
    [*DeviceA-aaa] local-user user1 password cipher Hello-huawei123
    [*DeviceA-aaa] local-user user1 service-type ftp
    [*DeviceA-aaa] local-user user1 ftp-directory cfcard:/
    [*DeviceA-aaa] commit
    [~DeviceA-aaa] quit
    [~DeviceA] quit
    After the configuration is complete, run the display local-user command to view user information.
    <DeviceA> display local-user
    ------------------------------------------------------------------------------------------------
    Username                         State   Type   Access-limit   Online   AdminLevel   UsergroupId
    ------------------------------------------------------------------------------------------------
    user1                            Active  F                No        0   -            -      
    ------------------------------------------------------------------------------------------------
    Total 1, 1 printed
    # On the PC, configure the binary transmission mode and set c:\temp as the working directory.

    The following part uses the Windows system as an example.

    1. Save the uploaded system software to the specified directory (for example, c:\temp).
    2. Choose Start > Run. Enter cmd, and then press Enter
    3. Enter FTP 10.1.1.1. In the user field, enter the user name; in the password field, enter the password.
    The following configurations are displayed:
    ftp 10.1.1.1
    Connect to 10.1.1.1.
    220 FTP server ready.
    User <10.1.1.1:<none>>:user1
    331 Please specify the password.
    Password:
    230 User logged in.
    Specify a directory for the FTP client to store the uploaded files and specify the file transfer mode.
    ftp> binary
    200 Type set to I.
    ftp> lcd c:\temp
    Local directory now c:\temp.
    # Upload the patch matching the current system software from the PC to Device A.
    ftp> put V***R***SPH001.pat
    200 Port command okay.
    226 Transfer complete.

  2. Load and run the patch.

    <DeviceA> patch load V***R***SPH001.pat all run
    Info: Operating, please wait for a moment......done.
    Info: Succeeded in running the patch.

  3. Verify the configuration.

    After the preceding configurations, run the display patch-information command, and you can view patches in the running state on DeviceA.

    <DeviceA> display patch-information
    Patch Package Name    :cfcard:/V***R***SPH001.PAT
    Patch Package Version :V***R***SPH001
    Patch Package State   :Running   
    Patch Package Run Time:2011-11-07 11:55:01

Configuration Files

None

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >