@olivierlambert Sorry for the late answer.
I think version is 5.94 (from source)
In about menu I only have "Xen Orchestra,commit 68219"
Posts made by jmm
-
RE: VM_BAD_POWER_STATE
-
RE: VM_BAD_POWER_STATE
@Danp
Yes it was a mistake, I did a full backup, snapshot with ram
thank's -
RE: VM_BAD_POWER_STATE
@olivierlambert
Hi olivier,
Sorry for this question, but where can I find the XO version ?
I'm testing orchestra from source, installed from fresh ubuntu 20 and jarl01 install and updater script.Thanks
-
RE: VM_BAD_POWER_STATE
@Danp
Hi dan,
Yes i find it in settings / logs
this vm was imported from vmware with orchestra's tool, all went fine.
I've done three tests : all 3 backups ended succesfully
1-delta backup, snapshot with ram
Restore don't even start, error message
2-full backup,snapshot without ram
Restore ok but at the end vm is in halted state, i think the vm should be in suspended state
I can start vm, not sure where the ram is gone
3-full backup, offline snapshot
Restore, boot okI didn't test with another, i'll do this test asap
thanks
-
RE: VM_BAD_POWER_STATE
Hi dan,
Here is the message from ui
{"code":"VM_BAD_POWER_STATE","params":["OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f","halted","suspended"],"call":{"method":"VM.create","params":[{"actions_after_crash":"restart","actions_after_reboot":"restart","actions_after_shutdown":"destroy","affinity":"OpaqueRef:NULL","HVM_boot_params":{"firmware":"uefi","order":"cdn"},"HVM_boot_policy":"BIOS order","is_a_template":false,"memory_dynamic_max":25769803776,"memory_dynamic_min":25769803776,"memory_static_max":25769803776,"memory_static_min":25769803776,"other_config":{"mac_seed":"3c7339e7-ee0e-e574-f694-7dea837f45fc","vgpu_pci":"","base_template_name":"Other install media","install-methods":"cdrom"},"PCI_bus":"","platform":{"timeoffset":"0","device-model":"qemu-upstream-uefi","nx":"true","acpi":"1","apic":"true","pae":"true","hpet":"true","viridian":"true"},"PV_args":"","PV_bootloader_args":"","PV_bootloader":"","PV_kernel":"","PV_legacy_args":"","PV_ramdisk":"","recommendations":"<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"32\" /><restriction property=\"number-of-vbds\" max=\"255\" /><restriction property=\"number-of-vifs\" max=\"7\" /><restriction field=\"has-vendor-device\" value=\"false\" /></restrictions>","user_version":1,"VCPUs_at_startup":4,"VCPUs_max":4,"VCPUs_params":{"weight":"256"},"appliance":"OpaqueRef:NULL","blocked_operations":{"start":"Importingโฆ","start_on":"Importingโฆ"},"domain_type":"hvm","generation_id":"6391528241554766200:5274075896544882950","ha_restart_priority":"","hardware_platform_version":0,"has_vendor_device":false,"is_vmss_snapshot":false,"name_description":"from esxi","name_label":"[Importingโฆ] GBC-P-VT-ORA-24","NVRAM":{"EFI-variables":"VkFSUwEAAAAUAAAAAAAAAFkMAAAAAAAABgAAAAAAAABNAFQAQwAEAAAAAAAAAAgAAAARQHDrAhTTEY53AKDJaXI7BwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABIAAAAAAAAAQgBvAG8AdABPAHIAZABlAHIADAAAAAAAAAAEAAEABQACAAAAAwBh3+SLypPSEaoNAOCYAyuMBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAQgBvAG8AdAAwADAAMAAwAD4AAAAAAAAACQEAACwAVQBpAEEAcABwAAAABAcUAMm9uHzr+DRPquo+5K9lFqEEBhQAIaosRhR2A0WDboq29GYjMX//BABh3+SLypPSEaoNAOCYAyuMBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAVABpAG0AZQBvAHUAdAACAAAAAAAAAAAAYd/ki8qT0hGqDQDgmAMrjAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAEwAYQBuAGcABAAAAAAAAABlbmcAYd/ki8qT0hGqDQDgmAMrjAcAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAABCAG8AbwB0ADAAMAAwADUAagAAAAAAAAABAAAALgBVAEUARgBJACAATQBpAHMAYwAgAEQAZQB2AGkAYwBlACAAMgAAAAIBDADQQQMKAAAAAAEBBgAAAwEEGACQojw9pbnjEbdduKxvfWXmAQBAA3//BABOrAiBEZ9ZTYUO4hpSLFmyYd/ki8qT0hGqDQDgmAMrjAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},"order":0,"reference_label":"","shutdown_delay":0,"snapshot_schedule":"OpaqueRef:NULL","start_delay":0,"suspend_SR":"OpaqueRef:NULL","tags":[],"version":0,"xenstore_data":{"vm-data/mmio-hole-size":"268435456","vm-data":""},"last_boot_CPU_flags":{"vendor":"GenuineIntel","features":"1fcbfbff-f7fa3223-2c100800-00000121-0000000f-219c0fab-0240070c-00000000-00001000-bc000400-00000000-00000000-00000000-00000001-00000000-00000000-0c08e163-00000000-00000000-00000000-00000000-00000000"},"last_booted_record":"","power_state":"Suspended","suspend_VDI":"OpaqueRef:0526f889-ce21-4d01-a562-aeb3012726f4"}]},"message":"VM_BAD_POWER_STATE(OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f, halted, suspended)","name":"XapiError","stack":"XapiError: VM_BAD_POWER_STATE(OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f, halted, suspended)\n at Function.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)\n at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21"}
-
VM_BAD_POWER_STATE
Re: Restore Delta Backup with RAM
HI team,
I'm trying to restore a linux vm from a delta backup with ram.
Backup went fine but when i start restore, it stop immediatly with VM_BAD_POWER_STATE error message.
If I do a full backup "with ram" restore goes to then end but vm stay in halted state, is it a normal behavior ?I'm using orchestra from source and xcp-ng 8.2, both up to date.
thank's
JM
-
RE: XOSTOR hyperconvergence preview
@jmm Self answer :
linstor resource create xcp-hc3 xcp-persistent-database --drbd-diskless -
RE: XOSTOR hyperconvergence preview
Hi team,
I'm currently testing xostor on a three nodes xcp-8.2.1 pool
Before adding any new vm, i replaced a node (xcp-hc3)
Since everything seems to be ok, i've added two vms.
But I think that a diskless resource is missing for "xcp-persistent-database"
Is there a way to resolve this situation ?[10:23 xcp-hc1 ~]# linstor resource list
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ResourceName โ Node โ Port โ Usage โ Conns โ State โ CreatedOn โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโก
โ xcp-persistent-database โ xcp-hc1 โ 7000 โ InUse โ Ok โ UpToDate โ 2023-12-18 15:47:37 โ
โ xcp-persistent-database โ xcp-hc2 โ 7000 โ Unused โ Ok โ UpToDate โ 2023-12-18 15:47:37 โ
โ xcp-volume-17208381-56c0-4d8a-9c16-0a2000a45e56 โ xcp-hc1 โ 7004 โ Unused โ Ok โ UpToDate โ 2023-12-18 17:41:41 โ
โ xcp-volume-17208381-56c0-4d8a-9c16-0a2000a45e56 โ xcp-hc2 โ 7004 โ InUse โ Ok โ Diskless โ 2023-12-18 17:41:41 โ
โ xcp-volume-17208381-56c0-4d8a-9c16-0a2000a45e56 โ xcp-hc3 โ 7004 โ Unused โ Ok โ UpToDate โ 2023-12-18 17:41:42 โ
โ xcp-volume-94af3c03-91b4-46ea-bf51-d0c50a085e6b โ xcp-hc1 โ 7002 โ InUse โ Ok โ Diskless โ 2023-12-19 10:17:15 โ
โ xcp-volume-94af3c03-91b4-46ea-bf51-d0c50a085e6b โ xcp-hc2 โ 7002 โ Unused โ Ok โ UpToDate โ 2023-12-19 09:49:35 โ
โ xcp-volume-94af3c03-91b4-46ea-bf51-d0c50a085e6b โ xcp-hc3 โ 7002 โ Unused โ Ok โ UpToDate โ 2023-12-19 09:49:35 โ
โ xcp-volume-a395bb01-76a2-4e9a-a082-f18b3287afb2 โ xcp-hc1 โ 7005 โ Unused โ Ok โ Diskless โ 2023-12-19 10:17:16 โ
โ xcp-volume-a395bb01-76a2-4e9a-a082-f18b3287afb2 โ xcp-hc2 โ 7005 โ Unused โ Ok โ UpToDate โ 2023-12-19 09:49:45 โ
โ xcp-volume-a395bb01-76a2-4e9a-a082-f18b3287afb2 โ xcp-hc3 โ 7005 โ Unused โ Ok โ UpToDate โ 2023-12-19 09:49:45 โ -
RE: Can't restore individual files
@olivierlambert
Hi, for sure...
I'm currently changing my xenserver backup solution.
I'm testing xcp/xoa and other software
But for "small" customers with less than 8 sockets, 550$ a month is too expensive if I only want to use xoa as a backup solution.
Do you think there will be a per socket pricing in a near future ?
Thanks -
RE: Can't restore individual files
Issue resolved for me
On a fresh debian install:
as root
apt-get install sudo curl ntfs-3g
edit sudoers to add your useras <your user>
sudo bash
<password>
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash
<password> -
RE: Can't restore individual files
My backup storage is a local vdi attached to orchestra's vm
/dev/mapper/backup-lvol0 on /backups type ext4 (rw,relatime,data=ordered)
-
RE: Can't restore individual files
Hi @olivierlambert
Same problem with new ubuntu 18.04.3 LTS install.
Trying do do a file restore on a delta backup of a 2019 rds server, syslog shows :
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Version 2017.3.23 integrated FUSE 28
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Mounted /dev/loop2 (Read-Only, label "Donnรฉes", NTFS 3.1)
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Cmdline options: ro,norecovery
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Mount options: no,norecovery,allow_other,nonempty,relatime,fsname=/dev/loop2,blkdev,blksize=4096
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Ownership and permissions disabled, configuration type 7
Aug 28 06:14:27 xo2 ntfs-3g[15942]: Unmounting /dev/loop2 (Donnรฉes)GUI stuck :
Problem is the same with centos 7 vm
-
RE: Can't restore individual files
Thanks for the reply
Sorry but I need to be sure that we are talking about the same thing.
I am talking about building from sources.
If I follow the instructions provided here https://xen-orchestra.com/docs/from_the_sources.html
I can find : git clone -b master http://github.com/vatesfr/xen-orchestra
It seems to mean that we clone master branch
Should I replace master with stable or latest ? -
RE: Can't restore individual files
Hi olivier,
I have same problem.
What do you mean by stable branch.
In xo_install.sh it seems to be the master branch.
On https://github.com/vatesfr/xen-orchestra I can't find any stable or latest branch
Is there another repository were I can find xen-orchestra sources ?Thanks