XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. henry.lin0u812
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Groups 0

    henry.lin0u812

    @henry.lin0u812

    0
    Reputation
    2
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    henry.lin0u812 Unfollow Follow

    Latest posts made by henry.lin0u812

    • RE: Programmatically enable Live Telemetry on all hosts in a pool

      @olivierlambert Thanks!

      I will look into OpenMetrics.

      On the hosts that I have enabled Live Telemetry; do I just stop the service remove the netdata package?

      posted in Management
      H
      henry.lin0u812
    • Programmatically enable Live Telemetry on all hosts in a pool

      Hi,

      Is there a way to programmatically enable Live Telemetry on all hosts in a pool? Digging through the UI and clicking on the button for every host in XOA is tedious and time consuming, especially when you have a large number of hosts.

      I can run a yum install for netdata, enable and start the service through CLI on the host. But when I view the Advanced configuration for the host, the "Enable Advanced Live Telemetry" is present instead of the expected "Advanced Live Telemetry".

      It seems that even though the netdata service is installed and running on the host, XOA is not registering it.

      posted in Management
      H
      henry.lin0u812
    • RE: User credentials with xo-cli

      Ok, using a LDAP authenticated user is the problem. It works fine with a native XO account. Is there any way around this?

      posted in Infrastructure as Code
      H
      henry.lin0u812
    • RE: User credentials with xo-cli

      Humm... could you use the syntax you're using? Here's what I'm using:

      xo-cli register --au https://<XO FQDN> user "password"

      One thing that just occurred to me, I'm using an LDAP authenticated account. I'll try with a native XO account.

      posted in Infrastructure as Code
      H
      henry.lin0u812
    • RE: User credentials with xo-cli

      Yes. With the password in quotes, I get the following error.

      JsonRpcError: invalid credentials
          at Peer._callee$ (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\json-rpc-peer\dist\index.js:139:44)
          at tryCatch (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:45:16)
          at Generator.<anonymous> (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:133:17)
          at Generator.next (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\regeneratorRuntime.js:74:21)
          at asyncGeneratorStep (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3:17)
          at _next (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:17:9)
          at **redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:22:7
          at new Promise (<anonymous>)
          at Peer.<anonymous> (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\@babel\runtime\helpers\asyncToGenerator.js:14:12)
          at Peer.exec (**redacted**\AppData\Roaming\npm\node_modules\xo-cli\node_modules\json-rpc-peer\dist\index.js:182:20) {
        code: 3,
        data: undefined
      }
      
      posted in Infrastructure as Code
      H
      henry.lin0u812
    • User credentials with xo-cli

      I'm new to XO and I like to use xo-cli to script management tasks. I'm having an issue with user authentication when registering with an XO server. My user password contains spaces which is causing xo-cli to error when connecting.

      Is there a method to pass a password that contains spaces?

      posted in Infrastructure as Code
      H
      henry.lin0u812