How to manage remote updates when sufficient storage space is not available

Latest reply: Apr 21, 2017 03:50:26 978 1 0 0

When a device software needs to be updated and there is not enough free storage space available, the only method available in the upgrade guide is to use the BootROM in order to delete the old software file.

However, the BootROM is only accessible via the console port, which is not normally available in remote management.

  • x
  • convention:

ms.america
Created Apr 21, 2017 03:50:26 Helpful(0) Helpful(0)

Several scenarios were tested and to determine which methods can be applied in a remote management session for upgrading the software successfully.

transparent.gif Root Cause
transparent.gif Solution
  1. Use a terminal or comm server
    Risk of solution: Non-risk operation

    A terminal server, for example an AR router with 8AS, 1SA, or 2SA boards, can connect directly to the device Console using asynchronous serial ports and the Reverse Telnet function.
    This will provide access to the BootROM menu where the user can delete the startup system software and download a new software package from a network FTP server.
    A terminal server will also allow access to the device in case the upgrade fails and remote troubleshooting is required.

  2. Delete redundant files
    Risk of solution: Non-risk operation

    In many situations it is possible to ensure sufficient free space by simply deleting files that are not required for normal device operation.
    - Delete all patch files; use patch deactive all to disable any loaded patches and patch delete all should delete patch files from the system.
    - Delete web portal files  (for example S5300EI-V200R003C00.001.web.7z)
    - Delete logs from logfile or syslogfile and resetinfo folders
    It is recommended to make backups on an FTP server and make note of the device name and SN in case the logs are needed for any future troubleshooting
    - Use the command reset recycle-bin to permanently delete files from the recycle bin

    Tip: use delete /unreserved to bypass the recycle-bin

  3. Delete the current system software
    Risk of solution: Risky operation

    Most devices do not allow the user to delete the next startup system software.
    The following diagnostic command can be used to unload the system software, which will allow the user to delete the software file remotely:
    [Huawei] diagnose
    [Huawei-diagnose] undo startup system-software
    [Huawei-diagnose] return
    <Huawei> delete /unreserved S5300EI-V200R003C00SPC300.cc

    The device will continue to run with the software loaded in RAM, and the user can proceed to upload a new version.
    Warning: if the upgrade fails or there is a power outage or if the device is rebooted accidentally without a new software package installed, it will become inoperable.


transparent.gif Suggestions
Always read the complete upgrade guide and pay special attention to configuration changes that may need to be performed when switching from one version to another.
An incompatible configuration or login information will lead to the device becoming unresponsive or inaccessible.
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login