之前需先配好/etc/hosts、ip、ssh免密码等等的工作
集群中已有gpfs11,gpfs21,gpfs31这3个gpfs server节点,后增加一个名叫gpfs41的linux client节点
[root@gpfs11 /]# mmlscluster
GPFS cluster information
========================
GPFS cluster name: gpfs.FPO
GPFS cluster id: 9566702275012478897
GPFS UID domain: gpfs.FPO
Remote shell command: /usr/bin/ssh
Remote file copy command: /usr/bin/scp
Repository type: CCR
Node Daemon node name IP address Admin node name Designation
----------------------------------------------------------------------
1 gpfs11 192.168.32.221 gpfs11 quorum-manager
2 gpfs21 192.168.32.222 gpfs21 quorum-manager
3 gpfs31 192.168.32.223 gpfs31 quorum-manager
[root@gpfs11 /]# mmaddnode -N gpfs41
Wed Sep 30 10:10:34 CST 2015: mmaddnode: Processing node gpfs41
mmaddnode: Command successfully completed
mmaddnode: Warning: Not all nodes have proper GPFS license designations.
Use the mmchlicense command to designate licenses as needed.
mmaddnode: Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.
[root@gpfs11 /]# mmchlicense client --accept -N gpfs41
The following nodes will be designated as possessing GPFS client licenses:
gpfs41
mmchlicense: Command successfully completed
mmchlicense: Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.
[root@gpfs11 /]# mmgetstate -N gpfs41
Node number Node name GPFS state
------------------------------------------
4 gpfs41 down
[root@gpfs11 /]# mmstartup -N gpfs41
Wed Sep 30 10:12:00 CST 2015: mmstartup: Starting GPFS ...
[root@gpfs11 /]# mmgetstate -a
Node number Node name GPFS state
------------------------------------------
1 gpfs11 active
2 gpfs21 active
3 gpfs31 active
4 gpfs41 active
[root@gpfs11 /]# touch /gpfs/fs0/jiaxu2000.txt
[root@gpfs11 /]# ls /gpfs/fs0
jiaxu2000.txt
[root@gpfs41 .ssh]# mmmount fs0
Wed Sep 30 10:13:13 CST 2015: mmmount: Mounting file systems ...
[root@gpfs41 .ssh]# ls /gpfs/fs0
jiaxu2000.txt
本文档记录了如何将一个名为gpfs41的Linux客户端节点添加到现有GPFS集群中,该集群已包含gpfs11、gpfs21和gpfs31三个GPFS服务器节点。通过执行`mmlscluster`、`mmaddnode`、`mmchlicense`和`mmstartup`等命令,成功将gpfs41配置为客户端并启动GPFS服务,最后在gpfs41上挂载并验证了文件系统的访问。
846

被折叠的 条评论
为什么被折叠?



