linux设置ipsan |
您所在的位置:网站首页 › ipsan存储与nvr的区别 › linux设置ipsan |
一 SAN存储 1.1 SAN存储介绍 存储区域网络(Storage Area Network,简称SAN)采用网状通道(Fibre Channel ,简称FC,区别与Fiber Channel光纤通道)技术,通过FC交换机连接存储阵列和服务器主机,建立专用于数据存储的区域网络。 1.2 SAN存储分类 常见的分类是FC-SAN和IP-SAN两种。 FC-SAN通过光纤通道协议转发scsi协议;IP-SAN通过TCP协议转发scsi协议,也就是IP 地址。 存储设备是指一台或多台用以存储计算机数据的磁盘设备,通常指磁盘阵列,主要厂商EMC、日立等。 二配置ip-SAN 2.1 ip-san服务器规划 下面配置IP-SAN存储实战 服务名称 服务器地址 操作系统 服务端 :node01 10.0.80.7 Centos 7 客户端 :node02 10.0.80.12 Centos 7 2.2配置服务端 2.2.1设置主机名,安装target服务 [root@localhost ~]# hostnamectl set-hostname node01 [root@node01 ~]# yum install targetcli –y [root@node01 ~]# systemctl status target target.service - Restore LIO kernel target configuration Loaded: loaded (/usr/lib/systemd/system/target.service; disabled) Active: active (exited) since 一 2016-09-05 12:44:41 CST; 16s ago Process: 14953 ExecStart=/usr/bin/targetctl restore (code=exited, status=0/SUCCESS) Main PID: 14953 (code=exited, status=0/SUCCESS) 9月 05 12:44:41 node01 systemd[1]: Starting Restore LIO kernel target configuration... 9月 05 12:44:41 node01 systemd[1]: Started Restore LIO kernel target configuration. 2.2.2新建存储分区 通过vmvare新增加一块10G的硬盘 [root@node01 ~]# fdisk /dev/sdb #新建9G的分区 [root@node01 ~]# partprobe /dev/sdb # 重新加载分区信息表 2.2.3创建存储对象 [root@node01 ~]# targetcli targetcli shell version 2.1.fb41 Copyright 2011-2013 by Datera, Inc and others. F |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |