你好,游客 登录 注册 搜索
背景:
阅读新闻

RHEL6下安装GPFS 3.5的具体过程

[日期:2013-05-31] 来源:Linux社区  作者:hijk139 [字体:大 中 小]

10,启动集群
[root@wtydb21 /]# mmstartup -a
.
[root@wtydb21 src]# mmgetstate -a -L

Node number Node name Quorum Nodes up Total nodes GPFS state Remarks
------------------------------------------------------------------------------------
1 wtydb21 2 2 3 active quorum node
2 wtydb22 2 2 3 active quorum node
3 wtydb23 2 2 3 active
11,创建gpfs 文件系统
[root@wtydb21 src]# mmcrfs /db2fs gpfs_lv -F /tmp/nsdprofile -A yes -n 30 -v no

The following disks of gpfs_lv will be formatted on node wtydb21:
gpfs1nsd: size 100829184 KB
Formatting file system ...
Disks up to size 848 GB can be added to storage pool system.
Creating Inode File
Creating Allocation Maps
Creating Log Files
Clearing Inode Allocation Map
Clearing Block Allocation Map
Formatting Allocation Map for storage pool system
Completed creation of file system /dev/gpfs_lv.
mmcrfs: Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.

参数含义如下:
/datafs 文件系统 mount 点名
gpfs_lv 指定文件系统 lv 名
-F 指定 NSD 的文件名
-A 自动 mount 选项为 yes
-B 块大小为64K
-n 挂载文件系统的节点估计数30 个
-v 校验建立磁盘是否已有文件系统 为否
12,挂载文件系统
[root@wtydb21 /]# mount /db2fs
[root@wtydb21 /]# df

13,设置gpfs 开机自启
[root@wtydb21 /]# mmchconfig autoload=yes

14,查询GPFS 配置信息
[root@wtydb21 share]# mmlsconfig

[root@wtydb21 share]# mmgetstate -a


15,备注:第一次安装gpfs后,版本不对,导致数据库不能正确启动,下载并升级后3.5.0.2后问题解决
[root@sdcmpdb1 ~]# mmstartup -a
mmstartup: Required service not applied. Install GPFS 3.5.0.1 or later.
mmstartup: Command failed. Examine previous error messages to determine cause.

更多RedHat相关信息见RedHat 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=10

linux
相关资讯       GPFS 3.5 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款