root@coralpib269:/opt/IBM/db2/V9.8fp5/bin> db2cluster -cfs -exit -maintenance -all The shared file system successfully exited from maintenance mode.
16.提交对GPFS的更改 DB2集群管理员必须提交对DB2集群的更改操作,并使他们生效。在任意一台主机,运行如下命令: DB2DIR/bin/db2cluster -cfs -commit cd /opt/IBM/db2/V9.8fp5/bin root@coralpib269:/opt/IBM/db2/V9.8fp5/bin> db2cluster -cfs -commit The shared file system cluster has been successfully updated to version '3.4.0.13'.
17.正常卸载GPFS Manually cleaning a DB2 managed clustered file system This topic guides you through the required steps to manually clean a DB2? managed clustered file system.
About this task: Using the db2idrop -g command to remove the DB2 pureScale? Feature from your environment removes the GPFS? cluster on all hosts except for the host on which the db2idrop command was run. Use this procedure to remove the GPFS file system and cluster on the remaining host. All data on the GPFS file system will be lost. After the db2idrop command has completed, the GPFS cluster will be left over on installation-initiating host (IIH) only. Manual clean up is only required on the host acting as the IIH.
Procedure
--17.1 List existing GPFS file systems using the following command: -DB2DIR/bin/db2cluster -cfs -list -filesystem
where DB2DIR represents the installation location of your DB2 copy. The output of this command should be similar to the following:
FILE SYSTEM NAME MOUNT_POINT ---------------- ----------- db2fs1 /db2sd_20091027220651
--17.2 Stop the entire GPFS cluster: -db2cluster -cfs -stop -all
--17.3 Set the GPFS quorum type from tiebreaker to majority: -db2cluster -cfs -set -tiebreaker -majority
--17.4 Start the GPFS cluster: -db2cluster -cfs -start -all
--17.5 To ensure there is no data on the file system before deleting it, mount the file system: -mount /db2sd_20091027220651
The output of this command should be similar to the following: The file system 'db2fs1' has been successfully deleted. All cluster configurations have been completed successfully.
--17.7 List the GPFS domain name: -db2cluster -cfs -list -domain
The output of this command should be similar to the following: Domain Name: db2cluster_20091027220622.ca.ibm.com
--17.8 Stop the GPFS cluster: -db2cluster -cfs -stop -all
--17.9 Delete the GPFS cluster: -db2cluster -cfs -delete -domain db2cluster_20091027220622.ca.ibm.com
The output of this command should be similar to the following: Deleting the domain db2cluster_20091027220622.in.ibm.com from the cluster was successful.
--17.10 After removing GPFS cluster and file systems, delete the GPFS_CLUSTER and DEFAULT_INSTPROF variable records in the Global Registry. -db2greg -delvarrec service=GPFS_CLUSTER,variable=NAME,installpath=- -db2greg -delvarrec service=DEFAULT_INSTPROF,variable=DEFAULT,installpath=-
添加新评论8 条评论
2022-09-30 17:03
2016-02-25 13:58
2014-12-10 21:56
2014-12-10 17:27
2013-05-12 15:42
2013-01-25 10:58
2012-12-31 15:50
2012-11-25 08:31