In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Instance deletion
Su-db2inst1
Db2stop
Su-root
Cd / ibmdb2/V10.5/instance
. / db2idrop-g db2inst1
The above command automatically deletes the instance and GPFS
2. Delete GPFS cluster
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. Delete a cluster
Mmlscluster
Db2cluster-cfs-delete-domain gpfsdomain.psfc
3. DB2 software uninstall
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.*
Be sure to delete the installation information of all db2inst1 instance users
Userdel-r db2inst1
Userdel-r db2fenc1
Groupdel db2grp
Groupdel db2fgrp
Groupdel db2oper
Delete the .ssh content of root
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.