DB2_PureScale卸載步驟

1. 實例刪除
su - db2inst1
db2stop

su - root
cd /ibmdb2/V10.5/instance
./db2idrop -g db2inst1
以上命令自動自動刪除實例和GPFS

2. GPFS集群刪除
1. Unmount all GPFS file systems on all nodes by issuing the mmumount all -a command.
mmlsfs all
mmumount all -a

2. Issue the mmdelfs command for each file system in the cluster to remove GPFS file systems.
mmlsfs all
mmdelfs /dev/gpfs1nsd

3. Issue the mmdelnsd command for each NSD in the cluster to remove the NSD volume ID written on
sector 2.
If the NSD volume ID is not removed and the disk is again used with GPFS at a later time, you will
receive an error message when issuing the mmcrnsd command. See NSD creation fails with a message
referring to an existing NSD in the GPFS: Problem Determination Guide.
mmlsnsd
mmdelnsd gpfs1nsd

4. Issue the mmshutdown -a command to shutdown GPFS on all nodes.

mmshutdown -a


5. 刪除集群
mmlscluster
db2cluster -cfs -delete -domain gpfsdomain.psfc

3. DB2軟件卸載
cd $DB2DIR/install
./db2_deinstall -a
rm -rf ~db2inst1/das ~db2inst1/sqllib
rm -rf $DB2DIR /var/db2
rm -rf /tmp/db2*.log.* /tmp/db2*.log /tmp/db2prereqcheck.* /tmp/db2prereq.* /tmp/dasupdt.log.* /tmp/db2iupdt.log.* /tmp/db2iupdt.trc.* /tmp/db2_deinstall* /tmp/db2sd /tmp/ibm.db2.cluster.* /tmp/compileGPL.log.* /tmp/db2log.* /tmp/db2icrt.trc.* /tmp/uninstallSAM.* /tmp/uninstallGPFS.log.* /tmp/db2dump.*
務(wù)必要刪除全部db2inst1實例用戶的安裝信息;
userdel -r db2inst1
userdel -r db2fenc1
groupdel db2grp
groupdel db2fgrp
groupdel db2oper


刪除root的.ssh內(nèi)容

網(wǎng)站標(biāo)題:DB2_PureScale卸載步驟
當(dāng)前網(wǎng)址:http://muchs.cn/article32/gphssc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供自適應(yīng)網(wǎng)站、虛擬主機靜態(tài)網(wǎng)站、網(wǎng)站收錄微信小程序、網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)