Iscsi configuration on VMWare Workstation

Source: Internet
Author: User

For Oracle's ASM, for building RAC with ASM, and for building a network shared storage. I have been confused about storage, hoping to have a chance to see a production environment.

In the test, openfiler is used as the virtual network storage. Openfiler is an open-source low-cost software solution that integrates NAS/SAN. It is a Linux 2.6 kernel and is lightweight in Linux.

You can download this software from www.openfiler.com for free. However, you must install iSCSI-initiator-utils or open-iSCSI on the client to use the services provided by openfiler. I have installed centos. My God

1. Install openfiler in 10-20 minutes.

2. Configure the shared volume:

Here, the shared volume can be understood as LVM. It also first establishes physical volume, then creates volume group, and then creates logical volume in the volume group, which can be shared by network users, you can configure one or more logical volume in the logical volume group to allocate their own space. The new hard disk can be automatically recognized by openfiler. We do not need to restart the machine, but only need to partition physical volume. here, the logical volume is just a "hard disk" for network users. If you need to use it, you must partition It Before formatting, that is, mkfs.

Here there is a "devil" that wastes me 3 or 4 hours, that is, when setting subnet mask, if it is used in VMware, it should be set to 255.255.255.255.255, and I started to set it to 255.255.255.0, as a result, you cannot log on to iSCSI. It is really miserable. I can't even change the number of centos virtual machines. Fortunately, I saved the snapshot of n virtual machines, and then I tried the tricks of my friends on the network in despair.

If your situation is the same as mine, try to change it here. The Network is also a weak point, so we need to strengthen learning.

3. Scan the iSCSI server, iscsiadm-M discovery-T sendtargets-P 192.168.226.148 OK, and find the shared target.

4. log on to the iSCSI server. iscsiadm-M node-T iqn. openfiler: TSN. Handle data-L.

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.