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.