XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. irtaza9
    3. Posts
    I
    Offline
    • Profile
    • Following 4
    • Followers 0
    • Topics 22
    • Posts 101
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to create xen orchestra plugins

      @Ahkh3e How you then imported this in XO?

      posted in Advanced features
      I
      irtaza9
    • RE: How to create xen orchestra plugins

      is there any documentation for building the plugin and how to use in XO?

      posted in Advanced features
      I
      irtaza9
    • RE: Oracle 8.10 cloud.init template creation

      @AtaxyaNetwork I'm new to Oracle Linux, do you have any minimal guide for the packages and configs for it? I am going with the first one for now. Created Oracle VM via ISO and configured network, storage(lvm), user and root user password. Now I'm inside my VM.

      posted in Infrastructure as Code
      I
      irtaza9
    • Oracle 8.10 cloud.init template creation

      I want to build cloud.init template for Oracle-8.10. Is there anyway to do this via Packer or XO?

      posted in Infrastructure as Code
      I
      irtaza9
    • RE: Upgrade to XO v5.105 seems broken

      @ph7 Thank you. It seems to work like that. I'll wait for this fix.

      posted in Xen Orchestra
      I
      irtaza9
    • RE: SQL Database support and XO HA

      @olivierlambert Happy to hear 😁

      posted in Xen Orchestra
      I
      irtaza9
    • RE: Upgrade to XO v5.105 seems broken

      @olivierlambert you are not checking the typescript level traces that's why there's no errors happening at your end.

      posted in Xen Orchestra
      I
      irtaza9
    • RE: SQL Database support and XO HA

      @olivierlambert PostgreSQL is good at scale, btw I'm opening an issue in the XO repo so that I'll be aware to any action to this feature either now or in future. Thank you.

      posted in Xen Orchestra
      I
      irtaza9
    • RE: SQL Database support and XO HA

      @olivierlambert said in SQL Database support and XO HA:

      wait for the next major modification

      what about XO6 the full revamped version of XO?

      posted in Xen Orchestra
      I
      irtaza9
    • SQL Database support and XO HA

      Hello,

      As we know, XO uses Redis as its database for data storage. If something goes wrong at the Redis level, everything goes dark. You mentioned that we can back up the XO configuration and re-import it, but that’s not a complete solution.

      If we are fully dependent on XO to manage a large infrastructure, there should be proper persistence at the XO level. Additionally, there should be official documentation on XO HA (High Availability) so that we can implement load balancing and ensure redundancy.

      posted in Xen Orchestra
      I
      irtaza9
    • RE: resourceSet issues

      @olivierlambert ack.

      posted in Xen Orchestra
      I
      irtaza9
    • RE: resourceSet issues

      @olivierlambert please update.

      posted in Xen Orchestra
      I
      irtaza9
    • resourceSet issues

      I created a resourceSet and set the maximum RAM to 4 GiB. Then, I created a VM within this resourceSet and checked the RAM from inside the VM console. It showed the same value as set in XO. However, when I increased the RAM from XO, exceeding the limit defined in the resourceSet, XO allowed me to do so. Upon checking the VM console again, it reflected the new RAM allocation. This leads me to believe that the resourceSet is not enforcing the defined limit.

      ss:

      b1e1a149-2e55-4c28-8d57-f74ff3bdccfb-image.png

      968a8e9c-f6dd-4363-9900-7cd87d88c713-image.png

      632cdc75-f205-47fe-a601-7cc82df8f4e9-image.png

      89f33530-0b0f-4fb0-b555-b31af19ef0a2-image.png

      After Increament:

      a306ce09-0039-4be6-836a-93d6a56146c0-image.png

      576d20b6-6a90-4471-84f9-a2fdb776b03e-image.png

      4a03b598-6a0d-41ae-89f2-8f12fb38263b-image.png

      posted in Xen Orchestra
      I
      irtaza9
    • host connection error

      I am getting the red error and when I check the error it shows nothing.

      dc715c10-3358-4be5-8398-f5e40ba455c1-image.png

      posted in Xen Orchestra
      I
      irtaza9
    • RE: VM Console Access

      @nathanael-h @olivierlambert

      extending this thread because still relevant

      The console is using RFB protocol for streaming, right now each user who have an access to a VM console is seeing the same console that is seen by other. Is there any way to give each user their own console?

      posted in REST API
      I
      irtaza9
    • RE: XO High Availability

      @DustinB

      I deleted all data from redis and now I am not able to access anything. Please tell me what is stored in redis? Also How can I import the config without having any access to my admin account?

      836fb2f0-0172-412e-a10f-66562f3f7cbd-image.png

      9ac6d58a-2abe-4cbb-84a5-cc1ca5540f58-image.png

      9c16264d-fed8-4590-bc55-a7593c1f7937-image.png

      posted in Xen Orchestra
      I
      irtaza9
    • Web Hook plugin

      I am loading web-hooks plugin in my XO which is from sources. I am getting this error.

      plugin.load
      {
        "id": "web-hooks"
      }
      {
        "code": 10,
        "data": {},
        "message": "plugin not configured",
        "name": "XoError",
        "stack": "XoError: plugin not configured
          at invalidParameters (/opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-common/api-errors.js:26:11)
          at default.loadPlugin (file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/xo-mixins/plugins.mjs:224:13)
          at Xo.apply (file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/api/plugin.mjs:61:14)
          at Xo.call (file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/xo-mixins/api.mjs:269:25)
          at file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/xo-mixins/api.mjs:421:33
          at AsyncLocalStorage.run (node:async_hooks:346:14)
          at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202503111011/@vates/task/index.js:175:41)
          at Task.run (/opt/xo/xo-builds/xen-orchestra-202503111011/@vates/task/index.js:159:31)
          at run (file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/xo-mixins/api.mjs:421:16)
          at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202503111011/packages/xo-server/src/xo-mixins/api.mjs:469:24)"
      }
      
      posted in Xen Orchestra
      I
      irtaza9
    • RE: XO High Availability

      @DustinB We have a redis/valkey cluster deployed and I want to use this redis/valkey for my XO where do I have to configure the connectivity? I do not want put the load on the same VM where XO is deployed.

      • I want to have HA between my XO's like this (It's must irrespective of state and backups)

      b5414631-6d95-4317-b1b7-e870d18252b0-image.png

      How the syncing will behave between n instances of XO's? assume one request is served by xo1 will this change be visible to xo2? vice versa.

      posted in Xen Orchestra
      I
      irtaza9
    • XO High Availability

      AFAIK, Xen Orchestra (XO) is stateless and relies on Redis for database operations. What happens if my XO instance goes down?

      • Will all users created in XO be removed?
      • Will it erase all ACLs assigned to each user?
      • Will it erase all self-service configurations?
      • If we restart XO and reconfigure the pools, will it change the UUIDs of pools, hosts, or servers?
      • Will existing VMs and their configurations remain intact, or will they need to be re-imported?
      • Will the connection to XCP-ng hosts be lost, requiring manual reconfiguration?
      • Does XO store any persistent data that needs to be backed up to prevent loss?
      • If XO is restored from a backup, will it automatically reconnect to the existing XCP-ng infrastructure?
      • How can we ensure high availability for XO to prevent disruptions?
      posted in Xen Orchestra
      I
      irtaza9
    • RE: VM Console Access

      @nathanael-h I got more information as I am still observing few things regarding the console. I got to know that there is no authentication at all on console level and on per user basis.

      My test use case

      Vm -> Ubuntu

      vm:5173 -> custom app
      vm:3000 -> custom api server

      vm:ngnix:80/443

      • rncp.nayatel.com -> localhost:5173
      • rncpbe.nayatel.com -> localhost:3000

      My XOA is running on xenorchestra1.nayatel.com which is on private network and my vm is allow in the route so I can connect to it. Now my custom work and XOA is on the same domain with same SSL certs. Now When I go to my rncp.nayatel.com and place any VM ID in the query param then the console for my VM is accessible on my custom web app and my this app is calling an api to rncpbe.nayatel.com for authentication only and returns the wss url to my frontend app and then my frontend app uses that url and create the socket on noVNC and console gets accessed.

      From this It is my conclusion that XOA do not perform authentication on console access it only checks the cross-domain and it also do not need token in cookies for console authentication.

      58091d92-7099-4e9e-8054-d5afb8f95596-image.png

      9e0af28d-9f2b-4acb-bafe-c3b64cbc3470-image.png

      b0e782c5-0760-46ac-8e8d-18893fc2ab65-image.png

      4e2d55b7-4818-4ad3-acf0-0057adf89346-image.png

      posted in REST API
      I
      irtaza9