Still can not send a picture, this is the second article, text in this address: http://download.csdn.net/detail/weimingyu945/8089893
1 Login
First, log on to the openfiler web interface and configure the IP address 192.168.1.111. Therefore, enter https: // 192.168.1.111: 446/Username: openfiler password: password in the address bar of the browser.
After successful login, enter the status page, which displays the basic information about the server, system status, hardware information, network, memory, and attached disks.
The Web management tool consists of seven parts: system, volume, quato, share, server, and accounts.
2 System
Click system to go to the configuration and management of the entire system, including network settings, HA cluster settings, always settings, UPS management, backup, and security control. Backup uses the snapshot technology to create a snapshot of the server for users to download and back up. To restore, you only need to upload the snapshot, which is relatively simple.
2.1 network setup
Network settings are divided into three parts: networkconfiguration network configuration, network interface configuration Nic information (Dynamic DHCP and static), and networkaccess configuration are set which IP segments can access the host server, the setting directly affects iSCSI's use of network ACL control in iSCSI target, FTP and SMB services are not affected. The users set here are different from those set in accounts. As shown in:
3 volumes
This section provides soft RAID, iSCSI, and LVM volume management functions. Click volumes. If you want to raid the disk, you should create a soft RAID before adding the volume.
3.1 block Device
Block device manages disks in the house. disks can be partitioned. Click Block device to enter the Configuration:
Click the selected physical disk to enter the partition page. I select/DEF/SDC:
Partitions are divided into physicalvolume and raid array member. Select raid array member if you want to perform Soft Raid.
Software raid is not detailed. If you want to create a soft RAID, You must select the raid array member type during partitioning, then, the management interface will display all the partitions with raid array member and no soft RAID are created. You can select the partitions to create Soft Raid and select the raid level and block size, click Add array to create a Soft Raid:
3.2 Volume Group
Volume Group manages volume groups. If physical partitions are created, these physical volumes are displayed on the Management page. Select the physical volume you want to add, give the volume group a name, and click Add volume group to add the volume group.
3.3 Add volume
After successfully adding a volume group, you can create a logical volume in the volume group. Click Add volume to go to the management interface:
Select the volume group of the logical volume to be created in selectvolume group, and click Change to select the volume group.
In create avolume in ***, enter the logical volume name, logical volume description, the size to be allocated to the logical volume, and the file type of the logical volume. Click Create to create. If you select the XFS and ext * types for a long time, you can create a file on the logical volume to provide the file sharing service; if block is selected, you need to set the iSCSI targets to provide the iscsi service. We need to configure the iscsi service and format the partition to the iSCSI file system type.
3.4 iSCSI targets
Iscsi targets manages iSCSI. It mainly sets iSCSI parameters, sets the allowed access list, and iSCSI target ing. Click iSCSI target to go to the management interface:
Add directly in add newiscsi target. Here the name I created is volsdc. iscsi. Click Change to display the target settings. The setting process is related to the parameters of the iSCSI protocol. The default setting is acceptable.
Lun Mapping
Is the Lun (logical unit number) ing management. You can set which Luns are mapped to the created target and enter the Lun mapping interface:
Map the previously created logical volume vosdc-iSCSI to the target, and click map ing:
Indicates that the Lun has been mapped. You can select the ing mode: read/write mode (R/W) and transmission mode (transfer mode)
Network ACL
This part sets which customer hosts in the network can access the iSCSI target and select allow and deny. The list is added in network setup.
CHAP authentication
This part is CHAP authentication, that is, when the client initiator tries to connect to a target, the initiator needs to provide a user name and password for the target to authenticate. The usage is very simple, but the authentication is not complete enough. It simply includes:
Then, enable the iscsitarget service in services.
4 Windows Client Connection
Open the iscsiinitiator initiator program in win7:
If the disk has been found and can be connected, it indicates that it has been mounted to the local device. Next, format the disk and specify the type of the formatting file system. For details, right-click the computer and choose manage> storage> disk management, format the disk.
5 Linux Client
First, we first find the target: iscsiadm-M discovery-T St-P 192.168.1.111
Target found on 192.168.1.111.
Then log on to: iscsiadm-M node-T iqn.2006-01.com. openfiler: volsdc. iSCSI-p192.168.1.111-l
Format the device:
# Mkfs. ext4/dev/SDB
Next, mount it directly.
Logout: unmount first: # umout/iSCSI
Logout: # iscsiadm-M node-T iqn.2006-01.com. openfiler: volsdc. iSCSI-P 192.168.1.111-u
Openfiler acts as a file server to achieve iSCSI shared storage