OPCP - How to install a controller
Objective
This guide explains how to install an OPCP controller from the Debian-based installation image provided by OVHcloud. It covers preparing the installation media, cabling the server, selecting the RAID 1 disks, configuring the controller access network, and making the adjustments required after the first boot.
In this guide, the OOB network refers to the controller access network. It is the server's first physical network interface, connected to your network.
It is not the server's dedicated management port (IPMI, iDRAC, iLO, and so on), which should only be used to mount the ISO or open a remote console.
The installation process erases all data on the selected disks.
OVHcloud provides you with services for which you are responsible. You must therefore ensure that they function correctly after the installation.
Requirements
- A physical server intended to host the OPCP controller
- Read-only access to the OPCP delivery S31 bucket, including the S3 endpoint, bucket name, region, and OPCP version to download
- A dedicated S3 access key and secret key, restricted to read-only access on that bucket and delivery prefix
- A USB key, virtual media device, or any other bootable installation media
- Access to the local console or to the server's remote management console (IPMI, iDRAC, iLO, and so on)
- At least 2 physical disks of comparable size for the RAID 1 installation
- One network cable connected to the server's first network interface and to your network
- The IP address, subnet mask, gateway, and DNS servers for the controller access network
Instructions
1. Download and verify the installation image
Before writing the image to your boot media, download the ISO and its SHA-256 checksum from the read-only S3 bucket provided to you.
The published artifacts are stored in the delivery bucket under the opcp-controller-debian-image/<version>/ prefix.
Use a dedicated credential pair restricted to read-only access on that bucket and prefix. Load it only into your current shell or through your secret manager, then remove it after the download.
Common base endpoints include s3.sbg.io.cloud.ovh.net and s3.gra.io.cloud.ovh.net.
Set your environment variables first:
Then download the files with s3cmd (the recommended method for authenticated S3 access):
If your environment already standardises downloads with curl, you can use a SigV4-signed HTTPS request instead:
If your curl build does not support SigV4, use the s3cmd method.
Then verify the checksum before writing the ISO:
Replace /dev/sdX with the device corresponding to your installation media.
2. Cable the server
Before you start the installation:
- connect the server's first network interface to your network.
- if the server has several network interfaces, use the first one so that it is easier to identify during the installation, and do not connect any other one.
3. Boot the installer
Boot the server from the installation media, then follow the interactive installer.
In the GRUB menu, select the Auto Install entry to start the installation.
During the installation, the image:
- detects the available physical disks
- prompts you to select the disks to use for RAID 1
- configures the system automatically on the selected disks
- prompts you to choose the network interface used for controller access
- enables
rootSSH access on the controller at first boot
4. Select the installation disks
When prompted by the installer, select at least 2 physical disks for the controller.
Use identical disks whenever possible, or disks that are as close as possible in size and performance, so that the RAID 1 configuration can be created correctly.
The installer automatically creates the RAID 1 configuration and the system LVM layout on the selected disks.
5. Configure the controller access network
When the installer shows the list of physical network interfaces:
- Select the interface connected to your network.
- Choose
Staticto enter the configuration manually. - In static mode, enter the IP address, subnet mask, gateway, and DNS servers requested by the installer.
- Confirm the summary before the network configuration is written.
At the end of the base installation, this configuration is applied to the installed system to allow initial SSH access to the controller.
6. Verify access after first boot
After the server restarts:
- Connect from the network linked to the server's first network interface.
- Verify that the controller IP address responds over SSH.
- Verify that the controller can reach the network resources it needs in your environment.
If the interface or network settings are incorrect, restart the installation and select the expected values.
7. Adjust the logical volume sizes
After the first boot, log in to the controller and adjust the logical volume sizes according to the actual disk capacity and your needs.
The sizes below are example targets for 900 GB disks. Check the used and available space before reducing any volume, then adapt the values to your disk capacity.
Start by reducing the spare volume, then reallocate the released space to the volumes you actually use:
Go further
If you need training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to get a quote and request a custom analysis of your project from our Professional Services team.
Join our community of users.
1: S3 is a trademark of Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.