
Hello! Today we will talk about why we need statistics on the use of the product, in addition to its obvious benefits in verifying licensing restrictions and building adequate tests for subsequent product releases. The subject of the story will be our recent experience.
A new version of the Plesk hosting panel called Plesk Onyx will be released very soon. Starting with this version, Plesk stops supporting 32-bit architecture. The decision was made after considering several key aspects. The software development industry is gradually moving to the ubiquitous transition to 64-bit builds. Many software manufacturers have already abandoned the 32-bit version of their products, and new steps in this direction are taking place continuously. The RHEL 7 distribution kit used as the CentOS base is only available for 64-bit systems - and yet CentOS is one of the most popular operating systems among Plesk users. In addition, supporters of 32-bit OSs deprive themselves of the opportunity to take advantage of such Plesk functionality, such as working with Docker and MongoDB, due to the fact that these products can only be installed on 64-bit operating systems.
However, the B2B2C market that Plesk is focused on is, by its very nature, rather inert, so it seems expedient to give the entire long chain a chance to orient and move smoothly from one architecture to another. To do this, we decided to target those of our customers whose business may be most affected by future changes.
')
Okay, google - how to understand who exactly needs to be notified? "Call out, dinosaurs!" Without statistics on the use of the product you cannot cope here, but you will have to work to get something intelligible from it.
Information about the hardware characteristics of servers with Plesk, including the type of architecture, we store in MongoDB NoSQL-storage. Having rummaged, we learn that Plesk clients use the 32-bit architecture, but not too actively - only 4% of the servers with the latest Plesk 12.5 version are currently used. This shows that the most progressive part of our users, regularly updating the product, is consonant with reality and prefers the x64 architecture. At the same time, servers with Plesk 12.5 make up only 40% of all servers, and the remaining 60% should not be overlooked either. So, we are interested in all servers on which 32-bit operating systems are installed, and not only their number - it is highly desirable to somehow identify them among the general mass for more detailed study. To do this, we will use the classical method - we will distinguish the server by the license number of the product. This is not difficult - license numbers can be found in the same repository, and everything would seem wonderful. But in fact, the challenge is just beginning - the list of keys to the servers with x32 is not enough.

The fact is that, as such, the list of license keys for us is completely non-informative. Yes, we know that on these servers Plesk runs on 32-bit operating systems - but what next? Are these servers promising in terms of upgrading to the upcoming Plesk Onyx? Who is the owner of each of them - the system administrator of a lonely site or a major player in the hosting market, turning thousands of domains and subscriptions? Is it very painful for him to lose this segment of the business - or, as in the song, the squad will not notice the loss of a fighter, because 1, 10 or even 100 servers are nothing compared to the resources he has?
All these are questions that require an answer, which means further immersion into the depths of product statistics. Fortunately, Plesk has the tools for such surveys - in particular, we suddenly found Partner Central very useful, through which Plesk partners can independently acquire licenses and manage them in the future. It turned out to be useful for us by storing sufficiently detailed information about each license, including the owner's name we are interested in, license status (active, terminated or expired), its type (lease / purchased), Plesk version number, operating system installed on the server and other parameters. Partner Central is not integrated with NoSQL storage, because it was not originally conceived as a statistics collection tool, but now we are able and able to use the information stored there - namely, the names of the owners of the keys. You can find them by downloading to Partner Central our list of licenses. In addition, Partner Central allows you to export information to the xls-file, which in this case makes it very easy for us to process the data. By default, all fields are exported to the file, but if you wish, you can select them manually: for our task, the key number, the name of the owner, the Plesk version and the operating system will be enough.

From the search results presented in the form of an xls-document, we must exclude expired keys. In addition, keys from old versions of Plesk are excluded from the sample, from which it is impossible to upgrade directly to Plesk Onyx - after all, we are primarily interested in servers that have the ability to upgrade directly. For the same reason, from the list you should remove the keys that are located on the servers with the OS, whose support ends on the Plesk 12.5 version.
After the ownership of each license was established, we were able to understand which Plesk customers are the most ardent supporters of the 32-bit architecture, that is, they use a large number of such machines. Good, but this is still not enough. After all, we still do not know whether the entire business of the above-mentioned clients is concentrated in this (albeit very voluminous) set of servers. Time to grieve? But no. Because the characteristics of the licenses, no less important than the hardware characteristics of the servers, are carefully collected and stored in the licensed OLAP-cube implemented on the basis of MySQL. Through this great tool, sold Plesk licenses can be categorized by the number of domains, mailboxes, customers, resellers, websites created on the server; virtual servers can be sorted by type of virtualization platform; You can exclude inactive and expired licenses from the sample, as well as select the sample date of interest. Information in the OLAP-cube is updated once a month.

OLAP-cube keeps a lot of interestingAnd of course, OLAP-cube allows you to group licenses by their owner. And here, finally, the fog dissipates and we can strategically assess which customers will be the most affected by refusing to support 32-bit architecture. Plesk’s sales department will send these letters with solutions to the current situation. And with a sense of accomplishment, we are going to solve new analytical problems and look forward to your comments - share your experience!