New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR - Issue 50545 - Port repl-monitor.pl to lib389 CLI #3669
Comments
Comment from spichugi (@droideck) at 2019-09-19 18:47:31 Only one minor thing I want to add - |
Comment from spichugi (@droideck) at 2019-09-19 18:51:19 Also, I've added a function |
Comment from mreynolds (@mreynolds389) at 2019-09-20 15:21:01 We should also have an option to read in a connection's bind password from a file (that would make things easier in the UI). |
Comment from mreynolds (@mreynolds389) at 2019-09-23 18:05:28
What is the line with the "-"? Can it be removed? |
Comment from mreynolds (@mreynolds389) at 2019-09-23 18:13:42
Why am I being prompted for a password since I've already provided one? |
Comment from mreynolds (@mreynolds389) at 2019-09-23 18:18:12 Ok, so this is where that "-" was coming from. At first I thought it was a "value" without an "attribute". If you are looking for a separator, then perhaps it should many dashes"------------------------------", otherwise it's confusing. Or, even something with a title like "---- Agreement Details ----" |
Comment from mreynolds (@mreynolds389) at 2019-09-23 18:22:39
Okay I see I misused the CLI. It expects only one "--connection" parameter. I think we should change this so it's a one-to-one relationship. One arg per connection:
|
Comment from mreynolds (@mreynolds389) at 2019-09-23 18:26:18 Also :-) The old script accepted a config file which was just a list of connections. I think dsconf should accept a config/connection file as well, and it should accept the same format used in the old tool so customers can just reuse the same file. |
Comment from spichugi (@droideck) at 2019-09-24 01:22:09 rebased onto 61180519a9e02739c84996e58b5dd8a27ebb4635 |
Comment from spichugi (@droideck) at 2019-09-24 01:30:31
Added.
Sure. I just copied the thing from the original report but I agree it looks cleaner without it. Removing.
You can specify multiple args like this:
I think the option you propose will make the CLI more confusing...
Yep, just added. Though I've changed the format a bit because I use existing Example:
Please, review. |
Comment from spichugi (@droideck) at 2019-09-24 01:37:17 rebased onto 416c5c7689025736121f4ad2bd5011b3343941f6 |
Comment from mreynolds (@mreynolds389) at 2019-09-24 15:51:44
Then change the long arg to "--connections" so it's more obvious it takes multiple values.
Does the connection name matter? |
Comment from spichugi (@droideck) at 2019-09-24 16:00:58
Sure, makes sense. It was another thing I've copied from the original but we better change it, yeah.
Nope |
Comment from spichugi (@droideck) at 2019-09-26 00:37:15 1 new commit added
|
Comment from spichugi (@droideck) at 2019-09-26 00:41:38 Fixed. Please, review. Also, the How-To docs are on review too: |
Comment from mreynolds (@mreynolds389) at 2019-09-26 00:54:56 Thanks, ack |
Comment from spichugi (@droideck) at 2019-09-26 08:55:12 rebased onto edf23ac5e6001cad52dfd9f81416123ca79b1f92 |
Comment from spichugi (@droideck) at 2019-09-26 09:16:16 rebased onto 761dd65 |
Comment from spichugi (@droideck) at 2019-09-26 09:17:26 Pull-Request has been merged by droideck |
Patch |
Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50614
Description: Add a new command to 'dsconf replication' CLI.
'dsconf replication monitor' generates a report which
shows the replication topology to which the instance does belong.
Additional arguments:
-c or --connection [CONNECTION [CONNECTION ...]]
The connection values for monitoring other not
connected topologies. The format:
'host:port:binddn:bindpwd'. You can use regex for host
and port.You can set bindpwd to * and it will be
requested at the runtime.
-a or --alias [ALIAS [ALIAS ...]]
If a host:port is assigned an alias, then the alias
instead of host:port will be displayed in the output.
The format: alias=host:port
Resolves: #3601
Reviewed by: ?
The text was updated successfully, but these errors were encountered: