1PMDAGFS2(1) General Commands Manual PMDAGFS2(1)
2
3
4
6 pmdagfs2 - Global Filesystem v2 (GFS2) PMDA
7
9 pmdagfs2 is a Performance Metrics Domain Agent (PMDA) which exports
10 metric values about mounted GFS2 filesystems from the debugfs filesys‐
11 tem. This PMDA requires debugfs along with at least one mounted GFS2
12 filesystem to be mounted in order to be able to provide metric data.
13
14 This PMDA can be used with GFS2 filesystems which are both mounted as
15 local filesystems and filesystems which are mounted as shared storage
16 within a clustered environment. However there are some metrics which
17 specifically require GFS2 to be setup in a clustered environment to be
18 able to provide metric data. This is due to them expecting locking mes‐
19 sages to be passed via the distributed lock manager (DLM) between nodes
20 of a cluster in order to generate their output.
21
22 These cluster-environment-only metrics can be distinguished by the
23 inclusion of their corresponding control metrics so that they can be
24 optionally enabled or disabled on systems where they are not desired to
25 be monitored or not supported.
26
27 pmstore(3) can be used to assign values to these control metrics in
28 order to enable (1) or disable (0) them. This mechanism is also useful
29 on distributions that do not currently have full support for the GFS2
30 trace-points or provide older versions of the GFS2 driver.
31
32 Further details on clustering and GFS2 can be found at http://red‐
33 hat.com
34
36 Install the GFS2 PMDA by using the Install script as root:
37
38 # cd $PCP_PMDAS_DIR/gfs2
39 # ./Install
40
41 To uninstall, do the following as root:
42
43 # cd $PCP_PMDAS_DIR/gfs2
44 # ./Remove
45
46 pmdagfs2 is launched by pmcd(1) and should never be executed directly.
47 The Install and Remove scripts notify pmcd when the agent is installed
48 or removed.
49
51 $PCP_PMDAS_DIR/gfs2/help
52 default help text file for the GFS2 metrics
53
54 $PCP_PMDAS_DIR/gfs2/Install
55 installation script for the pmdagfs2 agent
56
57 $PCP_PMDAS_DIR/gfs2/Remove
58 undo installation script for the pmdagfs2 agent
59
60 $PCP_LOG_DIR/pmcd/gfs2.log
61 default log file for error messages from pmdagfs2
62
64 Environment variables with the prefix PCP_ are used to parameterize the
65 file and directory names used by PCP. On each installation, the file
66 /etc/pcp.conf contains the local values for these variables. The
67 $PCP_CONF variable may be used to specify an alternative configuration
68 file, as described in pcp.conf(5).
69
71 pmcd(1), pmstore(1), and gfs2(5).
72
73
74
75Performance Co-Pilot PCP PMDAGFS2(1)