ip san架构和VS-DR模式LB集群的联合使用.pdfVIP

  • 5
  • 0
  • 约8.73千字
  • 约 6页
  • 2015-10-15 发布于重庆
  • 举报

ip san架构和VS-DR模式LB集群的联合使用.pdf

ip san架构和VS-DR模式LB集群的联合使用

IPSAN IPSAN1:2.2.2.30 2G /dev/sda 也可以是dd 出的指定大小的文件 IPSAN2:2.2.2.40 2G /dev/sda IPSAN1 ,IPSAN2 : 1,iptables -F 2 ,vim /etc/yum.repo/xxx.repo baseurl=/ClusterStorage 目录的指向 3 ,yum -y install scsi-target-utils 4 ,[root@IPSAN1 ~]# cat /etc/tgt/target.conf default-driver iscsi target iqn.2012-04.IPSAN1:ipsan1.target1 backing-store /dev/sda write-cache off vendor_id san1 product_id san1target1 /target 5 ,[root@IPSAN1 ~]# service tgtd start Starting SCSI target daemon: Starting target framework daemon 6 ,[root@IPSAN1 ~]# tgt-admin --show Target 1: iqn.2012-04.IPSAN1:ipsan1.target1 System information: Driver: iscsi State: ready I_T nexus information: LUN information: LUN: 0 Type: controlle SCSI ID: IET SCSI SN: beaf10 Size: 0 MB Online: Yes Removable media: No Backing store type: rdw Backing store path: None LUN: 1 Type: disk SCSI ID: IET SCSI SN: beaf11 Size: 2097 MB Online: Yes Removable media: No Backing store type: rdw Backing store path: /dev/sda Account information: ACL information: ALL ----------存储提供好了,接下来发现并登录存储------------ -- node1,node2 上都要配置: 1,[root@node1 ~]# yum -y install iscsi-initiator-utils 2 ,[root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 2.2.2.30:3260 发现存储 iscsiadm: can not connect to iSCSI daemon (111)! iscsiadm: Could not scan /sys/class/iscsi_transport. iscsiadm: Could not scan /sys/class/iscsi_transport. iscsiadm: can not connect to iSCSI daemon (111)! iscsiadm: Cannot perform discovery. Initiatorname required. iscsiadm: Discovery process to 2.2.2.30:3260 failed to create a discovery session. iscsiadm: Could not perform SendTargets discovery. [root@node1 ~]# /etc/init.d/iscsi start 根据

文档评论(0)

1亿VIP精品文档

相关文档