1) Unpack/install the Oracle 10 client
sapm20:oram20> cd /oracle/client
sapm20:oram20> umask 022
sapm20:oram20> mkdir 10x_64
sapm20:oram20> cd 10x_64
sapm20:oram20> SAPCAR -xvf /usr/sap/trans/oracle_client_10g/OCL10264.SAR
sapm20:oram20> ln -s instantclient_10202 instantclient
2) Update environment variables of SIDadm user ID to use the new Oracle 10 client (instantclient)
From .dbenv_sapm20.sh -->
TNS_ADMIN=/oracle/M91/920_64/network/admin; export TNS_ADMIN (same)
for d in $ORACLE_HOME/bin:/oracle/client/10x_64/instantclient; do (edit)
From .dbenv_sapm20.csh -->
setenv TNS_ADMIN /oracle/M91/920_64/network/admin (same)
foreach d ( $ORACLE_HOME/bin:/oracle/client/10x_64/instantclient ) (edit)
3) As SIDadm, go to kernel directory and backup the existing brtools:
sapm20:m20adm> cdexe
sapm20:m20adm> pwd
/sapmnt/M20/exesapm20:m20adm> mkdir brtools_640
sapm20:m20adm> cp br* brtools_640/.
sapm20:m20adm> cp libsbt.o brtools_640/.
sapm20:m20adm> cp sap*role.sql brtools_640/.
4) Unpack new brtools to new directory
Note: Can skip this and just scp the whole /sapmnt/SID/exe/brtools_700 directory to target host
sapm20:m20adm> mkdir brtools_700
sapm20:m20adm> cp /usr/sap/trans/DBATL700O10_25-20001021.SAR brtools_700/.
sapm20:m20adm> cd brtools_700
sapm20:m20adm> SAPCAR -xvf DBATL700O10_25-20001021.SAR
5) Unpack new brtools to the kernel directory
sapm20:m20adm> cdexe
sapm20:m20adm> rm br*
rm: 0653-603 Cannot remove directory brtools_640.
rm: 0653-603 Cannot remove directory brtools_700.
sapm20:m20adm 9> SAPCAR -xvf brtools_700/DBATL700O10_25-20001021.SAR
SAPCAR: processing archive brtools_700/DBATL700O10_25-20001021.SAR (version 2.01)
x brarchive
x brbackup
x brconnect
x brrecover
x brrestore
x brspace
x brtools
x initSID.sap
x libsbt.o
x sapconn_role.sql
x sapdba_role.sql
SAPCAR: 11 file(s) extracted
6) Run saproot.sh (as own ID)
mhardi@sapm20:/home/mhardi
$ sudo /mnt/storage/NETWEAVER04/root_scripts/saproot.sh M20
Preparing /usr/sap/M20/SYS/exe/run/brbackup ...
Preparing /usr/sap/M20/SYS/exe/run/brarchive ...
Preparing /usr/sap/M20/SYS/exe/run/brconnect ...
Preparing /usr/sap/M20/SYS/exe/run/brtools ...
Preparing saposcol ...
Preparing icmbnd ...
icmbnd does not exist - skipped
done.
No comments:
Post a Comment