Storage Learning--starwind Virtual storage configuration and Linux client connectivity

Source: Internet
Author: User

Storage Learning--starwind Virtual storage configuration and Linux client connectivity

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/3C/wKioL1ROAqfj4ZKSAAC6Zs3hldY261.jpg "title=" Sw9.png "alt=" Wkiol1roaqfj4zksaac6zs3hldy261.jpg "/>

once the Starwind is installed on Windows Server, it can be configured

First, configure the basic Starwind

1. Start Starwind Manager

By default, the Starwind manager is placed in the lower-right corner of the taskbar

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201205/154958643.png "alt=" 154958643.png " Style= "Padding:0px;margin:0px;vertical-align:top;border:none;"/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201205/155013135.png "alt=" 155013135.png " Width= "650" style= "padding:0px;margin:0px;vertical-align:top;border:none;"/>


2, add the host (if this machine, input 127.0.0.1 can)

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201205/155038782.png "alt=" 155038782.png " Style= "Padding:0px;margin:0px;vertical-align:top;border:none;"/>

650) this.width=650; "border=" 0 "src=" http://img1.51cto.com/attachment/201205/155052612.png "alt=" 155052612.png " Style= "Padding:0px;margin:0px;vertical-align:top;border:none;"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/3B/wKioL1RN9omT3jtAAAPW7WnNAkc700.jpg "title=" sw1_1. PNG "alt=" wkiol1rn9omt3jtaaapw7wnnakc700.jpg "/>

3. Connect to the Host

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/3A/wKiom1RN9z6Bu7FjAAQzIOzACRk653.jpg "title=" Sw2.png "alt=" Wkiom1rn9z6bu7fjaaqziozacrk653.jpg "/>

The default user name is: root, the default password is: Starwind

4. Next Add target

650) this.width=650; "title=" clip_image020 "border=" 0 "alt=" clip_image020 "height=" 271 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_13236700753pqv.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Enter a target name

650) this.width=650; "title=" clip_image022 "border=" 0 "alt=" clip_image022 "height=" 409 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670076jqzd.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Choose the type of media you are storing, hard disks, optical drives, tapes, hard disk

650) this.width=650; "title=" clip_image024 "border=" 0 "alt=" clip_image024 "height=" 405 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670078rqef.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Select the media type of the device, namely physical, basic virtual, advanced virtual, choose the second one here

650) this.width=650; "title=" clip_image026 "border=" 0 "alt=" clip_image026 "height=" 407 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670080hohl.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Next select the first image file device

650) this.width=650; "title=" clip_image028 "border=" 0 "alt=" clip_image028 "height=" 405 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670082bbkb.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

The next step is to mount the existing virtual hard disk, create a new virtual hard disk, create a new snapshot and CDP-based virtual hard disk, and choose a second

650) this.width=650; "title=" clip_image030 "border=" 0 "alt=" clip_image030 "height=" 408 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670085qksc.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Virtual hard disk path, size, whether compressed, whether encrypted. (The virtual hard disk is created under Windows, the partition is OK, my e-disk partition size 50G)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/3B/wKioL1RN-QiSelSEAAKy-nUQHcQ476.jpg "style=" float: none; "title=" Sw4.png "alt=" Wkiol1rn-qiselseaaky-nuqhcq476.jpg "/>


TEST.IMG is an established virtual disk file that needs to be entered manually

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/3A/wKiom1RN-LSAxA4cAAOst1yv4sA319.jpg "style=" float: none; "title=" Sw5.png "alt=" Wkiom1rn-lsaxa4caaost1yv4sa319.jpg "/>


Support function mode, asynchronous replication, etc.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/3B/wKioL1RN-QmjKkIOAAO1kbHYBZ4533.jpg "style=" float: none; "title=" Sw6.png "alt=" Wkiol1rn-qmjkkioaao1kbhybz4533.jpg "/>

Setting the cache mode

650) this.width=650; "title=" clip_image036 "border=" 0 "alt=" clip_image036 "height=" 405 "src=" http://img1.51cto.com/ Attachment/201112/12/1041326_1323670091e0pz.jpg "style=" padding:0px;margin:0px;vertical-align:top;border:0px; Background-image:none; "/>

Create complete

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/3A/wKiom1RN-LaBEnOnAASNnO2Ofuw144.jpg "style=" float: none; "title=" Sw7.png "alt=" Wkiom1rn-labenonaasnno2ofuw144.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/3B/wKioL1RN-QvzzwTyAAQED_xZHzQ306.jpg "style=" float: none; "title=" Sw8.png "alt=" Wkiol1rn-qvzzwtyaaqed_xzhzq306.jpg "/>


Second, configure the Linux Client

1. In Linux RH6 with iSCSI-related packages, first check if Iscsi-initiator is installed

[[Email protected] ~] #rpm-qa |grep iscsi-initiator

If it is not installed, it can be installed through the Linux installation disk.

[[email protected] ~]# Ls/media/server/packages/|grep SCSI

iscsi-initiator-utils-6.2.0.872-10.el6.i686.rpm

lsscsi-0.23-2.el6.i686.rpm

scsi-target-utils-1.0.4-3.el6.i686.rpm


2, Installation Iscsi-initiator

[email protected] ~]# Yum install-y iscsi-initiator-utils*


3. Search for iSCSI Target

[Email protected] ~]# iscsiadm-m discovery-t sendtargets-p 192.168.8.245:3260

Starting iscsid: [OK]

192.168.8.245:3260,-1 Iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind


[Email protected] ~]# iscsiadm-m discovery-t sendtargets-p 192.168.8.245

192.168.8.245:3260,-1 Iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind


4. Connect iSCSI Target

[Email protected] ~]# iscsiadm-m node-t iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind-p 192.168.8.245-l

Logging in to [Iface:default, Target:iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind, Portal: 192.168.8.245,3260]

Login to [Iface:default, Target:iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind, Portal: 192.168.8.245,3260] successful.


5. View native attached disks

[Email protected] ~]# fdisk-l

disk/dev/sda:32.7 GB, 32739688448 bytes

255 heads, Sectors/track, 3980 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk Identifier:0x00029fe5


Device Boot Start End Blocks Id System

/DEV/SDA1 * 1 512000 Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2 3981 31459328 8e Linux LVM

......

disk/dev/sdd:10.5 GB, 10485760000 bytes

Heads, Sectors/track, 10000 cylinders

Units = Cylinders of 2048 * 1048576 bytes

Sector size (logical/physical): bytes/512 bytes

I/O size (minimum/optimal): bytes/512 bytes

Disk identifier:0x00000000

DISK/DEV/SDD doesn ' t contain a valid partition table

Disk/DEV/SDD is the virtual storage device accessed from the Starwind

6. Successfully mounted disk configuration information remains in the following directory

[Email protected] nodes]# pwd

/var/lib/iscsi/nodes

[[email protected] nodes]# ls

Iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind

7. Uninstalling the iSCSI Target command

[email protected] nodes]# iscsiadm-m node-t iqn.2008-08.com.starwindsoftware:win-oaj0hths7kg-starwind -P 192.168.8.245:3260–u

Some other action commands can be viewed by Iscsiadm's help to get

This article is from the "Tianya blog," Please make sure to keep this source http://tiany.blog.51cto.com/513694/1568481

Storage Learning--starwind Virtual storage configuration and Linux client connectivity

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.