Recent experiments on VMware ESXi and Vcenter, in the experiment, need to use storage, so study the Openfiler open source storage software, the relevant configuration is now the following record:
First of all, I downloaded the openfiler ISO CD, installed in the virtual machine, the installation is very simple, and the same as the Linux installation steps, do not do too much introduction.
When the Openfiler is installed, we can log on to the Openfiler system to set up and configure the storage by setting a good IP address.
Openfiler Default login address needs to use port 446, when the Openfiler system is installed, you can see:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/80/1D/wKiom1c4IBeBdAdtAAAxURnzzPo134.png "title=" Openfiler1.png "alt=" Wkiom1c4ibebdadtaaaxurnzzpo134.png "/>
In the same network of machines, we can use https://ip:446 for login and configuration, openfiler default account is: Openfiler password: password. The interface after login is as follows
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/80/1A/wKioL1c4I4Sg1U6GAAFcAgwmMjU785.png "title=" Penfiler2.png "alt=" Wkiol1c4i4sg1u6gaafcagwmmju785.png "/>
After logging in, we can set up the Openfiler, set up iSCSI storage, provide storage services for the related machines, we prefer to choose volumes, see
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/80/1A/wKioL1c4JHmDGoJfAACYJpisAu0672.png "title=" Openfiler3.png "alt=" Wkiol1c4jhmdgojfaacyjpisau0672.png "/>
From here we can find that there are 3 disks in the Openfiler, where I used the SDA first disk to install the Openfiler system, there are 2 disks left, here I will set the two disks to do a soft raid to provide space services.
Separate into the hard disk to set block volumes, specifically, notice, because I want to do raid, so in partition type inside
Select the RAID array, then click Create.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/1E/wKiom1c4JwCSvQBSAABo5Ua3S54429.png "title=" Openfiler4.png "alt=" Wkiom1c4jwcsvqbsaabo5ua3s54429.png "/>
8. Since there are 2 disk characters, this action needs to do 2 operations, after creation, we began to configure RAID for disk, in this experiment, because
For only 2 disks, I configure RAID0 here, because it is an experiment, it does not provide fault-tolerant function. See details:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/80/1B/wKioL1c4KSagTDRaAAEVQeWLUFg430.png "title=" Openfiler5.png "alt=" Wkiol1c4ksagtdraaaevqewlufg430.png "/>
9. After we click on the add array, we need to set the volumes group, set a name for the group
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/80/1B/wKioL1c4KbfgnSIAAAEYs_aKqIs845.png "title=" Openfiler6.png "alt=" Wkiol1c4kbfgnsiaaaeys_akqis845.png "/>
10. When these are set, we need to start Openfiler iSCSI Service, we navigate to services, as follows
Shown in the figure:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/80/1B/wKioL1c4K_jwjJwfAACwptVlCa0671.png "title=" Openfiler6.png "alt=" Wkiol1c4k_jwjjwfaacwptvlca0671.png "/>
11. After the service is started, we return to the Volumes menu and we add volume to set the disk space volume
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/1B/wKioL1c4KufxdkkHAADmLqpdGCg373.png "title=" Openfiler8.png "alt=" Wkiol1c4kufxdkkhaadmlqpdgcg373.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/80/1B/wKioL1c4Kv-yTkqHAABlsa2LrTU579.png "title=" Openfiler9.png "alt=" Wkiol1c4kv-ytkqhaablsa2lrtu579.png "/>
12. In the creation space, to name the space, and to allocate the size of the space, at best, we have to choose "Block (ISCSI,FC)" this option.
13. After the above steps are created, we return to the volume option to set the target for iSCSI
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/80/1E/wKiom1c4K5mini2_AAD7aXwPy28048.png "title=" Openfiler10.png "alt=" Wkiom1c4k5mini2_aad7axwpy28048.png "/>
14. After adding good target, we need to map the disk to
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/80/1E/wKiom1c4LBHh0xmFAAEyx2c4wyE558.png "title=" Openfiler11.png "alt=" Wkiom1c4lbhh0xmfaaeyx2c4wye558.png "/>
15. When the disk map up, we need to set the network ACL permissions, so that the previously set of host can allow access.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/80/1E/wKiom1c4LHOCtwTLAACoOi-SBKY250.png "title=" Openfiler12.png "alt=" Wkiom1c4lhoctwtlaacooi-sbky250.png "/>
16. At this time, our Openfiler has been configured, and Openfiler can already provide the storage service.
17. We only need to use the iSCSI initiator program to connect, vcenter inside there is a unique way, here for the time being not introduced, I am here to use
Windows comes with an iSCSI inititator to connect under test. Such as
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/80/1E/wKiom1c4LYOik6w6AAB_N6SW4ZU199.png "title=" Openfiler13.png "alt=" Wkiom1c4lyoik6w6aab_n6sw4zu199.png "/>
18. So, after clicking done, we can see that there is a new hard drive in Disk management, for example, so the configuration is complete.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/1E/wKiom1c4LdTgWmv8AABnxIDWtGU914.png "title=" Openfiler14.png "alt=" Wkiom1c4ldtgwmv8aabnxidwtgu914.png "/>
This article is from the "Cary_qin blog" blog, make sure to keep this source http://xpqinqun.blog.51cto.com/2136/1773616
Openfiler iSCSI Storage Configuration Guide