HUAWEI CLOUD IP SAN storage configuration

IP SAN Practice Record
 

1.  Environmental description:

Ø  Storage 5600V3 , ip192.168.0.5

ØVirtualization  platform FusionSphere

Ø  One IP of CentOS6.5 virtual machine: 172.28.13.22

ØHuawei  multi-path software installation package

2.  Network topology:

Application environment structure

 

3.  Storage configuration process

 

Configure Ethernet module IP--> create storage pool --> create lun--> create lun group --> create host --> create host group --> create mapping view

3.1.  Log in to the 5600V3 console and configure the corresponding module IP

 

3.2.  Create a storage pool

Use raid1 for temporary testing

 

3.3.  Create luns

Create two luns

 

 

3.4.  Create a lun group

将新增的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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324480668&siteId=291194637