-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation on BYOI images creation #2462
Comments
Hello @NightTsarina, have you read this documentation https://docs.ovh.com/gb/en/dedicated/bringyourownimage/ ? |
Hi! Yes, I have checked that doc and also the community pages, but it does not say anything about how to create the image. I know how to upload and use the image, but where do I find an image to use? |
Hi @NightTsarina |
If your request is to find the ISO of the OS you want to install and generate a custom image in qcow2 format, we currently don't have a documentation to address it but we're thinking about it. |
Right, that is the problem. I have an ISO that has an interactive installer, but that won't work here. I can convert that to qcow2, but that won't work, because it requires user intervention.. So what I would like is to know what does the OVH system expect from that image and how is it deployed into the server... I have not been able to find any info at all about that. Maybe you are just running the qcow2 image inside QEMU, and assuming it will automatically install the system? That'd be great, but I'd need to know at least a bit about the runtime environment and how I can pass parameters or configuration to it, so I can create the scripts to drive the install.. On the other hand, the fact that you seem to be managing partitions independently tells me that maybe you are just DD-ing the image onto the harddrive, so then what I need to prepare is just a snapshot of a running system instead of an installer... These are the kind of questions that I think need to be answered in the documentation so sysadmins can build on top of your great service. Hope this clarifies my request. Thanks again |
Hi,
We do not touch partitions apart from the
Yes, that's the general idea. Either you provide a raw image of your disk that will get copied bit-for-bit to the first disk of the server, or you provide a qcow2, in which case it will be converted to raw and then copied to the disk. You could start by creating a qcow2 from an installed server with |
Ah, I see, this is a key piece of information I was missing!
Gotcha. I suppose then there is no way to configure arbitrary partitioning schemes before the image is copied? I found the OVH partitioning definition a bit restricted. For example, I usually create only 2 partitions on each drive: one for /boot and another for luks encryption + LVM, and then create multiple LVMs with different sizes depending on configuration.
Excellent, thanks for this information! I think just adding this paragraph to the documentation would be a huge help for OVH customers. |
The partitions present on your image are left untouched when it is copied to disk. If you want to change that at boot, cloud-init can do it.
Yeah I will discuss this with my colleagues. You're also welcome to make a PR modifying https://github.com/ovh/docs/blob/develop/pages/cloud/dedicated/bring-your-own-image/guide.en-gb.md if you'd like. |
Is there any documentation about getting both hard drives to show during BYOI install? We're trying to use a Virtuozzo image which has a GUI installer, but the installer only sees one disk vs both. Basically, we need to use Virtuozzo with RAID-1 and previously we had to do an install once, then reboot into VNC to break the raid and run it again, but that's no longer working and takes way too much t ime. What would be ideal is to boot into the image and see both drives available so we can create the proper software raid during install. What would be really ideal is a way for us to do this install once, then make an image of that completed install to reuse on all other OVH installs since the disks will be the same size going forward for us. For example, after we do an install where we could only see one disk:
Is there a way we can use cloud-init before running the GUI installer to see both nvme0n1 and nvme1n1? Example of an install we did get to work after a few hours (ran our GUI installer on to one disk, then rebooted into VNC and redid the install as it now showed both disks):
|
I spoke to @bgabler directly, but here are the key points:
|
Shoutout to @sbraz, after one year we were finally able to come up with a proper solution for deploying Virtuozzo Hybrid Server on OVH. Thank you again! |
Hi,
For a customer who wants to deploy a big number of dedicated servers on OVH I am researching automating the process, and I am interested in taking advantage of the BYOI feature. Sadly, I have not been able to find any documentation on how to create those images, or even what are the technical specifications.
I would like to be able to control exactly how the servers are installed, ideally including disk partitioning. But I have no clue how to even start.
Thank you.
The text was updated successfully, but these errors were encountered: