db2 db2relocatedb
Syntax relocatedb.conf
DB_NAME=oldName,newName
DB_PATH=oldPath,newPath
INSTANCE=oldInst,newInst
NODENUM=nodeNumber
LOG_DIR=oldDirPath,newDirPath
CONT_PATH=oldContPath1,newContPath1
CONT_PATH=oldContPath2,newContPath2
Ex:
vi relocatedb.conf
DB_NAME=SAMPLE,OLTP
INSTANCE=instv8,instv8
DB_PATH=/home/instv8,/home/instv8
db2relocatedb -f relocatedb.conf
沒有留言:
張貼留言