Revision 5b6ef0e7

b/man/mon-collector.rst
67 67

  
68 68
-p *port-number*, \--port=*port-number*
69 69
  The port the ConfD deamon is listening on.
70

  
71
LOGICAL VOLUMES
72
~~~~~~~~~~~~~~~
73

  
74
| lv [ [ **-a** | **\--address** ] = *ip-address* ] [ [ **-p** | **\--port** ] 
75
  = *port-number* ] [ [ **-f** | **\--file** ] = *input-file* ] 
76
  [ [ **-i** | **\--instances** ] = *instances-file* ]
77

  
78
Collects the information about the logical volumes of the current node.
79

  
80
In order to perform this task, it needs to interact with the ``lvs`` command
81
line tool and to connect to the ConfD daemon to fetch some configuration
82
information. The following parameters allow the user to specify the position
83
where the daemon is listening, in case it's not the default one:
84

  
85
-a *ip-address*, \--address=*ip-address*
86
  The IP address the ConfD daemon is listening on.
87

  
88
-p *port-number*, \--port=*port-number*
89
  The port the ConfD deamon is listening on.
90

  
91
Instead of accessing the live data on the cluster, the tool can also read data
92
serialized on files (mainly for testing purposes). Namely:
93

  
94
-f *input-file*, \--file *input-file*
95
  The name of the file containing a recorded output of the ``lvs`` tool.
96

  
97
-i *instances-file*, \--instances=*instances-file*
98
  The name of the file containing a JSON serialization of instances the 
99
  current node is primary and secondary for, listed as::
100

  
101
    ([Instance], [Instance])
102

  
103
  where the first list contains the instances the node is primary for, the 
104
  second list those the node is secondary for.

Also available in: Unified diff