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 992 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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post