Source:Directory Layout: Difference between revisions

From SEPsesam
(Updated.)
(Fixed navigation to Beefalo.)
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="noprint"><languages /></div>
<noinclude>
{{Copyright SEP AG|en}}
<translate><!--T:126-->
<div class="noprint"><languages />


<translate>=={{anchor|directory overview}}Overview== <!--T:1-->
<!--T:127-->
{{Copyright SEP AG|en}}</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><br /></noinclude>


<!--T:2-->
<translate>
SEP sesam always creates '''two directory structures''' during installation – one for '''statical data''' and one for '''variable data'''. Both structures can be either in the same main directory or in two different directories. On Unix, the installation directories are represented in the file {{path|/etc/sesam2000.ini}}.
<!--T:77-->
<noinclude>===Overview===</noinclude></translate>
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>
<!--T:78-->
Additional resources</translate></b></center>
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>
<!--T:79-->
[[File:SEP_next.png|45px|link=Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:80-->
See also: [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]]</translate>
|}


=={{anchor|SESAM_BIN Directory}}''SESAM_BIN'' directory == <!--T:3-->
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>
<!--T:81-->
[[File:support-matrix.png|45px|link=Special:MyLanguage/SEP sesam OS and Database Support Matrix|]]</translate>
 
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:82-->
Check supported [[Special:MyLanguage/SEP sesam OS and Database Support Matrix|configurations and versions]] and [[Special:MyLanguage/Java_Compatibility_Matrix|Java compatibility matrix]].</translate>
|}
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>
<!--T:83-->
[[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ#installation_and_configuration|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:84-->
Check [[Special:MyLanguage/FAQ#installation_and_configuration|FAQ]] for installation issues.</translate>
|}
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" |
<translate>
<!--T:85-->
[[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
<translate>
<!--T:86-->
Problems? See the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
|}</div>
</noinclude>
<translate>
<!--T:87-->
SEP sesam always creates '''two directory structures''' during installation – one for '''static data''' and one for '''variable data'''. Both structures can be either in the same main directory or in two different directories. On Unix, the installation directories are represented in the file {{path|/etc/sesam2000.ini}}.</translate>
 
<translate>==={{anchor|aliases}}SEP sesam directory aliases === <!--T:121-->
 
<!--T:122-->
Directory aliases are used to refer to the specified paths in the default SEP sesam directory structure.</translate>
 
;<tt><SESAM_BIN></tt>:<translate><!--T:123-->
Refers to the part of the directory structure of a Linux package installation in which the unchangeable files (e.g., binaries) are stored. Path {{path|/opt/sesam}} can not be selected during installation.</translate>
 
;<tt><SESAM_VAR></tt>:<translate><!--T:124-->
Refers to the part of the directory structure of a Linux package installation in which the variable files (e.g., configuration and log files) are stored. Path {{path|/var/opt/sesam/var}} is not arbitrary during installation.</translate>
 
;<tt><SESAM_ROOT></tt>:<translate><!--T:125-->
Refers to the install location of the SEP sesam file structure for a Linux tarball or a Windows installation. This means that both tarball and Windows installations show <tt><SESAM_BIN></tt> and <tt><SESAM_VAR></tt> on the same location in the file system (referred to as <tt><SESAM_ROOT></tt> here). The install directory must be specified during a tarball installation (default path is {{path|/opt/sesam}}) and also during Windows installation (default path is {{path|C:\Program Files\SEPsesam}}).</translate>
 
<translate>==={{anchor|bin}}''SESAM_BIN'' directory === <!--T:88-->
   
   
This directory contains all unchanged files, such as programs, templates, etc. The following directory structure is created dduring SEP sesam installation:</translate>
This directory contains all unchanged files, such as programs, templates, etc. The following directory structure is created during SEP sesam installation:</translate>
{| border="2" cellpadding="4" cellspacing="0" style="width:50%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
{| border="2" cellpadding="4" cellspacing="0" style="width:50%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
  |-       
  |-       
|- style="background:#FFCC01; color:#002F55"
|- style="background:#FFCC01; color:#002F55"
! scope="col" style="width: 70%; text-align:left;" | <translate><!--T:4-->
! scope="col" style="width: 70%; text-align:left;" | <translate>
<!--T:89-->
What</translate>
What</translate>
! scope="col" style="width: 30%; text-align:left;" | <translate><!--T:5-->
! scope="col" style="width: 30%; text-align:left;" | <translate>
<!--T:90-->
Where</translate>
Where</translate>
  |-
  |-
  |<translate><!--T:8-->
  |<translate>
<!--T:91-->
Database components</translate>                                      ||  
Database components</translate>                                      ||  
{{path|SESAM_BIN}}/bin/db
{{path|SESAM_BIN}}/bin/db
  |-   
  |-   
  |<translate><!--T:6-->
  |<translate>
<!--T:92-->
GUI components</translate> ||  
GUI components</translate> ||  
{{path|SESAM_BIN}}/bin/gui
{{path|SESAM_BIN}}/bin/gui
  |-  
  |-  
  |<translate><!--T:9-->
  |<translate>
<!--T:93-->
Dedupe components</translate>                                    ||  
Dedupe components</translate>                                    ||  
{{path|SESAM_BIN}}/bin/sds
{{path|SESAM_BIN}}/bin/sds
  |-                   
  |-                   
  |<translate><!--T:6-->
  |<translate>
<!--T:94-->
Server components</translate> ||  
Server components</translate> ||  
{{path|SESAM_BIN}}/bin/sesam
{{path|SESAM_BIN}}/bin/sesam
  |-                     
  |-                     
  |<translate><!--T:7-->
  |<translate>
<!--T:95-->
Communication components</translate>          ||  
Communication components</translate>          ||  
{{path|SESAM_BIN}}/bin/sms  
{{path|SESAM_BIN}}/bin/sms  
  |-
  |-
  |<translate><!--T:10-->
  |<translate>
<!--T:96-->
Templates incl. raw versions for first installation</translate>        ||                            {{path|SESAM_BIN}}/skel
Templates incl. raw versions for first installation</translate>        ||                            {{path|SESAM_BIN}}/skel
  |-
  |-
  |<translate><!--T:11-->
  |<translate>
<!--T:97-->
Templates for programmable interfaces</translate>                            || {{path|SESAM_BIN}}/skel/templates
Templates for programmable interfaces</translate>                            || {{path|SESAM_BIN}}/skel/templates
  |-
  |-
  |}
  |}


<translate>=={{anchor|SESAM_VAR Directory}}''SESAM_VAR'' Directory== <!--T:12-->
<translate>==={{anchor|var}}''SESAM_VAR'' directory=== <!--T:98-->
This directory contains all changeable data, such as SEP sesam database, protocols and log files. The following directory structure is created during setup:</translate>
This directory contains all changeable data, such as SEP sesam database, protocols and log files. The following directory structure is created during setup:</translate>
{| border="2" cellpadding="4" cellspacing="0" style="width:50%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
{| border="2" cellpadding="4" cellspacing="0" style="width:50%; margin: 1em 1em 1em 0; background: #fcfcfc; border: 1px #aaa solid; border-collapse: collapse;"
  |-       
  |-       
|- style="background:#FFCC01; color:#002F55"
|- style="background:#FFCC01; color:#002F55"
! scope="col" style="width: 70%; text-align:left;" | <div id="REAR"><translate><!--T:13-->
! scope="col" style="width: 70%; text-align:left;" | <div id="REAR"><translate>
<!--T:99-->
What</translate></div>
What</translate></div>
! scope="col" style="width: 30%; text-align:left;" | <translate><!--T:14-->
! scope="col" style="width: 30%; text-align:left;" | <translate>
<!--T:100-->
Where</translate>
Where</translate>
  |-
  |-
  |<translate><!--T:16-->
  |<translate>
<!--T:101-->
Database</translate>                                            ||  
Database</translate>                                            ||  
{{path|SESAM_VAR}}/db[_pg]
{{path|SESAM_VAR}}/db[_pg]
  |-  
  |-  
  |<translate><!--T:19-->
  |<translate>
<!--T:102-->
SEP sesam database backup</translate>                        ||  
SEP sesam database backup</translate>                        ||  
{{path|SESAM_VAR}}/db[_pg]/backup
{{path|SESAM_VAR}}/db[_pg]/backup
  |-
  |-
  |<translate><!--T:15-->
  |<translate>
<!--T:103-->
Configuration files</translate>                                ||  
Configuration files</translate>                                ||  
{{path|SESAM_VAR}}/ini
{{path|SESAM_VAR}}/ini
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:104-->
SSH keys for control communication</translate>                        ||  
SSH keys for control communication</translate>                        ||  
{{path|SESAM_VAR}}/ini/sm_ssh
{{path|SESAM_VAR}}/ini/sm_ssh
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:105-->
SSL certificates for data transfer</translate>                        ||  
SSL certificates for data transfer</translate>                        ||  
{{path|SESAM_VAR}}/ini/ssl
{{path|SESAM_VAR}}/ini/ssl
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:106-->
Notification and metadata logs</translate>                        ||  
Notification and metadata logs</translate>                        ||  
{{path|SESAM_VAR}}/lis
{{path|SESAM_VAR}}/lis
  |-
  |-
  |<translate><!--T:18-->
  |<translate>
<!--T:107-->
Main directory for log files</translate>                          ||  
Main directory for log files</translate>                          ||  
{{path|SESAM_VAR}}/log
{{path|SESAM_VAR}}/log
  |-
  |-
  |<translate><!--T:17-->
  |<translate>
<!--T:108-->
Logs of the Pre- and Post- jobs</translate>                                  ||  
Logs of the Pre- and Post- jobs</translate>                                  ||  
{{path|SESAM_VAR}}/prepost
{{path|SESAM_VAR}}/prepost
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:109-->
Status and daily logs</translate>                        ||  
Status and daily logs</translate>                        ||  
{{path|SESAM_VAR}}/prot
{{path|SESAM_VAR}}/prot
  |-
  |-
  |<translate><!--T:18-->
  |<translate>
<!--T:110-->
Media action logs</translate>                          ||  
Media action logs</translate>                          ||  
{{path|SESAM_VAR}}/prot/media
{{path|SESAM_VAR}}/prot/media
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:111-->
SEP sesam interface logs</translate>                ||  
SEP sesam interface logs</translate>                ||  
{{path|SESAM_VAR}}/prot/notification
{{path|SESAM_VAR}}/prot/notification
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:112-->
Restore logs</translate>                        ||  
Restore logs</translate>                        ||  
{{path|SESAM_VAR}}/prot/restore
{{path|SESAM_VAR}}/prot/restore
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:113-->
Temporary files for transient storage</translate>  ||                   
Temporary files for transient storage</translate>  ||                   
{{path|SESAM_VAR}}/tmp
{{path|SESAM_VAR}}/tmp
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:114-->
Temporary files for longer storage</translate>                        ||  
Temporary files for longer storage</translate>                        ||  
{{path|SESAM_VAR}}/work
{{path|SESAM_VAR}}/work
  |-
  |-
  |<translate><!--T:19-->
  |<translate>
<!--T:115-->
Mountpoint for VMware and other single item restore tasks</translate>                        ||  
Mountpoint for VMware and other single item restore tasks</translate>                        ||  
{{path|SESAM_VAR}}/work/mnt
{{path|SESAM_VAR}}/work/mnt
Line 118: Line 208:
  |}
  |}


<translate><!--T:20-->
<translate>
<!--T:116-->
'''Example'''</translate>
'''Example'''</translate>
   C:\Program Files\SEPsesam
   C:\Program Files\SEPsesam


<translate>==Sample Directory Structure== <!--T:21-->
<translate>===Sample directory structure=== <!--T:117-->


<!--T:22-->
<!--T:118-->
The following is common SEP sesam directory layout after an RPM or DEB installation on Linux. The programs are located in {{path|/opt/sesam}}, the files are in {{path|/var/opt/sesam}}:</translate>
The following is common SEP sesam directory layout after an RPM or DEB installation on Linux. The programs are located in {{path|/opt/sesam}}, the files are in {{path|/var/opt/sesam}}:</translate>


Line 167: Line 258:
   /var/opt/sesam
   /var/opt/sesam


<translate><!--T:23-->
<translate>
The '''/var/ini'''directory contains the following initialization files:</translate>  
<!--T:119-->
The {{path|/var/ini}} directory contains the following initialization files:</translate>  


  sm.ini
  sm.ini
Line 178: Line 270:
  stpd.ini
  stpd.ini


<translate>==See also== <!--T:24-->
<translate><div class="noprint"><noinclude>
[[Special:MyLanguage/FAQ#antivirus_scanner|FAQ: What effect does an antivirus scanner have on SEP sesam?]]
===See also=== <!--T:120-->
 
[[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide|SEP sesam Quick Install Guide]]</noinclude></div></translate>
<!--T:25-->
[[Special:MyLanguage/SEP Sesam CLI|SEP Sesam CLI]]</translate>

Revision as of 12:48, 9 September 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 always creates two directory structures during installation – one for static data and one for variable data. Both structures can be either in the same main directory or in two different directories. On Unix, the installation directories are represented in the file /etc/sesam2000.ini.

SEP sesam directory aliases

Directory aliases are used to refer to the specified paths in the default SEP sesam directory structure.

<SESAM_BIN>
Refers to the part of the directory structure of a Linux package installation in which the unchangeable files (e.g., binaries) are stored. Path /opt/sesam can not be selected during installation.
<SESAM_VAR>
Refers to the part of the directory structure of a Linux package installation in which the variable files (e.g., configuration and log files) are stored. Path /var/opt/sesam/var is not arbitrary during installation.
<SESAM_ROOT>
Refers to the install location of the SEP sesam file structure for a Linux tarball or a Windows installation. This means that both tarball and Windows installations show <SESAM_BIN> and <SESAM_VAR> on the same location in the file system (referred to as <SESAM_ROOT> here). The install directory must be specified during a tarball installation (default path is /opt/sesam) and also during Windows installation (default path is C:\Program Files\SEPsesam).

SESAM_BIN directory

This directory contains all unchanged files, such as programs, templates, etc. The following directory structure is created during SEP sesam installation:

What Where
Database components

SESAM_BIN/bin/db

GUI components

SESAM_BIN/bin/gui

Dedupe components

SESAM_BIN/bin/sds

Server components

SESAM_BIN/bin/sesam

Communication components

SESAM_BIN/bin/sms

Templates incl. raw versions for first installation SESAM_BIN/skel
Templates for programmable interfaces SESAM_BIN/skel/templates

SESAM_VAR directory

This directory contains all changeable data, such as SEP sesam database, protocols and log files. The following directory structure is created during setup:

What
Where
Database

SESAM_VAR/db[_pg]

SEP sesam database backup

SESAM_VAR/db[_pg]/backup

Configuration files

SESAM_VAR/ini

SSH keys for control communication

SESAM_VAR/ini/sm_ssh

SSL certificates for data transfer

SESAM_VAR/ini/ssl

Notification and metadata logs

SESAM_VAR/lis

Main directory for log files

SESAM_VAR/log

Logs of the Pre- and Post- jobs

SESAM_VAR/prepost

Status and daily logs

SESAM_VAR/prot

Media action logs

SESAM_VAR/prot/media

SEP sesam interface logs

SESAM_VAR/prot/notification

Restore logs

SESAM_VAR/prot/restore

Temporary files for transient storage

SESAM_VAR/tmp

Temporary files for longer storage

SESAM_VAR/work

Mountpoint for VMware and other single item restore tasks

SESAM_VAR/work/mnt

Example

 C:\Program Files\SEPsesam

Sample directory structure

The following is common SEP sesam directory layout after an RPM or DEB installation on Linux. The programs are located in /opt/sesam, the files are in /var/opt/sesam:

 barometrix:~ # find /opt/sesam/ /var/opt/sesam/ -type d
 /opt/sesam/
 /opt/sesam/bin
 /opt/sesam/bin/db
 /opt/sesam/bin/gui
 /opt/sesam/bin/gui/html
 /opt/sesam/bin/sesam
 /opt/sesam/bin/sms
 /opt/sesam/skel
 /opt/sesam/skel/db
 /opt/sesam/skel/templates
 ###
 /var/opt/sesam/
 /var/opt/sesam/var
 /var/opt/sesam/var/ini
 /var/opt/sesam/var/ini/root
 /var/opt/sesam/var/log
 /var/opt/sesam/var/log/db
 /var/opt/sesam/var/log/lgc
 /var/opt/sesam/var/log/sms
 /var/opt/sesam/var/tmp
 /var/opt/sesam/var/work
 /var/opt/sesam/var/work/smslis
 /var/opt/sesam/var/work/info
 /var/opt/sesam/var/work/ctl
 /var/opt/sesam/var/work/sem
 /var/opt/sesam/var/times
 /var/opt/sesam/var/lis
 /var/opt/sesam/var/not
 /var/opt/sesam/var/qm
 /var/opt/sesam/var/glbv
 /var/opt/sesam/var/prepost
 /var/opt/sesam/var/prot
 /var/opt/sesam/var/sel
 /var/opt/sesam/var/db
 barometrix:~ #                      
 /opt/sesam/bin
 /var/opt/sesam

The /var/ini directory contains the following initialization files:

sm.ini
sm_java.policy
sms.ini
odbc.ini
debug.ini
sm_lic.ini
stpd.ini