华为云平台 IP SAN 存储配置

IP SAN实操记录
 

1. 环境说明:

Ø 存储5600V3ip192.168.0.5

Ø 虚拟化平台FusionSphere

Ø CentOS6.5虚拟机一台IP:172.28.13.22

Ø 华为多路径软件安装包

2. 网络拓扑:

应用环境结构

 

3. 存储配置流程

 

配置以太网模块IP-->创建存储池-->创建lun-->创建lun-->创建主机-->创建主机组-->创建映射视图

3.1. 登陆5600V3控制台,配置相应模块IP

 

3.2. 创建存储池

临时测试选用raid1

 

3.3. 创建lun

创建两个lun

 

 

3.4. 创建lun

将新增的lun添加到已选lun

 

3.5. 创建主机

可以不用填IP地址,有主机服务器主动发起连接

 

 

 

3.6. 创建主机组

 

3.7. 创建映射视图

将之前创建的lun组和主机组添加到映射视图中

 

 

 

4. 服务器配置

4.1. 安装多路径软件

上传多路径软件包到服务器上

 选择1  boot from local

 

然后重启服务器

 

4.2. 服务器发起

[root@test network-scripts]# iscsiadm -m discovery -t sendtargets -p 192.168.10.4

192.168.10.4:3260,1549 iqn.2006-08.com.huawei:oceanstor:2100c81fbe228b28::1020602:192.168.10.4

[root@test network-scripts]# /etc/init.d/iscsid start

 

 

设置配置文件

[root@test ~]# vim /etc/iscsid.conf

node.startup=automatic

node.session.timeo.replacement_timeout=1

 

在存储的主机配置上增加启动器

 

 

 

 

 

4.3. 启动nxup服务

启动nxup服务使得UltraPath生效。 启动nxup服务时,会提示是否处理已存在的UltraPath可接管的磁盘。必须先删除 这些磁盘,才能启动服务成功。删除磁盘前,需确保当前没有业务,包括卷管理 软件、集群以及文件系统等UltraPath可接管的磁盘的应用。 操作步骤如下: 执行service nxup start或者/etc/init.d/nxup start

[root@test ~]# /etc/init.d/nxup start

 

 

 

发现存储,看到前面我们在存储上创建的两个lun

[root@test ~]# fdisk -l

 

 

5. 虚拟机IPsan lun扩容

5.1. 创建存储池

假设需要增加200G容量

 

5.2. 创建lun

 

5.3. 创建lun

 

 

5.4. 创建映射视图

选择刚才建立的lun

 

选择HostGroup-test主机组

 

 

点击确定

 

5.5. 在主机热扩容

 [root@test ~]# hot_add

Begin to delete LUNs whose mappings do not exist

Begin to delete LUNs whose mappings are changed.

begin scan host0

begin scan host1

begin scan host4

The device scanning is complete.

 

查看磁盘,看到了前面新创建200Glun

[root@test ~]# fdisk -l

猜你喜欢

转载自blog.csdn.net/weifangwei100/article/details/79941322
SAN