SAP support
https://wwwp04.sapnet.sap.com/~sapidb/011000358700000028241999E/mask.htm
https://wwwp04.sapnet.sap.com/
Si el proceso se.sap se para hacer:
ext
Author: Christiane Schad
Date: 13.03.1996
Filename: \os\cookbook\applicat\sap\sapprocs\rslgsend.sam
1. Check whether the link of the se.sap process still exists
in the
workdirectory
/usr/sap///work
e.g.: /usr/sap/TS2/DVEBMGS00/work
if not check the start profile for the syntax of how to link
it:
/sapmnt//profile/START_
e.g.: /sapmnt/TS2/profile/START_DVEBMGS00
2. To restart the send process you must be adm and in
the work directory
nohup ./se.sap_ -F
pf=/usr/sap//SYS/profile/_ &
nohup ./se.sapTS2_DVEBMGS00 -F
pf=/usr/sap/TS2/SYS/profile/TS2_DVEBMGS00 &
NOTE: for the syntax you can check either one of the
stderr files or the STARTprofile
3. Check the PID of the restarted process and update the
shutdown.sap file in the workdirectory:
check which of the PIDs is the one of the old/died se.sap
process and replace this PID with the PID of the restarted
process.
If the shutdown.sap file will not be updated, the se.sap
process
will not be stopped when stopping the SAP system.
Startup down
The SAP-process "sapstart" starts the following SAP-processes:
1.) Message-Server (ms.sap...)
2.) Dispatcher (dw.sap..., which then starts all other dw.sap-procs and
the gwrd-proc)
3.) Syslog-Collector (co.sap...)
4.) Syslog-Sender (se.sap...)
After the successful start of R3, the process "sapstart" stays alive waiting
for a
"kill -2" signal to stop all of the above processes in reverse order.
==> If "sapstart" dies, the next shutdown of R3 will fail (and thus most
likely the
next startup)!!!
Solution:
=========
Edit the file "kill.sap" in the SAP-work directory to look like this
(remove existing line):
Note: the correct PIDs are most easily found using the command
ps -ef | egrep 'se.sap|co.sap|gwrd|ms.sap' | grep -v egrep
where the Dispatcher-PID is the PID of the father process
of "gwrd"
kill -2 <PID of se.sap...>
kill -2 <PID of co.sap...>
kill -2 <PID of Dispatcher>
kill -2 <PID of ms.sap...>
sleep 10
ipcrm -m <Shared Memory Segment of sapstart>
where <Shared Memory Segment of sapstart> is the second number found
in the file
"sapstart.sem" in the SAP-work directory. (Without the "ipcrm"-command,
R3 would be
shutdown correctly, but the stopsap-script would be forever waiting for
the cleanup
of resources.)
Now, when the next "stopsap" will be executed (e.g. for the next offline
backup),
R3 will be stopped gracefully.
Don't forget to edit the process monitoring configuration and leave your
call open
until you have reincluded sapstart in the process monitoring after the
next restart
of R3
Para hacer FTP ha clientes tenemos que pasar por el firewall, osctrl06, sftp 192.6.53.25 o stelnet 192.6.53.25
A partir de la versión 4.0 existe el llamado TMS o
Transport Managment System.
El fichero de configuración del programa tp para transportes
es /bin/TPPARAM y debe estar dentro del directorio destinado a transportes.
Transacción SSC1 transporta sin borrar datos.
Nota: Mirar la transacción se02 en la instancia de origen
para comprobar que el nombre del transporte y la fecha son correctos.
update SAPR3.USR02 set UFLAG=0 where BNAME='HP' and MANDT='000';
commit;
Free statistics space: 23-Jul-99
Oracle Archiver is stuck ( Filesystem .../saparch is full): 13-Oct-99
Beware: Do not resolve the "archiver stuck" situation in the way
described here, if a permanent recovery solution (PRS) is in place,
since the prs_copy process would not find the redirected Archivelogs
anymore!!!
1) use bdf to find a file system with enough free space to hold
several archivelogs
2) create subdirectory "archives_tmp" in this file system
3) chmod 777 archives_tmp
4) su - orasid
5) sqldba lmode=y
6) SQLDBA> archive log start '.../archives_tmp/SIDarch'
(BEWARE: svrmgr expects
SVRMGR> archive log start to '.../archives_tmp/SIDarch')
This redirects the archivelogs to the newly created directory.
After the first archivelog has been archived, the archiver stuck
situation is resolved.
7) use brarchive to backup and delete the old archivelogs in
".../saparch"
8) SQLDBA> archive log start '/oracle/SID/saparch/SIDarch'
(BEWARE: svrmgr expects
SVRMGR> archive log start to '/oracle/SID/saparch/SIDarch')
9) if there are only a few archivelogs in ".../archives_tmp" then:
wait until the last archival to ".../archives_tmp" is finished;
then move all archivelogs from ".../archives_tmp" to ".../saparch"
else:
change parameter 'log_archive_dest' in /oracle/SID/dbs/initSID.ora
and use brarchive to save the archivelogs directly from
".../archives_tmp"
Don't forget to change back /oracle/SID/dbs/initSID.ora, once the
brarchive has been started
10) rmdir archives_tmp
Principio
1. Wie es zu diesen Meldungen kommt
Diese Meldungen kommen aus einem Überwachungsskript:
/var/opt/OV/bin/OpC/monitor/df_mon das alle 15 Minuten auf den Rechnern
läuft.
Dieses Skript überwacht anhand der Auflistung von FS im File /var/opt/OV/con/Opc/df_mon.cfg
Generelle
Vorgehensweise:
Handelt es sich um ein FS, das nichts mit SAP zu tun hat, geht der Call
weiter ans Recovery Team
Ansonsten
cd in das betreffende Verzeichnis und dort "bdf ." ausführen, um zu
prüfen,
ob das Problem noch besteht oder ein temporäres Phänomen war.
Mit
du -xsk * lassen sich die größten Beiträger ermitteln.
Achtung: Die darunter gemounteten
FS tauchen hier leider mit auf, obwohl sie natürlich keinen Beitrag
zu dem Problem leisten.
In das entsprechende Verzeichnis mit dem größten Beitrag wechseln
und dort wieder mit
du -xsk * die größten Files/Unterverzeichnisse ermitteln, bis
die Ursache - meist ein großes
File mit heutigem Datum - gefunden ist.
Hiermit
erhaelt man meistens einen sehr guten Ueberblick ueber die Verursacher
des Calls:
find . -xdev -mtime -3 -size +50000c -exec ll -d {} \;
Dieser Befehl zeigt nur Files an, die in dem betroffenen FS liegen (keine
Unterverzeichnisse
mit anderen FS werden durchsucht), die vor maximal 3 Tagen veraendert wurden
und
die mindestens 50000 Zeichen gross sind.
Wenn
man gar nichts findet, kann man alte Files, die schon lange nicht mehr
benutzt wurden,
komprimieren (bitte keine Executables!). Besser auch mit fuser ,file_name>
pruefen, ob Prozesse das File in Verwendung haben. Wenn hierbei eine Prozess-ID
zurueckgeliefert wird, auf keinen Fall das File komprimieren oder removen.
Identifzieren von Files, die älter als 100 Tage sind, mit
find . -name '*' -mtime +100 -exec ll {} \ ;
genau prüfen, ob man auch wirklich diese File komprimieren sollte
(evtl. Rücksprache mit
dem Kundenverantwortlichen), dann
find . -name '*' -mtime +100 -exec compress {} \ ; oder noch
besser
find . -name '*' -mtime +100 -exec gzip -9 {} \ ;
oder um besonders große Files (in diesem Fall >10MB) zu finden:
find . -name '*' -size +10000000c -exec ll {} \;
Unsere
"Pappenheimer"
/usr/sap//D*/work/core kann removed werden
/usr/sap//D*/data/stat -> siehe Entry Nummer 0f64
/usr/sap//global/BIxxxxxx
oder /sapmnt//global/Bixxxxxx ist die Batch Input
Protokolldatei. Da täglich sehr viel Batch Input läuft, wächst
sie ständig und darf unter keinen
Umständen von Hand removed oder komprimiert werden. Im Zuge des wöchenlichen
Aufräumens
(ABAP-Programm RSBTCDEL) auf dem System wird diese Datei bereinigt. Siehe
auch OSS
16083) Man kann hier nichts tun, außer den Kunden zu informieren
und gegebenenfalls das Filesystem erweitern.
/usr/sap/trans
Generell darf man nicht bei allen Kunden alte Transporte löschen -
man sollte hier mit den
Kundenverantwortlichen Rücksprache halten. Wenn löschen ok ist,
gilt OSS Hinweis 41732.
cd
/usr/sap/trans/bin
tp check all
tp clearold all
/oracle/SID/saparch
oder /oracle/SID/arch_put_reorg
Hier sollte schleunigst eine Archive-Sicherung angestossen werden,
wenn die nicht mehr rechtzeitig hilft, siehe Entry Nummer 054a
Wenn
man ein riesiges dev_coll File vorfindet -> siehe Entry Nummer 712280
Principio
|