Learn how to specify the disk group on which to install the server's operating system.
OVHcloud offers some Dedicated Servers that have one SATA disk group, and one SSD disk group. We call these "Hybrid Servers".
Requirements
- an OVHcloud Hybrid Server
- access to the OVHcloud API
- access to the OVHcloud Control Panel
Instructions
Step 1: Log in to the OVHcloud API
Log in to the OVHcloud API console.
Step 2: Retrieve the server name
Next, go to the following API call:
Next, retrieve the name of your hybrid server by clicking Execute
:
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:
GET /dedicated/server/{serviceName}/specifications/hardware
Enter the name of your server in the serviceName field, and click the Execute
button. You will then see your server's hardware information. Note down the diskGroupId, which you will find in diskGroups.
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:
GET /dedicated/server/{serviceName}/install/compatibleTemplates
Make a note of the template name for your chosen operating system, then go to the following API call:
POST /dedicated/server/{serviceName}/install/start
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 Execute
button:
Your operating system will now be installed. You can check the progress of the installation by refreshing your server's page in the OVHcloud Control Panel, or by going to the following API call, entering your server's references into the serviceName field, and clicking the Execute
button:
GET /dedicated/server/{serviceName}/install/status
Go further
For more information and tutorials, please see our other Dedicated Servers support guides or explore the guides for other OVHcloud products and services.