📜 ⬆️ ⬇️

HP DL120 G7 - the second life of the server



Hi Habr! Overboard in 2017 and new HP G9 servers are available on the market, and soon I think HP G10 will appear.

But there is no “money,” and you made the decision to buy a BOO server or to optimize the existing server fleet. And in this case, I want to draw your attention to a couple of moments related to the disk subsystem of the HP DL120 G7 server.

The server had been in the warehouse for a couple of months after the branch was closed, and I decided to make something useful out of it in the form of a file storage.
')
I got a 628692-421 server with hotplug 3.5 (4 pcs) disks, a Xeon E3-1240 processor, 16GB frames and a Smart Array P212 / 256MB controller with SAS 10k 400GB disks.

HP Smart Array P212


This controller can be found in almost all servers of the HP generation G5 / G6 / G7. A list of servers can be found on the HPE QuickSpecs website .

If the server has an optional Smart Array controller installed, you can monitor the status of the disks via ILO3.



In the screenshot, you can observe the status of the HGST HTS721010A drive, by installing non-original drives in the HP server, you risk receiving unreliable information about the drives. In this case, the disk temperature is not correctly determined, as a result, the server displays fan speed at 100% speed and the server turns into a power-saw bench.

Conclusion number 1 - not all drives are equally useful, "choose the original HP disks."

By default, the HP Smart Array P212 controller caches read operations only, and installing the Battery Kit is recommended to enable caching of write operations.



In the absence of the Battery Kit, there is a chance of losing data during a power outage. If you have enabled caching write operations without a battery, you do this at your own peril and risk.

If you do not enable the write cache, the HDD will show the speed results noticeably lower. A large read cache will not have a tangible impact on the result.

Let's take a look at how caching settings affect speed.


As parrots, I chose the VM cloning rate of 38 GB.

1 - Copy from SAS 10k disk to SATA 7k disk
2 - Copying from a SAS 10k disk to a SAS 10k disk (2.5inch)
3 - Copy from SATA 7k disk to SAS 10k disk
4 - Copy from SATA 7k disk to SAS 10k disk (2.5inch)
5 - Copying from SAS 10k (2.5inch) disk to SATA 7k disk



Conclusion number 2 - write on write at least 50% of the size of the memory cache.

About SAS drives


Pay attention to copying between SAS 10k disks, in some cases 10k loses 7k SATA disks.

It is necessary to recognize that local SAS 10k disks in servers are less relevant, these disks cannot compete in the number of operations with SSD.

HP Smart Array P212 + SSD


In the servers, I still do not have SSD and I decided to see how not the newest Smart Array controller will survive the SSD connection.

I had one single 120 GB SSD Kingston SHFS37 which I took out of the laptop. I want to immediately note that for servers it is necessary to choose SSD with protection against power loss, such protection is stated by the manufacturers in the drives Intel DC and Kingston KC400.

The SSD is defined and its status can be monitored through ILO3.



SSD Testing


1.2 - Copy from SATA to SSD
3.4 - Copy from SSD to SATA
5.6 - Copy from SATA disk to SATA disk
7,8,9 - Copy from SSD to SSD



If you disable write caching, the loss of SSD speed is not noticeable, while the SATA HDD subsides noticeably.



Conclusion number 3 - SSD shows excellent speed and can be used without caching write operations.

HP Smart Array B110i


If the optional HP Smart Array controller is not in the server, the disks will work with the controller on the HP Smart Array B110i motherboard. Only SATA drives can be connected to the B110i.

HP Smart Array B110i can be found in HP ML110, ML150, ML330, DL120, DL160, DL180, DL320 G6 generation servers, and ML110, DL120, DL165 G7 generation servers. Also, this controller is found in some servers of the SL series.

The default controller works in SATA Legacy mode, I note right away that this is not the most successful mode, with such settings drives will work very slowly.

By default, the disk cache is disabled if you turn it on there is a chance of losing data when the power is turned off.

Three controller modes are available:
1 - SATA RAID
2 - SATA AHCI
3 - SATA Legacy



VMware ESXi does not know how to work with disks collected on a raid and connected to this controller, and for this reason I will test the server by installing WS2012R2 on it.

1 - SATA Legacy


In the SATA Legacy mode, Windows defaults to a write-in software cache, and this means that there is a chance of losing data during a power outage.



After caching is turned off, the drop in speed for ordinary disks is terrible, 20 MB / s is a very good screenshot - and the results can be much worse.


2 - SATA AHCI


Software caching of write operations is also enabled by default.


After disabling caching HDD sagged not as much as in the case of SATA Legacy.



Pin number 4 - In cases where you do not need hardware RAID, the HDD should work in AHCI mode, and software caching of write operations should be disabled to ensure data integrity.

3 - SATA RAID


HP Smart Array B110i supports only the “software raid” R10 and R1. I want to write something bad about him - but I don’t think that you may have problems with it, but still, whenever possible, make an update to the full HP HP Smart Array, with cache memory and batteries.

It is not possible to enable write caching in Windows; this function is not supported by the controller drivers. For HP Smart Array P212 software caching is also not possible.



This time I combined two sat disks in R1, and therefore the average speed was higher.




Pro reliability and data integrity


During the process of switching disks between controllers and changing disks, the configuration of the controllers was lost several times and all the arrays collapsed. Be careful with such castling.

I draw attention to this by the fact that HP had previously declared compatibility with the configuration of raid arrays when swapping disks between controllers or between servers.



Pin number 5 - store backups on a separate device.

TOTAL


1 - Not all discs are equally useful, “choose original HP discs”.
2 - Record at least 50% of the memory cache size.
3 - SSD shows excellent speed and can be used without caching write operations.
4 - In cases where you do not need hardware RAID, the HDD should work in AHCI mode, and software caching of write operations should be disabled to ensure data integrity.
5 - store backups on a separate device.

P.S.


To configure the disk subsystem from the graphics console, you need to download an HP Smart Start CD 8.70 boot disk image (B) .

For more convenience when working with a server, a license for HP ILO Advanced will not hurt, a demo license can be obtained here .

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


All Articles