XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. lightingman117
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by lightingman117

    • RE: Kernel Null Pointer dereference

      @olivierlambert

      I do read the Blogs. They're one of the better/best blogs out there 🙂

      I guess I don't (didn't) understand LTS vs updates vs upgrades.


      System is airgapped so Xen Orchestra has no idea there are updates 🙂

      My long-running goal is to build an edge server VM to clone repos for updates.

      posted in Compute
      lightingman117
      lightingman117
    • RE: Kernel Null Pointer dereference

      Ahh found it. Musta glanced over it when I skimmed through dmesg the first time.

      Thank you!

      [14681859.111298] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000


      So for the updates. How do I know when I need to install updates? I looked at releases and saw 8.2.1 was latest. Do I need to check somewhere like github?

      NVM: https://koji.xcp-ng.org/builds?inherited=0&tagID=42&order=-build_id&latest=1

      https://xcp-ng.org/docs/updates.html#prerequisites

      FYI, system is 100% offline; so I will now subscribe to the update thread... lol
      https://xcp-ng.org/forum/topic/365/updates-announcements-and-testing

      Wow. Failure to read documentation. [I tried, kinda]

      posted in Compute
      lightingman117
      lightingman117
    • Kernel Null Pointer dereference

      I am on 8.2.1; uptime 8+ months, no issues.

      This is the IPMI screen output (VGA)

      xcp-ng server bug console.PNG

      Recent history:
      I fast copied a Win10 VM yesterday and stood it up for a user.
      A tech randomed (wrong IP) into viewing the IPMI output today and pointed it out to me.

      I checked:
      /var/log/daemon.log
      /var/log/xensource.log
      /var/log/SMlog
      /var/log/kern.log
      dmesg

      I don't see any references to a Kernel Bug in any of the logs.

      Seems similar to this thread: https://xcp-ng.org/forum/topic/5174/kernel-null-pointer

      posted in Compute
      lightingman117
      lightingman117
    • RE: XO NTP

      @olivierlambert
      Yep, thanks.
      OP edited to direct link to XOA NTP documentation for those who need that.

      There was no clear distinction in my mind. Apologies for any confusion caused.

      posted in Xen Orchestra
      lightingman117
      lightingman117
    • RE: XO NTP

      @olivierlambert

      So...
      XOA = xen orchestra appliance
      XO = xen orchestra (from sources)

      I just edited my title.

      Wouldn't changing NTP for both be the same? XOA just comes with a debian host OS on a virtual drive...? Who cares.

      Edit: I guess maybe the XOA version comes with ntp installed?

      P.S. FWIW:
      The whole ecosystem is confusing and annoying to learn.

      Need a single page that clearly states everything for newbies. I even forget because I don't do this constantly. Just trying to spend my morning knowledge dumping.

      posted in Xen Orchestra
      lightingman117
      lightingman117
    • XO NTP

      Set NTP in 3 places:

      1. XCP-ng Hardware (Bios & IPMI)
      2. XCP-ng Hypervisor (xconsole/setup/shell)
      3. Edit: Xen Orchestra
        A) [from sources] (CLI only, this needs to change)
        B) XOA [Debian 11, comes with ntpd]

      Steps for XO [from sources] (Xen Orchestra VM on Debian 10 Host OS):

      1. Go to /etc/systemd/timesyncd.conf
      2. Edit to remove '#' and add your NTP server
      3. Set sudo timedatectl set-ntp true
      4. Restart the service sudo systemctl restart systemd-timesyncd.service
      5. Check your time sync with one of these options:
        A) systemctl status systemd-timesyncd.service
        B) timedatectl timesync-status
        C) timdatectl status

      Steps for XCP-ng hypervizor host (CLI easy mode):

      1. SSH into un/pw
      2. Type xsconsole
      3. Self explanatory (IMO)
        xconsole.png

      Steps for XCP-ng hardware hypervisor (CLI hard mode) :

      1. Edit the chrony/timeserver configuration
        sudo nano /etc/chrony.conf
      2. Add any time servers you want at the end of the file, along with any options for example: server pool.ntp.org iburst
      3. Restart chrony systemctl restart chronyd
      4. Check it is working OK chronyc tracking

      The other NTP posts make no sense.

      ntpd -p does not work
      It wants you to install the NTP package.
      No thanks, my XO is offline.
      Give me the default NTP service built-in.

      I have already have XO installed in a Debian 10 built from sources using Tom's video guide.
      It is offline. Not gonna put it online to add ntp service.
      Installed: xen-tools, ssh keys, tmux, htop, git, cloned xen-xo repo, vim, update, upgrade, ssh.

      Edited:
      I misunderstood difference between XO and XOA. Post updated to reflect that.
      XOA contains the NTP package. Mine did not. I'd say most building from sources won't either.


      Useful:
      https://askubuntu.com/questions/1058593/how-to-sync-the-time-to-network-with-timedatectl-on-ubuntu-18-04

      Somewhat useful:
      https://www.freedesktop.org/software/systemd/man/timedatectl.html
      https://xcp-ng.org/forum/topic/5858/setting-ntp-time-servers-from-terminal-ssh?_=1671025646276

      Not useful:
      https://serverfault.com/questions/913968/ntp-doesnt-seem-to-be-enabled-and-synchronised-in-debian-jessie
      https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-debian-10
      https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s1-checking_the_status_of_ntp

      posted in Xen Orchestra
      lightingman117
      lightingman117