6 Replies Latest reply on Jun 22, 2016 9:51 PM by kos

    How to manually update an appliance to a specific version ?

    jtyt

      Hi,

       

      We're trying to find a method to update an appliance to a specific version and not the one which is available through yum or GUI.

      Accordingly to the KB the only they are the only two methods.

       

       

      But this is a problem for us, as we're qualifiying one specific version, them deploy this version in production.

       

      The problems are :

      - if a new version goes out between our qualification tests (which can take up to a month or two) we can't update the production with the version we qualified

      - the appliance needs to have a direct access to Internet to be able to update (some of our appliance does not have a direct access...).

       

      Is there a place where we can find the binary files (like .rpm packages) ?

      If not, how can we grab them using yum and then deploy them on another appliance ?

       

       

       

      Thanks

       

      Ce message a été modifié par: jtyt on 20/08/12 05:04:12 CDT
        • 1. Re: How to manually update an appliance to a specific version ?
          trishoar

          I can comment on Supports view point of this, but it does work.

          If you look in

          /etc/yum.repos.d/mlos.repo

          on your appliance you can finde the addresses that the RPM's are fetched from. There are tools avalible to download the contents of repos (or you can write your own fairly easily) and you would then just need to change the mlos.repo (or idealy disable that and make your own repo file) and update from a local server that way.

           

           

          With regard to servers not ahving direct internet access, you can make them update through a proxy server.

           

          Tris

          1 of 1 people found this helpful
          • 2. Re: How to manually update an appliance to a specific version ?
            jtyt

            This is what I've found :

            - yum --showduplicates list mwg-release : show all the releases for a specific package

             

             

            [root@DI-444440-AVMC-1-PV4-2 yum.repos.d]# yum --showduplicateslist mwg-release

            Loaded plugins: changelog, fastestmirror

            Loading mirror speeds from cached hostfile

            * mlos-Ti-base: appliance2.webwasher.com

            * mlos-Ti-mwg: appliance2.webwasher.com

            * mlos-Ti-updates: appliance2.webwasher.com

            * mlos-current-base: appliance2.webwasher.com

            * mlos-current-mwg: appliance2.webwasher.com

            * mlos-current-updates: appliance2.webwasher.com

            Installed Packages

            mwg-release.noarch                                                     7.2.0.1.0-13253                                                     installed      

            Available Packages

            mwg-release.noarch                                                     7.2.0-13081                                                         mlos-Ti-mwg    

            mwg-release.noarch                                                     7.2.0-13081                                                         mlos-current-mwg

            mwg-release.noarch                                                     7.2.0.1.0-13253                                                     mlos-Ti-mwg    

            mwg-release.noarch                                                     7.2.0.1.0-13253                                                     mlos-current-mwg

            mwg-release.noarch                                                     7.2.0.2.0-13603                                                     mlos-Ti-mwg    

            mwg-release.noarch                                                     7.2.0.2.0-13603                                                     mlos-current-mwg


            - yum install mwg-release-[version].noarch : to install a specific version of a package where version is found if the previous list (ex: 7.2.0.1.0-13253)

             

            This should be done for (at least) every package beginning by "mwg-" (ie : mwg.x86_64, mwg-config.x86_64, mwg-release.noarch, mwg-ui.noarch).

             

            The packages can be manually downloaded from http://appliance.webwasher.com/mwg/current/mwg/x86_64/

            • 3. Re: How to manually update an appliance to a specific version ?
              florian.hallas

              You can donwnload the iso images from the Webwasher Extranet (https://contentsecurity.mcafee.com/software_mwg7_download)

               

              I have some WebGateways with no internet access too.

              My installation guide is this:

               

              1) http_proxy=http://<proxy-server-ip>:<proxy-port>
              2) export http_proxy

              3) yum install yumconf-7.2.0-mwg
              4) yum upgrade yum yumconf\*
              5) yum upgrade
              6) reboot

               

              To check the version on command line:

              mwg-info version
              • 4. Re: How to manually update an appliance to a specific version ?
                cryptochrome

                I was trying to upgrade via YUM over a proxy, but it doesn't work because our MWGs are using internal nameservers that do not resolve publich domain names. Is there anything else we can do?

                 

                Thanks

                • 5. Re: How to manually update an appliance to a specific version ?
                  asabban

                  Hello,

                   

                  before making things complicated I recommend to add appliance.webwasher.com and appliance2.webwasher.com to /etc/hosts, run the update and remove the entries afterwards.

                   

                  Best,

                  Andre

                  • 6. Re: How to manually update an appliance to a specific version ?
                    kos

                    How to upgrade to 7.6.1.1


                    Florian Hallasthank you!

                    But i used other sintax and other steps


                    1) http_proxy="http://<proxy-server-ip>:<proxy-port>"
                    2) export http_proxy

                    3)mwg-switch-repo 7.6.1.1

                    4) yum upgrade
                    5) reboot