GithubHelp home page GithubHelp logo

Comments (6)

rp- avatar rp- commented on May 18, 2024

This is not for what --auto-place was designed for.
There is an additional --diskless-on-remaing flag that will put the resource diskless on all non replica nodes so combined this would look like this:
linstor r c test --auto-place 2 --diskless-on-remaining

I just have found a bug with that command if you have a CONTROLLER node type in your node list, so before you use it remove the CONTROLLER node from your node list.
Will be fixed in the next version.

from linstor-server.

kvaps avatar kvaps commented on May 18, 2024

@rp- I have more than 8 nodes, and --diskless-on-remaining not working for me.

What if I want to place 1 replica in one lvm pool, second replica on second lvm pool.
And then create maximum number of diskless resources (probably 6 of them) on the third diskless pool. (or even two different diskless pools)

from linstor-server.

kvaps avatar kvaps commented on May 18, 2024

For now I use autoplacing for lvm pools #17 (comment)

But for diskless pool I forced to use own implementation, which do the check for mostly unused nodes in diskless pool, and then schedules resource on them.

from linstor-server.

raltnoeder avatar raltnoeder commented on May 18, 2024

DRBD max-peers defaults to 7 (= 8 nodes) in LINSTOR. If you want to deploy resources to more than 8 nodes, this must be set to a higher value, or DRBD will be unable to manage the additional connections.

from linstor-server.

kvaps avatar kvaps commented on May 18, 2024

@raltnoeder any way there is should be some option for automatically place resource with needed replica number per diskless pool

from linstor-server.

ghernadi avatar ghernadi commented on May 18, 2024

As mentioned earlier, the autoplacer is designed to choose "diskful" storage pools only.

Diskless resources are usually used when the user knows from which node they want to access the data of the diskul resources. That means, autoplacing diskless resource is from Linstor's perspective almost never wanted.
If the user already knows on which node they want to have their diskless resource, a simple linstor r c .. does exactly that. Most plugins also use linstor that way - for example "create 2 diskful resource, I dont really care where they are, and I want to access that data from THIS node so I (or the plugin) will create a diskless resource here"

Feel free to reopen this issue if there is another meaningful scenario where autoplacing diskless resources could make sense

from linstor-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.