Collecting data using the data collection script

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:

To collect data using the script

  1. Set the locale to a supported locale. For example:
    # export LC_ALL=C
    
  2. 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

    Make sure to copy all the files in the directory.
  3. To collect the data in the format required for analysis, use the following script:
     # 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.

To show help for the script options