XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 21
    • Posts 76
    • Groups 0
    K Offline
    1. Home
    2. Kajetan321

    Kajetan321

    @Kajetan321

    Hello Everyone. I'm just getting started with Xcp-ng. I have some experience in VMware.

    8
    Reputation
    15
    Profile views
    76
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Kajetan321 Unfollow Follow
    • Feature Request: Folder structure in data store left behind after backup is deleted

      I deleted backups of VMs I no longer need (Backups > Restore > Delete backups). No problems so far, but when I want to look at the backup data store, I noticed that there are still directory structures left behind that are associated with those deleted backups (though they are empty). It would be nice if those folders were also deleted so that there is less folders to worry about when creating off site backups.

      posted in Xen Orchestra
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald Thank you for the follow up. It looks to me like none of the three services are running after a reboot.

      Executing

      systemctl status ups-driver.service nut-server.service nut-monitor.service
      

      Results in:

      ● ups-driver.service - NUT UPS Driver
         Loaded: loaded (/etc/systemd/system/ups-driver.service; disabled; vendor preset: disabled)
         Active: inactive (dead)
      
      ● nut-server.service - Network UPS Tools - power devices information server
         Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/nut-server.service.d
                 └─ups-driver.conf
         Active: inactive (dead)
      
      ● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
         Loaded: loaded (/usr/lib/systemd/system/nut-monitor.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/nut-monitor.service.d
                 └─nut-server.conf
         Active: inactive (dead)
      
      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      It looks like "yum remove nut" does the trick.

      posted in XCP-ng
      K
      Kajetan321
    • RE: Manual Backup (no schedule and no automatic deletion of old backups) Please?

      @Forza Actually not all is lost. I have off site backups, so I could restore the backup target remote from it's off site backup.

      I'm wondering if I power off XO, then restore the contents of the directory where my backup target remote points to, will XO then be able to see the old backups, before they were wiped? Or, will it be very confused because it's metadata is not stored on the remote but rather on the XO VM.

      posted in Xen Orchestra
      K
      Kajetan321
    • Manual Backup (no schedule and no automatic deletion of old backups) Please?

      Hello, so I screwed up. I was playing with backups and I wanted to see if I can do a manual backup (triggered by me, no schedule). Well apparently this is not sported. I realized this after I deleted the schedule and the backup job would not save, saying I need a schedule. So I created a (default) schedule and then disabled it. I then manually triggered the backup to test this approach. Of course the backup went through just fine. Soon after I realized that I messed things up good. The default backup schedule defaults to only retaining one copy. My half a dozen previous backups have now been automatically removed. The problem is I need my first backup in case I want to start over working on my VM. Well, that gone now 😞

      I get that I caused this myself. I'm wondering if a function for manually triggered backups without deleting any previous backups can be added.

      My use case is as follows. You start working on a new VM, you get the basic setup done. Now I want to be able to get back to this point at any time should the changes I make next not work out so I'd like to trigger a manual backup. Next few weeks are keeping me busy with other work. I finally come back to what I started earlier and continue my configuration. In the next few days I realize that what I have done is not going to work. At this point I would like to simply restore my first backup that already has the basic configuration done and I can go for attempt two.

      I guess another way of saying this is I would like to tag certain backups as protected so that they will never be erased automatically to reclaim storage space. Does anyone agree that this would be useful?

      Cheers.

      posted in Xen Orchestra
      K
      Kajetan321
    • RE: Issues synchronizing LDAP groups (Active Directory)

      @thenorthernlight Thanks! It appears I had two problems with the configuration I posted earlier that were causing the Test plugin to fail:

      Use StartTLS should be off
      User filter should be (userPrincipalName={{name}})

      Now onto testing if actual AD logons are working.

      Cheers.

      posted in Xen Orchestra
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald

      Thanks! Running

      systemctl enable --now ups-driver.service
      

      got ups-driver.service going, then following the instructions you provided earlier got the rest of the two services running, even after a reboot.

      I'm now able to run upsc apc@localhost and get the correct output listing all the properties of the UPS even after a reboot.

      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald Thank you for the follow up. It looks to me like none of the three services are running after a reboot.

      Executing

      systemctl status ups-driver.service nut-server.service nut-monitor.service
      

      Results in:

      ● ups-driver.service - NUT UPS Driver
         Loaded: loaded (/etc/systemd/system/ups-driver.service; disabled; vendor preset: disabled)
         Active: inactive (dead)
      
      ● nut-server.service - Network UPS Tools - power devices information server
         Loaded: loaded (/usr/lib/systemd/system/nut-server.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/nut-server.service.d
                 └─ups-driver.conf
         Active: inactive (dead)
      
      ● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
         Loaded: loaded (/usr/lib/systemd/system/nut-monitor.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/nut-monitor.service.d
                 └─nut-server.conf
         Active: inactive (dead)
      
      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald I followed the procedure outline above. I did not see any errors when following the procedure however when I rebooted and then ran "upsc apc@localhost" I got "Error: Connection failure: Cannot assign requested address"

      When I run "sudo systemctl status nut-server" I get " Active: inactive (dead)"

      Running

      upsdrvctl start
      systemctl start nut-server.service
      systemctl start nut-monitor.service
      

      fixes the issue. It looks like nut-server still does not start automatically at boot. How would I troubleshoot this further? I'm not a Linux system admin 😞

      Gemini suggested rebooting and running "journalctl -u nut-server.service -b 0" which resulted in "-- No entries --"

      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald Understood. Thanks for posting. I will get back to this as soon as I have some time.

      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      @FritzGerald Thank you for taking the time to write up the install procedure. I was able to follow it on my end and it seems to be working. What commands do you use to set the three services to start up automatically at boot up? Right now if I reboot and run upsc apc@localhost it throws an error until I manually do:

      upsdrvctl start
      systemctl start nut-server.service
      systemctl start nut-monitor.service
      
      posted in XCP-ng
      K
      Kajetan321
    • RE: Backup fails with "Body Timeout Error", "all targets have failed, step: writer.run()"

      Looking at Git, it doesn't seem like it, so I guess that answers my question.

      posted in Backup
      K
      Kajetan321
    • RE: Backup fails with "Body Timeout Error", "all targets have failed, step: writer.run()"

      @christopher-petzel Hello. Has the fix been merged yet? I'm on commit 03865 and I'm still getting this problem.

      posted in Backup
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      It looks like "yum remove nut" does the trick.

      posted in XCP-ng
      K
      Kajetan321
    • RE: [SOLVED] Just FYI: current update seams to break NUT dependancies

      I'm having the same problem. I could never get NUT to work properly anyways. What's the best way to uinstal it?

      posted in XCP-ng
      K
      Kajetan321
    • RE: Deteching Host is Failing with Error

      @MajorP93 OK I tried disconnecting the pool first but now I'm getting:

      server.disable
      {}
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "instancePath": "",
              "schemaPath": "#/required",
              "keyword": "required",
              "params": {
                "missingProperty": "id"
              },
              "message": "must have required property 'id'"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Module.invalidParameters (/opt/xo/xo-builds/xen-orchestra-202602261435/packages/xo-common/api-errors.js:26:11)
          at Xo.call (file:///opt/xo/xo-builds/xen-orchestra-202602261435/packages/xo-server/src/xo-mixins/api.mjs:121:22)
          at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202602261435/packages/xo-server/src/xo-mixins/api.mjs:409:19)"
      }
      

      I guess I will just power down the host and that will be it, as Olivier recommends.

      posted in Management
      K
      Kajetan321