XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Tag-Based Automation: Manage VM CPU Priority via assigned tag.

    Scheduled Pinned Locked Moved Management
    11 Posts 4 Posters 91 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      Nice. I believe that I read elsewhere that our dev team was working on something similar.

      FYI, you have a typo (performace.sh vs performance.sh) 😉

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        john.c @johnnezero
        last edited by Danp

        @johnnezero said:

        WHAT: Automatically assigns CPU weights and I/O priorities based on assigned VM tag (i.e. replicating what vcenter did via resource pools etc.).

        It would be even better if you could split the configuration section off, so that it’s in its own conf file. Would make it easier to manage, also if this ends up being used, by Vates in the Vates VMS software. There can then be a vendor recommended configuration with the option of customer’s own workflow based, configuration.

        J 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Ping @julienxovates

          1 Reply Last reply Reply Quote 0
          • J Offline
            johnnezero @Danp
            last edited by

            @Danp Thanks for the correction - i.e. "Good-eye, Good-eye 🙂

            1 Reply Last reply Reply Quote 0
            • J Offline
              johnnezero @john.c
              last edited by

              @john.c Great idea, and done! ("Keep 'em coming")

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                john.c @johnnezero
                last edited by john.c

                @johnnezero said:

                @john.c Great idea, and done! ("Keep 'em coming")

                Thanks for the change. By the way I meant when doing Vendor config and customer workflow config. To implement that requires nested config file. In other words the set-performance.conf, then a file for instance in a set-performance.conf.d/custom.conf (or similar). The custom.conf in the conf.d directory overrides the same property as well as section within set-performance.conf.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  johnnezero @john.c
                  last edited by

                  @john.c Great ideas (especially if Vates decides to bake something similar into XO someday) but may be getting too far into the weeds for now...

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.c @johnnezero
                    last edited by john.c

                    @johnnezero said:

                    @john.c Great ideas (especially if Vates decides to bake something similar into XO someday) but may be getting too far into the weeds for now...

                    That’s okay. Just putting it out there - no rush! Any way to maintain Linux good practice relocate the conf file to /usr/local/etc/ (or /etc) then keep script in /usr/local/bin.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      john.c
                      last edited by john.c

                      @johnnezero Also there’s shortcut directories including one called cron.hourly, you can place a symlink (or hard link) to the script there. Cron will then execute the script without you needing to alter the crontab file.

                      Just drop .sh for using the shortcut directory as it will not run there otherwise.

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        johnnezero @john.c
                        last edited by

                        @john.c Yet another awesome idea - adding it to the "ToDo List", thanks!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post