Install the gpfs Cluster File System on three hosts as an example. 1. Install the gpfs software (run on three hosts) and install it directly from the db2purescale installation media, for other installation methods, see yuminstall/tmp/gpfs /*. rpmrpm & ndash; qagpfs verification software has been correctly installed 2. compile the relevant software and install the rpm package cd/usr/lpp/mmfs/src & amp; makeAutoconfig install the gpfs Cluster File System
Take three hosts as an Example
1. Install gpfs software (run on three hosts) This time, you can directly install it from the db2 purescale installation media. For other installation methods, see references.
Yum install/tmp/gpfs/*. rpm
Rpm-qa gpfs verification software is correctly installed
2. compile the relevant software and install the rpm package. Cd/usr/lpp/mmfs/src & make Autoconfig & make World & make InstallImages
[Root @ linux1 src] # make rpm
Install the automatically generated RPM package after compilation
Yum install/root/rpmbuild/RPMS/x86_64/gpfs. gplbin-2.6.32-131.0.15.el6.x86_64-3.5.0-0.x86_64.rpm
3. Modify the PATH (running on three hosts)
Modify the directory in the HOME directory on the three hosts. Bash_profile file added at the end of the file
Export PATH = $ PATH:/usr/lpp/mmfs/bin
4. Create a directory and use it as the GPFS File System (running on three hosts))
Mkdir/db2fs
5. Create a gpfs cluster configuration file [Root @ wtydb21 tmp] # vi/tmp/gpfsprofile
Wtydb21: quorum-manager
Wtydb22: quorum-manager
Wtydb23: quorum-manager
6. Create a cluster. Specify the ssh mode. [Root @ wtydb21 pam. d] #
[Root @ wtydb21 gpfs] # mmcrcluster-N/tmp/gpfsprofile-p wtydb21-s wtydb22-C gpfs_cluster-r/usr/bin/ssh-R/usr/bin/scp
Sat Apr 6 12:17:35 CST 2013: mmcrcluster: Processing node wtydb21
Sat Apr 6 12:17:35 CST 2013: mmcrcluster: Processing node wtydb22
Sat Apr 6 12:17:38 CST 2013: mmcrcluster: Processing node wtydb23
Mmcrcluster: Command successfully completed
Mmcrcluster: Warning: Not all nodes have proper GPFS license designations.
Use the mmchlicense command to designate licenses as needed.
Mmcrcluster: Propagating the cluster configuration data to all
Affected nodes. This is an asynchronous process.
Parameter meanings in the mmcrcluster command
-C bgbcrun: Set the cluster name
-U bgbc defined Domain Name
-N/tmp/gpfs/nodefile specifies the node file name
-P NSD1 specifies that the primary NSD server is NSD1
-S NSD1 specifies that the standby NSD server is NSD1
7. Accept the license agreement [Root @ wtydb21 pam. d] # mmchlicense server -- accept-N wtydb21, wtydb22, wtydb23
8. Confirm the cluster creation status. [Root @ wtydb21 ~] # Mmlscluster
[Root @ wtydb21 gpfs] # mmlscluster
[Root @ wtydb21 etc] # vi/tmp/nsdprofile
Dm-3: dataAndMetadata ::
[Root @ wtydb21 gpfs] # mmcrnsd-F/tmp/nsdprofile
Mmcrnsd: Processing disk dm-3
Mmcrnsd: Propagating the cluster configuration data to all
Affected nodes. This is an asynchronous process.
The/tmp/gpfsnsdprofile file is automatically modified as follows:
[Root @ wtydb21 ~] # Cat/tmp/nsdprofile
# Dm-4: dataAndMetadata ::
Gpfs1nsd: dataAndMetadata:-1: system
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.