This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FTP U2D from ASG shell

Have an original 220 with 512MB memory.  For the most part things work ok.  Memory usage is always high and we get several cpu spikes daily, but for the most part it's bearable.  Except when it comes time to apply new up2date packages.
 
From release, it generally takes several days for the automatic u2d process to pull in an update and because of the limited memory on the box, manually applying a package through the WebGUI is a nightmare involving turning off all features (to free up memory), WebGUI timeouts, and multiple reboots.  Both of these situations are violations of our company security policies.
 
Within the past couple of weeks, I saw a post here on the forums where someone asked how to download a package from an Astaro FTP server directly into the Astaro box from the Shell.  He got a reply with the necessary commands to make this happen.
 
I failed to print out or bookmark the instructions and now can't find the post.  Does anyone happen to know the commands I would need or have a link to the original post?  I'd like to give this a try when the next Up2Date package rolls out and see if it's a reasonable alternative to solve my updating issues.
 
Thanks.


This thread was automatically locked due to age.
Parents Reply
  • You need to run "/sbin/auisys.plx --showdesc" afterwards, or the package will not be recognized and shown as "available for installation" in the webadmin until the up2date downloader ran again. However, this will not save you from installing the up2date through the web gui.

    Cheers,
     andreas
Children
  • Ok, to consolidate it into one place then without having to reference back to webadmin:

    Example locate the up2date you want from Index of /ASG/v7/up2date
    Copy the link location (right click in firefox and copy link)

    Lets say we want to download 7.305 up2date directly.

    Login to ssh (loginuser, su to root)
    cd /var/up2date/sys
    wget http://ftp.astaro.de/ASG/v7/up2date/...-7.305.tgz.gpg

    File will then download

    Then while still at command line:
    auisys.plx --rpmargs --force

  • Then while still at command line:
    auisys.plx --rpmargs --force


    You got that mixed up: the above command while install all downloaded  pattern and system up2date packages right away. The command I gave will only verify the available system up2date packages, unpack the installation instructions, and signal the WebAdmin to display the up2date package as available for installation.

    On a different sidenote, the "--rpmargs --force" thing is now obsolete and will no longer be necessary. Failed installation attempts can now (starting with 7.350) be re-attempted again via the Webadmin; if the reason for the first failure was temporary and is no longer existing, the installation will run through successfully without the need for the rpmargs/force shell command.

    Cheers,
     andreas
  • Andreas,

    Thanks for the clarification!  Good to hear the new changes in 7.4 beta will make command line up2dates a thing of the past [:)]