shaman-monitor − cluster activity monitor daemon for R-Virtualization clusters.
shaman-monitor -c cluster_name [options…]
shaman-monitor is a daemon responsible for monitoring, controlling cluster activity on R-Virtualization nodes and providing high availability support.
-c, –cluster <name>
Set the name of the cluster to operate on. If (-c) is omitted, the shaman-monitor service will operate on the cluster specified in the shaman.conf(5) file.
-d, –daemonize
Daemonize the shaman-monitor service after start-up.
-l, –log <path>
Set the path to the log file.
-v, –verbose
Increase the log verbosity level specified in the shaman.conf(5) file.
-q, –quiet
Disable printing of messages to the console.
-V, –version
Print the shaman-monitor version.
-h, –help
Display the list of allowed options.
/etc/shaman/shaman.conf
Main shaman-monitor configuration file; see shaman.conf(5) for details.
<vstorage mount point>/.shaman/config
Secondary shaman-monitor configuration file; see shaman.conf(5) for details.
/usr/share/shaman/notify
/usr/share/shaman/schedule
/usr/share/shaman/relocate
/usr/share/shaman/fence
/usr/share/shaman/describe
Main resource controlling scripts used by shaman-monitor; see shaman-scripts(8) for details.
shaman-monitor returns 0 upon successful execution. If something goes wrong, it returns an appropriate error code:
1 | System error. | |
2 | Failed call of R-Storage API. | |
3 | shaman-monitor is already running. | |
4 | Invalid value specified for the option. | |
5 | This node is not registered in the cluster. | |
6 | Script execution timeout expired. | |
7 | Failed to validate the R-Storage lease. | |
8 | R-Storage cluster version is not supported. | |
11 | Execution is interrupted by a signal. | |
18 | The R-Storage filesystem is not mounted. | |
19 | The R-Storage filesystem mount point is not functional. Remount the filesystem and retry. | |
20 | The Virtiozzo license is not present or expired. | |
255 | Unknown command or option specified. |
shaman(8), shaman.conf(5), shaman-scripts(8)
Copyright © 2013-2017 R-Platforma LLC, All rights reserved. Copyright © 2017-2019 R-Platforma LLC, All rights reserved.