XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Gheppy
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 152
    • Best 17
    • Controversial 0
    • Groups 0

    Gheppy

    @Gheppy

    27
    Reputation
    8
    Profile views
    152
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Romania Age 43

    Gheppy Unfollow Follow

    Best posts made by Gheppy

    • RE: Continuous Replication on a large VM

      Hello,
      I have windows 2008R2 with SQL 2008R2 and a database of 4.3Tb, I use CR successfully (for 2+ years now), I do the transfer on a LAN link in http mode.

      For a transfer on a 1G LAN, you will have a transfer time of 60-72 hours. You must set in XCP-ng the time to kill the task for 72 hours minimum, in /etc/xapi.conf line 306 set: pending_task_timeout = 259200 # 3 days in seconds.

      For a transfer on a 10Gb LAN you will have a transfer of 7-14 hours.
      I don't use snapshot with memory but the recovery was ok, I had an event.

      posted in Xen Orchestra
      G
      Gheppy
    • Full backup interval with current step

      Can you put an extra message at the Full backup interval, which will display what step it is until the next Full backup.
      For example, as in the photo below, the first is the current one and the second is the desired one.

      original one
      ea03dc72-50ca-4ff9-8ae5-06121e9f707a-image.png

      with the desired modification
      de4e8b5e-0723-45f9-b845-676f4473cd97-image.png

      Thank you

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Not seeing tasks any more (as admin)

      For me is ok with fixTasks branch

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Restore Delta Backup with Full Backup created afterwards

      Backup Delta always refers to the last Full Backup. So the ones before the Full Backup can no longer be restored on a backup made after them

      posted in Xen Orchestra
      G
      Gheppy
    • RE: A "socket" was not created for HTTP request before 300000ms

      It is working for me to, thank you

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Backups never finish

      Fallow the steps from here
      https://xcp-ng.org/forum/topic/6940/xo-task-watcher-issue-cr-broken/40?_=1676708514974

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Error importing vhd or VM

      @julien-f said in Error importing vhd or VM:

      [http.listenOptions]
      requestTimeout = 0

      With this setting, it works in both directions - import and export. I am on commit 817911a41eecdb3cc8a72db5f290ddacdd4f9873

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Error importing vhd or VM

      I didn't have time to test it, I will test it tomorrow

      Edit:
      I couldn't resist and I tested. Commit 817911a41eecdb3cc8a72db5f290ddacdd4f9873
      VHD and XVA export is ok now.
      But the import doesn't work, at XVA the log is below,
      at VHD it's just this:

      Import
      NetworkError when attempting to fetch resource.

      XVA

      HTTP handler of vm.import
      undefined
      {
        "canceled": false,
        "method": "PUT",
        "url": "https://192.168.50.15/import/?sr_id=OpaqueRef%3A1b216555-dd05-4896-adff-97500b08d71d&session_id=OpaqueRef%3Accd20125-ca72-4a69-9414-9386774034c6&task_id=OpaqueRef%3A95850c5c-1a3d-4ae8-8d6e-c4b931fb6c2d",
        "timeout": false,
        "pool_master": {
          "uuid": "3761cfe9-d13f-400c-ac0b-79c749ddcea3",
          "name_label": "tb-vrs5",
          "name_description": "Default install",
          "memory_overhead": 1170796544,
          "allowed_operations": [
            "vm_migrate",
            "provision",
            "vm_resume",
            "evacuate",
            "vm_start"
          ],
          "current_operations": {},
          "API_version_major": 2,
          "API_version_minor": 16,
          "API_version_vendor": "XenSource",
          "API_version_vendor_implementation": {},
          "enabled": true,
          "software_version": {
            "product_version": "8.2.1",
            "product_version_text": "8.2",
            "product_version_text_short": "8.2",
            "platform_name": "XCP",
            "platform_version": "3.2.1",
            "product_brand": "XCP-ng",
            "build_number": "release/yangtze/master/58",
            "hostname": "localhost",
            "date": "2022-10-12",
            "dbv": "0.0.1",
            "xapi": "1.20",
            "xen": "4.13.4-9.28.1",
            "linux": "4.19.0+1",
            "xencenter_min": "2.16",
            "xencenter_max": "2.16",
            "network_backend": "openvswitch",
            "db_schema": "5.602"
          },
          "other_config": {
            "agent_start_time": "1675360550.",
            "boot_time": "1675235216.",
            "rpm_patch_installation_time": "1675234725.363",
            "iscsi_iqn": ""
          },
          "capabilities": [
            "xen-3.0-x86_64",
            "hvm-3.0-x86_32",
            "hvm-3.0-x86_32p",
            "hvm-3.0-x86_64",
            ""
          ],
          "cpu_configuration": {},
          "sched_policy": "credit",
          "supported_bootloaders": [
            "pygrub",
            "eliloader"
          ],
          "resident_VMs": [
            "OpaqueRef:18c56110-e1c1-425e-ada1-ac18153e3f5a",
            "OpaqueRef:ea3e623a-944f-4897-a80d-24e22eefe137",
            "OpaqueRef:c11aa056-f3a8-4fef-86be-a55b57215e2b",
            "OpaqueRef:b194d179-a0dc-449f-a55e-0032667f64ae",
            "OpaqueRef:8d927989-7ed7-4e95-b3ed-1f3d6601cc4e",
            "OpaqueRef:40eef76b-9536-4bed-b929-d219a2464f59"
          ],
          "logging": {},
          "PIFs": [
            "OpaqueRef:f55c4134-956b-417c-84e9-6c6c8ed8d1e7",
            "OpaqueRef:e43992a1-a4d0-4026-b827-f34013d0cd97",
            "OpaqueRef:ddd96672-8135-41e1-97ad-70a6bab87921",
            "OpaqueRef:7294bdb2-7ea9-4afe-a27c-10d25cb498d9",
            "OpaqueRef:39d7caf1-b53f-4f07-b876-00fdecd7287c"
          ],
          "suspend_image_sr": "OpaqueRef:5b74a9c8-494d-43a9-b4b8-9ddbc992b6f8",
          "crash_dump_sr": "OpaqueRef:5b74a9c8-494d-43a9-b4b8-9ddbc992b6f8",
          "crashdumps": [],
          "patches": [],
          "updates": [],
          "PBDs": [
            "OpaqueRef:e5e5918b-9fdc-4931-8b3a-7ce4f08f4c29",
            "OpaqueRef:81cf9cc0-688a-44c2-aec1-664e4fe77ab7",
            "OpaqueRef:5d84ab54-fbf8-4479-9c21-76283b7e388c",
            "OpaqueRef:44bc052f-7af8-40a7-b60b-eebc415cdf61",
            "OpaqueRef:2b01472b-dbe3-4b00-844d-f06111eb0e07",
            "OpaqueRef:0db30152-229c-45f0-81c9-966c81cbe0f2"
          ],
          "host_CPUs": [
            "OpaqueRef:707e527f-d2ea-4d5e-99cf-660acfdae26d",
            "OpaqueRef:a7f5b11f-aa52-4d98-a143-90ca164aa8a1",
            "OpaqueRef:b172ae9f-7ff6-4296-8ccb-bc75df962a87",
            "OpaqueRef:2069ecf8-c0d6-49c5-86b8-4f3dcf2a3e21",
            "OpaqueRef:8ed522bc-019c-466f-bff0-740bb71cb690",
            "OpaqueRef:fa402000-ecd8-43ad-88e7-7a1cfe714549",
            "OpaqueRef:d4efcdad-1b16-4965-b911-9b59aa2f4e3a",
            "OpaqueRef:3820e862-ad6a-421b-a440-0fdb34596297",
            "OpaqueRef:724c603c-dcfe-4364-9032-44ee0805601e",
            "OpaqueRef:12cad0c2-cbf0-4458-a63a-100fbe627214",
            "OpaqueRef:71d1ef1c-9acd-4941-8ce6-d05478494173",
            "OpaqueRef:1c11959a-fa41-4eb2-bcba-ea4ef231d5e5",
            "OpaqueRef:f9ac766e-542a-4d4d-b755-7e97f7d1141e",
            "OpaqueRef:d99b5d55-d953-4807-9daa-164c61fba58b",
            "OpaqueRef:64a5bb52-0086-4e61-b70b-3e8fb3798318",
            "OpaqueRef:50cdb2c8-4d9d-4064-b23d-6e5776e55009",
            "OpaqueRef:45f45e26-5586-417f-beba-64e0e6f35232",
            "OpaqueRef:331f85f6-d60a-4a85-b0e2-7bbd93b52045",
            "OpaqueRef:279bf7d9-8379-43c3-975e-6e4561038862",
            "OpaqueRef:28608bc2-9483-4ee9-ae6c-1bf62aeb034b",
            "OpaqueRef:aa918c64-5718-4be2-bba3-086584f0bc73",
            "OpaqueRef:e14ffa7b-89c3-4f2f-a8c3-d746d7cac735",
            "OpaqueRef:ccf57b68-a7cd-45d5-acbb-fd5503ef10f6",
            "OpaqueRef:efc70933-6b6d-45b3-8154-c07e4d0127c8"
          ],
          "cpu_info": {
            "cpu_count": "24",
            "socket_count": "2",
            "vendor": "GenuineIntel",
            "speed": "2399.945",
            "modelname": "Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz",
            "family": "6",
            "model": "63",
            "stepping": "2",
            "flags": "fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid pni pclmulqdq monitor est ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault intel_ppin ssbd ibrs ibpb stibp fsgsbase bmi1 avx2 bmi2 erms xsaveopt",
            "features_pv": "1fc9cbf5-f6f83203-2991cbf5-00000023-00000001-00000329-00000000-00000000-00001000-8c000400-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_hvm": "1fcbfbff-f7fa3223-2d93fbff-00000423-00000001-000007ab-00000000-00000000-00001000-9c000400-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_hvm_host": "1fcbfbff-f7fa3223-2c100800-00000021-00000001-000007ab-00000000-00000000-00001000-9c000400-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000",
            "features_pv_host": "1fc9cbf5-f6f83203-28100800-00000021-00000001-00000329-00000000-00000000-00001000-8c000400-00000000-00000000-00000000-00000000-00000000-00000000-00000000-00000000"
          },
          "hostname": "tb-vrs5",
          "address": "10.1.60.23",
          "metrics": "OpaqueRef:abfd9105-b98f-4f3e-a25d-f0ed6d2362f0",
          "license_params": {
            "restrict_vswitch_controller": "false",
            "restrict_lab": "false",
            "restrict_stage": "false",
            "restrict_storagelink": "false",
            "restrict_storagelink_site_recovery": "false",
            "restrict_web_selfservice": "false",
            "restrict_web_selfservice_manager": "false",
            "restrict_hotfix_apply": "false",
            "restrict_export_resource_data": "false",
            "restrict_read_caching": "false",
            "restrict_cifs": "false",
            "restrict_health_check": "false",
            "restrict_xcm": "false",
            "restrict_vm_memory_introspection": "false",
            "restrict_batch_hotfix_apply": "false",
            "restrict_management_on_vlan": "false",
            "restrict_ws_proxy": "false",
            "restrict_vlan": "false",
            "restrict_qos": "false",
            "restrict_pool_attached_storage": "false",
            "restrict_netapp": "false",
            "restrict_equalogic": "false",
            "restrict_pooling": "false",
            "enable_xha": "true",
            "restrict_marathon": "false",
            "restrict_email_alerting": "false",
            "restrict_historical_performance": "false",
            "restrict_wlb": "false",
            "restrict_rbac": "false",
            "restrict_dmc": "false",
            "restrict_checkpoint": "false",
            "restrict_cpu_masking": "false",
            "restrict_connection": "false",
            "platform_filter": "false",
            "regular_nag_dialog": "false",
            "restrict_vmpr": "false",
            "restrict_vmss": "false",
            "restrict_intellicache": "false",
            "restrict_gpu": "false",
            "restrict_dr": "false",
            "restrict_vif_locking": "false",
            "restrict_storage_xen_motion": "false",
            "restrict_vgpu": "false",
            "restrict_integrated_gpu_passthrough": "false",
            "restrict_vss": "false",
            "restrict_guest_agent_auto_update": "false",
            "restrict_pci_device_for_auto_update": "false",
            "restrict_xen_motion": "false",
            "restrict_guest_ip_setting": "false",
            "restrict_ad": "false",
            "restrict_nested_virt": "false",
            "restrict_live_patching": "false",
            "restrict_set_vcpus_number_live": "false",
            "restrict_pvs_proxy": "false",
            "restrict_igmp_snooping": "false",
            "restrict_rpu": "false",
            "restrict_pool_size": "false",
            "restrict_cbt": "false",
            "restrict_usb_passthrough": "false",
            "restrict_network_sriov": "false",
            "restrict_corosync": "true",
            "restrict_zstd_export": "false",
            "restrict_pool_secret_rotation": "false"
          },
          "ha_statefiles": [],
          "ha_network_peers": [],
          "blobs": {},
          "tags": [],
          "external_auth_type": "",
          "external_auth_service_name": "",
          "external_auth_configuration": {},
          "edition": "xcp-ng",
          "license_server": {
            "address": "localhost",
            "port": "27000"
          },
          "bios_strings": {
            "bios-vendor": "LENOVO",
            "bios-version": "-[-3.70]-",
            "system-manufacturer": "LENOVO",
            "system-product-name": "System x3650 M5: -[]-",
            "system-version": "11",
            "system-serial-number": "",
            "baseboard-manufacturer": "LENOVO",
            "baseboard-product-name": "",
            "baseboard-version": "NULL",
            "baseboard-serial-number": "",
            "oem-1": "Xen",
            "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
            "oem-3": "LENOVO SystemX",
            "hp-rombios": ""
          },
          "power_on_mode": "",
          "power_on_config": {},
          "local_cache_sr": "OpaqueRef:5b74a9c8-494d-43a9-b4b8-9ddbc992b6f8",
          "chipset_info": {
            "iommu": "true"
          },
          "PCIs": [
            "OpaqueRef:e061855f-c434-44af-b3e5-96b9c734655b",
            "OpaqueRef:84f7e49c-0739-4e24-953a-218ba4a1c712",
            "OpaqueRef:792bb0aa-83a3-4c66-a608-b287266900e5",
            "OpaqueRef:76bdb3de-61f2-42aa-a80d-608ed487d5a3",
            "OpaqueRef:4f033009-b938-4886-929b-576e6b442028",
            "OpaqueRef:261a4a88-33b1-4ca7-be27-4db4044e89ba"
          ],
          "PGPUs": [
            "OpaqueRef:2bb134ac-3b00-4a56-b5d1-051b97c59f4b"
          ],
          "PUSBs": [],
          "ssl_legacy": false,
          "guest_VCPUs_params": {},
          "display": "enabled",
          "virtual_hardware_platform_versions": [
            0,
            1,
            2
          ],
          "control_domain": "OpaqueRef:c11aa056-f3a8-4fef-86be-a55b57215e2b",
          "updates_requiring_reboot": [],
          "features": [],
          "iscsi_iqn": "",
          "multipathing": false,
          "uefi_certificates": "",
          "certificates": [],
          "editions": [
            "xcp-ng"
          ]
        },
        "SR": {
          "uuid": "9320bdd2-9be6-d9b1-1e3b-d060177fc413",
          "name_label": "tb-vrs5-RAID",
          "name_description": "tb-vrs5-RAID",
          "allowed_operations": [
            "vdi_enable_cbt",
            "vdi_list_changed_blocks",
            "unplug",
            "plug",
            "pbd_create",
            "vdi_disable_cbt",
            "update",
            "pbd_destroy",
            "vdi_resize",
            "vdi_clone",
            "vdi_data_destroy",
            "scan",
            "vdi_snapshot",
            "vdi_mirror",
            "vdi_create",
            "vdi_destroy",
            "vdi_set_on_boot"
          ],
          "current_operations": {},
          "VDIs": [
            "OpaqueRef:f72dfdd7-d6af-4976-8e04-18f8f6f08900",
            "OpaqueRef:ccf8458a-d5be-4163-8e08-c50d27bdcaa5",
            "OpaqueRef:b458e649-f043-41a3-adcb-c9dd177145a9",
            "OpaqueRef:a4c0db8c-f0dd-41df-be23-9aacfdb16039",
            "OpaqueRef:6986f5bb-7d97-41e4-b945-63cecde195c3",
            "OpaqueRef:55a2cd20-15b9-4cf2-95d1-f8acd7449b85",
            "OpaqueRef:204e518b-cf86-44f2-9fe9-32bddda5dd2a",
            "OpaqueRef:1184bcae-05f8-40f4-84d2-312d711f15a5"
          ],
          "PBDs": [
            "OpaqueRef:0db30152-229c-45f0-81c9-966c81cbe0f2"
          ],
          "virtual_allocation": 440234147840,
          "physical_utilisation": 67782881280,
          "physical_size": 3531525472256,
          "type": "ext",
          "content_type": "user",
          "shared": false,
          "other_config": {
            "auto-scan": "true"
          },
          "tags": [],
          "sm_config": {
            "devserial": "scsi-3600605b00b82f0702a85425815de59da"
          },
          "blobs": {},
          "local_cache_enabled": false,
          "introduced_by": "OpaqueRef:NULL",
          "clustered": false,
          "is_tools_sr": false
        },
        "message": "HTTP connection abruptly closed",
        "name": "Error",
        "stack": "Error: HTTP connection abruptly closed
          at IncomingMessage.emitAbortedError (/opt/xen-orchestra/node_modules/http-request-plus/index.js:83:19)
          at Object.onceWrapper (node:events:627:28)
          at IncomingMessage.emit (node:events:513:28)
          at IncomingMessage.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:52:17)
          at IncomingMessage._destroy (node:_http_incoming:224:10)
          at _destroy (node:internal/streams/destroy:109:10)
          at IncomingMessage.destroy (node:internal/streams/destroy:71:5)
          at TLSSocket.socketCloseListener (node:_http_client:462:11)
          at TLSSocket.emit (node:events:525:35)
          at TLSSocket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:52:17)
          at node:net:322:12
          at TCP.done (node:_tls_wrap:588:7)
          at TCP.callbackTrampoline (node:internal/async_hooks:130:17)"
      }
      
      posted in Xen Orchestra
      G
      Gheppy
    • RE: Error importing vhd or VM

      import is ok
      9db9f4be-a970-4e89-b800-8ff6353c534b-image.png

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Need help creating single disk partition for Ubuntu 22.04 cloud image

      this is an EFI boot for 50Gb hdd

      1. EFI
        4f20baf8-a3f2-462c-a8f5-498904715a0f-image.png

      2. root
        bac5601d-35c8-4576-a30e-5f8c3f1724f9-image.png

      3. swap
        9ee6491c-1844-4670-95b4-58f3fda1b52f-image.png

      final
      0f180384-93f7-48b1-b9bc-2f1e77e71d07-image.png

      posted in Xen Orchestra
      G
      Gheppy

    Latest posts made by Gheppy

    • error when modifying backup metadata

      XOCE commit d7da83359f007236784f2644213b288e24759823

      I can't modify a Pool metadata backup, I get the error below.
      I can create it without problems, but I can no longer modify it.

      schedule.set
      {
        "id": "b7bbc539-36a2-469b-9dd7-ee521a5a7dc0",
        "cron": "0 1 1,15 * *",
        "enabled": true,
        "name": "",
        "timezone": "Europe/Bucharest"
      }
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "instancePath": "/name",
              "schemaPath": "#/properties/name/minLength",
              "keyword": "minLength",
              "params": {
                "limit": 1
              },
              "message": "must NOT have fewer than 1 characters"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Module.invalidParameters (/opt/xen-orchestra/packages/xo-common/api-errors.js:26:11)
          at Xo.call (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:65:20)
          at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:397:19)"
      }
      
      posted in Xen Orchestra
      G
      Gheppy
    • RE: Continuous Replication on a large VM

      Hello,
      I have windows 2008R2 with SQL 2008R2 and a database of 4.3Tb, I use CR successfully (for 2+ years now), I do the transfer on a LAN link in http mode.

      For a transfer on a 1G LAN, you will have a transfer time of 60-72 hours. You must set in XCP-ng the time to kill the task for 72 hours minimum, in /etc/xapi.conf line 306 set: pending_task_timeout = 259200 # 3 days in seconds.

      For a transfer on a 10Gb LAN you will have a transfer of 7-14 hours.
      I don't use snapshot with memory but the recovery was ok, I had an event.

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Restore Delta Backup with Full Backup created afterwards

      Backup Delta always refers to the last Full Backup. So the ones before the Full Backup can no longer be restored on a backup made after them

      posted in Xen Orchestra
      G
      Gheppy
    • RE: SR space occupied by backup snapshots

      @manilx
      I chose ext4, precisely so as not to waste unnecessary space

      posted in Xen Orchestra
      G
      Gheppy
    • RE: SR space occupied by backup snapshots

      base copy it's the reference, it's that vdi that contains all the information before snopshoot.
      If you use the LVM format it is normal to be like this, if you use the ext4 (vhd) format it will only be the difference.
      Because you don't have space, use the ext4 format for SR

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Backup with local usb hdd attached - SR_OPERATION_NOT_SUPPORTED

      I tested the same thing with XCP-ng 8.3, it seems to work. I can't wait for it to be ready for production. The first impression is very good.

      posted in Xen Orchestra
      G
      Gheppy
    • RE: Backup with local usb hdd attached - SR_OPERATION_NOT_SUPPORTED

      @olivierlambert
      Ok, thank you

      posted in Xen Orchestra
      G
      Gheppy
    • Backup with local usb hdd attached - SR_OPERATION_NOT_SUPPORTED

      I have a virtual machine with the following configuration: sda - with OS, sdb - with data and sdc - hdd usb attach. As in the photo below.

      1999e562-409c-4e61-9c79-94540aee0dba-image.png

      And I want to make a backup only to sda and I receive the era below. How to configure the backup so that I don't have this error?

      78da5b59-4b9a-44c3-9b5e-64920534c8f6-image.png

      posted in Xen Orchestra
      G
      Gheppy
    • RE: A "socket" was not created for HTTP request before 300000ms

      It is working for me to, thank you

      posted in Xen Orchestra
      G
      Gheppy
    • RE: A "socket" was not created for HTTP request before 300000ms

      @arsenieciprian.
      For me all backups are working now, except that one. And that I split it into 2 simple backups

      posted in Xen Orchestra
      G
      Gheppy