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.*
务必要删除全部db2inst1实例用户的安装信息;
userdel -r db2inst1
userdel -r db2fenc1
groupdel db2grp
groupdel db2fgrp
groupdel db2oper
删除root的.ssh内容

标题名称:DB2_PureScale卸载步骤-创新互联
网站路径:http://bzwzjz.com/article/dcssce.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 成都商城网站建设 手机网站建设 四川成都网站制作 网站设计 成都商城网站建设 成都网站建设 成都网站建设公司 LED网站设计方案 重庆企业网站建设 广安网站设计 成都网站建设 网站制作报价 成都网站建设公司 成都网站建设公司 网站建设方案 成都网站建设公司 定制网站设计 成都网站设计 成都网站设计 成都网站制作 重庆电商网站建设 重庆企业网站建设