To collect sample data for analysis by VRAdvisor, you need not have VRAdvisor installed on the system. Use the data collection script to collect data for AIX, HP-UX, Linux, or Solaris systems.
The data collection script performs the following tasks:
collects sample data using the appropriate method for the host. If VxVM is installed, the script uses the vxstat command to collect data. If VxVM is not installed, the script uses the appropriate operating system command to collect data:
stores the collected data and its associated metadata in a format that can be analyzed by VRAdvisor.
sends notifications by email when an error occurs or when the data collection has successfully completed.
To collect data using the script
# export LC_ALL=C
Copy the data collection script and ALL required files to the system on which you plan to collect data, from one of the following locations:
storage_foundation/tools/vradvisor/scripts/ directory of the Symantec product disc
scripts directory of a Solaris system where VRAdvisor is installed. By default, the /opt/VRTSvradv/scripts directory.
scripts folder of a Windows system where VRAdvisor is installed. By default, the folder Program Files/VERITAS/Volume Replicator Advisor/scripts
# sh vra_data_collection.sh [-g dgname] [-i interval] \ [-t duration] [-d dirname] [-v volume_list] \ [-m maillist]
where:
dgname is a comma-separated list of disk groups for which data needs to be collected, if VxVM is installed. The default is all disk groups on the host.
interval is the data collection interval in seconds. The default is 120 seconds.
duration is the duration for which to collect data, in hours or days. Specify the suffix "h" for hours, "d" for days. The default is 14 days.
volume_list is a comma-separated list of volume names for which data needs to be collected, if VxVM is installed. The default is all volumes on the host.
dirname is the directory in which to store the collected data files. If no directory is specified, the files are stored in the current working directory.
maillist is a comma-separated list of email-ids to receive notifications. By default, the script sends an email notification to the root user of the host.