Last updated 13th June 2018
OVH offers some Dedicated Servers that have one SATA disk group, and one SSD disk group. We call these "Hybrid Servers".
This guide will show you how to specify the disk group on which to install the server's operating system.
This procedure only works for Linux systems (except ESXi, and XenServer), and only for SoftRAID, NoRAID, or HardRAID (default only) configuration.
Step 1: Log in to the OVH API.
Go to https://api.ovh.com/console/ and click the
Login in the top-right corner of the page. Then, on the following page, log in with the credentials of your OVH account.
Step 2: Retrieve the server name.
Next, go to the following API call:
Next, retrieve the name of your hybrid server by clicking
Step 3: Retrieve the diskGroupId.
The diskGroupId is what will allow us to define the disk group on which we want the operating system to be installed.
Go to the following API call:
Enter the name of your server in the serviceName field, and click the
Execute button. You will then see your server's hardware information as shown below:
What we are interested in here is the diskGroupId, which you will find in diskGroups.
On a Hybrid Server, SSD disks are mostly placed in second. So, the diskGroupId will be 2.
By default, the operating system is installed on the diskGroupId 1.
Step 4: Start the installation.
Once you have the diskGroupId, you can proceed to the final step of installing your operating system.
To do this, go to the following API call to retrieve a list of compatible operating systems:
Make a note of the template name for your chosen operating system, then go to the following API call:
Enter your server's reference into the serviceName field, enter the diskGroupId (2) into the diskGroupId field, and enter the template name into the templateName field (all other fields are optional).
When you have finished specifying your options, click the
Your operating system will now be installed. You can check the progress of the installation by refreshing your server's page in the OVH Control Panel, or by going to the following API call, entering your server's references into the serviceName field, and clicking the
Join our community of users on https://community.ovh.com/en/.