You can configure VVR to collect statistics of the VVR components. The collected statistics can be used to monitor the system and diagnose problems with the VVR setup. VVR collects the statistics generated by the VVR commands vxrlink stats, vxrlink status and vxrvg stats for all the imported disk groups, and the system level commands netstat, vmstat, and vxmemstat. The output of these commands are stored in separate files.
By default, VVR collects the statistics automatically when the vradmind daemon starts. Configuring VVR to collect statistics according to your requirements involves modifying the values of the environment variables in the vras_env file, located in the /etc/vx/vras directory.
To configure VVR to collect statistics automatically
Modify the default values for the environment variables specified in the vras_env located in the /etc/vx/vras directory file to suit your requirements. The following table provides information about the variables:
Restart the vradmind daemon as follows:
# /etc/init.d/vras-vradmind.sh stop # /etc/init.d/vras-vradmind.sh start
You can restart vradmind even while the application is active and replication is in progress.