Architecture Overview
Diagram of Auditor Architecture
Ecora Auditor Professional software collects configuration settings from remote machines using remote API calls to the target machines into data sets (repo.dat.bz2). The data sets are used to when generating full-documentation, change, and baseline reports. If the database option is turned on the data sets are stored in a database (MSDE or MS-SQL). FFR and CCL reports are generated from the information stored in the database.
Note: If the database option is not selected, FFR and CCL reports cannot be generated.
The flow of information consists of the following steps:
Discovery → Collection → Database Import → Report Generation
Other features of the software include:
General: Installation, Database, Credentials
Common Issues When System Requirements Are Not Met
Note: The System Requirements on the website are actively maintained and are authoritative. The following references which requirements might be at issue based on symptoms during troubleshooting.
Databases
MSDE
This database is restricted to 2GB of data; MSDE requires frequent deletions of data from the database and to limit the number of collection options to avoid hitting the size limit.
The following link describes the various MSDE and MS-SQL editions, scalability, and system requirements: http://www.databasejournal.com/features/mssql/article.php/1432091.
MS-SQL
Database and Database Log Files - Automatic Growth rate
Ecora software is installed using the default MS-SQL 10% growth rate set for both the database and the database log file.
According to Microrosft: "This growth rate may or may not be ideal for all situations. The growth rate may be adjusted by the database administrator. If you find that your database is growing automatically often (such as daily or several times a week), change the growth percentage to a larger number, such as 20% or 30%. Each time the database has to be increased, SQL Server suffers a small performance hit. By increasing the amount the database grows each time, the less often it will have to grow. If your database is very large, 10GB or larger, you may want to use a fixed growth amount instead of a percentage growth amount. This is because a percentage growth amount can be large on a large database. For example, a 10% growth rate on a 10GB database means that when the database grows, it will increase by 1GB. This may or may not be what you want. For example, a fixed growth rate, such as 100MB at a time, might be more appropriate. [7.0, 2000]"
http://www.sql-server-performance.com/database_settings.asp
Import the repo.dat.bz2 files into the database via command line
In the Auditor 3.5 or later, repos can be imported via command line.
The sample of cmd line to write a repo: "C:\Program Files\Ecora\Auditor35\bin\auditor.exe" -i "C:\Outer Data" -m windows -k delete
where options are:
-i = "C:\Outer Data" is the path where a repo.dat file to be written is located
-m = module name (windows, ad, exchange, etc)
-k = {keep | delete} = how to handle a repo file after writing
Performance Problems
NTFS Permissions
Consider limiting depth to no more than 4.
Nested shares
NTFS performance problem. Consider limiting depth to no more than 4.
Custom Files and Custom Registry Collection
These are strategic tools to be used judiciously to meet specific needs. Creating a custom file configuration to gather all files on the c drive and then applying it to 100 computers would be overkill and problematic. Select HKLM on specific machines vs globally.Users and Groups
Enabling this option increases collection time significantly in large environments. All user information is in the database; only a subset of the information shows up in the full-documentation report.
Reports
For very large collections, consider running data collection only. Target the number and type of reports as separate job after data collection finishes. Enabling only the type of desired output can increase performance if you plan to do collection and reporting in the same job.
WMI Browser
Event logs can be very large - the entire file is saved with each collection. If this feature is used, the database archiving feature should be used to reduce the size of the database regularly. Set up a delete with initial WMI event log collection.
Restricting Remote Registry Access
Auditor Professional requires registry connect and registry read privileges on the target computer.
The following Microsoft KB article discusses restricting remote registry access: http://support.microsoft.com/default.aspx?scid=kb;en-us;153183.
Create and Delete Hidden or Administrative Shares
http://support.microsoft.com/default.aspx?scid=kb;en-us;314984
Access Denied / Problems with Credentials
Auditor requires domain administrator rights for domains of interest. Credentials can be entered separately for each target system using the Properties... button in System Management.
Runas
The runas command can be used to run Auditor with the domain administrator credentials.
At the command prompt, type: Runas /netonly /user:domain\username c:/program files/ecora/auditor36/bin/auditor.exe
This prompts for the password, then loads the application.
Note: The command needs the full path to auditor.exe or to be run from the auditor/bin directory.
Workgroups
To function properly in a Workgroup, there must be a matching administrator account with domain/acct/pwd of installed console.
Discovery and Data Collection
Test Systems Prior to Collection
The first line of defense with collection problems is to ensure that all devices meet the system requirements prior to attempting collection. Testing systems (in selection sets) prior to collection can help ensure successful data collection. Unix systems connections can be verified using telnet. Windows system connection can be tested within the Ecora software using system discovery and the test methods provided in systems management. Ensure all devices meet the system requirements prior to attempting collection.
Unix Systems
Use telnet to verify credentials associated with each machine.
Windows Systems
The Auditor Systems Management feature is helpful in identifying systems that do not meet system requirements prior to data collection.
Troubleshooting Collection Failures
Missing information in the collections
Machine not collected