this post was submitted on 30 Dec 2023
13 points (84.2% liked)

Selfhosted

40154 readers
648 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
13
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

I have started trying out xcp-ng as an alternative to VMWare solutions for virtualization. Currently I have setup 3 VMs of xcp-ng v8.2.1. I have also setup Xen Orxhestra build from source.

I wanted to try out XOSTOR solution for shared storage. I have followed instructions mentioned in the forum: https://xcp-ng.org/forum/topic/5361/xostor-hyperconvergence-preview

I am getting errors at the storage creation step which is step 4 in the forum post I linked. The error I get is "Missing python module 'linstor'."

Anyone has got xcp-ng working with XOSTOR here?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago

Figured it out. I had created 3 VMs but was trying to created shared storage between 2 xcp-ng instances. I assumed that this can be done and the 3 instance will only act as witness without contributing to the storage.

After going through many replies on the forum thread I understood that you need minimum 3 hosts participating in the storage. Modified my setup to match the requirements (was easy since they are just VMs) all the instructions worked correctly.

The error about missing linstor python module was that I hadn't installed necessary packages on 3rd host in the pool since I assumed it doesn't require XOSTOR instructions to be run on it since it would not be participating in shared storage. This is my understanding though and I can be wrong.

Having written above I think I can still have only 2 hosts participating in storage but just need to install necessary packages on third host also. Will try and see how it goes.