4 4 3 Beefalo:Updating SEP sesam Using CLI

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English

Copyright © SEP AG 1999-2020. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo V2. For previous documentation version(s), check Documentation archive.


Overview

This article provides information on available update options and procedures that were introduced in 4.4.3 Beefalo and fine-tuned in 4.4.3 Beefalo V2. As updating SEP sesam is version-related, some of the described update options and procedures may not be available in earlier versions. If you are running a version ≤ 4.4.3 Grolar, see Updating SEP sesam in earlier versions.

As of Beefalo/Beefalo V2, the sm_update_client command implements all the features of the sm_update_client, as well as the previously used sm_remote_installer and sm_config_client commands that have been deprecated.

SEP sesam GUI can now be used to automatically check for updates and update your individual client(s), perform mass update of all clients within the location or all clients according to their OS (Linux or Windows). You can also use the GUI option Install SEP sesam to remotely install SEP sesam on Windows computers that are available (are added to) in SEP sesam environment. In the same way, you can use the sm_update_client command to install/uninstall (remotely on Windows clients only), check for the updates, and update and configure SEP sesam.

The sm_update_client executable is located in the <SESAM_ROOT>/bin/sesam/, for example C:\Program Files\SEPsesam\bin\sesam\ on Windows. The sm_update_client command is aware of the operating system of the component that needs to be updated and does not perform an update if the available update package is not supported on the respective system.

Usage of sm_update_client

The following options are available:

                       update|up|-U                   update client package 
                       sp_update|su                   update client service pack 
                       gui_update|gu                  update GUI server and sbc VADP of sesam server 
                       check_update|cu|-n             check available SEP sesam version on client (no update) 
                       check_client|cc                check client remote access or sbc connection 
                       install|in                     install WINDOWS client package 
                       uninstall|un                   uninstall WINDOWS client package 
                       set_client|sc                  set the access from client <client name> for given server 
                       get_clusternode|gc             for Hyper-V cluster only: This command displays the name and state of each node in the local cluster given by the client name. 
                       run_service_as|rs              run SEP sesam service (sm_main) as given user. 
                       list_computers|lc              list all computers available in the domain 
                   General options:
                       [-v <log level>]               log level 
                       [-h]                           help 
                   
SEP Tip.png Tip
To get detailed information about the commands, use sm_update_client help <first argument>.

Options for client update

                       [-c <client name>]            either use name of the client to update one client or "ALL_CLIENTS"
                       [-d]                          download packages only
                       [-F]                          force update by same version
                       [-L <location>]               name or id of the location where all clients should be updated
                       [-N <regex>]                  uses only packages matching <regex>
                       [-O <operating system>]       matches begin of operating system string
                       [-V <X.X.X.X>]                only consider clients matching version number X.X.X.X
                       [-P <permit>]                 if set to 1, check active clients only
                       [-q]                          submit update process into queue to allow parallel update
                       [-K]                          do not remove unneeded packages from the <sesam>/var/work/packages
                                                     folder during update
                       [-s 1]                        execute service pack update right after client package if a service pack is available
                       [-u <URL>]                    Use "URL" instead of "https://download.sep.de"
                                                     file:///<local directory or url can be used>
                    General options:
                       [-v <log level>]              log level
                       [-h]                          help