向GPFS集群添加一个节点

本文档记录了如何将一个名为gpfs41的Linux客户端节点添加到现有GPFS集群中,该集群已包含gpfs11、gpfs21和gpfs31三个GPFS服务器节点。通过执行`mmlscluster`、`mmaddnode`、`mmchlicense`和`mmstartup`等命令,成功将gpfs41配置为客户端并启动GPFS服务,最后在gpfs41上挂载并验证了文件系统的访问。
部署运行你感兴趣的模型镜像

之前需先配好/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

您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值