XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Byte0
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 26
    • Groups 0

    Byte0

    @Byte0

    2
    Reputation
    3
    Profile views
    26
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Byte0 Unfollow Follow

    Best posts made by Byte0

    • RE: XCP-ng firewall

      @BenjiReis The xapi is written in OCaml? That is pretty cool. I would love to learn OCaml one day.

      Anyways, doesn't seem intuitive to design it this way:
      334b8d7a-6f7e-4796-97c2-3c1fe4144fb6-Screenshot from 2024-10-22 08-02-03.png

      Going to file an issue in that repo to see what happens. I suppose they would have to fix the OCaml code you linked as well.

      posted in Compute
      B
      Byte0

    Latest posts made by Byte0

    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @Chuckz

      That's great and very cool.

      Unfortunately Microsoft doesn't publish the containers in a place like docker hub, rather they distribute a PowerShell script that installs and configures the containers on a Windows server, specifically. Updates to the Microsoft Enterprise Connected Cache is also updated via Windows services/tools.

      posted in Compute
      B
      Byte0
    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @Chuckz

      The Microsoft Enterprise Connected Cache node is intended to be installed on a Windows Server where the Windows clients use that cache server.

      Since XCP-ng cannot do nested virtualization, you are correct: the use Microsoft Enterprise Connected Cache is not available unless a separate server running Windows bare-metal or Hyper-V (or ESXi, ...) with nested virtualization enabled.

      Most places use a hypervisor on all bare-metal servers and virtualize the compute. That was my situation. Which means I was unable to improve InTune Win32 app deployment, because we had switched to XCP-ng.

      posted in Compute
      B
      Byte0
    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @planedrop

      What's different in this situation is that if I install Microsoft Enterprise Connected Cache on a VM, that Windows VM requires nested virtualization to run a Linux container. That means nested virtualization is required.

      Linux containers on a Linux VM do not require nested virtualization.

      posted in Compute
      B
      Byte0
    • RE: Nested Virtualization of Windows Hyper-V on XCP-ng

      @planedrop

      That's interesting. Microsoft's Enterprise Connected Cache is a containerized setup on Linux containers, however the installer is only available for Windows. Running Linux-based containers requires nested virtualization.

      This is what got me wondering about nested virtualization support for XCP-ng.

      posted in Compute
      B
      Byte0
    • RE: Location of xo-cli reference

      @olivierlambert I stumbled across this here while searching for something else: https://xcp-ng.org/forum/topic/3671/xo-cli-help/5

      I need to specify "json:8" to set the CPUs to 8. I did see the use of the "json:" prefix here (https://docs.xen-orchestra.com/architecture#xo-cli-cli), but the example shows using that prefix for a list rather than a single value. Not to mention that when setting the memory with vm.set, using "json:" is not required, so I didn't think to try that. I figured it out eventually though.

      posted in Management
      B
      Byte0
    • RE: Location of xo-cli reference

      Also more details regarding how vm.createCloudInitConfigDrive works would be good.

      The help information from xo-cli list-commands has the following

      vm.createCloudInitConfigDrive vm=<string> sr=<string> config=<string> [networkConfig=<string>]

      Is the string for config and networkConfig supposed to be the id of objects created using cloudConfig.create?

      Does the template= parameter for cloudConfig.create accept the yaml string for cloud-init?

      posted in Management
      B
      Byte0
    • Location of xo-cli reference

      Is there an online reference for xo-cli with examples? I can't find it. I know that xo-cli has help output, but it isn't detailed enough for me to understand fully how to use it.

      Here's my specific example:

      xo-cli vm.set auto_poweron=true id="f329c1f2-424e-1451-7c61-fee57273e6c4" CPUs=8 memory=17179869184 secureBoot=false
      āœ– invalid parameters
        property @./CPUs: must be integer
      

      After I create the VM with xo-cli vm.create, I am trying to set the number of CPUs to 8 and the RAM to 16GB.

      posted in Management
      B
      Byte0
    • RE: Is the xe utility open source?

      @olivierlambert Does the xe command interact with the XAPI solely or is there some other service/API that Citrix has made that the xe command line utility depend on?

      posted in Development
      B
      Byte0
    • RE: Is the xe utility open source?

      @olivierlambert NICE!! I super love PowerShell. I hope Unix socket interaction is part of it. I'd love to help contribute, except I am a super noob when it comes to development. I've written c# tools before, but I am all self taught and there's so much about C# I don't know.

      I totally overlooked the "for XO". The Unix socket thing doesn't apply there. It is still really awesome though and wish I could help.

      posted in Development
      B
      Byte0
    • RE: Is the xe utility open source?

      @bvitnik .Net core supports connecting to Unix sockets (socket types). PowerShell can, but would need to create .Net objects to do it. My goal was to still use the Citrix PowerShell module, but I would need to edit the .Net SDK as well as the PowerShell module code that uses the .Net SDK. The scope might be too large for a noob such as I.

      I'm sure I could figure it out eventually, but it would take me forever. I'm a sysadmin that's loves writing code (all basic tools and automations though) and I wish I could do it more, so I could get better at it.

      EDIT: Citrix has two editions of the PowerShell module, one written for Windows PowerShell and one written for PowerShell core.

      posted in Development
      B
      Byte0