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

    XO unresponsive when Remote storage is offline.

    Scheduled Pinned Locked Moved Management
    4 Posts 2 Posters 20 Views 2 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.
    • acebmxerA Online
      acebmxer
      last edited by

      Due to high electric coast and current heat I am trying to keep things powered off until needed. So I setup a power schedule for my Synology device used for backups. However when the device is powered off XO becomes unresponsive. If I set the remote to disabled xo is stays alert.

      What would be the suggested way to automate the enable and disabling the remote when the device is offline? If this is something do able by xo but would need to be built, let me know and I will add it to the V6 request list.

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

        Hi,

        The best approach is first to unplug the PBD (or disable the remote) while the storage is UP, and then shutdown the target/storage node itself.

        The opposite is 100% causing issues due to the nature itself of a network storage.

        You can use the REST or JSON-RPC API to disable the remote and then send the shutdown order. This way, no problem.

        acebmxerA 1 Reply Last reply Reply Quote 1
        • acebmxerA Online
          acebmxer @olivierlambert
          last edited by

          @olivierlambert

          Perfect. Created a script to run on the Synology device at startup it enables to the remotes, then at shutdown it disables the remotes.

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

            Great! I think this is really the best possible approach to make it clean 🙂

            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