4 4 3:Automatic Updates: Difference between revisions

From SEPsesam
(Added Special:MyLanguage to links, updated screenshot and remarked for translation.)
(Corrected navigation to Beefalo.)
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:


<!--T:2-->
<!--T:2-->
{{Navigation_latest|release=4.4.3|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}</translate></diV>
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}</translate></diV>




Line 41: Line 41:
|}</div>
|}</div>
<translate><!--T:10-->
<translate><!--T:10-->
SEP sesam provides free updates from previous versions of SEP sesam to new versions and new features within the [[Special:MyLanguage/Licensing#maintenance|maintenance period]]. You can enable a SEP sesam Server to check for the relevant updates and remotely update your clients by using the [[Special:MyLanguage/Updating_SEP_sesam#CLI|CLI command <tt>sm_update_client</tt>]].</translate>
SEP sesam provides free updates from previous versions of SEP sesam to new versions and new features within the [[Special:MyLanguage/Licensing#maintenance|maintenance period]]. You can enable a SEP sesam Server to check for the relevant updates and remotely update your clients by using the [[Special:MyLanguage/Automatic_Updates#sm_update|CLI command <tt>sm_update_client</tt>]]. As of v. 4.4.3 ''Beefalo'', you can also [[Special:MyLanguage/Automatic_Updates#GUI|update the GUI client automatically]] by using SEP sesam GUI.
<onlyinclude>
<translate>=={{anchor|sm_update}}Using <tt>sm_update_client</tt> for automatic updates== <!--T:11-->


<!--T:12-->
<!--T:66-->
The <tt>sm_update_client</tt> command is used to automatically update all clients, RDS, and GUI (including a client). The <tt>sm_update_client</tt> command uses [http://download.sep.de/ SEP sesam download center] to check for new installation packages available for the configured clients.
{{:Updating SEP sesam/en}}</translate>


<!--T:13-->
<translate><div class="noprint">
The following applies for updating components:</translate>
==See also== <!--T:64-->
*<translate><!--T:14-->
[[Special:MyLanguage/Updating_SEP_sesam|Updating SEP sesam]] – [[Special:MyLanguage/Automatic_Installation_On_Windows|Automatic Installation on Windows]] – [[Special:MyLanguage/Applying_Service_Packs_on_Linux|Applying Service Packs on Linux]] – [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]] – [[Special:MyLanguage/SEP_Sesam_CLI|SEP sesam CLI]]</div></translate>
'''On Linux''', a specific component is always required for an update: a ''client'' can be updated using a SEP sesam Client package, updating ''GUI'' requires a GUI package, and ''RDS'' requires an RDS package. </translate>
 
*<translate><!--T:15-->
'''On Windows''', a ''client'' can be updated with any of the three installation packages, updating GUI can be done with either the GUI or SEP sesam Server package, and ''RDS'' requires a server package.
 
<!--T:16-->
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. For example, SEP sesam v. 4.4 does not work on Windows XP, therefore this client system will not be updated.
 
=== {{anchor|usage}}Usage of <tt>sm_update_client</tt> === <!--T:17-->
 
<!--T:18-->
The following options are available </translate>
<translate><!--T:19-->
Options:</translate>
    -U <translate><!--T:20-->
update clients</translate>
    -c <<translate><!--T:21-->
client name</translate>>
    -C <r|s> <translate><!--T:22-->
client <remote access|sbc connection> check</translate>
    -d <translate><!--T:23-->
download packages only</translate>
    -F <translate><!--T:24-->
force update by same version</translate>
    -L <<translate><!--T:25-->
location</translate>>
    -N <regex> <translate><!--T:26-->
uses only packages matching <regex></translate>
    -n <translate><!--T:27-->
check available version (no update)</translate>
    -O <os> <translate><!--T:28-->
matches begin of operating system string</translate>
    -u <URL> <translate><!--T:29-->
Use 'URL' instead of 'http://download.sep.de'</translate>
      <translate><!--T:30-->
file:///<local directory> can be used</translate>
<!-- previous version was:
options:
      -U update clients
      -c <client name>
      -L <location>
      -O <os>
      -N <regex> uses only packages matching <regex>
      -n check available version (no update)
      -d download packages only
      -F force update by same version
      -u <URL> Use 'URL' instead of 'http://download.sep.de'--> 
 
<ol><li><translate><!--T:31-->
To '''check''' which components (CLI/RDS/GUI) '''can be updated''', run the following command:</translate></li>
 
sm_update_client -n
 
<translate><!--T:32-->
First, the list of all available packages, found in the [http://download.sep.de/ SEP sesam download center], is displayed. Next, a list of your configured components and their currently installed SEP sesam packages is shown, followed by the available updates for the respective CLI/RDS/GUI.</translate>
 
<li><translate><!--T:33-->
Now you can decide whether you want to update '''all''' CLI/RDS/GUI components, which were listed as update candidates, or you only want to '''update a specific component'''.</translate></li>
*<translate><!--T:34-->
To ''update all'' listed update candidates, run the following command:</translate>
 
sm_update_client -U
*<translate><!--T:35-->
If you want to update the CLI/RDS/GUI component with the same package as the currently existing one, use the -F switch:</translate>
 
sm_update_client -U -F
*<translate><!--T:36-->
If you want to update ''only specific'' CLI/RDS/GUI, use the following command and replace the ''<client name>'' with the name of the target CLI/RDS/GUI component. The second line shows the example for updating a client named ''seagull''.</translate>
 
sm_update_client -U -c <client name>
sm_update_client -U -c seagull
 
*<translate><!--T:37-->
''All clients in SEP sesam database'' can be checked and/or updated by using the '''ALL_CLIENTS''' syntax. To update all clients, run the following:</translate>
 
sm_update_client -U -c ALL_CLIENTS
 
*<translate><!--T:38-->
The parameter <tt>-O</tt> can be used to select specific clients' operating systems. For example, the following command will update all – and only – ''Windows Server 2008'' based systems (R2 included):</translate>
 
sm_update_client -U -c ALL_CLIENTS -O "Windows Server 2008"
</ol>
 
<translate>=={{anchor|local}}Updating by using local packages == <!--T:39-->
 
<!--T:40-->
If you would like to update your clients with the packages which are stored at your SEP sesam Server and can be accessed locally, you have to use the <tt>sm_update_client</tt> and the <tt>index.txt</tt> file. You will have to generate the <tt>index.txt</tt> file locally to get the list of all available packages at your SEP sesam Server.</translate><br /><translate><!--T:41-->
The latest <tt>index.txt</tt> file with all available packages at SEP sesam repository can be retrieved from the [http://download.sep.de/ SEP sesam download center].</translate>
 
<ol><li><translate><!--T:42-->
To create the <tt>index.txt</tt> file, open the command prompt and navigate to your SEP sesam installation packages directory. Depending on your OS, run the following command:</translate></li>
 
'''Windows'''
cd C:\ProgramData\SEPsesam\var\work\packages
dir /B >index.txt
 
'''Linux/UNIX'''
cd /var/opt/sesam/var/work/packages
find . -name "*sesam*" -printf "%P %k %TY-%Tm-%Td %TH:%TM:%TM \n" >index.txt
 
The following example shows the <tt>index.txt</tt> file where all Linux packages are in the Linux folder and all Windows packages are in the Windows folder.
linux\sesam_gui-4.2.2-24.sles10.i586.rpm 65420 2013-12-13 16:26:26
linux\sesam_rts-4.2.2-24.sles10.i586.rpm 23066 2013-12-13 16:26:26
linux\sesam_cli-4.2.2-24.sles11.x86_64.rpm 16068 2013-12-13 16:22:22
linux\sesam_gui-4.2.2-24.sles10.x86_64.rpm 66087 2013-12-13 16:23:23
linux\sesam-srv_4.2.2-24.wheezy_i386.deb 90512 2013-12-13 16:20:20
linux\sesam_cli-4.2.2-24.rhel6.x86_64.rpm 18350 2013-12-13 16:16:16
linux\sesam_rts-4.2.2-24.rhel6.x86_64.rpm 60703 2013-12-13 16:16:16
linux\sesam_rts-4.2.2-24.rhel5.x86_64.rpm 59335 2013-12-13 16:17:17
windows\sesam-srv-4.2.2.24-windows.x86.exe 110739 2013-12-13 17:16:16
windows\sesam-gui-4.2.2.24-windows.x86.exe 85511 2013-12-13 17:20:20
windows\sesam-cli-4.2.2.24-windows.x86.exe 24803 2013-12-13 17:24:24
windows\sesam-srv-4.2.2.24-windows.x64.exe 112918 2013-12-13 17:15:15
windows\sesam-gui-4.2.2.24-windows.x64.exe 86261 2013-12-13 17:19:19
windows\sesam-cli-4.2.2.24-windows.x64.exe 25522 2013-12-13 17:22:22
 
<li><translate><!--T:43-->
Leave the <tt>index.txt</tt> file in the directory where it has been generated and pass its location and the location of the packages to <tt>sm_update_client</tt>. For example, if the packages are located in the {{Sesamroot|work/packages}} folder on your SEP sesam Server, the command would be:</translate></li>
 
'''Windows'''
sm_update_client -U -c clientname -u "file:///C:\ProgramData\SEPsesam\var\work\packages"
'''Linux/UNIX'''
sm_update_client -U -c clientname -u "file:///var/opt/sesam/var/work/packages"
 
<!-- ? If you want to install a specific package, use the parameter -P to insert the package name.-->
<translate><!--T:44-->
The automatic update of the SEP sesam Server is currently not supported.</translate>
 
<translate><!--T:45-->
Usage:</translate> sm_config_client
        -i timestamp = <translate><!--T:46-->
identifier of this call</translate>
        -c <translate><!--T:47-->
client name</translate>
        -o <translate><!--T:48-->
operating system</translate>
      [-l location_id] default=0
      [-a addr] ( TCPIP-adr. or 'via_nameserver' = <translate><!--T:49-->
default</translate>
      [-m mode] ( CTRL(=default)|RSH|SSH ) <translate><!--T:50-->
configures client</translate>
                ( delete )                <translate><!--T:51-->
deletes client</translate>
                ( testsbc|testbackup )    <translate><!--T:52-->
tests connection to/from client</translate>
      [-O <translate><!--T:53-->
options</translate>
      [-s <translate><!--T:54-->
sender of this call]  default = sesam</translate>
        -U <translate><!--T:55-->
update client package</translate>
      [-P <translate><!--T:56-->
<package name> path name of package</translate>
  <translate><!--T:57-->
Example:</translate>
      sm_config_client -c kha-testius64 -U -O force
 
<translate><!--T:58-->
The last parameter <tt>-O force</tt> will push the installation even if the installed version is the same as the version of the update package. Note that the client name is case-sensitive, therefore make sure that it is inserted correctly if you want the update to work.</translate></ol>
 
<translate>== {{anchor|check}}Checking the updates == <!--T:59-->
 
<!--T:60-->
To check if the update was successful, proceed as follows:</translate>
<ol><li><translate><!--T:61-->
Check the connection between a GUI client and SEP sesam Server. The connection should work.</translate></li>
<li><translate><!--T:62-->
Open the SEP sesam GUI and from the menu bar select '''Help''' -> '''About SEP sesam'''. Both, SEP sesam GUI client and SEP sesam GUI Server must have the same build versions.</translate></li>
 
<translate><!--T:63-->
[[Image:About_SEP_sesam_4.4.3.48.jpg|700px|link=]]</translate>
<br clear=all>
</ol></onlyinclude>
 
<div class="noprint">
<translate>==See also== <!--T:64-->
[[Special:MyLanguage/Updating_SEP_sesam|Updating SEP sesam]] – [[Special:MyLanguage/Automatic_Installation_On_Windows|Automatic Installation on Windows]] – [[Special:MyLanguage/Applying_Service_Packs_on_Linux|Applying Service Packs on Linux]] – [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]] – [[Special:MyLanguage/SEP_Sesam_CLI|SEP sesam CLI]]</translate></div>

Revision as of 14:36, 15 July 2019

Other languages:

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/4.4.3 Beefalo. For previous documentation version(s), check Documentation archive.


Overview

SEP sesam provides free updates from previous versions of SEP sesam to new versions and new features within the maintenance period. You can enable a SEP sesam Server to check for the relevant updates and remotely update your clients by using the CLI command sm_update_client. As of v. 4.4.3 Beefalo, you can also update the GUI client automatically by using SEP sesam GUI.

Updating SEP sesam/en