XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. vahric 0
    3. Posts
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 33
    • Groups 0

    Posts

    Recent Best Controversial
    • K8s Things

      Hello ,

      Channel is latest and Current version: 5.95.0 - XOA build: 20240401

      I red but couldn't see some feature like extend k8s cluster , upgrade or something.

      I was expected that after creation k8s cluster it will appear under recipes and i will manage it.

      Also like Hub also K8s installed on Debian 11

      And LINBIT® released the Kubernetes CSI plugin for LINSTOR, then if we use XOSTOR K8s installation support this CSI ?

      Regards
      VM

      posted in Management
      V
      vahric 0
    • Hot add or not and DMC behaviours

      Hello ,

      We couldn't understand hot add feature for ram and vcpu.
      if we have 4 vcpu and if os support i can reduce and re-adjust it to 4 vcpu again but if i want 6 cpu then i couldn't, need restart.
      To have this feature run properly for our customers we will set max cpu and set min or like that to customer can increase it later ?

      Also dmc, we set max 64 but 32 gb min, server have 56 Gb free memory.
      When we started VM expected it consume 32 and if need more and place to grow increase but it allocate 53 gb of ram

      Thanks for help
      Regards
      VM

      posted in Compute
      V
      vahric 0
    • RE: Windows PV Driver

      @Danp Did you have different recommendation for 2019 ? Because also 2019 still used by our customers ....

      posted in Compute
      V
      vahric 0
    • Windows PV Driver

      Hi , We are installing windows 2022 and want to install management tool and pv drivers.
      Documentations said that XenServer or Xen-ng ones could be used ...
      When i check https://github.com/xcp-ng/win-pv-drivers/releases/tag/v8.2.2.200-RC1 its quite old ....
      When check XenServer web page https://www.xenserver.com/downloads its younger then Xen-ng ...
      XenServer VM Tools for Windows 9.3.2 --> November 27, 2023
      Which one is the best ?
      Xen-ng stop development agent for Windows ?

      Could you pls show the way ?

      Regards
      VM

      posted in Compute
      V
      vahric 0
    • RE: Some HA Questions Memory Error, Parallel Migrate, HA for all VMs,

      @nikade yes same, they are running on same broadcast domain

      posted in Management
      V
      vahric 0
    • RE: Some HA Questions Memory Error, Parallel Migrate, HA for all VMs,

      @nikade No storage migration , they are all sit in shared storage

      posted in Management
      V
      vahric 0
    • RE: What should i expect from VM migration performance from Xen-ng ?

      increasing memory of Dom0 did not effect ...
      increasing vCPU of Dom0 did not effect (actually not all vcpu already used for it but i just want to try )
      I run stress*ng for load vms memory but did not effect
      No pinning or numa config need because single cpu and shared L3 cache for all cores
      Also MTU size is not effecting its working same with 1500 and 9000 MTU
      I saw and change tcp_limit_output_bytes but did not help me

      Only what effect is changing the hardware
      My Intel servers are Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz --> 0.9 Gbit/s per migration
      My AMD servers are AMD EPYC 7502P 32-Core Processor --> 1.76 Gbit/s per migration

      Do you have any advise ?

      posted in Advanced features
      V
      vahric 0
    • RE: Some HA Questions Memory Error, Parallel Migrate, HA for all VMs,

      @nikade @tjkreidl
      increasing memory of Dom0 did not effect ...
      increasing vCPU of Dom0 did not effect (actually not all vcpu already used for it but i just want to try )
      I run stress*ng for load vms memory but did not effect
      No pinning or numa config need because single cpu and shared L3 cache for all cores
      Also MTU size is not effecting its working same with 1500 and 9000 MTU
      I saw and change tcp_limit_output_bytes but did not help me

      Only what effect is changing the hardware
      My Intel servers are Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz --> 0.9 Gbit/s per migration
      My AMD servers are AMD EPYC 7502P 32-Core Processor --> 1.76 Gbit/s per migration

      Do you have any advise ?

      posted in Management
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp No of course i can disable it , okay i will not struggle with it
      After disable HA , i could delete it , thanks

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp if this is the rule , what i can say.
      I will try one thing more because to create xostore step by step I shutdown servers and add disks after that i could delete the network

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      43a695a0-89ca-4534-ac4b-48016d3c6194-image.png

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      yeap , i did it again 😄

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp

      HA is enabled for the pool
      After first creation network via api , i can not deleye it from gui
      i did not tried delete vlan via api

      I will try to reproduce

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp No, vlans was created only for test no any vm is attached
      XO should not say to me this is used , you can not delete it ?
      why its generating HA_IS_ENABLED message ?

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp I was getting error like below but right now i can delete it ? How it could happen ?

      network.delete
      {
        "network": "7d1cd2b9-15a3-6aa5-20bf-ac22e8ad362f"
      }
      {
        "code": "HA_IS_ENABLED",
        "params": [],
        "task": {
          "uuid": "f8c23f0a-7525-c5b7-07e3-923d431acccc",
          "name_label": "Async.VLAN.destroy",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20240521T08:40:24Z",
          "finished": "20240521T08:40:24Z",
          "status": "failure",
          "resident_on": "OpaqueRef:c790d455-3678-4ae0-a02f-40a16bb0f394",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "HA_IS_ENABLED"
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
        "message": "HA_IS_ENABLED()",
        "name": "XapiError",
        "stack": "XapiError: HA_IS_ENABLED()
          at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)
          at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:11:29)
          at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1029:24)
          at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1063:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1053:12)
          at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1226:14)"
      }
      
      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp

      I used the ?debug and from console i got the json call , thats okay.

      6cf563c8-cd9b-4619-9fcf-9ac96d4c10d4-image.png

      Using @mbaron script , i get the methods and try to create network and looks like i could. Thank you very much

      import json
      import aiohttp
      import asyncio
      
      from jsonrpc_websocket import Server
      
      async def routine():
          async with aiohttp.ClientSession() as client:
              server = Server('ws://XO ip address/api/', client)
      
              await server.ws_connect()
      
              # No signIn required
              methodsInfoResult = await server.system.getMethodsInfo()
              print('\n'.join([str(e) for e in methodsInfoResult.keys()]))
      
              # signIn required
              result = await server.session.signIn(username='username', password='password') # email attribute is working in place of username
              result = await server.network.create (pif='8369d867-a6f8-61f2-8132-3b485c3b3a63',pool='dd74abdd-7dd9-e95b-a241-dbd5b12b3ae1',name='deneme3',vlan=2346)
              print('[')
              print(', \n'.join([str(json.dumps(e, indent=4)) for e in result.values()]))
              print(']')
      
      asyncio.get_event_loop().run_until_complete(routine())
      
      result = await server.network.create (pif='8369d867-a6f8-61f2-8132-3b485c3b3a63',pool='dd74abdd-7dd9-e95b-a241-dbd5b12b3ae1',name='deneme3',vlan=2346)
      

      11679d0f-1dc6-4e7b-93a9-514146f575d8-image.png

      I guess its will be perfect to move everything rest api and have well documentation.

      One thing, i can not delete created test network because of HA, is it normal ?

      Regards
      VM

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp Okay, don't worry then without rest api , how could i automate this ? How XO doing it and how can i say to XO do it for out of REST ? @olivierlambert @julien-f

      posted in REST API
      V
      vahric 0
    • RE: APIs SDKs and Xen-ng

      @Danp yes i succeeded to create a vm

      curl -k -b authenticationToken=<key> -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name_label":"areni","template":"11fd3dc9-96cc-49af-b091-a2ca7e94c589"}' https://<ip>/rest/v0/pools/dd74abdd-7dd9-e95b-a241-dbd5b12b3ae1/actions/create_vm

      basically this is working, then start to check create network

      https://<ip>/rest/v0/networks/_/actions return empty array or under pool no network related action .

      I would like to create vlan under bond interface mean Add Network or SDN , How could you support these ?

      VM

      posted in REST API
      V
      vahric 0
    • RE: Do you think to add Backup and Private Network Creation to Self-Service ?

      @olivierlambert Thanks, its good to have

      posted in Advanced features
      V
      vahric 0
    • Do you think to add Backup and Private Network Creation to Self-Service ?

      Hello Everyone ,

      Do you think to add backup and self SDN based private network creation in to Self Service feature ?

      Regards
      VM

      posted in Advanced features
      V
      vahric 0