Predict

Description

This utility can be used to determine the amount of change on the volume or folder to help Administrators estimate the data that would be replicated. The utility installs the necessary driver which will monitor the rate of change on the volume at folder level. Each listed command should be run from a command line prompt, in the folder where the tool package resides.

Prerequisites

  • Microsoft Visual C++ 2008 Redistributable Package is automatically installed. Note that Visual C++ 2008 Redistributable Package can co-exist with other versions of this software.
  • .NET Framework 2.0 is automatically installed. Note that .NET Framework 2.0 can co-exist with other versions of this software.

Usage

  1. Copy the CDRPredictor folder from the Resource Pack to a local folder in your hard drive.
  2. Install the Replication Predictor by executing this command:
    • Windows

      installdrv -install

      Verify that the message shown by install reports the correct platform for your machine.

    • UNIX

      ./install

      Follow the prompts to install the tool in the directory of your choice.

  3. Begin monitoring a volume, folder, mount point, or file system by executing this command.
    • Windows

      predict -folder full path and folder name

      Examples:

      predict -folder G:\data

      predict -folder G:\

    • UNIX

      cdrp -start fname

  4. View the data for a monitored volume, folder, mount point, or file system by executing this command.
    • Windows

      predict -getdata full path and folder name

      If you specify a volume for this command, all monitored paths in this volume will be reported.

      Examples:

      predict -getdata G:\data

      predict -getdata G:\

      Sample Output:

      predict -getdata L:\
      Vol Name: L:\
      Folder \test1\
      Monitored Interval From time_stamp to time_stamp
      Monitored area Bytes Changed 00863744 Change in MB = 0.823730 MB
      Folder \test\
      Monitored Interval From time_stamp to time_stamp
      Monitored area Bytes Changed 60018688 Change in MB = 57.238281 MB

      If you are monitoring multiple folders on a volume, the statistics will be reported for all the monitored folders on the volume.

    • UNIX

      cdrp -q[uery] [[-c] fname]

      Queries replication statistics for the file system that the specified file belongs to. If a file name is not provided, the program will enumerate all mounted watched file systems and will provide statistics for each of them. You may pass a "-c" option along with the file name. This will make the tool perform continuous queries -- refreshing the screen every several seconds.

  5. Reset the data for a monitored volume, folder, mount point, or file system by executing this command.
    • Windows

      predict -getdata full path and folder name -c

      If you specify a volume for this command, the data for all monitored paths in this volume will be reset.

      Examples:

      predict -getdata G:\data -c

      predict -getdata G:\ -c

    • UNIX

      cdrp -r[eset] [fname]

      Resets replication statistics for the file system that the specified file belongs to. If a file name is not provided, the program will reset replication statistics for all mounted, monitored file systems.
  6. Stop monitoring by executing this command.
    • Windows

      predict -remove full path and folder name

      Examples:

      predict -remove G:\data

      predict -remove G:\

    • UNIX

      cdrp -stop fname

  7. Remove the Replication Predictor by executing this command.
    • Windows

      installdrv -remove

      The tool will not load next time you reboot the system.
    • UNIX

      ./uninstall

      Follow the prompts to uninstall the tool.