Beruflich Dokumente
Kultur Dokumente
smsap backup create -profile hostname_sid -full -online -retain -weekly -label D
AILY_DB_SID_BKUP(date) -verbose
********************************************************************************
*******************************************
**************
**********************************************************************
df -h
df -h | grep sapdata -- To show SAP Systems
df -h | grep sapdata*
df -h | grep -l smsap
****************************************************************************
To Find Brtools ( If Any Systen deosn't have Brtools )
Cd /use/sap/BP9 -- Press Enter
cd SYS --- Enter
cd run -
Enter
|| -- Enter
Now find Brtools in file list , copy that path and run it .
*******************************************************************************
Cleanipc 44 remove
During every operation in an SAP system data is been sent and received through o
perating system files also. At the point of shutting down the system,
there may be some data passing through from SAP to OS. so we need to clear of t
his data.
You can use command cleanipc to clear or delete the old shared memory
The cleanipc command is used to clear the shared memeory occupied by the SAP sys
tem.
********************************************************************************
*********************
**************** Upgarde Kernel On Unix *************************
1) stopsap
2) clean shared memory
3) saposcol -k
4) ps -ef | grep sapstartsrv
5) kill
6) cleanipc
7) lsnrctl stop
8) backup your kernel
9) cd /sapmnt/
10) cp -pr exe exe.001
11) extract new kernel
12) cd exe
13) SAPCAR -xvf
14) Start saposcol
15) startlistener
16) startsap
********************************************************************************
*******
procedure for NetWever 7.0 ABAP stack only KERNEL UPGRADE ?
1) stopsap
2) clean shared memory
3) saposcol -k
4) ps -ef|grep sapstartsrv
5) kill
6) cleanipc
7) lsnrctl stop
8) backup your kernel
9) cd /sapmnt/
10) cp -pr exe exe.001
11) extract new kernel
12) cd exe
13)
14)
15)
16)
SAPCAR -xvf
Start saposcol
startlistener
startsap
********************************************************************************
***
To show SQLVersion
sqlplus / as sysdba
OR
sqlplus "/ as sysdba"
********************************************************************************
******
Command to Checking Backup Profiles:
Syntax: smsap profile list | grep [SID]
Example : smsap profile list | grep AD8
********************************************************************************
**********************
How to check BRTOOLS version
Switch you user to ora[sid] user :
#su - oraids
Type this command :
>brtools -V
OR
>brtools -V all
********************************************************************************
************************
How to find BRTOOLS path
BRTOOLS are located in the directory
/usr/sap/<SID>/exe/run. BRTOOLS consist of the following set of files:
* SAPDBA
* BRCONNECT
* BRRESTORE
* BRBACKUP
* BRARCHIVE
********************************************************************************
************************
To Show the Data Files for Particular Data Base
df -ph |column -t
********************************************************************************
**********************
To Known the KERNEL Version ------ disp+ ork
To Known the KERNEL path ---
cdexe
In OS Level
********************************************************************************
*************************
To Show SandBox BackUP :
bbcsapx024l
cd /oracle/GS8/sapbackup/
ls -ltr
now check the .ans File on corresponding date . If it is not exit then try with
crontab -l
crontab -l
press enter
goto -------------------
/oracle/GS8/scripts/
cd /oracle/GS8/scripts/
ls -ltr
copy rmanbackup.ksh file and view
path
for that
for that
more rmanbackup.ksh
goto ----
cd /oracle/GS8/sapdata1/RMAN/
cd /oracle/GS8/sapdata1/RMAN/
ls -ltr
check rman backup file
path
for that