settings
Operations with the additional settings of the xicli program.
Except for the show subcommand, the commands listed in this chapter require superuser privileges.
# xicli settings <subcommand> <args> [optional_args]
Subcommands for the settings command:
auth modify |
Change client-server connection settings. |
auth show |
Show client-server connection settings. |
cluster modify |
Manage cluster settings. |
cluster show |
Show cluster settings. |
eula modify |
Manage the acceptance status of the EULA. |
eula show |
Show the acceptance status of the EULA. |
faulty-count modify |
Manage the threshold value of I/O errors for all drives. |
faulty-count show |
Show the threshold value of I/O errors. |
log modify |
Configure the type of system messages that will be added to the system log. |
log show |
Show the selected type of system messages for the system log. |
mail modify |
Manage email notification settings. |
mail show |
Show email notification settings. |
pool modify |
Manage delay timer (in seconds) for the drive replacement from the spare pools. |
pool show |
Show additional settings of the spare pools. |
scanner modify |
Manage RAIDs monitoring, the LED indication and drive SMART settings. |
scanner show |
Manage the LED indication and drive scan settings. |
auth modify
Change client-server connection settings.
When you change any parameter of the xicli settings auth modify command, the xiraid-target.service restarts. Additionally, it will cause all RAIDs to unload. Please, run this command only after stopping all mounted devices.
# xicli settings auth modify <args>
At least one argument is required |
||
--host |
The host name or IP address that will be used for the connection. After changing the host, you must re-generate and replace the certificate. The default: localhost. |
|
--port |
The port that will be used for the connection. The default: 6066. |
auth show
Show client-server connection settings.
# xicli settings auth show
Optional argument |
||
-f | --format |
Output format:
The default: table. |
cluster modify
Manage xiRAID Classic cluster settings.
# xicli settings cluster modify <arg>
Required argument |
||
-ra |
--raid_autostart |
Activate (1) or deactivate RAID autostart (0). |
cluster show
Show xiRAID Classic cluster settings.
# xicli settings cluster show <arg>
Optional argument |
||
-f |
--format |
Output format:
The default: table. |
eula modify
Manage the acceptance status of the EULA.
# xicli settings eula modify
Required argument |
||
-s |
--status |
The status of the EULA acceptance. Possible values: accepted, not_accepted. |
eula show
Show the acceptance status of the EULA.
# xicli settings eula show
Optional argument |
||
-f |
--format |
Output format:
The default: table. |
faulty-count modify
When you change any parameter of the xicli settings faulty-count modify command, the xiraid-scanner.service restarts.
Manage the threshold value of I/O errors for all drives.
# xicli settings faulty-count modify <arg>
Required argument |
||
-t |
--threshold |
The threshold value for all drives. If you set a new fault threshold value, the current numbers of faults are reset for all the drives. Possible values: integers from 1 to 1000. The default: 3. |
faulty-count show
Show the threshold value of I/O errors.
# xicli settings faulty-count show
Optional argument |
||
-f |
--format |
Output format:
The default: table. |
log modify
Configure the type of system messages that will be added to the system log.
# xicli settings log modify <arg>
Required argument |
||
-l |
--level |
The type of system messages that will be added to the system log. Possible values: error, warning, info, debug. Each next type includes the previous one. The default: debug. |
log show
Show the selected type of system messages for the system log.
# xicli settings log show [optional_arg]
Optional argument |
||
-l |
--lines |
The number of error and warning messages in the event log to show, starting from the last entry. Possible values: integers from 1 to 1000. The default: 10. |
mail modify
When you change any parameter of the xicli settings mail modify command, the xiraid-mail.service restarts.
Manage email notification settings.
# xicli settings mail modify <args>
At least one argument is required |
||
-pi |
--polling_interval |
The polling interval for xiRAID Classic RAIDs and the drives in seconds. Possible values: integers from 0 to 86400 (24 hours). The default: 10. |
-ppi |
--progress_polling_interval |
Polling interval for the progress of initialization and reconstruction, in minutes. Possible values: integers from 0 to 1440 (24 hours). The default: 10. |
mail show
Show email notification settings.
# xicli settings mail show
Optional argument |
||
-f | --format |
Output format:
The default: table. |
pool modify
When you change any parameter of the xicli settings pool modify command, the xiraid-scanner.service restarts.
Manage delay timer (in seconds) for the drive replacement from the spare pools.
# xicli settings pool modify <arg>
Required argument |
||
-rd |
--replace_delay |
Delay time (in seconds) for the drive replacement from the spare pools. Only one delay time is used for all the spare pools. Possible values: integers from 1 to 3600. The default: 180. |
pool show
Show delay time used for the drive replacement from the spare pools.
# xicli settings pool show
Optional argument |
||
-f |
--format |
Output format:
The default: table. |
scanner modify
When you change any parameter of the xicli settings scanner modify command, the xiraid-scanner.service restarts.
Manage RAIDs monitoring, the LED indication and drive SMART settings.
# xicli settings scanner modify <args>
At least one argument is required |
||
-spi |
--scanner_polling_interval |
The polling interval for xiRAID Classic RAIDs and drives in seconds. The parameter affects the auto-start delay for the RAID initialization, reconstruction, and restriping. Possible values: integers from 1 to 3600 (1 hour). The default: 1. |
-spi |
--smart_polling_interval |
S.M.A.R.T. drive health polling interval, in seconds. Possible values: integers from 60 to 86400 (24 hours). The default: 86400. |
-le |
--led_enabled |
Enable (1) or disable (0) the automatic LED indication of drives in the system. The default: 1. The argument doesn’t affect manual LED indication. |
scanner show
Show the LED indication and drive scan settings.
# xicli settings scanner show
Optional argument |
||
-f | --format |
Output format:
The default: table. |