XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Aimdev
    3. Posts
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 18
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Transfer Configs between XOA'a

      @maverick said in Transfer Configs between XOA'a:

      @Aimdev
      When you click download config and enter the passphrase, please check if your Safari isn't blocking a pop-up window.

      You can check that on the address bar, there should be an icon of two windows overlapped. Press there.

      You Sir are a star!! πŸ™‚

      On the variant of safarii it didn't do as you said, but it did flash up a message for about a second in the address line, so I then went into the settings and enable allow popups.

      Its a shame the vendor couldn't come up with an answer, we are reassessing the product at the moment and software is assesd not only the product but also the level of support pre sales. 😞

      Thanks again Maverick and have a nice weekend.

      posted in Xen Orchestra
      A
      Aimdev
    • RE: Transfer Configs between XOA'a

      @olivierlambert said in Transfer Configs between XOA'a:

      Plan A is the right way. Plan B is far more complicated πŸ˜•

      I totally agree, however as I stated there is no indication of a config file being created so Plan B may be the only way,
      so is there a file(s) I can access on the old to update the new instance?

      posted in Xen Orchestra
      A
      Aimdev
    • RE: Transfer Configs between XOA'a

      @olivierlambert said in Transfer Configs between XOA'a:

      Hello,

      1. XOA is not from Git. XOA means Xen Orchestra virtual Appliance (the thing you deploy and we redistribute). XO from Git is called "XO from the sources" πŸ™‚
      2. Maybe your version from Git was broken or too old, impossible to tell. But it should work to export there and import in your XOA.

      Thanks for the clarification. To be honest I don't know how it was installed.

      Plan A

      Where is the config file placed on the operating system, for example using safari, it typicall down loads to the Download directory?

      Basically I followed these instructins from the web site
      If you still use the first XOA (which was not the "unified" version), you can easily migrate all your settings (ACLs, users, servers, etc) to the new version painlessly.

      To do so, go into "Settings/Config" of your old XOA. Export the configuration: you'll download a config.json file.

      Plan B

      Assuming I cannot get a config from the old system by the export/import method, is there a file I can transfer from the old to the new instance of Xen Orchestra virtual Appliance

      posted in Xen Orchestra
      A
      Aimdev
    • Transfer Configs between XOA'a

      Some time ago I installed xoa using git, and I was never able to create a config. Click save config resulted with no action. This was apparent with or without a key.

      I have just installed using the import method (btw both the web and bash procedures failed to complete due to a network timeout, but downloading the xva worked)

      I have access to both versions, is it possible to transfer the extensive configuration on the older xoa to the new one?

      posted in Xen Orchestra config transfer
      A
      Aimdev
    • RE: Backup failed with obscure error message

      @olivierlambert
      Using the old backup system, based on bash/cron never had an issue from pre xpp-ng to 8.2.
      Trying out XOA to see if the backup regime would be easier to administer for other users, it failed on the VM with USB.
      I do not know if the issue is with 8.1 or 8.2 as I never tested backup with XOA until I installed 8.2 this week.
      I also do not know if it is an XOA issue.
      You know my thoughts on USB handling as I have commented many times.

      posted in Xen Orchestra
      A
      Aimdev
    • RE: Backup failed with obscure error message

      @danp

      Thanks, comment raised on github.

      posted in Xen Orchestra
      A
      Aimdev
    • Backup failed with obscure error message

      I built XO today, no errors.
      I then exported a VM, no issues.
      I then exported another VM, and got this message

       Snapshot 
      Start: Sep 22, 2021, 12:20:51 PM
      End: Sep 22, 2021, 12:20:51 PM
      Error: VM_HAS_VUSBS(OpaqueRef:4656aff6-d202-4e6e-83e2-b40e52208203)
      Start: Sep 22, 2021, 12:20:51 PM
      End: Sep 22, 2021, 12:20:51 PM
      Duration: a few seconds
      Error: VM_HAS_VUSBS(OpaqueRef:4656aff6-d202-4e6e-83e2-b40e52208203)
      

      All backups via SMB to Truenas (NFS I cannot get to work)
      The VM in question has pass thru for a Ublox usb GPS receiver.

      Hypervisor for the succesfull backup is 8,1, for the failed backup 8.2 (fresh install)

      posted in Xen Orchestra
      A
      Aimdev
    • RE: Performing automated shutdown during a power failure using a USB-UPS with NUT - XCP-ng 8.2

      @hannes_5253
      This is a failure re getting usb pass through on boot up of VM correctly.
      We use GPS usb devices for time keeping and despite hacking the various files (overridden on upgrades/patches etc) this issue has never been resolved despite comments on this board.

      UPS & GPS support is important for obvious reasons, and needs an educated review into the problem.

      We moved our UPS to a NetBsd server (not a VM, a separate system) and used NUT (added outside the tight xcp-nt regime) to
      provide the essential power loss situation of the hypervisors.

      Same with GPS, hosted on same BSD system.

      posted in Compute
      A
      Aimdev
    • RE: USB passthrough test reports in 7.5RC1

      @aimdev said in USB passthrough test reports in 7.5RC1:

      @aimdev

      Update

      I removed all the rules except the allow all in /etc/xensource/usb-policy.conf
      The U-blox device was present when running /opt/xensource/libexec/usb_scan.py -d πŸ™‚
      The device is present when running xe pusb-list πŸ™‚
      The device is present using xcp-ng centre πŸ™‚
      The configuration file clearly has an issue for me to resolve. 😞
      Followed instructions from @fjen , thanks for your efforts.
      got this on vm startup
      The value given is invalid
      field: platform:device-model when vm has VUSBs
      value: qemu-trad

      issued command
      xe vm-param-set uuid=<uuid> platform:device-model=qemu-upstream-compat
      Started vm
      cat /dev/ttyACM0 present and seeing gps messages. πŸ™‚

      It appears the only way to get this to work is via the cli.

      Doing a reboot test next, fingers crossed, yes ok πŸ™‚

      Thanks

      Aimee

      Hi

      Didn't survive the 7.5 RC1 to 7.5 upgrade, had to re configure it.
      All working ok.

      Aimee

      posted in Development
      A
      Aimdev
    • RE: Please test the updates candidates to 7.5.0 RC1

      @stormi said in Please test the updates candidates to 7.5.0 RC1:

      yum update --enablerepo='xcp-ng-updates_testing*'

      Hi
      Installed OK
      Reboot OK
      apcupsd OK πŸ™‚

      Started test VM OK
      usb passthrough OK

      SR Test NAS not tested, NAS off line, too hot will try later.
      SR Test NAS OK

      Aimee

      posted in Development
      A
      Aimdev
    • RE: USB passthrough test reports in 7.5RC1

      @aimdev

      Update

      I removed all the rules except the allow all in /etc/xensource/usb-policy.conf
      The U-blox device was present when running /opt/xensource/libexec/usb_scan.py -d πŸ™‚
      The device is present when running xe pusb-list πŸ™‚
      The device is present using xcp-ng centre πŸ™‚
      The configuration file clearly has an issue for me to resolve. 😞
      Followed instructions from @fjen , thanks for your efforts.
      got this on vm startup
      The value given is invalid
      field: platform:device-model when vm has VUSBs
      value: qemu-trad

      issued command
      xe vm-param-set uuid=<uuid> platform:device-model=qemu-upstream-compat
      Started vm
      cat /dev/ttyACM0 present and seeing gps messages. πŸ™‚

      It appears the only way to get this to work is via the cli.

      Doing a reboot test next, fingers crossed, yes ok πŸ™‚

      Thanks

      Aimee

      posted in Development
      A
      Aimdev
    • RE: USB passthrough test reports in 7.5RC1

      @fjen said in XCP-ng 7.5.0 Release Candidate:

      @aimdev

      Just wanted to chime in here and say that USB Passthrough is also non-functional for me. Can't pass through a USB Bluetooth dongle, even though I added an allow run to the usb-policy.conf file and it shows up fine in the CLI and XCP-ng Center.

      Hi

      Thanks for the info.

      My /etc/xensource/usb-policy.conf contained a DENY for class 2 devices

      DENY: vid=17e9 # All DisplayLink USB displays
      #DENY: class=02 # Communications and CDC-Control
      ALLOW: class=02 subclass=02 # Communications and CDC-Control
      ALLOW:vid=056a pid=0315 class=03 # Wacom Intuos tablet
      ALLOW:vid=056a pid=0314 class=03 # Wacom Intuos tablet
      ALLOW:vid=056a pid=00fb class=03 # Wacom DTU tablet
      DENY: class=03 subclass=01 prot=01 # HID Boot keyboards
      DENY: class=03 subclass=01 prot=02 # HID Boot mice
      DENY: class=0a # CDC-Data
      DENY: class=0b # Smartcard
      DENY: class=e0 # Wireless controller
      DENY: class=ef subclass=04 # Miscellaneous network devices
      ALLOW:vid=1546 pid=01a8 class=02 # Ublox
      ALLOW: # Otherwise allow everything else

      My device is a class 2 device.
      Aug 2 06:02:38 localhost usb_scan.py DEBUG: UsbDevice: (u'3-2', {'idVendor': '1546', 'ID_VENDOR_FROM_DATABASE': u'U-Blox AG', 'bConfigurationValue': '1', 'bDeviceClass': '02', 'ID_MODEL_FROM_DATABASE': '', 'version': ' 1.10', 'idProduct': '01a8', 'bNumInterfaces': ' 2', 'serial': '', 'bcdDevice': '0301'})#012#011|__ UsbInterface: (u'3-2:1.0', {'bInterfaceNumber': '00', 'bInterfaceClass': '02', 'bInterfaceProtocol': '01', 'bInterfaceSubClass': '02'})#012#011|__ UsbInterface: (u'3-2:1.1', {'bInterfaceNumber': '01', 'bInterfaceClass': '0a', 'bInterfaceProtocol': 'ff', 'bInterfaceSubClass': '00'})

      I commented out the DENY, added an ALLOW for class 2, added the line for the UBLOX, which basically is a serial
      device (its a gps receiver I am going to use as the source for a time server)

      Rebooted

      The result of the /opt/xensource/libexec/usb_scan.py -d command does not show the UBLOX, only the UPS.

      Not sure if I have got the configuration correct.
      I looked at the citrix docs, but until the scan shows the device, I cannot proceed any further.
      I will take a look at the usb_scan.py to try and determine the rules.

      Thanks

      Aimee

      posted in Development
      A
      Aimdev
    • USB passthrough test reports in 7.5RC1

      @olivierlambert
      Hi

      It would appear usb pass through is non functional, which is a shame.
      My only options are

      1. Plan A, wait untill it is fixed, is this probable?
      2. Plan B, install the software on the hypervisor, not good, but probably feasible (freenas is a bit like this, but it is possible as extra's are placed in a protected area
        and do not get disabled though updates)
      3. Plan C Raspberry Pi.

      Thanks

      Aimee

      posted in Development
      A
      Aimdev
    • RE: XCP-ng 7.5.0 Release Candidate

      @olivierlambert
      Hi

      I do not quite understand your answer, please can you clarify.
      The system was clean installed from 7.4, 7.41 to 7.5, all xcp-ng.
      The ony addition was the ups yum , as described in my thread.
      Are you suggesting that a clean install will

      1. fix the pass through for the Ublox?
      2. To get ups support I must repeat my extra ups software install,?
        unless xcp-ng is going to provide an alternative package for UPS support?

      Thanks

      Aimee

      posted in Development
      A
      Aimdev
    • RE: XCP-ng 7.5.0 Release Candidate

      @olivierlambert said in XCP-ng 7.5.0 Release Candidate:

      @Aimdev

      I'm not sure to get everything you wrote here.

      1. mv: cannot stat β€˜/usr/sbin/lvmetad’: No such file or directory is identified and reported to Citrix. It's not XCP-ng specific.
        Ok
      2. What do you mean by "test connection"?
        The hypervisor successfully connected to the NAS, for the purpose of importing a saved VM. The VM started OK.
      3. Does USB passthrough worked before on 7.4.1?
        Only showed the UPS usb device, never the U-Blox AG , this is the same situation with 7.5 (Thread USB Passthrough 20 Jun 2018, 14:13)
        Both versions show the device U-Blox AG using the lsusb command.
      4. What kind of modification did you do on 7.4.1 before updating? was it "vanilla" or you installed/configured some stuff on it?
        Installed apupsd (Thread Apcupsd UPS support 15 Apr 2018, 17:33)
        The upgrade appears to have removed the apcupsd daemon, /usr/sbin/apcupsd, but not the service definition
        7.5
        service apcupsd status
        Redirecting to /bin/systemctl status apcupsd.service
        ● apcupsd.service
        Loaded: not-found (Reason: No such file or directory)
        Active: inactive (dead)
        7.4
        service apcupsd status
        ● apcupsd.service - SYSV: apcupsd monitors power and takes action if necessary
        Loaded: loaded (/etc/rc.d/init.d/apcupsd)
        Active: active (running) since Wed 2018-08-01 14:54:22 BST; 3h 49min ago
        Docs: man:systemd-sysv-generator(8)
        Process: 2199 ExecStart=/etc/rc.d/init.d/apcupsd start (code=exited, status=0/SUCCESS)
        CGroup: /system.slice/apcupsd.service
        └─2210 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
        APC : 001,045,1103
        DATE : 2018-08-01 18:44:05 +0100

      Citrix did not support apcupsd, but Citrix upgrades in the past did not remove it.

      1. apcupsd doesn't sound coming from vanilla XCP-ng
        No, but ups support is essential for safeguarding the system.

      Aimee

      posted in Development
      A
      Aimdev
    • RE: XCP-ng 7.5.0 Release Candidate

      Progress Report UG to xcp-ng v7.5 from xcp-ng v7.41
      Method YUM

      Error
      Updating : sm-1.18.0-1.31.x86_64 69/147
      Starting sm-multipath (via systemctl): [ OK ]
      mv: cannot stat β€˜/usr/sbin/lvmetad’: No such file or directory

      Reboot PASS
      Installed v7.5 xcp-ng centre PASS
      Test Connection NAS PASS

      Import VM created on V7.71 xcp-ng PASS
      Passthrough USB Device USB3 Bus 001 Device 002: ID 1546:01a8 U-Blox AG FAIL
      Passthrough USB Device USB2 Bus 001 Device 004: ID 1546:01a8 U-Blox AG FAIL
      Passthrough USB Device USB2 Bus 001 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply PASS
      UPS Test apcupsd service not starting/will not start FAIL
      Failed to start apcupsd.service: Unit apcupsd.service failed to load: No such file or directory.

      note Reboot carried out for each USB U-Blox AG test.
      note cold start carried out for USB2 U-Blox AG test.
      note USB passthru not working for U-Blox AG (not visible in device list in xcp-ng centre)
      note USB passthru working for UPS (visible in device list in xcp-ng centre)

      Aimee

      posted in Development
      A
      Aimdev
    • RE: Identification of Core OS

      @r1
      Hi

      Thanks for that.

      Aimee

      posted in Development
      A
      Aimdev
    • Identification of Core OS

      Hi

      Please can someone tell me what family the core of xcp-ng is, suse, centos etc

      uname -a gives

      Linux netserver 4.4.0+10 #1 SMP Mon Feb 19 10:31:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      Reason, I wish to install collectd to enable system monitoring using grafana (grafana is on another system, collectd needs to run on the hypervisor)

      Thanks

      Aimee

      posted in Development
      A
      Aimdev