linux安装gpfs系统要求,安装 GPFS 及配置准备

本文档详细记录了在Linux环境下安装GPFS的过程,包括创建集群、设置节点、格式化磁盘、启动GPFS以及配置自动加载。此外,还介绍了如何添加、停用节点以及清除GPFS集群的操作步骤。
摘要由CSDN通过智能技术生成

实验中放在/soft_ins下,当然也可以建一个 NFS 服务器共享安装。

[NSD1][root][/home/scripts/gpfs]>rcp_file.sh /home/scripts/gpfs/install_gpfs.sh

[NSD1][root][/home/scripts/gpfs]> run_cmd.sh /home/scripts/gpfs/install_gpfs.sh

确认每台服务器安装显示 ok

[NSD1][root][/home/scripts/gpfs]>run_cmd.sh /home/scripts/gpfs/chang_profile.sh

[NSD1][root][/home/scripts/gpfs]>run_cmd.sh mkdir /share

[NSD1][root][/home/scripts/gpfs]>run_cmd.sh ln -s /share /tmp/mmfs

[NSD1][root][/home/scripts/gpfs]>run_cmd.sh mkdir /tmp/gpfs

viewspace-665690

viewspace-665690

viewspace-665690

[NSD1][root][/]>vi /tmp/gpfs/nodefile

NSD1:quorum

NSD2:quorum

App1:client

App2:client

App3:client

App4:client

先确保清理干净原先 GPFS 集群

[NSD1][root][/tmp/gpfs]>mmdelnode -f

建立集群

[NSD1][root][/tmp/gpfs]>mmcrcluster -C bgbcrun -U bgbc

-N /tmp/gpfs/nodefile -p NSD1 -s NSD2

Thu Jun 28 15:42:57 BEIST 2007: 6027-1664 mmcrcluster: Processing node NSD1

Thu Jun 28 15:42:57 BEIST 2007: 6027-1664 mmcrcluster: Processing node NSD2

…..

mmcrcluster: Command successfully completed

mmcrcluster: 6027-1371 Propagating the cluster configuration data to all

affected nodes. This is an asynchronous process.

其中参数含义

-C bgbcrun 设定集群名称

-U bgbc 定义域名

-N /tmp/gpfs/nodefile 指定节点文件名

-p NSD1 指定主NSD服务器为 NSD1

-s NSD1 指定备NSD服务器为 NSD1

[NSD1][root][/tmp/gpfs]>mmlscluster

GPFS cluster information

========================

GPFS cluster name: bgbcrun.NSD1

GPFS cluster id: 739157013761844865

GPFS UID domain: bgbc

Remote shell command: /usr/bin/rsh

Remote

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值