环境描述:gpfs集群共四台服务器,存储LUN分配给4台服务器,其中两台对应的多路劲盘为:hdiskpower9、hdiskpower10 ,另外两台服务器对应的多路径盘为:hdiskpower1、hdiskpower2。
请问我这四台服务器要做gpfs如何实现?
emcpadm export_mappings -x -f map.xml
将一台机器的配置导出,将 map.xml 文件然后在其他机器上执行
emcpadm import_mappings -x -f map.xml
所有机器上的共享盘的设备文件名就一致了,执行的时候具体参数根据环境在查查,确认一下。
收起两块盘,很简单。命令稍稍修改一下,即可:
emcpadm renamepseudo -s emcpowera-t emcpowerb
-s(ource)指的是需要改名的设备
-t(arget) 指的是需要改成的设备名
收起看了下mmcrnsd 命令,里面关于磁盘的名字是这样写的
device=DiskNameOn UNIX, the block device name appearing in /dev for the disk you want to define as an NSD. Examples of disks that are accessible through a block device are SAN-attached disks. If server nodes are specified, DiskName must be the /dev name for the disk device of the first listed NSD server node.
磁盘的名字没必要一致,只要是共享磁盘,并且第一个服务器上的磁盘名称没写错就可以
今天尝试了一下,确实如此
收起