Messaging Gateway

 View Only
  • 1.  Upgrade SMG via command line

    Posted Jan 27, 2015 05:00 AM

    Dear Community,

     

    I just like to ask you to help me to find the best method to upgrade my SMG using SSH. 

    Firs I need to shout down scanners and after that I could update the CC?

    I don't really find any usable method, only the command line references. So I started to make a list, but I need some comfirmation of you.

    So let's get started:

    On the CC:

    update download

    When the download it's done, I can run the installation:

    update install (--version xx.x.x-x)

    After that I could upgrade the scanners?

    After log in to the scanners and I need to use again the "update download" command or I can start the upgrade with the "update install"?

    smgmx> show -v
    Version:        Install Date:
    10.5.2-3        Wed 13 Aug 2014 08:36:30 PM EDT
    smgmx>

     

    Thank you



  • 2.  RE: Upgrade SMG via command line
    Best Answer

    Broadcom Employee
    Posted Jan 27, 2015 10:53 AM

    There is no need to shut down the scanners. You should read the release notes. They provide instructions for upgrading starting on page 7.

    http://www.symantec.com/business/support/index?page=content&id=TECH223626



  • 3.  RE: Upgrade SMG via command line

    Posted Jan 28, 2015 06:21 AM

    Hi David,

     

    Thanks for the link, I've found this:

    Running software update
    =======================
    To prepare for the software update, minimize the number of messages in any of
    the queues by setting the Scanner to reject incoming messages and then waiting
    for the queues to drain completely.
    1 To halt incoming messages, go to Administration - Hosts - Configuration, and
    edit a Scanner. On the Services tab, click "Do not accept incoming messages",
    and click Save.
    2 To check the queues, go to Status - SMTP - Message Queues.
    *
    *
    Using the command line interface to perform update taskssun.en_us.txt[11/10/2014 2:22:34 PM]
    ------------------------------------------
    To update using the command line interface:
    1 Log into an appliance using an SSH client or log in at the console.
    You must use your administrator credentials to log in.
    2 To list available updates, type the following command:
    update list
    3 To verify that your system has the correct hardware and software for update,
    type the following command:
    update check
    4 To download the update, type the following command:
    update download
    5 To install the update, type the following command:
    update install
    * For the 'update check' 'update download' and 'update install' commands,
    you can specify a version number. If you do not specify a version,
    then the latest available version is assumed. For example, if versions
    10.5.2-3 and 10.5.3-2 are both available, and you specify "update install
    --version 10.5.2-3", then the specified version is installed, even
    though it is not the most recent.
    *
    The update progress is displayed when you update from the command line.
    *
    To monitor the software update progress when you update using the Control
    Center:
    1 Using an SSH client or the console, log into the appliance you are updating.
    You must use administrator credentials when logging in.
    2 Type "tail -f update.log"
    *
    Information about the progress of the software update appears. Do not restart
    the appliance before the update completes. When the update is complete,
    the appliance restarts automatically. You will see the following message:
    *
    sms-appliance-release-<version> successfully installed.
    Rebooting appliance...
    *
    The appliance reboots. If you have logged into the appliance using an SSH
    client, the connection will be lost.
    *
    You may receive warnings. See the release notes for more information.
    **
    Validating a successful update
    ----------------------
    To ensure that your appliance is running Symantec Messaging Gateway version
    10.5.3, log into the command line interface on an appliance and type the
    following command:
    show --version
    *
    *

     

    I think based on this article I could do the upgrade properly.

    Thank you, and best regards.