XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. vmpr
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 37
    • Groups 0

    vmpr

    @vmpr

    5
    Reputation
    149
    Profile views
    37
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    vmpr Unfollow Follow

    Best posts made by vmpr

    • RE: Hub Template Debian 11 cloud init network configuration

      @fohdeesha thanks for the information, I've added the following to my cloud-init template:

      runcmd:
        # disable dhcp for eth0
        - [ sh, -c, sed -e '/iface eth0 inet dhcp/s/^/#/g' -i /etc/network/interfaces ]
      

      at the end of the installation I have a reboot of the machine anyway so I don't restart the network in between:

      power_state:
       delay: "+2" # minutes
       mode: reboot
       message: rebooting system after cloud-init configurations are finished
       timeout: 120 # seconds
      

      cheers and keep up the good work!
      Ringo

      posted in Xen Orchestra
      V
      vmpr
    • RE: xoa token expire date - how can i set it to an later date?

      Thanks guys! Absolut Legends πŸ‘Œ

      posted in Xen Orchestra
      V
      vmpr
    • RE: XO reports wrong number of backups

      @julien-f that also fixed my issue, cheers!

      posted in Xen Orchestra
      V
      vmpr
    • RE: New Smart Backup failure

      great job guys on a saturday! I am just updating my xo but your response times are great, keep up the good work!

      posted in Xen Orchestra
      V
      vmpr

    Latest posts made by vmpr

    • RE: delta backup: two full backups all the time - we don't know why :(

      @florent Thanks for the Tip!

      The risk of an infinite delta and losing the backup chain if something goes wrong is a bit too high 😞 I bet if something goes wrong exactly in that moment, we need a reliable backup chain πŸ™‚

      Sadly, we do not have "cheaper" storage for mirror backup, as it's only a small setup for a small company.

      This situation is a bit of a pickle if you want one full backup on a certain day, plus deltas, but not two full backups all the time 😞

      Is there any chance that this will change in the future to make that situation happen?

      posted in Backup
      V
      vmpr
    • RE: delta backup: two full backups all the time - we don't know why :(

      @Danp very interesting! Thank you! So is it somehow possible that we only do full-backups on Saturday night and only have one fullbackup? Our backup storage is almost full, and we need to make some space, so getting rid of double full backups would be great πŸ˜„ cheers Ringo

      posted in Backup
      V
      vmpr
    • delta backup: two full backups all the time - we don't know why :(

      Hi everyone πŸ™‚

      we have a strange behaviour at the moment, we have a delta backup job configured like that:

      • Full backup interval is 0 as we want full backups only on Saturday night
      • We have one schedule for Sunday to Friday night with no forced full backup for incremental backups
      • We have one schedule for Saturday with Force Fullbackup enabled to make sure only Saturday is the full backup

      cbaaf76c-2182-40b0-8406-db8f146635fd-Screenshot 2025-04-15 at 21.29.47.png Screenshot 2025-04-15 at 21.29.47.png

      So, now problem is we have two full backups on our remote, and we are getting into storage space trouble 😞

      17d87594-de0f-40dc-a0bc-64e8f9ee131f-Screenshot 2025-04-15 at 15.11.58.png Screenshot 2025-04-15 at 15.11.58.png

      Has anybody an idea why this is happening? What do I miss?

      cheers and have a great day!
      Ringo

      posted in Backup
      V
      vmpr
    • RE: Intermediate cert xen orchestra

      @astrugatch you can put it into the same files like the cert it’s called a chain cert then

      posted in Xen Orchestra
      V
      vmpr
    • RE: action rolling_update fails with strange error

      @julien-f thanks! I have tested it and its working now! cheers Ringo

      posted in REST API
      V
      vmpr
    • RE: action rolling_update fails with strange error

      @julien-f happy to help πŸ™‚ let me know when you fixed it and I will test it. cheers Ringo

      posted in REST API
      V
      vmpr
    • action rolling_update fails with strange error

      hi everyone,

      I am on the last version of XO and wanted to play around with the REST-AP. scheduling a rolling pool update but I got an error I can't figure out:

      curl -X POST -b authenticationToken=XXX https://xo.xxx/rest/v0/pools/5222b44b-e25b-a14d-4da2-c7a0dd8cf59f/actions/rolling_update
      /rest/v0/tasks/0m1agafzh
      

      the log says:

      curl -b authenticationToken=XXX https://xo.xxx/rest/v0/tasks/0m1agafzh
      {
        "id": "0m1agafzh",
        "properties": {
          "name": "REST: rolling_update pool",
          "objectId": "5222b44b-e25b-a14d-4da2-c7a0dd8cf59f"
        },
        "start": 1726820415341,
        "status": "failure",
        "updatedAt": 1726820415449,
        "end": 1726820415449,
        "result": {
          "message": "Cannot read properties of undefined (reading 'user')",
          "name": "TypeError",
          "stack": "TypeError: Cannot read properties of undefined (reading 'user')\n    at file:///opt/xo/xo-builds/xen-orchestra-202409201003/packages/xo-server/src/xo-mixins/xen-servers.mjs:704:82\n    at AsyncLocalStorage.run (node:async_hooks:346:14)\n    at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202409201003/@vates/task/index.js:169:41)\n    at Task.run (/opt/xo/xo-builds/xen-orchestra-202409201003/@vates/task/index.js:153:31)\n    at XenServers.rollingPoolUpdate (file:///opt/xo/xo-builds/xen-orchestra-202409201003/packages/xo-server/src/xo-mixins/xen-servers.mjs:703:16)\n    at rolling_update (file:///opt/xo/xo-builds/xen-orchestra-202409201003/packages/xo-server/src/xo-mixins/rest-api.mjs:634:11)\n    at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202409201003/@vates/task/index.js:169:22)\n    at Task.run (/opt/xo/xo-builds/xen-orchestra-202409201003/@vates/task/index.js:153:20)"
        }
      }
      

      Do you have any idea what the problem is here?

      If I start the update via XO everything works without errors.

      thanks and have a great day!
      cheers Ringo

      posted in REST API
      V
      vmpr
    • RE: VM Graceful shutdown using apc network shutdown

      @Studmuffn1134 No we shutdown virtual machines first and xcp-ng servers last.
      Puppet is a config-mgmt tool so you don't have to install apcupsd on every machine manually, it can automates stuff like that.
      what do you use as nfs storage? normally you can configure to a shared network storage device that it talks to the smart-ups and shuts it self down before its running out of power

      cheers Ringo

      posted in XCP-ng
      V
      vmpr
    • RE: VM Graceful shutdown using apc network shutdown

      We installed apcupsd in every virtual machine with puppet and shut down test/dev systems early and important systems later. XCP-ng servers also got it installed and shutdown last.

      posted in XCP-ng
      V
      vmpr
    • RE: xoa api SR space usage

      @jedimarcus thank you i will have a look!

      posted in Xen Orchestra
      V
      vmpr