Vous êtes sur la page 1sur 20

Manually Uninstall the MDM:-

Remove the MDM files:-


Stop the Database:-
Drop/Delete the database instance:-
Create Database Instance:-
As root user on UNIX, create an instance by running the following command at the command prompt:
db2icrt s !S! a S!R"!R#!$CR%&' u db2mdm db2mdm
Start the Database:-
Setup the D(2 Re)istry:-
Set the DB registry !ariable DB"#$%&'$AD to SA( by running the following at the
db2set DB2_WORKLOAD=SAP
**Update Database Mana)er Confi)uration:-
)he Database *anager +onfiguration can be updated using the following e,ample script- )he following script can be e,ecuted by user dbmdm
.instance owner/ by running:
db2 - tvf update#dbm#cf)+s,l
Se!eral directories must e-ist before running this script-Create the following directories as user db2mdm:
0/ 1db1*D*
+hange the permission2 $wnership:3
/ 1db1*D*1dbdump
Run 'he (elo. mention scripts:- /Remove +t-t e-tention 0
alter_buferpool.sql.txt create_database.sql.txt create_tablespaces.sql.txt grant_revoke.sql.txt
update_db_cfg.sql.txt update_dbm_cfg.sql.txt update_svcename.sql.txt
Update Database Mana)er Confi)uration:-
Create Database:-
+reate directories 1db1*D*1sapdata0, 1db1*D*1sapdata,1db1*D*1sapdata4 and 1db1*D*1sapdata5 as user dbmdm before running this
script-
Update Database Confi)uration:-
)he Database +onfiguration can be updated using the script below- *any of the !alues ad6usted by the script are recommendations, further
database tuning is necessary- Se!eral directories must e-ist before runnin) this script-
+reate the following directories as user dbmdm:
-- /db2/MDM/lo)#dir
db2 -tvf update#db#cf)+s,l
1lter the (ufferpool:-
)he initial si7e of the default bufferpool is too small- )he following will enable the bufferpool to be controlled by DB Self )uning *emory
*anagement-
db2 -tvf alter#bufferpool+s,l
Create 'ablespaces for DMS Containers:- /$ote- &lease don2t use 1utosi3e script0
)he following script will create the tablespaces with D*S containers-
No
db2 -tvf create#tablespaces+s,l
4rant and Revo5e &rivile)es:-
db2 -tvf )rant#revo5e+s,l
Setup the Database for Remote Connections:-
)he database needs to be setup to allow remote )+(1I( connections- )he database manager configuration parameter S8+9NA*9 has to be
updated to contain the )+(1I( port or ser!ice name- If a ser!ice name is used, ma:e sure it is entered in the ser!ices file-)he script below can be
used to update the parameter to sapdb*D*:
db2 -tvf update#svcename+s,l
Restart the Database:-
)he database needs to be restarted in order for the abo!e changes to ta:e effect-
db2stop force
db2start
Setup MDM User !nvironment on Uni-:-
*****************---------MDM I$S'1661'I7$-------------*********************
Runnin) Sapinst a)ain:-

Vous aimerez peut-être aussi