meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
domestic:rosplatforma:man:shaman [2023/01/26 14:28] – [COMMANDS] mchusdomestic:rosplatforma:man:shaman [2023/01/26 14:34] (current) mchus
Line 68: Line 68:
 ===== INTERACTIVE COMMANDS  ===== ===== INTERACTIVE COMMANDS  =====
  
-The following interactive keyboard commands are available when running the **shaman top** command.+The following interactive keyboard commands are available when running the ''shaman top'' command.
  
-||**g**||Group or ungroup resources by their status.|| +  ''g'' Group or ungroup resources by their status. 
-||**v**||Show or hide additional information.       || +  ''v'' Show or hide additional information. 
- +  ''ENTER'' or ''SPACE''Update the screen. 
-**ENTER** or **SPACE** +  ''q'' or ''Esc'' or ''CTRL-C''Quit the command. 
- +  ''h''Show the help screen.
-Update the screen. +
- +
-**q** or **Esc** or **CTRL-C** +
- +
-Quit the command. +
- +
-||**h**||Show the help screen.||+
  
 ===== DISPLAYED FIELDS EXPLANATION  ===== ===== DISPLAYED FIELDS EXPLANATION  =====
  
-The **shaman stat** and **shaman top** commands display the following information: +The ''shaman stat'' and ''shaman top'' commands display the following information:
- +
-**OVERALL STATISTICS**\\ +
-Overview of cluster nodes and resources controlled by ''shaman'' monitor. **\\ +
-Nodes** +
- +
-Total number of nodes for which high availability is enabled. +
- +
-**Resources** +
- +
-Total number of resources controlled by ''shaman''+
- +
-**NODES STATISTICS**\\ +
-Detailed statistics for each node controlled by ''shaman''. **\\ +
-SPECIAL MARKS** +
- +
-Node where you run the ''shaman'' command is marked with *****. The master node is marked with the **M** letter. +
- +
-**NODE_IP** +
- +
-IP address assigned to the node. +
- +
-**STATUS** +
- +
-State of the node. Cluster resources can be relocated to **Active** nodes only. The possible states are**\\ +
-Active** -- The node and the **shaman-monitor** daemon are up and running. **\\ +
-Inactive** -- The node or the **shaman-monitor** daemon is down. **\\ +
-No license** -- The R-Virtualization license is not installed on the node. **\\ +
-Evacuating** -- The node has crashed and its resources are being relocated to other nodes by the master instance of the **shaman-monitor** daemon. **\\ +
-Skipped** -- The node has crashed and its resources have not been relocated to other nodes due to the RELOCATION_SKIP_THRESHOLD limit (see shaman.conf(5)). **\\ +
-Unknown** -- Node state cannot be determined. +
- +
-**NODE_ID**+
  
-Internal ID of the node.+''OVERALL STATISTICS'' - Overview of cluster nodes and resources controlled by ''shaman'' monitor.  
 +  * ''Nodes''  - Total number of nodes for which high availability is enabled. 
 +  * ''Resources'' - Total number of resources controlled by ''shaman''.
  
-**ROLES**+''NODES STATISTICS'' - Detailed statistics for each node controlled by ''shaman''
  
-Roles of the node.+''SPECIAL MARKS'' - Node where you run the ''shaman'' command is marked with ''*''. The master node is marked with the ''M'' letter.
  
-**RESOURCES**+''NODE_IP'' - IP address assigned to the node.
  
-Number of resources of each type hosted on the node. The resources with the **Broken** status are not taken into account.+''STATUS'' - State of the node. Cluster resources can be relocated to ''Active'' nodes only. The possible states are: 
 +  * ''Active'' -- The node and the ''shaman-monitor'' daemon are up and running.  
 +  ''Inactive'' -- The node or the ''shaman-monitor'' daemon is down.  
 +  ''No license'' -- The R-Virtualization license is not installed on the node.  
 +  ''Evacuating'' -- The node has crashed and its resources are being relocated to other nodes by the master instance of the ''shaman-monitor'' daemon.  
 +  * ''Skipped'' -- The node has crashed and its resources have not been relocated to other nodes due to the RELOCATION_SKIP_THRESHOLD limit (see shaman.conf(5)).  
 +  * ''Unknown'' -- Node state cannot be determined.
  
-**RESOURCES STATISTICS**\\ +''NODE_ID'' Internal ID of the node.
-Detailed statistics for each resource controlled by **shaman-monitor****\\ +
-SPECIAL MARKS**+
  
-Resources waiting for relocation are marked with **P** (’Pool’ state). Resources that shaman-monitor has failed to relocate are marked with **B** (’Broken’ state).+''ROLES'' Roles of the node.
  
-**OWNER_IP**+''RESOURCES'' - Number of resources of each type hosted on the node. The resources with the ''Broken'' status are not taken into account.
  
-IP address of the node hosting the resource.+''RESOURCES STATISTICS'' - Detailed statistics for each resource controlled by ''shaman-monitor''
  
-**OWNER_ID**+''SPECIAL MARKS'' - Resources waiting for relocation are marked with ''P'' (’Pool’ state). Resources that shaman-monitor has failed to relocate are marked with ''B'' (’Broken’ state).
  
-Internal ID of the node hosting the resource.+''OWNER_IP'' - IP address of the node hosting the resource.
  
-**PRIORITY**+''OWNER_ID'' - Internal ID of the node hosting the resource.
  
-A positive value determining the relocation priority of a resource. Resources with a higher priority are relocated first. The default value is 0.+''PRIORITY''A positive value determining the relocation priority of a resource. Resources with a higher priority are relocated first. The default value is 0.
  
-**NOTES**\\ +''NOTES''The resource statistics usually contains several resource-related fields such as ''ID''''PWRR'', and ''NAME''. These fields are defined by the resource descriptions retrieved from the respective resource scripts and can be customized to meet your needs. See **[[domestic:rosplatforma:man:shaman-scripts]]**(5) for details.
-The resource statistics usually contains several resource-related fields such as **ID****PWRR**, and **NAME**. These fields are defined by the resource descriptions retrieved from the respective resource scripts and can be customized to meet your needs. See **shaman-scripts**(8) for details.+
  
 ===== FILES  ===== ===== FILES  =====
  
-///etc/shaman/shaman.conf//+''/etc/shaman/shaman.conf''
  
 Main ''shaman'' configuration file; see **[[domestic:rosplatforma:man:shaman.conf]]**(5) for details. Main ''shaman'' configuration file; see **[[domestic:rosplatforma:man:shaman.conf]]**(5) for details.
  
-///usr/share/shaman/enumerate//+''/usr/share/shaman/enumerate''
  
 Main resource controlling script used by ''shaman''; see **shaman-scripts**(8) for details. Main resource controlling script used by ''shaman''; see **shaman-scripts**(8) for details.