XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng mirrors

    Scheduled Pinned Locked Moved News
    10 Posts 6 Posters 2.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by olivierlambert

      Hi everyone!

      For XCP-ng 8.0, we plan to bundle repo file with a special URL that will redirect to the nearest mirror. So your yum update or even netinstall will be blazing fast and closer to your physical hardware. For this, we are using Mirrorbits: https://github.com/etix/mirrorbits#mirrorbits

      We already added some mirrors here: http://mirrors.xcp-ng.org/?mirrorstats

      mirrors.jpg

      Want to test it already?

      Those mirrors are already working for 7.6. However, it's still in test, but you can already play with it. You can edit your repo file /etc/yum.repos.d/xcp-ng.repo and replace https://updates.xcp-ng.org/7/7.6/base/x86_64/ by http://mirrors.xcp-ng.org/7/7.6/base/x86_64/

      ⚠ Note you must remove https and use http instead. Since packages are RPM signed, there's no issue to do so 🙂

      Here is an example of this new repo file for XCP-ng 7.6:

      [xcp-ng-base]
      name=XCP-ng Base Repository
      baseurl=http://mirrors.xcp-ng.org/7/7.6/base/x86_64/
      enabled=1
      gpgcheck=1
      repo_gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
      
      [xcp-ng-updates]
      name=XCP-ng Updates Repository
      baseurl=http://mirrors.xcp-ng.org/7/7.6/updates/x86_64/
      enabled=1
      gpgcheck=1
      repo_gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
      
      [xcp-ng-extras]
      name=XCP-ng Extras Repository
      baseurl=http://mirrors.xcp-ng.org/7/7.6/extras/x86_64/
      enabled=0
      gpgcheck=1
      repo_gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
      
      [xcp-ng-updates_testing]
      name=XCP-ng Updates Testing Repository
      baseurl=http://mirrors.xcp-ng.org/7/7.6/updates_testing/x86_64/
      enabled=0
      gpgcheck=1
      repo_gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
      
      [xcp-ng-extras_testing]
      name=XCP-ng Extras Testing Repository
      baseurl=http://mirrors.xcp-ng.org/7/7.6/extras_testing/x86_64/
      enabled=0
      gpgcheck=1
      repo_gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
      

      I want to host a mirror

      Want to host a mirror and be displayed on our cool mirror map? You can apply by sending an email e-mail to mirrors (AT) xcp-ng [DOT] org, following the example below:

      Subject: "Mirror application for mymirror.example.com".
      Body:
      
      Server name: mymirror.example.com
      City: Paris
      Country: France
      Bandwidth: 1 Gbit/s
      Source mirror: updates.xcp-ng.org
      Host or IP to authorize: mymirror.example.com
      Sync frequency: every 15 min
      HTTP(S) URL: http://mymirror.example.com/
      RSYNC URL: rsync://mymirror.example.com/xcp-ng/
      Other prerequisites from https://github.com/xcp-ng/xcp/wiki/Mirrors checked: yes
      

      Full doc is here: https://github.com/xcp-ng/xcp/wiki/Mirrors

      1 Reply Last reply Reply Quote 2
      • P Offline
        psutty
        last edited by

        olivierlambert said in XCP-ng mirrors:

        updates.xcp-ng.org

        Please keep updates.xcp-ng.org too, for users behind proxies/firewalls.

        stormiS 1 Reply Last reply Reply Quote 0
        • stormiS Online
          stormi Vates 🪐 XCP-ng Team @psutty
          last edited by

          psutty said in XCP-ng mirrors:

          olivierlambert said in XCP-ng mirrors:

          updates.xcp-ng.org

          Please keep updates.xcp-ng.org too, for users behind proxies/firewalls.

          The latest version of the repository file does have updates.xcp-ng.org as a fallback in case mirrors.xcp-ng.org fails.

          Extract:

          [xcp-ng-base]
          name=XCP-ng Base Repository
          baseurl=http://mirrors.xcp-ng.org/8/8.0/base/x86_64/ http://updates.xcp-ng.org/8/8.0/base/x86_64/
          enabled=1
          gpgcheck=1
          repo_gpgcheck=1
          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-xcpng
          
          1 Reply Last reply Reply Quote 0
          • akurzawaA Offline
            akurzawa
            last edited by

            Hi

            hi much space do You need for the mirror?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              See https://github.com/xcp-ng/xcp/wiki/Mirrors

              1 Reply Last reply Reply Quote 0
              • A Offline
                AlexD2006
                last edited by

                Hi all,

                just for your Information.
                For requests from germany, mirrors.xcp-ng.org is always redirecting to xcp-ng.schulzalex.de.
                The SSL-Cert for xcp-ng.schulzalex.de has expired two days ago, so all tries to update are not working actually.
                Is there some possibility to check the Certificates before redirecting on mirrors.xcp-ng.org and redirect to another (working) mirror if its not working?

                thanks in advance
                Alex

                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Ping borzel

                  1 Reply Last reply Reply Quote 0
                  • stormiS Online
                    stormi Vates 🪐 XCP-ng Team
                    last edited by stormi

                    I thought mirrorbits already detected that kind of issue, looks like it doesn't. I have changed the URL for an http one instead of https, which isn't really useful since the RPMs and metadata are GPG-signed.

                    Edit: I checked the mirror too fast. It seems it doesn't support HTTP. Disabling it altogether until it's solved.

                    borzelB 1 Reply Last reply Reply Quote 0
                    • borzelB Offline
                      borzel XCP-ng Center Team @stormi
                      last edited by

                      stormi I was very busy at work. I check my server...

                      1 Reply Last reply Reply Quote 0
                      • borzelB Offline
                        borzel XCP-ng Center Team
                        last edited by

                        Cert is renewed... the proxy didn't reload after cert renewal... 😕

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post