4 4 3:Aktualisieren SEP sesam

From SEPsesam
Revision as of 13:54, 15 July 2019 by Sta (talk | contribs) (Created page with "Zunächst wird die Liste aller verfügbaren Pakete angezeigt, die sich im {{download}} befinden. Als nächstes wird eine Liste der von Ihnen konfigurierten Komponenten und der...")
Other languages:
Copyright © SEP AG 1999-2024. Alle Rechte vorbehalten.

Jede Form der Reproduktion der Inhalte dieses Benutzerhandbuches, ganz oder in Teilen, ist nur mit der ausdrücklichen schriftlichen Erlaubnis der SEP AG gestattet. Bei der Erstellung dieses Benutzerhandbuches wurde mit größtmöglicher Sorgfalt gearbeitet, um korrekte und fehlerfreie Informationen bereit stellen zu können. Trotzdem kann die SEP AG keine Gewähr für die Richtigkeit der Inhalte dieses Benutzerhandbuches übernehmen.

Docs latest icon.png Willkommen in der aktuellsten Version der SEP sesam Dokumentation 4.4.3/4.4.3 Beefalo. Frühere Versionen der Dokumentation finden Sie hier: Dokumentationsarchiv.


Übersicht

SEP sesam bietet freie Updates von früheren Versionen zu aktuellen Versionen und Funktionen innerhalb des Wartungszeitraum. Innerhalb dieses Zeitraums, kann der Kunde mit einer gültigen Lizenz, Patches, Bugfixes, sowie wie die aktuellste Version von SEP sesam herunterladen. SEP sesam Software Pakete können unter SEP Download Center runter geladen werden.

Sie können Ihre SEP sesam Software auf folgende Wege aktualisieren:

  • Updating only GUI: When updating the SEP sesam Server, you also have to update the GUI client because the GUI client and the SEP sesam Server have to work with the same GUI. There are two ways for updating the GUI client automatically:
  • Sie können die Update Funktion vom SEP sesam Server benutzen um nach relevanten Updates für Ihre Clienten zu suchen und Remote über den CLI Befehl sm_update_client installieren. Sie können auch Ihre Clienten über lokale Pakete installieren die auf Ihrem SEP sesam Server gespeichert sind.
  • SEP sesam provides service pack executables that ease the installation of service packs and patches. A service pack is cumulative and contains all released fixes for the corresponding SEP sesam version. To install a service pack, download it from the SEP Download Center according to your target operating system (Windows or Linux). Installing on Windows is easy; simply download the executable file for your version of SEP sesam and install it. On Linux, however, you must make the service pack executable after downloading it. For details, see Applying Service Packs on Linux.

Updating GUI client by using SEP sesam GUI

As of v. 4.4.3 Beefalo, you can update SEP sesam GUI client automatically by using SEP sesam GUI.

Under the Configuration -> Defaults -> Install/Update tab -> Update mode, select Download and install updates automatically (at Sesam newday) option. Your updates will be automatically downloaded and installed based on SEP sesam NEWDAY, when a new version is available in the SEP Download Center.

If you do not want to install your updates automatically, you can also select under the Update mode to download updates automatically but install manually, or to disable automatic download and installation of updates.

Default install update Beefalo.jpg

Verwendung von sm_update_client für automatische Aktualisierungen

Mit dem Befehl sm_update_client werden alle Clients, RDS und GUI (einschließlich eines Clients) automatisch aktualisiert. Der Befehl sm_update_client durchsucht das SEP Download Center nach neuen Installationspaketen, die für die konfigurierten Clients verfügbar sind.

Für die Aktualisierung von Komponenten gilt Folgendes:

  • Unter Linux wird das Update immer für eine bestimmte Komponente ausgeführt: Ein Client kann mit einem SEP sesam Client-Paket aktualisiert werden, das Update einer GUI erfordert ein GUI-Paket und RDS erfordert ein RDS-Paket.
  • Unter Windows kann ein Client mit jedem der drei Installationspakete aktualisiert werden, die Aktualisierung der GUI kann entweder mit dem GUI- oder SEP sesam Server-Paket erfolgen. RDS erfordert ein Serverpaket.

Die ausführbare Datei sm_update_client befindet sich im Verzeichnis <SESAM_ROOT>/bin/sesam/, unter Windows zum Beispiel c:\Program Files\SEPsesam\bin\sesam\. Der Befehl sm_update_client erkennt das Betriebssystem der zu aktualisierenden Komponente und führt den Update nur durch, wenn das verfügbare Aktualisierungspaket das jeweilige System unterstützt. Beispielsweise funktioniert SEP sesam V.4.4 nicht unter Windows XP, daher wird in diesem Fall der Client nicht aktualisiert.

Verwendung von sm_update_client

Folgende Optionen sind verfügbar

Options:
   -U update clients
   -c <client name>
   -C <r|s> client <remote access|sbc connection> check
   -d download packages only
   -F force update by same version
   -L <location>
   -N <regex> uses only packages matching <regex>
   -n check available version (no update)
   -O <os> matches begin of operating system string
   -u <URL> Use 'URL' instead of https://www.sep.de/downloadportal/
      file:///<local directory> can be used
  1. Um zu überprüfen, welche Komponenten (CLI/RDS/GUI) aktualisiert werden können, führen Sie den folgenden Befehl aus:
  2. sm_update_client -n Zunächst wird die Liste aller verfügbaren Pakete angezeigt, die sich im SEP Download Center befinden. Als nächstes wird eine Liste der von Ihnen konfigurierten Komponenten und der aktuell installierten SEP sesam Pakete angezeigt, gefolgt von den verfügbaren Updates für das jeweilige CLI/RDS/GUI.
  3. 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.
    • To update all listed update candidates, run the following command:
    sm_update_client -U
    • If you want to update the CLI/RDS/GUI component with the same package as the currently existing one, use the -F switch:
    sm_update_client -U -F
    • 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.
    sm_update_client -U -c <client name> sm_update_client -U -c seagull
    • 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:
    sm_update_client -U -c ALL_CLIENTS
    • The parameter -O 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):
    sm_update_client -U -c ALL_CLIENTS -O "Windows Server 2008"

Updating by using local packages

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 sm_update_client and the index.txt file. You will have to generate the index.txt file locally to get the list of all available packages at your SEP sesam Server.
The latest index.txt file with all available packages at SEP sesam repository can be retrieved from the SEP Download Center.

  1. To create the index.txt file, open the command prompt and navigate to your SEP sesam installation packages directory. Depending on your OS, run the following command:
  2. 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 index.txt 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
  3. Leave the index.txt file in the directory where it has been generated and pass its location and the location of the packages to sm_update_client. For example, if the packages are located in the <SESAM_ROOT>work/packages folder on your SEP sesam Server, the command would be:
  4. 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" The automatic update of the SEP sesam Server is currently not supported. Usage: sm_config_client -i timestamp = identifier of this call -c client name -o operating system [-l location_id] default=0 [-a addr] ( TCPIP-adr. or 'via_nameserver' = default [-m mode] ( CTRL|RSH|SSH ) configures client ( delete ) deletes client ( testsbc|testbackup ) tests connection to/from client [-O options [-s sender of this call] default = sesam -U update client package [-P <package name> path name of package Example: sm_config_client -c kha-testius64 -U -O force The last parameter -O force 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.

Checking the updates

To check if the update was successful, proceed as follows:

  1. Check the connection between a GUI client and SEP sesam Server. The connection should work.
  2. 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.
  3. About SEP sesam 4.4.3.48.jpg

Siehe auch

Automatische Installation unter WindowsAnwenden eines Service-Packs auf LinuxSEP sesam Installation KurzanleitungSEP sesam CLI