< Home

Implementing a Batch Upgrade Using the Commander

Context

To upgrade devices that are running properly on a network supporting EasyDeploy, classify devices using the same upgrade file into one group. The network administrator only needs to specify the upgrade file for the group to implement a batch upgrade. Generally, you need to upgrade system software or patch files of devices. You are advised to create a group based on the following rules:

  • Create a built-in group if clients are the same model and use the same upgrade files.
  • Create a built-in group if clients are different models, but they have the same device type and use the same upgrade files.
  • Create a customized group based on client IP addresses if the clients are different models and use different upgrade files.

If no matching rule is found or a rule is matched but no file information is specified in the rule, the system uses the default file information.

Pre-configuration Tasks

Before implementing a batch upgrade using the Commander, complete the following tasks:

Procedure

  1. Configure information about files to be downloaded.

    • Configure file information for a client group.
      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Perform either of the following steps based on the group type:

        • Configure a matching rule for a built-in group.

          Run group build-in device-type

          A built-in group is created and the group view is displayed.

        • Configure a matching rule for a customized group.

          Run group custom { mac-address | esn | ip-address | model | device-type } group-name

          A customized group is created and the group view is displayed.

          Run match { mac-address mac-address [ mac-mask | mac-mask-length ] | esn esn | ip-address ip-address [ ip-mask | ip-mask-length ] | model model | device-type device-type }

          A matching rule is defined for the customized group.

        • A maximum of 256 groups can be created and a maximum of 256 matching rules can be defined for the groups on the Commander. For groups created based on MAC addresses, IP addresses, or ESNs, multiple matching rules can be defined. For groups created based on device types and models, only one matching rule can be defined for each group.
        • If multiple types of groups are configured, the clients match the groups in the following sequence: MAC address > ESN > IP address > device model > device type in the customized group > device type in the built-in group.
        • If a client matches multiple groups of the same type, the groups are selected in alphabetical order of their names.
      4. Perform the following steps to specify the files to be downloaded:

        • Run system-software file-name [ version ]

          The system software package name and version number are specified.

        • Run patch file-name

          The patch file name is specified.

        • Run configuration-file file-name

          The configuration file name is specified.

        • Run web-file file-name

          The web page file name is specified.

        • Run license file-name

          The license file name is specified.

        • Run { custom-file file-name } &<1-3>

          The user-defined file name is specified. A maximum of three user-defined files can be specified.

    • Configure default file information.

      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Perform the following steps to specify the files to be downloaded:

        • Run system-software file-name [ version ]

          The system software package name and version number are specified.

        • Run patch file-name

          The patch file name is specified.

        • Run configuration-file file-name

          The configuration file name is specified.

        • Run web-file file-name

          The web page file name is specified.

        • Run license file-name

          The license file name is specified.

        • Run { custom-file file-name } &<1-3>

          The user-defined file name is specified. A maximum of three user-defined files can be specified.

  2. Configure an activation policy for downloaded files.

    If no file activation mode or time is configured in the group, the global file activation mode and time configured on the Commander take effect. If no global file activation mode or time is configured on the Commander, the default file activation mode and time are used.

    By default, if downloaded files include the system software or configuration file, the devices activate all files by resetting. If the downloaded files do not include the system software and configuration file, the devices do not reset.

    • Configure a file activation policy in the group view.

      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Run group build-in device-type

        The built-in group view is displayed.

        Or run group custom { mac-address | esn | ip-address | model | device-type } group-name

        The customized group view is displayed.

      4. Run activate-file { reload | { in time | delay delay-time } } *

        An activation policy is configured for the group.

    • Configure a global file activation policy.

      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Run activate-file { reload | { in time | delay delay-time } }*

        A global activation policy is configured.

  3. Start batch upgrade.

    1. Run system-view

      The system view is displayed.

    2. Run easy-operation

      The Easy-Operation view is displayed.

    3. Run upgrade group [ group-name ] &<1-15>

      Batch upgrade is started.

Verifying the Configuration

  • Run the display easy-operation group [ build-in [ device-type ] | custom [ groupname ] ] command to check the group database on the Commander.

  • Run the display easy-operation download-status [ client client-id | verbose ] command to check file download status on a client.

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