Cách cấu hình FreeBSD iSCSI thông qua vSphere 5.5 Web Client Workflows

In our last article, we went through the workflow to add each host to our Distributed Virtual Switch, as well as adding the requisite VMkernel ports for each host. In this article, we’ll build upon that as we configure software iSCSI on our hosts.

Add the Software iSCSI Adapter

1. In the vSphere Web Client Home page, click on the Host and Clusters icon.

2. Click the Host you want to configure (1), Manage (2), then Storage (3).

3. Click the green + symbol (1), then Software iSCSI Adapter (2).

4. Click OK on the Add Software iSCSI Adapter popup.

5. You should now see the software iSCSI adapter, named vmhba33 or something similar.

Configure Network Adapters

Since we already added and configured the VMkernel adapters in an earlier article, there’s only one thing we need to do here – set each iSCSI distributed port group to use only a single uplink. Since this is the same procedure for both distributed port groups, I’ll only show it once.

1. In the vSphere Web Client Home page, click on the Networking icon.

2. Right-click on iSCSI1 (1), then click Edit Settings (2).

3. Click Teaming and failover, then move all uplinks but one into Unused uplinks. In this case, iSCSI1 will have Uplink 3 and iSCSI2 will have Uplink 4. Click OK.

Add the iSCSI Software Adapter Network Port Binding

1. Back in Hosts and Clusters > Host > Manage > Storage, click on vmhba33, Network Port Binding, then the green + to add binding.

2. Choose the first VMkernel adapter in the list, then click OK. Repeat these steps for the second VMkernel adapter.

3. Your Software iSCSI adapter should now show two unused VMkernel adapters.

Add New iSCSI Targets

1. On the iSCSI Software Adapter, click Targets, then Add.

2. Fill in the IP address or FQDN of your iSCSI target. Click OK. Repeat for each additional target.

3. Click Rescan to pick up the new block devices.

4. Click OK to scan for new devices and VMFS volumes.

5. We now see the expected LUNs…

Across both paths

6. Now, rinse and repeat for the other hosts in your cluster.

And that’s it for this article. Check back next time for when we actually do something with these LUNs.


About thangletoan

Hallo Aloha

Posted on 26/07/2013, in iSCSI, NAS, NAS in ESXi Host, NAT in ESXi, SAN and tagged , , , , . Bookmark the permalink. Bạn nghĩ gì về bài viết này?.

Trả lời

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập:

WordPress.com Logo

Bạn đang bình luận bằng tài khoản WordPress.com Đăng xuất /  Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Đăng xuất /  Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Đăng xuất /  Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Đăng xuất /  Thay đổi )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: