OVH Guides

Choosing the disk group to install an operating system

Learn here how to choose a disk group to install your operating system

Last updated 13th June 2018

Objective

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.

Requirements

This procedure only works for Linux systems (except ESXi, and XenServer), and only for SoftRAID, NoRAID, or HardRAID (default only) configuration.

Instructions

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 Execute:

Available services

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:

Hybrid

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:

Compatible templates

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 Execute button:

Installation

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 Execute button:

Go further

Join our community of users on https://community.ovh.com/en/.


These guides might also interest you...