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

    NBD setup - No such item

    Scheduled Pinned Locked Moved Management
    43 Posts 3 Posters 5.7k Views 4 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.
    • florentF Offline
      florent Vates 🪐 XO Team @Tristis Oris
      last edited by

      @Tristis-Oris does the XO have access to the NBD enabled network ?

      Tristis OrisT 2 Replies Last reply Reply Quote 0
      • Tristis OrisT Offline
        Tristis Oris Top contributor @florent
        last edited by

        @florent I don't get that moment.
        Both interfaces at same vlan. But on host it a dedicated link, on VM it's virtual link at trunk port.

        Now i switch XO VM network to host NBD link - this tasks not dissapeared.
        Test backup done as usual one, with a bit less speed than before: 60MiB vs 80-90.

        also probably found a visual bug. After XO update preferNbd = true at config.toml removed, but at already configured backup job this settings still availabe.
        4899eb36-1f09-4ed4-b14d-55cc8cbbc7d7-изображение.png

        1 Reply Last reply Reply Quote 0
        • Tristis OrisT Offline
          Tristis Oris Top contributor @florent
          last edited by

          @florent i removed all frozen tasks, again enabled nbd, etc. But anyway can't make it work.
          Sure i read all guides at blog, all steps looks correct. Any hints?

          florentF 1 Reply Last reply Reply Quote 0
          • florentF Offline
            florent Vates 🪐 XO Team @Tristis Oris
            last edited by

            @Tristis-Oris That is strange
            We are finalizing the release today, I will take a deep look tomorrow if it's ok for you

            Tristis OrisT 1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor @florent
              last edited by

              @florent sure, no rush here.

              florentF 1 Reply Last reply Reply Quote 0
              • florentF Offline
                florent Vates 🪐 XO Team @Tristis Oris
                last edited by

                @Tristis-Oris

                I tryed multiple time to have te "reconfigure ip of .." task, but didn't succeed.

                What I did :

                • on the pool > network : activated NBD connection
                • on the delta backup job : enable NBD

                I didn't have to change anything else

                Tristis OrisT 1 Reply Last reply Reply Quote 0
                • Tristis OrisT Offline
                  Tristis Oris Top contributor @florent
                  last edited by

                  @florent i don't get reconfigure ip second time, but backups still without nbd.

                  florentF 1 Reply Last reply Reply Quote 0
                  • florentF Offline
                    florent Vates 🪐 XO Team @Tristis Oris
                    last edited by

                    @Tristis-Oris ok
                    What are the network accessible by the XO VM ? does it contains the NBD enabled network ?

                    Tristis OrisT 1 Reply Last reply Reply Quote 0
                    • Tristis OrisT Offline
                      Tristis Oris Top contributor @florent
                      last edited by Tristis Oris

                      @florent as i say, XO only one interface it's same host interface where NBD is enabled.
                      030e1b04-968f-4d2c-a030-fc016096b848-изображение.png

                      florentF 1 Reply Last reply Reply Quote 0
                      • florentF Offline
                        florent Vates 🪐 XO Team @Tristis Oris
                        last edited by

                        @Tristis-Oris And you don't have message like can't connect to nbd server in the system log / Xo-server output ?

                        Tristis OrisT 1 Reply Last reply Reply Quote 0
                        • Tristis OrisT Offline
                          Tristis Oris Top contributor @florent
                          last edited by

                          @florent never seen such errors. At which step it should happens?

                          florentF 1 Reply Last reply Reply Quote 0
                          • florentF Offline
                            florent Vates 🪐 XO Team @Tristis Oris
                            last edited by

                            @Tristis-Oris when launching a backup, between the snapshot and the beginning of the the transfer. It should try to connect to the host(s) NBD server

                            florentF 1 Reply Last reply Reply Quote 0
                            • florentF Offline
                              florent Vates 🪐 XO Team @florent
                              last edited by

                              @florent also , is there a firewall/network filtering between XO and the host ? the conneciton to the NBD server go through the port 10809

                              Tristis OrisT 1 Reply Last reply Reply Quote 0
                              • Tristis OrisT Offline
                                Tristis Oris Top contributor @florent
                                last edited by Tristis Oris

                                @florent is NBD server running at dom0?

                                for clear test: disabled nbd, removed all XO logs. Enabled NBD on host, changed XO interface to this one, run backup task with NBD > no one error at logs.

                                florentF 1 Reply Last reply Reply Quote 0
                                • florentF Offline
                                  florent Vates 🪐 XO Team @Tristis Oris
                                  last edited by

                                  @Tristis-Oris yes the NBD server run in the dom0, one per host

                                  Tristis OrisT 1 Reply Last reply Reply Quote 0
                                  • Tristis OrisT Offline
                                    Tristis Oris Top contributor @florent
                                    last edited by

                                    @florent hm. Telnet to 10809 is refused even from dom0, to both backup interface and management.
                                    We have no any additional firewalls at network. Host's iptable looks fine.

                                    What a name of service, to check if it running?

                                    Tristis OrisT florentF 2 Replies Last reply Reply Quote 0
                                    • Tristis OrisT Offline
                                      Tristis Oris Top contributor @Tristis Oris
                                      last edited by

                                      also add filter = 'xo:backups:DeltaBackupWriter' to config.toml. Anyway no one error during backup.

                                      1 Reply Last reply Reply Quote 0
                                      • florentF Offline
                                        florent Vates 🪐 XO Team @Tristis Oris
                                        last edited by

                                        @Tristis-Oris I think it is built in in the xapi .
                                        ss -tulpn on my host :
                                        d0a68a53-401b-46ed-a520-f1453f7e007b-image.png

                                        there is a xapi-nbd service

                                        Tristis OrisT 1 Reply Last reply Reply Quote 0
                                        • Tristis OrisT Offline
                                          Tristis Oris Top contributor @florent
                                          last edited by

                                          @florent looks fine.
                                          8aecaa4d-39e2-4797-b0b0-8daaa0f4a46a-изображение.png

                                          also i add extra iptables rules, nothing changed.

                                          iptables -A INPUT -p tcp --dport 10809 -m comment --comment "NBD" -j ACCEPT
                                          iptables -A OUTPUT -p tcp --dport 10809 -m comment --comment "NBD" -j ACCEPT
                                          
                                          florentF 1 Reply Last reply Reply Quote 0
                                          • florentF Offline
                                            florent Vates 🪐 XO Team @Tristis Oris
                                            last edited by

                                            @Tristis-Oris my iptable are

                                            -P INPUT ACCEPT
                                            -P FORWARD ACCEPT
                                            -P OUTPUT ACCEPT
                                            -N RH-Firewall-1-INPUT
                                            -N xapi_nbd_input_chain
                                            -N xapi_nbd_output_chain
                                            -A INPUT -p tcp -m tcp --dport 10809 -j xapi_nbd_input_chain
                                            -A INPUT -p gre -j ACCEPT
                                            -A INPUT -j RH-Firewall-1-INPUT
                                            -A FORWARD -j RH-Firewall-1-INPUT
                                            -A OUTPUT -p tcp -m tcp --sport 10809 -j xapi_nbd_output_chain
                                            -A RH-Firewall-1-INPUT -i lo -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
                                            -A RH-Firewall-1-INPUT -i xenapi -p udp -m udp --dport 67 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p udp -m conntrack --ctstate NEW -m udp --dport 694 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 22 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 80 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 443 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 21064 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -p udp -m multiport --dports 5404,5405 -j ACCEPT
                                            -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
                                            -A xapi_nbd_input_chain -i xenbr0 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
                                            -A xapi_nbd_input_chain -j REJECT --reject-with icmp-port-unreachable
                                            -A xapi_nbd_output_chain -o xenbr0 -j RETURN
                                            -A xapi_nbd_output_chain -j REJECT --reject-with icmp-port-unreachable
                                            
                                            

                                            there is already a line for nbd

                                            Tristis OrisT 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post