Source:Updating SEP sesam Using CLI: Difference between revisions
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 | <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. | ||
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. | |||
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 | 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>{{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
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
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