Archive:SEP sesam sm Commands: Difference between revisions

From SEPsesam
(Marked this version for translation)
(Marked as outdated, will be moved to archive (FO/KAD).)
Line 1: Line 1:
<translate><!--T:1-->
<translate><!--T:1-->
<noinclude><div class="noprint"><languages />
<noinclude><div class="noprint"><languages />
{{Copyright SEP AG|en}}</translate>
{{Copyright SEP AG|en}}
{{Draft}}
{{Outdated}}</translate>


<translate><!--T:2--> {{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Beefalo V2'']]|link=[[Special:MyLanguage/Archive:SEP_sesam_Guides_für_sm_Befehle|documentation archive]]}}</div></translate><br />


<translate>==Overview== <!--T:3--></translate>
<translate>==Overview== <!--T:3--></translate>

Revision as of 14:36, 21 October 2021

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.

Icon archived docs.png THE CONTENT OF THIS PAGE IS OUTDATED
SEP AG has discontinued support for obsolete SEP sesam versions. Instructions are still available for these SEP sesam products, however, SEP AG accepts no responsibility or liability for any errors or inaccuracies in the instructions or for the incorrect operation of obsolete SEP sesam software. It is strongly recommended that you update your SEP sesam software to the latest version. For the latest version of SEP sesam documentation, see documentation home.


Overview

This article briefly describes the sm commands that can be run from the SEP sesam command line. For most commands, you can get help by specifying -h before the command. For more details about the SEP sesam commands and their usage, see SEP sesam CLI.

SEP sesam sm command usage

sm_arch

Creates or releases media (in a media pool) in or from the SEP sesam database (DB).

  • inserts new media into SEP sesam DB
  • removes media from SEP sesam DB
  • restores metadata from a volume
  • removes metadata of a volume
  • adjusts readcheck_state
  • closes media (prevents further writing)
  • opens media (allows appending)
  • inserts the hash of an encrypted media pool or media into the DB

Also restores the media lis file.

sm_arch_getoldest

Fetches the oldest label of a media pool from the media archive (which has not been used for a long time) that is unlocked and reserved for the specified drive. You can load or lock the oldest label.

sm_auto_conf_hw

Compares the hardware configuration currently stored in the SEP sesam database with a scan of the SCSI devices (slu topology scan). Newly found devices are added to the SEP sesam DB and old devices are deleted.

Information sign.png Note
  • For compact loaders, the connectivity between the loader and the drives is checked as much as possible.
  • For loaders with drives that have their own SCSI ID, the drives connected to the loader cannot be detected automatically, so this must be done via the GUI. For details, see Configuring Loaders and Drives.

sm_backup

Executes a SEP sesam backup.

sm_client

Executes commands on the client. By default, the connection is made to a local computer. There you can change the sms.ini (with various parameters) or list, verify and create directories. The only mandatory option is -f, which requires additional arguments (e.g. dir for recursive listing of directories).

sm_config_client

Used to configure clients. You can add and update clients or check their access.

sm_config_drives

Initiates queues (sm_sepuler manages a separate queue for each drive group) for the drive, re-configures the tape servers (by running a slu topology and then rewriting the sms.ini), creates disk files, and restarts the data server with sm_client.

sm_ctrlc

sm_ctrlc or # SESAM Control CLIENT FOR UNIX

Provides the basic connection to the respective SEP sesam Client and the required permissions.

sm_ctrld/sm_ctrld_main

sm_ctrld or # SESAM Control DAEMON (Child Process) FOR UNIX
sm_ctrld_main or # SESAM Control DAEMON FOR UNIX

The SEP sesam Control Daemon is a child process (for Unix) of sm_ctrld_main and ensures that the call is received by sm_ctrlc.

sm_daily_schedule

Recalculates SEP sesam tasks (backups, restores, command events, media events, etc.). By default, the recalculation is performed for 14 days in advance. This information is stored in the cal_sheets table of the SEP sesam database.

sm_db

Provides the central interface to the SEP sesam database. You can execute the SQL statements and import or export the entire database.

See also

SEP sesam CLISBC CLI