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

    Continuous Replication Manual initial seed

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    7 Posts 3 Posters 418 Views 1 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.
    • H Offline
      halhabshi
      last edited by

      HI
      i tried to to start Manual initial seed and i follow this guide https://xen-orchestra.com/docs/continuous_replication.html#configure-it

      my issue is root credential has "@" charter so the script will read anything after the "@" as hostname

      xo-cr-seed https://root:password@xen1.company.tld

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

        Have you tried to escape it?

        1 Reply Last reply Reply Quote 0
        • H Offline
          halhabshi
          last edited by

          yes, no success

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

            Ping @julien-f

            1 Reply Last reply Reply Quote 0
            • julien-fJ Offline
              julien-f Vates 🪐 Co-Founder XO Team
              last edited by

              Special characters in a URI component should be encoded using percent-encoding, in your case, @ becomes %40.

              1 Reply Last reply Reply Quote 0
              • H Offline
                halhabshi
                last edited by

                @julien-f thank you
                this really helped me
                in addition the password must be inside "" for example P@ssw0rd be "P%40ssw)rd"

                thanks again @olivierlambert @julien-f
                Regards

                1 Reply Last reply Reply Quote 1
                • julien-fJ Offline
                  julien-f Vates 🪐 Co-Founder XO Team
                  last edited by

                  FYI, an extremely basic command line to encode passwords:

                  > node -e 'process.stdin.on("data", _ => {console.log(encodeURIComponent(_.toString().trim())); process.exit()}); process.stdout.write("Password: ")'
                  Password: foo@bar
                  foo%40bar
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post