DataPower General

Expand all | Collapse all

Cannot copy new firmware image to DataPower file system

  • 1.  Cannot copy new firmware image to DataPower file system

    Posted Tue January 14, 2020 08:16 AM
    We tried to upgrade our DataPower for Linux from firmware level 7.6.0.4 to firmware level 2018.4.1.9.
    We first made room in order to be able to load the new firmware image.
    We then tried to upload the new firmware image file to the DataPower "image:" directory using the GUI. This took a long time and ended with a timeout.
    We then tried to copy the file (from the Linux host to the DataPower "image:" directory) using the CLI interface and the "copy" command:
    - With SCP, the copy command ended with "File copy successful", but the "image:" directory was still empty.
    - With SFTP, we had the same result.
    Any idea?

    ------------------------------
    Patrick Marie
    ------------------------------


  • 2.  RE: Cannot copy new firmware image to DataPower file system

    Posted Tue January 14, 2020 08:30 AM
    Hi Patrick,
    • Have you ensured to reboot the instance first and to allocate it with more than 5 GB RAM?
    • If DP on Linux, ensure you have allocated at least 4 GB for local disk in "datapower.conf".
    • Else can you share "show filesystem; show memory; show clock; show version"?


    ------------------------------
    August Ziesemer
    ------------------------------



  • 3.  RE: Cannot copy new firmware image to DataPower file system

    Posted Tue January 14, 2020 08:48 AM
    Hi August,

    Yes, we set "DataPowerImageSize=16G" in "datapower.conf" and we rebooted DataPower.

    idg# show filesystem

    Free encrypted space: 690 Mbytes
    Total encrypted space: 4972 Mbytes
    Free temporary space: 977 Mbytes
    Total temporary space: 1024 Mbytes
    Free internal space: 1023 Mbytes
    Total internal space: 1024 Mbytes


    idg# show memory

    Memory usage: 50 %
    Total memory: 6647549 kilobytes
    Used memory: 3335405 kilobytes
    Free memory: 3312144 kilobytes
    Requested memory: 1789824 kilobytes
    Hold memory: 23524 kilobytes
    Reserved memory: 1741059 kilobytes
    Installed memory: 8388608 kilobytes


    idg# show clock

    Local time: Tue Jan 14 14:43:48 2020
    Time zone: CET
    Time zone spec: CET-1CEST,M3.5.0/2:00,M10.5.0/3:00
    Uptime: reload: 0 days 03:30:13
    Uptime: reboot: 26 days 05:42:31


    idg# show version

    Serial: 0000001
    Version: IDG.7.6.0.4
    Build: 294196
    Build date: 2017/12/02 10:42:23
    Watchdog build: IDG.7.6.0.4
    Installed DPOS: IDG.7.6.0.4
    Running DPOS: IDG.7.6.0.4
    XML accelerator: embedded
    Machine type: 5725
    Model type: T09
    Tenant name:
    Access Manager: all
    Coproc: 1.2
    DCO: 5.14
    JMS: 2.0.3
    MQ: 8.0.0.0
    ODBC: 7.16
    ODR: ODRLIBX.ODRLIB_a1726.01


    ------------------------------
    Patrick Marie
    ------------------------------



  • 4.  RE: Cannot copy new firmware image to DataPower file system

    Posted Tue January 14, 2020 08:59 AM
    What is eating up all that encrypted space?! Can you run ERtool (https://github.com/ibm-datapower/ertool) and check if it shows any specific big file (or check <FlashFiles...> section for such) or get me an error-report via a support case? Also 50% mem usage for an idle instance seems rather high...

    ------------------------------
    August Ziesemer
    ------------------------------



  • 5.  RE: Cannot copy new firmware image to DataPower file system

    Posted Tue January 14, 2020 10:35 AM
    Will be continued in case TS003227174.

    ------------------------------
    Patrick Marie
    ------------------------------



  • 6.  RE: Cannot copy new firmware image to DataPower file system

    Posted Mon January 20, 2020 10:43 AM
    The current thought is that "/opt" or "/var" is to small.
    Per KC the minimum is 2/5 GB (https://www.ibm.com/support/knowledgecenter/SS9H2Y_7.7.0/com.ibm.dp.doc/virtual_forlinux.html).
    This seems to be relevant not only and install time, but even more at upgrade time.
    So consider to be a bit more generous with that allocation. I might ask to update KC a bit...
    Basically we had such discussion few times before, see e.g. challenge of user Ray at https://developer.ibm.com/answers/questions/355377/upgrading-my-datapower-gateway-on-linux-fails-what/

    ------------------------------
    August Ziesemer
    ------------------------------