superminkfan commented on code in PR #12349: URL: https://github.com/apache/ignite/pull/12349#discussion_r2377580763
########## docs/_docs/tools/control-script.adoc: ########## @@ -1308,42 +1309,68 @@ control.sh --property list tab:Windows[] [source,shell] ---- -control.bat --property list +control.bat --property list ---- -- -You can set property value with `--property set` command. For example, to enable or disable SQL statistics in cluster use, specify `ON`, `OFF`, or `NO_UPDATE` values: +=== Getting a Property +To view the current value of a property, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property set --name 'statistics.usage.state' --val 'ON' +control.sh --property get --name <propertyName> ---- tab:Windows[] [source,shell] ---- -control.bat --property set --name 'statistics.usage.state' --val 'ON' +control.bat --property get --name <propertyName> ---- -- -You can also get property value with `--property get` command. For example: +=== Setting a Property +To change a property value, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property get --name 'statistics.usage.state' +control.sh --property set --name <propertyName> --val <value> ---- tab:Windows[] [source,shell] ---- -control.bat --property get --name 'statistics.usage.state' +control.bat --property set --name <propertyName> --val <value> ---- -- +NOTE: Available values depend on the property. +For example, SQL statistics use `ON|OFF|NO_UPDATE`, while connection properties use `true|false`. + +For details on configuring SQL statistics, see the +link:SQL/sql-statistics[SQL statistics,window=_blank] Configuring Statistics section. + +=== Managing Cluster Connection Properties + +You can control whether new client or server connections are accepted by the cluster. + +The following properties are available: + +[cols="2,5", opts="header"] +|=== +|Property | Description +|newClientNodeConnectionsEnabled | Enables or disables new client node connections. +|newServerNodeConnectionsEnabled | Enables or disables new server node connections. +|newThinConnectionsEnabled | Enables or disables new thin client connections. +|newJdbcConnectionsEnabled | Enables or disables new JDBC connections. +|newOdbcConnectionsEnabled | Enables or disables new ODBC connections. +|=== + +NOTE: Disabling a property affects only new connections. Existing connections remain active. Review Comment: Done. ########## docs/_docs/tools/control-script.adoc: ########## @@ -1308,42 +1309,68 @@ control.sh --property list tab:Windows[] [source,shell] ---- -control.bat --property list +control.bat --property list ---- -- -You can set property value with `--property set` command. For example, to enable or disable SQL statistics in cluster use, specify `ON`, `OFF`, or `NO_UPDATE` values: +=== Getting a Property +To view the current value of a property, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property set --name 'statistics.usage.state' --val 'ON' +control.sh --property get --name <propertyName> ---- tab:Windows[] [source,shell] ---- -control.bat --property set --name 'statistics.usage.state' --val 'ON' +control.bat --property get --name <propertyName> ---- -- -You can also get property value with `--property get` command. For example: +=== Setting a Property +To change a property value, use: [tabs] -- tab:Unix[] [source,shell] ---- -control.sh --property get --name 'statistics.usage.state' +control.sh --property set --name <propertyName> --val <value> ---- tab:Windows[] [source,shell] ---- -control.bat --property get --name 'statistics.usage.state' +control.bat --property set --name <propertyName> --val <value> ---- -- +NOTE: Available values depend on the property. +For example, SQL statistics use `ON|OFF|NO_UPDATE`, while connection properties use `true|false`. + +For details on configuring SQL statistics, see the +link:SQL/sql-statistics[SQL statistics,window=_blank] Configuring Statistics section. + +=== Managing Cluster Connection Properties + +You can control whether new client or server connections are accepted by the cluster. + +The following properties are available: + +[cols="2,5", opts="header"] +|=== +|Property | Description Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
