Source:Updating SEP sesam Using CLI: Difference between revisions

From SEPsesam
mNo edit summary
(Update in progress)
Line 46: Line 46:
<span style="font-size:92%; line-height: 1.3em; color:grey;"><translate>This article provides information on available update options and procedures that were introduced in 4.4.3 ''Beefalo'' and fine-tuned in [[SEP_sesam_Release_Versions| 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  [[SEP_sesam_Release_Versions|≤ 4.4.3 ''Grolar'']], see [[Special:MyLanguage/4 4 3:Updating SEP sesam|Updating SEP sesam in earlier versions]].</translate></span>
<span style="font-size:92%; line-height: 1.3em; color:grey;"><translate>This article provides information on available update options and procedures that were introduced in 4.4.3 ''Beefalo'' and fine-tuned in [[SEP_sesam_Release_Versions| 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  [[SEP_sesam_Release_Versions|≤ 4.4.3 ''Grolar'']], see [[Special:MyLanguage/4 4 3:Updating SEP sesam|Updating SEP sesam in earlier versions]].</translate></span>


<translate>As of [[Special:MyLanguage/SEP_sesam_Release_Versions|''Beefalo''/''Beefalo V2'']], the <tt>sm_update</tt> command implements all the features of the previously used <tt>sm_remote_install</tt> and <tt>sm_config_client</tt> commands that have been deprecated.</translate>
<translate>As of [[Special:MyLanguage/SEP_sesam_Release_Versions|''Beefalo''/''Beefalo V2'']], the <tt>sm_update</tt> command implements all the features of the previously used <tt>sm_remote_install</tt> and <tt>sm_config_client</tt> commands that are now deprecated.


<translate>Usage</translate>: sm_update_client <<translate>first argument</translate>> [options]
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 all Windows computers that are available (are added to) in SEP sesam environment. In the same way, you can use the <tt>sm_update_client</tt> command to install/uninstall (remotely on Windows clients only), check for updates and update, configure and remove SEP sesam.
                      '''<translate>First argument</translate>:'''
 
                        help                          <translate> show detailed information of the first argument parameter</translate>  
The <tt>sm_update_client</tt> executable is located in the {{Sesamroot|/bin/sesam/}}, for example <tt>c:\Program Files\SEPsesam\bin\sesam\</tt> on Windows. The <tt>sm_update_client</tt> 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.
 
== {{anchor|usage}}Usage of <tt>sm_update_client</tt>==
 
The following options are available:</translate>  
                         update|up|-U                  <translate> update client package</translate>  
                         update|up|-U                  <translate> update client package</translate>  
                         sp_update|su                  <translate> update client service pack</translate>  
                         sp_update|su                  <translate> update client service pack</translate>  
Line 58: Line 62:
                         install|in                    <translate> install WINDOWS client package</translate>  
                         install|in                    <translate> install WINDOWS client package</translate>  
                         uninstall|un                  <translate> uninstall WINDOWS client package</translate>  
                         uninstall|un                  <translate> uninstall WINDOWS client package</translate>  
                         set_client|sc                <translate> set the access from client <client name> for given server given</translate>  
                         set_client|sc                <translate> set the access from client <client name> for given server</translate>  
                         get_clusternode|gc            <translate> for Hyper-V cluster only: This command displays the name and state of each node in the local cluster given by the client name.</translate>  
                         get_clusternode|gc            <translate> for Hyper-V cluster only: This command displays the name and state of each node in the local cluster given by the client name.</translate>  
                         run_service_as|rs            <translate> run SEP sesam service (<tt>sm_main</tt>) as given user.</translate>  
                         run_service_as|rs            <translate> run SEP sesam service (<tt>sm_main</tt>) as given user.</translate>  
Line 65: Line 69:
                         [-v <loglevel>]              <translate> log level</translate>  
                         [-v <loglevel>]              <translate> log level</translate>  
                         [-h]                          <translate> help</translate>  
                         [-h]                          <translate> help</translate>  
                     '''<translate> To get detailed information about the commands</translate> :'''
                      
                         sm_update_client help <<translate>first argument</translate> >
 
<translate>{{tip|To get detailed information about the commands, use <tt>sm_update_client help <first argument></tt>.}}</translate>
 
===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 servicepack update right after client package if a servicepack is available
                        [-u <URL>]                    Use "URL" instead of "https://download.sep.de"
                                                      file:///<local directory or url can be used
 
                    General options:
                        [-v <loglevel>]              loglevel
                        [-h]                          help


<translate><div class="noprint">
<translate><div class="noprint">
==See also==  
==See also==  
[[Special:MyLanguage/4_4_3_Beefalo:About_Installation_and_Update|About Installation and Update]] – [[Special:MyLanguage/4_4_3_Beefalo:Updating_SEP_sesam|Updating SEP sesam]] – [[Special:MyLanguage/SEP_sesam_CLI|SEP sesam CLI]]</div></translate>
[[Special:MyLanguage/4_4_3_Beefalo:About_Installation_and_Update|About Installation and Update]] – [[Special:MyLanguage/4_4_3_Beefalo:Updating_SEP_sesam|Updating SEP sesam]] – [[Special:MyLanguage/SEP_sesam_CLI|SEP sesam CLI]]</div></translate>

Revision as of 16:49, 12 December 2019

Other languages:
Draft.png WORK IN PROGRESS
This is a draft document for the SEP sesam upcoming Beefalo V2 release. Note that the article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.

Copyright © SEP AG 1999-2024. 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 command implements all the features of the previously used sm_remote_install and sm_config_client commands that are now 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 all 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 updates and update, configure and remove 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 <loglevel>]                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 servicepack update right after client package if a servicepack is available
                       [-u <URL>]                    Use "URL" instead of "https://download.sep.de"
                                                     file:///<local directory or url can be used
                    General options:
                       [-v <loglevel>]               loglevel
                       [-h]                          help