DiskSavvy Disk Space Analyzer
DiskSavvy Disk Space Analyzer
DiskSavvy Disk Space Analyzer
Flexense Ltd.
DiskSavvy
Disk Space Analyzer
User Manual
Version 3.4
Dec 2011
Flexense Ltd.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Product Overview................................................................................................3 DiskSavvy Product Versions ................................................................................4 Product Installation Procedure ...........................................................................5 Analyzing Disk Space Usage in a Directory..........................................................6 Using File Categories and File Filters ..................................................................7 Showing Disk Space Usage Pie Charts.................................................................8 Using Built-in File Management Operations ........................................................9 Using Built-in File Classification Capabilities.....................................................10 Saving Disk Space Analysis Reports ..................................................................11 Customizing HTML Reports ...............................................................................12 Exporting Reports to an SQL Database..............................................................13 Analyzing Disk Space Usage on Multiple Hosts..................................................14 Analyzing Disk Space Usage Per User ...............................................................15 Disk Space Usage History Charts.......................................................................16 Automatic Report Management .........................................................................17 Analyzing Multiple Disks or Directories .............................................................18 Analyzing Network Shares Using UNC Path Names ...........................................18 Analyzing Disk Space in One or More Servers ...................................................19 Analyzing Files in All Servers on the Network ...................................................19 Analyzing Disk Usage for Specific File Types.....................................................20 Excluding Subdirectories from Analysis Process ...............................................20 Windows Shell Extension ..................................................................................21 Executing Disk Space Analysis Actions..............................................................22 Advanced Disk Space Analysis Options .............................................................24 Managing File Classification Plugins..................................................................24 Configuring DiskSavvy GUI Application.............................................................25 Using DiskSavvy GUI Layouts ...........................................................................26 DiskSavvy Command Line Utility .......................................................................27 Product Update Procedure ................................................................................29 Registering DiskSavvy Pro ................................................................................30 Installing MySQL Database ...............................................................................31 Configuring MySQL Database ............................................................................36 Configuring MySQL ODBC Data Source ..............................................................37 Configuring DiskSavvy Database Connection ....................................................38 Supported Operating Systems...........................................................................39 System Requirements .......................................................................................39
Flexense Ltd.
Product Overview
DiskSavvy is a powerful, fast and easy-to-use disk space analyzer allowing one to analyze disks, network shares and NAS storage devices. The user is provided with the ability to analyze one or more directories, disks or network shares, detect directories and files holding significant amounts of the disk space, display pie charts, export disk space usage reports and perform multiple file management operations such as file copy, move and delete.
In addition, power computer users are provided with an advanced product version, named DiskSavvy Pro, which is capable of processing significantly larger amounts of files, allows one to analyze specific file types, provides additional report formats and enables execution of userdefined disk space analysis commands using direct desktop shortcuts.
Finally, DiskSavvy Ultimate, which is especially designed for IT and storage administrators, allows one to submit disk space analysis reports from multiple servers or desktop computers to a centralized SQL database, analyze disk space usage per host, analyze the amount of used disk space per user, define custom rule-based disk space analysis actions and perform automatic disk usage analysis operations using the DiskSavvy command line utility.
Flexense Ltd.
Features Maximum Number of Files Maximum Storage Capacity Maximum Number of Profiles Support for Unicode File Names Support for Long File Names Support for UNC Network Path Names Built-In File Management Operations Pie Charts and Bars Charts Option to Analyze Specific File Types HTML, Text and Excel CSV Reports Copy ACLs and Security Attributes Multi-Stream File Copy, Move and Delete Built-In Data Wiping Capabilities Performance Tuning Options Dynamic Speed Control Rule-Based Disk Space Analysis Actions SQL Database Integration Disk Space Usage Per Host Disk Space Usage Per User Disk Space Usage History Charts Custom Classification Plugins Command Line Utility License
* Product features, prices and license terms are subject to change without notice.
Flexense Ltd.
DiskSavvy is available as a free download from our web site page and from a large number of software directories from around the world. To be sure you are getting the latest product version check here: http://www.disksavvy.com/downloads.html DiskSavvy is especially designed to be as simple as possible. The installation procedure is very simple, requires no special knowledge and may be completed in less than 30 seconds. There is no need for any additional software. Just download the DiskSavvy installation package, run the setup program and you are done.
On the 'Welcome' screen press the 'Next' button. Read the end-user license agreement and press the 'I Agree' button if you agree with the license terms or the 'Cancel' button to stop the installation process.
Select the destination directory, press the 'Install' button and wait for the installation process to complete. That's all you need to do to install the DiskSavvy disk space analyzer utility on your computer.
Flexense Ltd.
The simplest way to analyze disk space usage in a directory is to press the 'Analyze' button located on the main toolbar and enter the full path of the directory to analyze. In order to analyze multiple directories, disks or network shares, enter all the required locations separated by the semicolon (;) character and press the 'Analyze' button.
Depending on the speed of the disk and the amount of files that should be processed, the disk usage analysis process may take from a couple of seconds for hundreds of files to a few minutes for large file systems containing millions of files. During the disk space analysis process, DiskSavvy will display the progress of the disk space analysis process showing the total amount of processed files and the amount of processed storage space. Once the analysis process is completed, DiskSavvy will display a hierarchy of processed directories and files sorted by the amount of used storage space. For each directory, DiskSavvy will show the name of the directory, the total amount of files in the directory and all subdirectories and the total amount of the disk space used by all files in the directory and all subdirectories.
Click on a directory item to open the directory and show nested subdirectories and files. Select one or more directories and/or files and press the right mouse button to perform a file management operation on the selected items. For example, select one or more files, press the right mouse button and select the 'Move To' menu item to move all the selected files to another location.
Flexense Ltd.
DiskSavvy Pro allows one to analyze disk space utilization by the file extension, file type, last assess time, last modification time and file creation time. After finishing analyzing the specified disks or directories, DiskSavvy performs automatic file categorization and fills the list of detected file categories, which is located just under the directory view in the main GUI application.
By default, DiskSavvy categorizes all files by the file extension and shows a list of all types of detected file extensions sorted by the amount of used disk space. For each category, Disk Savvy shows the number of files, the amount of used disk space and the percentage of the used disk space relative to other file categories. Use the 'Categories' combo box to categorize files by the file type, last access time, last modification time or creation time.
One of the most useful features of DiskSavvy is the ability to analyze disk space utilization by one or more specific file categories using file filters. For example, in order to see all files that were accessed 2-3 months ago, select the access time-based file categorization mode and double-click on the 'Files Last Accessed 2-3 Months Ago' file category. DiskSavvy will filter the currently displayed file hierarchy and show all files that were accessed 2-3 months ago.
Flexense Ltd.
The DiskSavvy disk space analyzer provides multiple types of pie charts capable of showing the amount of used disk space and numbers of files per directory, extension, file type, file size, file owner, last access time, modification time and creation time. In order to open the charts dialog, press the 'Charts' button located on the main toolbar.
By default, the charts dialog shows the used disk space and numbers of files for the current file system location and the selected second-level file categories. For example, in order to open a chart showing numbers of files per file category, select the 'Categorize by File Type' second-level file category and open the charts dialog.
In addition, the charts dialog provides the user with the ability to copy the displayed chart image to the clipboard allowing one to easily integrate DiskSavvy charts into user's documents and presentations. In order to customize the chart's description, press the 'Options' button and specify a custom chart date, time or title.
Flexense Ltd.
DiskSavvy provides the user with the ability to perform a number of file management operations such as file copy, move and delete. In addition, DiskSavvy allows one execute programs, open files and start the Windows Explorer application in the current directory or in the directory where the currently selected file or directory is located in.
In order to copy one or more directories or files, select the required file or directory items in the directory view, press the right mouse button and select the 'Copy To' menu item. The DiskSavvy's built-in file copy engine provides a large number of advanced file copy options allowing one to customize the copy operation for user-specific needs and requirements.
In order to open the 'Advanced Copy Options' dialog press the 'Advanced Options' button located on the 'Copy' dialog. Once ready, press the 'Copy' button to copy all the selected files and directories to the specified destination directory. In order to delete one or more files or directories, select the required items in the directory view, press the right mouse button and select the 'Delete' menu item. Power computer users are provided with advanced file delete options allowing one to customize the delete operation for user-specific needs and requirements. Once ready, press the 'Delete' button to delete all the selected files and directories.
Flexense Ltd.
One of the most powerful features provided by the DiskSavvy disk space analyzer is the ability to classify storage analysis results by file type, size, access, modification and creation time, etc. Suppose you have detected a directory that consumes the most space on your disk, but what files do you have in that directory?
Just select the directory in the results view, press the right mouse button over the directory and select the 'Classify' menu item. On the classification plugins dialog, select an appropriate file classification plugin and press the 'Ok' button. DiskSavvy will classify the directory and display a hierarchy of file categories, groups and classes sorted by the amount of used disk space. In order to open a file category, just doubleclick on the category item in the classification results dialog.
The classification results dialog allows one to perform the file copy, move and delete operations on individual files, file classes and categories. For example, in order to delete all document files, select the 'Documents' file category, press the 'Delete' button and DiskSavvy will delete all files related to the selected file category.
10
Flexense Ltd.
DiskSavvy Pro provides power computer users with the ability to export disk space analysis reports to the HTML, Excel CSV and text formats. In order to export a disk space analysis report, analyze one or more disks or directories and press the 'Report' button located on the main toolbar.
On the 'Report' dialog enter the report title, specify the file name to save the report to and select one of the following report formats: HTML, Excel CSV or ASCII text. By default, DiskSavvy will save a disk usage analysis report for the directory currently displayed in the directory view.
In order to export a full report containing all subdirectories and files, select the 'Full Report' option on the right side of the report format selector. Keep in mind that disk space analysis reports for large file systems containing millions of files may be very large and difficult to open using standard tools especially when exported to the HTML format. In order to reduce the side of the report, press the 'More Options' button to show advanced reporting options and limit the report to a specific amount of nested levels or files per level to export.
11
Flexense Ltd.
Now, navigate to the 'DiskSavvy/templates' directory, open the 'report_header.html' and/or the 'report_footer.html' template files using a standard text editor and specify custom CSS styles, logos, etc. to be used in DiskSavvy disk space analysis HTML reports.
12
Flexense Ltd.
The report database dialog displays reports that were submitted to the database and allows one to search reports by the report title, host name, date or directories that were processed. For each report in the database, DiskSavvy displays the report date, time, host name, directories that were processed, the amount of files and storage space the report refers to and the report title. In order to open a report, just click on the report item in the report database dialog.
In order to connect DiskSavvy to an SQL database, the user is required to define an ODBC data source in the computer where DiskSavvy is installed on and to specify the ODBC data source in the DiskSavvy options dialog. Open the options dialog, select the Database tab, enable the ODBC interface and specify a valid user name and password to connect DiskSavvy to an SQL database. In order to export a report to an SQL database, press the 'Save' button on the results dialog and select the 'SQL Database' format. In addition, the user is provided with the ability to use the command line utility, which is available in DiskSavvy Ultimate, to export reports to an SQL database.
13
Flexense Ltd.
In order to perform advanced disk space usage analysis, the user needs to connect DiskSavvy to an SQL Database, perform disk space analysis on multiple hosts using the DiskSavvy GUI application or the DiskSavvy command line utility and submit reports from all hosts to the SQL database. Once reports from all hosts are in the database, open the Database dialog and press the Hosts button to open the Hosts Statistics dialog.
The simplest way to submit reports from multiple servers or desktop computers is to use the DiskSavvy command line utility to analyze all the required hosts through the network. In order to simplify submission of reports to the SQL database, the command line utility may be executed on the same host where the SQL database is installed on. In this case, the user needs to specify one or more network shares to be processed and the host name to be set for each report.
Another option is to execute the command line utility on each specific host, save disk space analysis reports and later submit reports from all hosts to the SQL database using the DiskSavvy GUI application. In this case, there is no need to set the host name, which will be set automatically to the name of the host the command line utility is executed on.
14
Flexense Ltd.
Important: By default, processing and display of user names is disabled. In order to be able to see user names, open the options dialog, select the 'General' tab and enable this option.
In order to analyze disk space usage per user, connect DiskSavvy Ultimate to an SQL Database and submit disk space usage reports containing files owned by multiple users to the SQL database using the DiskSavvy GUI application or the DiskSavvy command line utility. Once reports are in the database, open the Database dialog and press the Users button to open the Users Statistics dialog.
disksavvy -analyze -dir \\server\share -host <Host Name> -save_to_database The simplest way to submit reports from multiple servers or desktop computers is to use the DiskSavvy command line utility to analyze all the required hosts through the network. In order to simplify submission of reports to the SQL database, the command line utility may be executed on the same host where the SQL database is installed on. In this case, the user needs to specify one or more network shares to be processed and the host name to be set for each report.
Another option is to execute the command line utility on each specific host, save disk space analysis reports and later submit reports from all hosts to the SQL database using the DiskSavvy GUI application. In this case, there is no need to set the host name, which will be set automatically to the name of the host the command line utility is executed on.
15
Flexense Ltd.
In order to display a history chart, save a series of reports to an SQL database, open the SQL reports dialog and press the 'History' button. A series of reports may be exported to an SQL database manually using the DiskSavvy GUI application or automatically using the DiskSavvy command line utility.
The DiskSavvy command line utility allows one to analyze disk space usage in one or more disks or directories and save a report to an SQL database. In order to generate reports for multiple servers or desktop computers through the network, the user needs to specify one or more network shares that should be processed using the UNC notation and set an appropriate host name for each report saved to the database.
Finally, the command line utility may be used in conjunction with the standard Windows task scheduler to periodically analyze disk space usage in one or more servers or desktop computers, save reports to a centralized SQL database and generate history charts showing how the used disk space and the number of files are changing over time. The history charts dialog displays the list of available charts, the list of host computers where the charts were generated on and extended statistical information for each chart. The user is provided with the ability to filter charts by the host name, location, report label, etc. allowing one to select an appropriate history chart. In addition, the charts dialog allows one to change the chart's title and footer, export the chart's image to the clipboard making it very easy to integrate DiskSavvy history charts in user's custom reports and presentations.
16
Flexense Ltd.
By default, DiskSavvy keeps all reports in the reports directory or the SQL database. In order to enable automatic report management, open the 'Options' dialog, select the 'Reports' tab and change the 'Report Files' or 'Report Database' options to appropriate values. The 'Report Files' option is applicable to HTML, text, Excel CSV, XML and DiskSavvy native reports saved to a reports directory or to the user's home directory using the DiskSavvy command line utility. After saving each new report, DiskSavvy will check if there are too many reports of the same type (HTML, XML, CSV, etc.) in the reports directory and delete old reports according to the user-specified configuration. The 'Report Database' option is applicable to reports submitted to an SQL database using the DiskSavvy GUI application or the DiskSavvy command line utility. After saving each new report to the database, DiskSavvy will check if there are too many reports from the same host computer, for the same set of disks or directories and delete old reports according to the userspecified configuration. For example, if reports from two different servers are submitted to the same SQL database, DiskSavvy will keep in the database X last reports for each server. The 'File Categories' option allows one to enable/disable exporting of file categories to HTML, text, Excel CSV and XML reports. Second-level file categories are available when reports are saved using the DiskSavvy GUI application manually. Automatically generated reports or reports saved using the DiskSavvy command line utility always saved without file categories. When the 'File Categories' option is enabled, DiskSavvy GUI application will save second-level file categories to HTML, text, Excel CSV and XML reports. The 'Compressed Reports' option allows one to save automatically generated HTML, text, Excel CSV and XML reports as compressed archive files.
17
Flexense Ltd.
By default, DiskSavvy will process all the specified locations sequentially, one after one. When processing directories located on different physical disks or different computers, it may be more effective to process all the specified locations simultaneously. In order to process all the specified locations in parallel, open the disk space analysis profile dialog, press the 'Options' button, select the 'General' tab and set the 'File Scanning Mode' option to 'Parallel'.
Multiple UNC path names (separated by the semicolon character) may be entered into the directories entry located under the main toolbar or permanently specified in the profile dialog. All directories and files processed using UNC path names will be prefixed with an appropriate server/share name according to the location of each specific directory or file. When working with UNC path names, it is important to keep in mind that all file management operations such as copy, mode and delete will be performed using UNC path names and the user should have appropriate permissions on each specific network share and/or NAS storage device.
18
Flexense Ltd.
DiskSavvy will detect network shares available in the specified servers and show a network share list dialog allowing one to select the network shares that should be processed. In order to be able to use this feature, the user needs to have permissions to access network shares.
19
Flexense Ltd.
In order to add one or more file matching rules, open the profile dialog, select the 'Rules' tab and press the 'Add' button. On the 'Rules' dialog select an appropriate rule type and specify all the required parameters. During the disk space analysis process, DiskSavvy Pro will process all the entered input directories and apply the specified file matching rules to all the existing files. Files not matching the specified rules will be skipped from the disk usage analysis process and the results view will contain user-selected files only.
In order to add one or more directories to the exclude list, open the disk space analysis profile dialog, press the 'Options' button, select the 'Exclude' tab and press the 'Add' button. Keep in mind that exclude directories are case sensitive and should be specified with the same case as stored on the disk. All files and subdirectories located in the specified exclude directory will be excluded from the disk usage analysis process. Select an exclude directory and press the 'Delete' button, to remove the selected directory from the exclude list.
20
Flexense Ltd.
In most cases, the Windows shell extension is a very useful feature, but sometimes, when the user have too many installed shell extensions, the Windows context menu may become too cluttered. In order to remove the DiskSavvy entry from the Windows context menu, open the options dialog, select the 'General' tab and disable the Windows shell extension.
21
Flexense Ltd.
For example, DiskSavvy allows one to send e-mail notifications, save reports and/or execute custom commands when there are too many files, too much space is consumed or the free space is below a specified limit in one or more disks or directories.
In order to add one or more storage analysis actions, open the profile dialog, select the 'Actions' tab, press the 'Add' button and specify the condition to be met and the action to execute.
22
Flexense Ltd.
After finishing analyzing input disks or directories, DiskSavvy will process all the specified disk space analysis actions and display the 'Actions Preview' dialog. In order to execute one or more actions, select the actions to be executed and press the 'Execute' button.
In order to execute disk space analysis actions fully automatically, in an unattended mode, change the actions mode from 'Preview' to 'Execute' and use the DiskSavvy command line utility, which will process all the input directories and execute the specified storage analysis actions fully automatically.
23
Flexense Ltd.
In order to customize the disk usage analysis process, open the profile dialog and select the 'Advanced' options tab. The advanced options tab allows one to control the type of the default report title, the performance mode, the file scanning mode and the file scanning filter, which may be used to limit the analysis process to specific file types.
Finally, DiskSavvy Ultimate allows one to add custom XML file classification plugins designed according to the FlexTk XML format specification. In order add a custom XML plugin, select menu 'Tools - Manage Plugins ...', press the 'Add' button and select the XML plugin file that should be added to the product configuration.
24
Flexense Ltd.
The 'General' tab allows one to control the following options: Show Main Toolbar - Enables/Disables the main toolbar Always Show Profile Dialog Before Start - This option instructs DiskSavvy to show the profile dialog before starting the analysis process. Auto-Close Successfully Completed Tasks - select this option to automatically close the process dialog and show analysis results. Automatically Check For Product Updates - select this option to instruct DiskSavvy to automatically check for available product updates. Show Scanning Access Denied Errors - select this option to see error messages when DiskSavvy is prevented to scan files in a directory Process System Files - select this option to analyze system files and directories Abort Operation On Critical Errors - by default DiskSavvy is trying to process as many files as possible logging non-fatal errors in a process log. Select this option to instruct DiskSavvy to abort operation when encountering a critical error.
The 'Shortcuts' tab provides the user with the ability to customize keyboard shortcuts. Click on a shortcut item to edit the currently assigned key sequence. Press the 'Default Shortcuts' button to reset all keyboard shortcuts to default values.
The 'Proxy' tab provides the user with the ability to configure the HTTP proxy settings. DiskSavvy uses the HTTP protocol in order to inquire whether there is a new product version available on the web site.
25
Flexense Ltd.
The first (default) GUI layout displays large toolbar buttons with descriptive text labels under each button and shows the directories entry and the profiles combo box under the main toolbar. The second GUI layout displays small toolbar buttons with descriptive text labels beside each button and shows the directories entry and the profiles combo box under the main toolbar.
The third GUI layout displays small toolbar buttons without descriptive text labels and shows the directories entry and the profiles combo box as a single toolbar.
26
Flexense Ltd.
disksavvy -execute <Profile Name> This command executes the specified disk space analysis command.
disksavvy -analyze -dir <Directory 1> [ ... Directory X ] This command analyzes disk space usage in the specified directories, disks or network shares.
disksavvy -analyze -server <HostName1;HostName2;HostNameX> This command analyzes disk space usage in all network shares in the specified servers and/or NAS storage devices. Multiple host names or IP addresses should be separated by the semicolon (;) character.
disksavvy -analyze -network This command analyzes disk space usage in all network shares in all servers and/or NAS storage devices available on the network.
Parameters: -dir <Directory> This parameter specifies an input directory, disk or a network share for the storage analysis command. In order to ensure proper parsing of command line arguments, directories containing space characters should be double quoted.
-server <HostName1;HostName2;HostNameX> This parameter specifies one or more host names or IP addresses of servers and/or NAS storage devices to analyze. Multiple host names or IP addresses should be separated by the semicolon (;) character.
Options:
-save_html_report [ File Name ] This option saves an HTML report to the specified file.
-save_text_report [ File Name ] This option saves a text report to the specified file.
27
Flexense Ltd.
-save_csv_report [ File Name ] This option saves an Excel CSV report to the specified file.
-save_xml_report [ File Name ] This option saves an XML report to the specified file.
-save_report [ File Name ] This option saves a native DiskSavvy report to the specified file.
-save_to_database This option saves a report to an SQL Database using the ODBC interface configured in the DiskSavvy GUI application options dialog.
-levels <Levels> This option sets the number of file system hierarchy levels to export (default is 3).
-files_per_dir <Files Per Directory> This option sets the number of files per directory to export (default is 20).
-perf <FULL | MEDIUM | LOW> This parameter controls the speed of the storage analysis process. FULL - Full-speed storage analysis MEDIUM - Medium-speed storage analysis LOW - Low-speed storage analysis
-v Shows the product major version, minor version, revision and build date.
28
Flexense Ltd.
In order to manually verify that the currently installed product version is up-to-date, select menu 'Help - Check For Updates' on the main menu bar. The update manager will connect to the update server and check if there is a newer version of the product available for download. If there is a new product version available, the update dialog will show the version of the new product update and two buttons: the 'Release Notes' button and the 'Install' button. Press the 'Release Notes' button to see more information about what new features and bug-fixes contains this specific product version. Press the 'Install' button to download and install the new product version.
After pressing the 'Install' button, please wait while the update manager will download the new product version to the local disk. The update package will be downloaded to a temporary directory on the system drive and automatically deleted after the update manager will finish updating the product.
After download is completed, close all open DiskSavvy applications and press the 'Ok' button when ready. If one or more DiskSavvy applications will be open during the update, the operation will fail and the whole update process will need to be restarted from the beginning. After finishing the update process, DiskSavvy will show a message box informing about the successfully completed operation.
29
Flexense Ltd.
After finishing the purchase process, wait for the following two e-mail messages: the first one with a receipt for your payment and the second one with an unlock key. If you will not receive your unlock key within 24 hours, please check your spam box for e-mail messages originating from [email protected] and if it is nor here contact our support team.
After you will receive your unlock key, start the DiskSavvy GUI application and press the 'Register' button located in the top-right corner of the window.
On the register dialog, enter your name and the received unlock key and press the 'Register' button to finish the registration procedure.
30
Flexense Ltd.
On the next setup page, select the Configure the MySQL Server now option and press the Finish button. The setup program will open a MySQL configuration wizard allowing one to configure basic server settings.
31
Flexense Ltd.
On the next setup page, select the Detailed Configuration option and press the Next button. The detailed configuration mode is required to configure the MySQL server for maximum database performance.
On the next page, select the Server Machine option, which is the most balanced configuration for typical DiskSavvy workloads. If the server is intended to process large volumes of reports and is dedicated for DiskSavvy, select the Dedicated Server configuration option.
32
Flexense Ltd.
On the next page, select the Non-Transactional Database option. DiskSavvy does not perform concurrent insert or modify operations on the database and a transactional database is not required. Moreover, configuring the MySQL server as a non-transactional database will significantly improve the performance of database import operations.
On the next page, select the Manual Setting option and set the number of concurrent database connections to 5, which is the optimal number for typical DiskSavvy installations.
33
Flexense Ltd.
On the next page, enable TCP/IP networking and if the server will be accessed from other computers on the network, add a firewall exception for the MySQL server port. In general, a single MySQL server may be used to collect reports from multiple DiskSavvy installations using remote ODBC connections.
On the next page select an appropriate character set. By default, DiskSavvy uses the UTF-8 character set to store names of files and directories, but if there is no need to process Unicode file names, this option may be set to the standard Latin1 character set.
34
Flexense Ltd.
On the next page, select the Install as Windows Service option and select the Include Bin Directory in Windows PATH option. The PATH option will enable execution of the MySQL command line utility from any location.
On the next page, select the Modify Security Settings option and specify a root password for the MySQL server, which later will be used to configure regular MySQL users.
Thats all. Press the Next button to finish the installation procedure.
35
Flexense Ltd.
In order to configure the MySQL database, open the command prompt window and type the following command: mysql u root p This command will start the mysql command line utility and login to the MySQL server with root permissions. The user will be asked to provide the root password, which was specified during the MySQL server installation procedure. Once logged in, the user needs to create a database that will be used by DiskSavvy to store file classification reports. In order to do that, type the following command:
Now, add a user account that will be used by DiskSavvy to submit reports to the database. Single quotes are required and should be specified exactly as displayed.
Now, grant permissions to the user account using the following command:
Finally, flush user privileges using the following command. flush privileges;
Thats all. Now the MySQL server is fully configured. In order to disconnect from the MySQL database, just type quit in the command window.
36
Flexense Ltd.
After finished installing MySQL ODBC Connector, open the Windows control panel and select Administrative Tools Data Sources (ODBC). On the ODBC Administrator window, select the System DSN tab and press the Add button. On the next page, select the MySQL ODBC Driver and press the Finish button.
37
Flexense Ltd.
On the next page, enter a new data source name, which will be used by DiskSavvy to connect to the database. Specify the name of the host where the MySQL server is running on and enter the MySQL user name and password that should be used by DiskSavvy to connect to the database. Finally, select the name of the database that should be used to store disk space analysis reports. After finished specifying all the required information, press the Test button to check the database connection.
38
Flexense Ltd.
64-Bit Operating Systems Windows Windows Windows Windows Windows Windows XP 64-Bit Vista 64-Bit 7 64-Bit Server 2003 64-Bit Server 2008 64-Bit Storage Server 64-Bit
36 System Requirements
Minimal System Configuration Supported Operating System 1 GHz or better CPU 256 MB of system memory 25 MB of free disk space
Recommended System Configuration Supported Operating System 2+ GHz single-core or dual-core CPU 512 MBytes of system memory 25 MB of free disk space
39