@olivierlambert Yes, Vates is on another level of professionalism. Wow
Best posts made by irtaza9
-
RE: Hosts vs. Pools - Information Required
-
RE: DevOps Megathread: what you need and how we can help!
@olivierlambert wow, We'll surely ask many things in this thread. Thank you.
-
RE: VM Console Access
this is my code to test console for vms but I am not able to access it. Actually I have to access the console but I do not know how do auth for this.
-
RE: User specific data
you saved my life bro, thank you so much. I got the right way.
Latest posts made by irtaza9
-
resourceSet issues
I created a
resourceSet
and set the maximum RAM to4 GiB
. Then, I created a VM within thisresourceSet
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 theresourceSet
, XO allowed me to do so. Upon checking the VM console again, it reflected the new RAM allocation. This leads me to believe that theresourceSet
is not enforcing the defined limit.ss:
After Increament:
-
host connection error
I am getting the red error and when I check the error it shows nothing.
-
RE: VM Console Access
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?
-
RE: XO High Availability
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?
-
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)" }
-
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)
How the syncing will behave between
n
instances of XO's? assume one request is served byxo1
will this change be visible toxo2
? vice versa. -
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?
-
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 servervm: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 myrncp.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 torncpbe.nayatel.com
for authentication only and returns thewss
url to my frontend app and then my frontend app uses thaturl
and create the socket onnoVNC
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.