📜 ⬆️ ⬇️

How to reduce the cost of a virtual data center with a USB flash drive

One of the little-known and little-known secrets when working with servers using VMware ESXi 5.x is that they can be booted from USB and SD flash drives. In this case, enterprises can unload RAID controllers or HBA adapters and hard drives or solid state drives used to boot servers. This method will lead to a reduction in capital costs for new systems. The cost of the flash drive to boot is not significant compared with the hard drives and adapters required for server operation. Operating costs will also be reduced; Switching to USB and SD drives significantly reduces power consumption compared to adapters and hard drives .



This article focuses on the usefulness of flash drives during data center operation. VMware has already written an article on how to use USB and SD flash drives as a boot device for ESXi 5.x. Most server manufacturers offer a configuration with an SD drive installed for this purpose. In a VMware article, it is recommended to use a device with a minimum capacity of 8 GB, so that there is a place to divide into sectors. The article proposes using a device of 16 GB or more so that an additional flash drive can level out wear and extend the life of the device. Given the difference in cost between 8 and 16 GB drives, there are few reasons not to buy 16 GB. Another important factor is the quality of the board, so we chose SanDisk for our project. SanDisk constantly confirms its leadership position in the portable flash drive market, outpacing competitors in performance and warranty. Since bandwidth is not an important condition, most servers use USB 2.0. Even data centers that rely on the creation of clusters for virtual servers take into account the intensity of equipment component failures.


SanDisk Cruzer Fit drive inserted into RD640 motherboard
')
For testing uses ten USB flash drives SanDisk Cruzer Fit. SanDisk Cruzer Fit is a small, inconspicuous flash drive that fits into the USB ports of the server, and, when used on the front panel, almost does not protrude above the surface of the server. There are no unnecessary decorative details on the flash drive (only an ergonomic design), it is as minimalistic as possible. A 16GB drive costs just over $ 10, a 64GB drive for just under $ 60.

How to install ESXi using a portable flash drive

VMware offers step by step instructions . We have simplified some steps, preferring virtual optical disk storage to recording and loading from optical media. The installation process is as follows:






After the system has booted, a warning will appear on the screen about the absence of local data storage and that the registration log is stored in unreliable storage. To prevent the warning from appearing, attach network shared preferred storage, such as iSCSI, FC or NFS.



After the storage is attached to the ESXi server, to disable the alerts, you need to open additional parameters and specify the location of the system log. In this case, we used the storage "Storage".



USB flash drive as ESXi boot device

When testing, we started by using the Lenovo ThinkServer RD640 in various configurations and measuring power consumption at idle using the Eaton Advanced ePDU to get basic statistics. These values ​​were obtained after installing and loading VMware ESXI 5.1 and launching the “Balanced” power consumption mode.

We optimized the operation of three hard drive configurations and one solid-state drive configuration in a RAID1 array connected with a backup battery LSI 9260-8i. In the latest configuration, there was only a USB drive without a RAID controller.


In the five tested configurations, there was a reduction in power consumption from 21 to 35 watts, which means significant energy savings by each server when considering the annual work period. With an average energy cost of $ 0.12 / kWh, the savings ranged from $ 22 to almost $ 37 per year. If you multiply this amount by the number of servers, the savings will increase. In addition to reducing the obvious cost of electricity, reducing components also reduces overheating and, as a result, potential savings in cooling.

In addition to saving operating costs, there is a significant savings in capital expenditures. In tested RAID controller configurations, mainstream hard drives and SSDs cost from $ 800 to $ 1,500 using 1 brand devices. This means that when using multiple servers, you can either save money or spend an equivalent amount for something more. It can be another server node or two for a cluster, or you can invest in CPUs and memory to support a virtual environment.

This boot option may not be suitable for everyone; traditional RAID controllers and HBA adapters paired with disks will still be preferred by most. As the scale of the enterprise increases, so does the cost, not to mention the reduction in operating expenses while reducing energy consumption in the virtual data center. With an investment of $ 10 per server, it’s hard to come up with a better way to optimize enterprise performance.

Source: https://habr.com/ru/post/217799/


All Articles