Use OpenFiler as your Free VMware ESX SAN Server
2008-08-08 12:40
495 查看
Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area network). Besides the high cost of the ESX Server software and the Virtual Infrastructure Suite, a SAN can be a huge barrier to using VMware ESX and features like VMotion, VMware High Availability (VMHA), and VMware Distributed Resource Scheduler (DRS). In this article, we take a look at how you can download a free open-source iSCSI server and use it as your SAN storage for VMware ESX and its advanced features.
In my case, I downloaded the pre-built VMware virtual disk and used it. Before booting, I added a second virtual SCSI disk to it. Then, I booted the image.
I let OpenFiler get an IP address via DHCP and then pointed my web browser to it. I logged in as the user "openfiler" and used the password "password".
Step 1 - Create a Physical Volume
Go to Volumes, then Physical Storage Mgmt.
From there, I clicked on the name of my second disk, /dev/sdb.
At this point, I scrolled down to Create a partition in /dev/sdb
I left all the options as their defaults before I clicked Create to create a partition occupying all the space, like this:
Next, I went to Volume Group Mgmt, and chose to create a new volume group, like this:
After I had added my new volume group, I clicked Create New Volume. I filled in all the options, selecting iSCSI as the file system type, took all the space with my new volume and clicked Create to create my new 100GB volume.
Now, I went in and edited the properties of my volume. While you could choose to use CHAP with iSCSI, I just used the "local networks" security. I accessed that option by clicking on Local Networks (which is also an option under the General tab).
Now, I filled in my network ID, set my subnet mask, selected Share, then clicked Update.
After that, I went back to the the properties of the volume and changed the local network that I added to Allow, like this:
For better security, you can use CHAP and you can narrow down the network to only the IP address of your iSCSI initiators.
Finally, I went in to the Services section, and to Enable/Disable. I enabled iSCSI, like this:
Now, my iSCSI target was ready to receive connections from my VMware Server. Please see the second article in this series to see how to configure your VMware ESX Server to connect to this new iSCSI SAN using the free Openfiler!
Summary
In order to use many of the VMware ESX Server advanced features, you need a SAN. Openfiler provides that SAN at NO cost as it is free and can run inside VMware Workstation or VMware Server. In this article, we take a look at how you can download a OpenFiler and configure it to be a free open-source iSCSI SAN server. Please take a look at our next article in this series, How to Connect VMware ESX Server to a free iSCSI SAN using Openfiler.
VMware ESX Server Cluster Pools and Resource Pools Explained
What you need to know about VMware Consolidated Backup (VCB)
Understanding VMware ESX Users, Groups, and Roles
VMware Versions Compared
How can VMware's Virtual Desktop Infrastructure help you?
Installation Requirements for VMware ESX Server 3.0
VMware Consolidated Backup (VCB) utilities
How to Secure your VMware ESX Server
Connect VMware ESX Server to a free iSCSI SAN using Openfiler
Use OpenFiler as your Free VMware ESX SAN Server
Create Custom Roles in VMware ESX Server
VMware ESX Roles, Permissions, and Privileges Explained
5 Critical VMware ESX CLI Network Troubleshooting Commands
What's new in VMware ESX Server 3.5?
VMware Virtual Centre Server Database Migration
ESXi newb can't get to a CD drive, host or client
ESX 2 using NFS datastore
Lunch and Learn(Business Intelligence)
Got a question? Post it on our VMware Forums!
Daniel Petri's VMware Training Recommendation | |
I just finished watching Train Signal's new VMware training videos. This is one of their best yet. Whether you work on Linux or Windows, this course delivers all the instruction you need for VMware Server and Workstation. If you are serious about working in virtualization then I highly recommend you check this course out. To learn more about Train Signal's VMware course -- watch their free VMware training demo. Daniel Petri |
What is OpenFiler and where do I get it?
OpenFiler is a free open-source SAN server. It offers NFS, SMB (for Windows), iSCSI, and HTTP file sharing. You can download it as a fully installed VMware virtual disk or as an ISO image that you need to install. Either way, there is no cost. Openfiler is simply a modified version of Linux that provides an iSCSI Target for iSCSI initiators like VMware ESX and Windows.In my case, I downloaded the pre-built VMware virtual disk and used it. Before booting, I added a second virtual SCSI disk to it. Then, I booted the image.
I let OpenFiler get an IP address via DHCP and then pointed my web browser to it. I logged in as the user "openfiler" and used the password "password".
How do I configure OpenFiler as an iSCSI Target?
Here are the steps you need to perform to configure OpenFiler as your iSCSI Target:Step 1 - Create a Physical Volume
Go to Volumes, then Physical Storage Mgmt.
From there, I clicked on the name of my second disk, /dev/sdb.
At this point, I scrolled down to Create a partition in /dev/sdb
I left all the options as their defaults before I clicked Create to create a partition occupying all the space, like this:
Next, I went to Volume Group Mgmt, and chose to create a new volume group, like this:
After I had added my new volume group, I clicked Create New Volume. I filled in all the options, selecting iSCSI as the file system type, took all the space with my new volume and clicked Create to create my new 100GB volume.
Now, I went in and edited the properties of my volume. While you could choose to use CHAP with iSCSI, I just used the "local networks" security. I accessed that option by clicking on Local Networks (which is also an option under the General tab).
Now, I filled in my network ID, set my subnet mask, selected Share, then clicked Update.
After that, I went back to the the properties of the volume and changed the local network that I added to Allow, like this:
For better security, you can use CHAP and you can narrow down the network to only the IP address of your iSCSI initiators.
Finally, I went in to the Services section, and to Enable/Disable. I enabled iSCSI, like this:
Now, my iSCSI target was ready to receive connections from my VMware Server. Please see the second article in this series to see how to configure your VMware ESX Server to connect to this new iSCSI SAN using the free Openfiler!
Summary
In order to use many of the VMware ESX Server advanced features, you need a SAN. Openfiler provides that SAN at NO cost as it is free and can run inside VMware Workstation or VMware Server. In this article, we take a look at how you can download a OpenFiler and configure it to be a free open-source iSCSI SAN server. Please take a look at our next article in this series, How to Connect VMware ESX Server to a free iSCSI SAN using Openfiler.
Related Links
How to update your VMware ESX server using esxupdateVMware ESX Server Cluster Pools and Resource Pools Explained
What you need to know about VMware Consolidated Backup (VCB)
Understanding VMware ESX Users, Groups, and Roles
VMware Versions Compared
How can VMware's Virtual Desktop Infrastructure help you?
Installation Requirements for VMware ESX Server 3.0
VMware Consolidated Backup (VCB) utilities
How to Secure your VMware ESX Server
Connect VMware ESX Server to a free iSCSI SAN using Openfiler
Use OpenFiler as your Free VMware ESX SAN Server
Create Custom Roles in VMware ESX Server
VMware ESX Roles, Permissions, and Privileges Explained
5 Critical VMware ESX CLI Network Troubleshooting Commands
What's new in VMware ESX Server 3.5?
Recent VMware Virtualization Forum threads
VMWare ESXi registration page down?VMware Virtual Centre Server Database Migration
ESXi newb can't get to a CD drive, host or client
ESX 2 using NFS datastore
Lunch and Learn(Business Intelligence)
Got a question? Post it on our VMware Forums!
About David Davis
David Davis (CCIE #9369, CWNA, MCSE, CISSP, Linux+, CEH, & VCP) has been in the IT industry for 15 years. Currently, he manages a group of systems/network administrators for a privately owned retail company and authors IT-related material in his spare time. He has written over 100 articles, eight practice tests and four video courses and has co-authored one book. David's spends his spare time working on his website, HappyRouter.com, which offers Cisco Routing, Networking, How-To articles, Videos, & News.相关文章推荐
- heck the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTI
- How to use TFTP to transfer files from develop board to your host server?
- rails reverse words you can't use them in as your column or tablename
- How to Cheat at Configuring VmWare ESX Server (Paperback), Jun.2007.eBook-BBL
- 异常“check the manual that corresponds to your MySQL server version for the right syntax to use near ”
- VMware 发布最新ESX Server 3.0.2
- VMware-ESX-Server 5 制作U盘启动并安装到物理机上
- check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYP
- On a new installed FreeBSD server, when you try to SSH to the server as root, you will end up in the
- [!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfil
- How to Install & Configure Openfiler O/S as ISCSI Storage box
- Pass CSV string as parameter to your SQL Server stored procedure
- your MySQL server version for the right syntax to use near 'UNION '
- VMWARE ESX SERVER更新网卡驱动
- How to deal with "Could not find component on update server. Contact VMware Support or your system administrator." in Vmware.
- VMWare安装64位CentOS6.3出现Unable to boot - please use a kernel appropriate for your CPU.解决方法
- Your Server as a Function
- 免费的VMware和昂贵的VMware ESX Server
- proxmox 性能测试 (OpenVZ vs KVM vs Vmware Server)
- “error: PAM: authentication error for root” when trying to SSH to FreeBSD server as “root”