Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    330 Topics
    2k Posts
    M
    @olivierlambert Thanks, I have tried using xe-reset-networking and the emergency network reset function in the UI of XCP-NG and neither seem to work to reset the management Interface, after rebooting they still have no interfaces at all (which happened when the failed uplink bond was created). I will probably need to wipe and re-install to get traction again. Also I am confused with the MTU. The servers we are using are configured (using a server profile template) that we also use with vMware, and the uplinks on those are all MTU 9000 both in the VNIC templates (ie hardware side) and in the distributed vSwitches in vCenter (equivalent of bonded interfaces in XO?) If their was a problem with MTU, I would have though they would not work either. I will keep at it, thanks for the help.
  • ACLs, Self-service, Cloud-init, Load balancing...

    84 Topics
    707 Posts
    CyrilleC
    @ferrao Yes it is. At the end the task disappears unless there is an error / failure.
  • All XO backup features: full and incremental, replication, mirrors...

    337 Topics
    3k Posts
    olivierlambertO
    Thanks for your feedback, we'll discuss internally if there's any other possible approach (and I'm not sure).
  • Everything related to Xen Orchestra's REST API

    61 Topics
    476 Posts
    S
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Terraform, Packer or any tool to do IaC

    30 Topics
    279 Posts
    nathanael-hN
    Hello, I suggest you look also for Packer to build ready to use VM templates, with cloud-init, guest tools, and the softwares you'd need. There's a blog post for this https://xcp-ng.org/blog/2024/02/22/using-packer-with-xcp-ng/.
  • Shared SR (two pools)

    7
    0 Votes
    7 Posts
    958 Views
    J
    @olivierlambert Okay. I'll give it a shot.
  • Creating NFS remote trouble

    1
    0 Votes
    1 Posts
    145 Views
    No one has replied
  • XenOrchestra with Terraform

    4
    0 Votes
    4 Posts
    680 Views
    D
    @ddelnano Sorry to drag this up and also no OP, but I'm just looking at how to set a static RAM allocation via terraform too so this would be relevant to me. Here's a snippet of code, it's using a generic Ubuntu 22.04 LTS cloud image template which has 1GB ram by default, in the code I set the memory to 4GB, which works but uses Dynamic rather than static resource "xenorchestra_vm" "bar" { name_label = "TerraformCreatedMe" name_description = "Terraform Managed" template = data.xenorchestra_template.ubuntu22.id memory_max = 4294967296 cpus = 4 destroy_cloud_config_vdi_after_boot = true hvm_boot_firmware = "uefi" From the hypervisor side the VM looks like this: memory-static-max ( RW): 4294967296 memory-dynamic-max ( RW): 4294967296 memory-dynamic-min ( RW): 1073741824 memory-static-min ( RW): 1073741824 So to me it looks like memory_max in terraform changes just memory-static-max and memory-dynamic-max which leaves the VM with dynamic memory control. I want the behaviour to be, when I create a new VM or change the RAM allocation for the VM to have static RAM not dynamic. I hope this is possible.
  • VM_BAD_POWER_STATE

    13
    0 Votes
    13 Posts
    937 Views
    nick.lloydN
    @jmm Can you check to see if the health check is turned off? In your backup config, it'll be in the schedule just under the "Replication Retention" section. I've found that you can leave it on, but it will "fail" (despite the recovery working fine, unchecking it will get rid of the error on subsequent backups).
  • Shared Storage Redundancy Testing

    13
    0 Votes
    13 Posts
    662 Views
    olivierlambertO
    You can lazy umount a failed network share, then PBD unplug will work.
  • The emulator required to run this VM failed to start..?

    11
    0 Votes
    11 Posts
    8k Views
    J
    Check your disk space on the server. in my case no diskspace left...
  • Can't Enable High Availability Feature

    Solved
    9
    0 Votes
    9 Posts
    536 Views
    D
    @olivierlambert Thanks! With HBA SR the HA feature is on for now
  • XOA quick deploy on 8.3 beta 2?

    Solved xoa 8.3 beta2
    4
    0 Votes
    4 Posts
    343 Views
    F
    Just tried it again...it's all good now!
  • Quick Deploy does not list storage options

    Solved xcp-ng xoa quick deploy
    11
    1
    0 Votes
    11 Posts
    5k Views
    SenekenS
    @olivierlambert : Thank you very much for this information. I really happy with xcp-ng!
  • Can't create bond on pool. Error: You do not have permissions

    Solved
    15
    1
    0 Votes
    15 Posts
    680 Views
    L
    Thank you @Danp , that suggestion worked! For anyone seeing this in the future, I just bond the nics on the master before adding the rest of the hosts to the pool.
  • Monitoring Xen Orchestra with Icinga2

    2
    0 Votes
    2 Posts
    374 Views
    J
    @fesch said in Monitoring Xen Orchestra with Icinga2: Hello XOA Community, We are in the process of migrating from VMware to XCP-NG with XOA. We are using Icinga2 as an unster infrastructure monitoring tool and would like to monitor the XOA and the hosts with Icinga2 as well. Does anyone know a good check plugin for Icinga or another good solution to monitor an XCP-NG cluster via Icinga/Nagios? Unfortunately, my searches on the web have not yielded any particularly good results. I am thankful for any hint. Best regards Felix @fesch There's in Xen Orchestra a plugin called "transport-icinga2" so if your got a high enough edition of Xen Orchestra (depending on Vate's bundle) subscription. So if you have this plugin in Xen Orchestra and configure it with the following:- Server (as a http or https url) Username Password Filter to use You may depending on whether your using valid cross signed certificates or not you may need to configure "allow unauthorised certificates". After configuring the plugin then enable it to start monitoring Xen Orchestra and through it the XCP-ng hosts being managed!
  • How to determine if VM is a fast clone i XO/A?

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    Hi, I answered in the GH issue. Please don't try to duplicate requests on multiple places.
  • Problem with importing large VMDK disks

    Solved
    12
    6
    0 Votes
    12 Posts
    1k Views
    abudefA
    To conclude this: @florent and I discussed the issue in a private conversation. I provided the vmdk file that was causing the problem. It turned out that the problem was caused by the vmdk thin file from VMware Workstation Pro, which has a slightly different structure than the vmdk files on ESXi hypervisors. Currently XO imports these files fine and the problem can be considered solved. Thank you very much @florent for your cooperation and help.
  • XO - enable PCI devices for pass-through - should it work already or not yet?

    Solved
    15
    1
    0 Votes
    15 Posts
    913 Views
    abudefA
    That's exactly it, thank you [image: 1717165046697-1533660b-c0eb-45b1-b81c-ae50d03a4f36-image.png]
  • Update release channels

    Solved
    3
    0 Votes
    3 Posts
    268 Views
    F
    @olivierlambert Perfect, thank you
  • Vmware migration to XCP-NG no longer works

    Solved
    18
    0 Votes
    18 Posts
    1k Views
    K
    @olivierlambert Sorry, I will tell it clearly next time.
  • 2 Votes
    2 Posts
    235 Views
    olivierlambertO
    Pinging @florent about this
  • NDB Connection

    3
    1
    0 Votes
    3 Posts
    282 Views
    H
    @Andrew, Thank you for the reply.
  • Live Migration in XO Fails

    6
    0 Votes
    6 Posts
    432 Views
    O
    @omatsei I found the following error on the source host, if it helps. I rebooted it and restarted iscsid on both the source and destination hosts, just to make sure nothing was pending or hung. May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] SR.scan D:9f4f3c05cc88 failed with exception Storage_error ([S(Redirect);[S(192.168.1.201)]]) May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] Raised Storage_error ([S(Redirect);[S(192.168.1.201)]]) May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] 1/1 xapi Raised at file (Thread 2507 has no backtrace table. Was with_backtraces called?, line 0 May 28 10:15:32 xcp09 xapi: [error||2507 ||backtrace] May 28 10:15:32 xcp09 xapi: [error||2507 ||storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 436, characters 51-58) May 28 10:15:32 xcp09 xapi: [error||2506 HTTP 127.0.0.1->:::80|Querying services D:6b15aa4c5bcd|storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 431, characters 49-56) May 28 10:15:32 xcp09 xapi: [error||2506 HTTP 127.0.0.1->:::80|Querying services D:6b15aa4c5bcd|storage_interface] Storage_error ([S(Redirect);[S(192.168.1.201)]]) (File "storage/storage_interface.ml", line 436, characters 51-58) Note that 192.168.1.201 is the pool master. I ended up rebooting the pool master after manually migrating VM's off it, and it seems to have fixed the issue. No idea why, but whatever.
  • Template visibility on multiple pools

    5
    0 Votes
    5 Posts
    328 Views
    olivierlambertO
    https://github.com/vatesfr/xen-orchestra/issues/7690 olivierlambert created this issue in vatesfr/xen-orchestra open Custom template replication between pools #7690