How to attach iSCSI LUN to ESXi server

Author:  Matt Song

Date:     2010/11/06

 

This article is going to show you how to attach a LUN from a storage server to a ESXi server. Please make sure you have already installed a Storage server and a ESXi Server.

About how to deploy a storage server, please refer to this: http://mattsong.blog.51cto.com/2355482/413153

About how to install a ESXi server, please refer to this: http://mattsong.blog.51cto.com/2355482/413163

 

Now let's get start :)

 

Open vShere Client, connect to ESXi server, switch to Configuration tab, click Storage Adapters and click iSCSI software Adapter's Properties

clip_p_w_picpath002

 

Click configure.

clip_p_w_picpath004

 

Select Enable and click OK, wait for a while.

clip_p_w_picpath006

 

Open Configure window again, and copy the LUN's IQN to iSCSI Name text box. And click OK.

(IQN means iSCSI Qualified Name, about how to create a LUN, please refer to: http://mattsong.blog.51cto.com/2355482/413158)

clip_p_w_picpath008

 

Now go to the Dynamic Discovery tab, click Add.

clip_p_w_picpath010

 

Input the Storage server's IP, the default port is 3260. (If you have configured CHAP for authentication, then you should also check the CHAP item.)

clip_p_w_picpath012

 

The storage server has been added to the list. now click Close.

clip_p_w_picpath014

 

Choose yes if this windows shows up, wait for a while until rescan finished.

clip_p_w_picpath016

 

Now we can see the LUN has attached to ESXi server.

clip_p_w_picpath018

 

The next thing we should do is add this LUN to ESXi server's storage, Select Storage, and click Add Storage.

clip_p_w_picpath020

 

Choose Disk/LUN at this window, click Next.

clip_p_w_picpath022

 

The LUN you created on the storage server will automatically listed at this window. Select a LUN you want to added and click Next.

clip_p_w_picpath024

 

Give your LUN a name. and Click Finish.(Other items could all use default setting)

clip_p_w_picpath026

 

The LUN has added, like the picture shows:

clip_p_w_picpath028

 

Now you can upload files to that LUN, just right click it and choose Browse Datastore.

clip_p_w_picpath030

 

Create a folder for ISO. The operation is just as same as Windows Explorer.

clip_p_w_picpath032

 

Use this to upload file.

clip_p_w_picpath034

 

Uploading :)

clip_p_w_picpath036

 

All done :)

clip_p_w_picpath038

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章