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

scripted installation and configuration Update Manager

I want to automate the installation and configuration of Sophos

The part which i have trouble with now is the configuration of the Update Manager. I have no internet connection, read the forums and can enter the share manually.

However, i want to automate the configuration of the update manager for the update manager

i use version 4.5.0.9

:12125


This thread was automatically locked due to age.
Parents
  • Hi,

    The command line tool UpdateManagerHelper.exe might be able to do what you want.  I've not really used it though to say for certain but from looking at the parameters it looks like it could be useful:

    Usage: UpdateManagerHelper OPTIONS [HOSTNAME|FILE] [USERNAME] [PASSWORD]
    Options:
      -l, --list   : Lists the update managers known to the system (CSV output)
      -i, --import : Imports update manager configation from files with
                     the specific names:
                           HOSTNAME-Upstream.xml
                           HOSTNAME-Downstream.xml
                           HOSTNAME-Subscriptions.xml
                           HOSTNAME-Schedules.xml
                           HOSTNAME-General.xml
                     where HOSTNAME identifies an update manager as output
                     by the --list command
      -e, --export : Exports the configuration of the specified update manager
                     to files with specific names (See --import)
      -il, --import-locations : Imports a the list of user-defined locations
                     from the specified file.
      -el, --export-locations : Exports the list of user-defined locations
                     to the specified file
      -c, --change-credentials : Changes the updating credentials for the
                     specified update manager to the specified username and
                     password. If password is not specified, the program
                     will prompt for one.
      -f, --force   : Overwrite existing files when exporting
      -n, --nowarn  : Don't warn about backing up the database
      -v, --version : Displays version information
      -h, --help    : Shows this message

    So it looks like you can import the config from XML files for a given SUM.

    I found it linked from:
    http://www.sophos.com/support/knowledgebase/article/112598.html
    It doesn't seem to work yet on SEC 4.7 though, you might be best calling Support and asking more about this tool.

    Cheers

    Jak

    :12147
Reply
  • Hi,

    The command line tool UpdateManagerHelper.exe might be able to do what you want.  I've not really used it though to say for certain but from looking at the parameters it looks like it could be useful:

    Usage: UpdateManagerHelper OPTIONS [HOSTNAME|FILE] [USERNAME] [PASSWORD]
    Options:
      -l, --list   : Lists the update managers known to the system (CSV output)
      -i, --import : Imports update manager configation from files with
                     the specific names:
                           HOSTNAME-Upstream.xml
                           HOSTNAME-Downstream.xml
                           HOSTNAME-Subscriptions.xml
                           HOSTNAME-Schedules.xml
                           HOSTNAME-General.xml
                     where HOSTNAME identifies an update manager as output
                     by the --list command
      -e, --export : Exports the configuration of the specified update manager
                     to files with specific names (See --import)
      -il, --import-locations : Imports a the list of user-defined locations
                     from the specified file.
      -el, --export-locations : Exports the list of user-defined locations
                     to the specified file
      -c, --change-credentials : Changes the updating credentials for the
                     specified update manager to the specified username and
                     password. If password is not specified, the program
                     will prompt for one.
      -f, --force   : Overwrite existing files when exporting
      -n, --nowarn  : Don't warn about backing up the database
      -v, --version : Displays version information
      -h, --help    : Shows this message

    So it looks like you can import the config from XML files for a given SUM.

    I found it linked from:
    http://www.sophos.com/support/knowledgebase/article/112598.html
    It doesn't seem to work yet on SEC 4.7 though, you might be best calling Support and asking more about this tool.

    Cheers

    Jak

    :12147
Children
No Data