Sie sind auf Seite 1von 5

******** FOR RE-Initiate OR TRIGGER ************

smsap backup create -profile hostname_sid -full -online -retain -weekly -label D
AILY_DB_SID_BKUP(date) -verbose
********************************************************************************
*******************************************
**************

Sql Query for monitoring TS *****************************

select df.tablespace_name "Tablespace",


totalusedspace "Used MB",
(df.totalspace - tu.totalusedspace) "Free MB",
df.totalspace "Total MB",
round(100 * ((df.totalspace - tu.totalusedspace)/df.totalspace))
"Pct. Free" from (select tablespace_name,
round(sum(bytes)/1048576) TotalSpace
from dba_data_files group by tablespace_name) df,
(select round(sum(bytes)/(1024*1024)) totalusedspace,
tablespace_name from dba_segments group by tablespace_name) tu
where df.tablespace_name = tu.tablespace_name;
***********************************************************************
cdexe
pwd
cd ..
ls -ltr
cp -Rip linuxx86_64 linuxx86_64_742_222
cd linuxx86_64_742_222
mv SPACAR SAPCAR_OLD
./SAPCAR_OLD -xvf /sapcd/sapwebdisp_742/sapwebdisp_222-80000041.sar

**********************************************************************
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

( instead of ps -ef | grep sidadm )

********************************************************************************
*******
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

To Known theSAP Profile Directory path --- cdpro


********************************************************************************
***********************
In ORACLE , to give full permission ---

chmod 775 filename

In OS Level

chmod 774 filename

to give full permission ---

********************************************************************************
*************************
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

Das könnte Ihnen auch gefallen