Prerequisites and Best Practices
You can use the following prerequisites and best practices when you run the script and its associated commands:
Prerequisites
Before you run the script, verify that the following prerequisites are met:
- •You must have appropriate permissions to run the generateResourceConfig, encryptPassword, validate, and scan script commands.
- •Ensure that you have read, write, and execute permissions for the output file. The generateResourceConfig command generates the resource configuration file template or output file.
- •Ensure that you have read permission for the input file. When you run the scan script command, the command uses the resource configuration file as the input file.
- •Enterprise Data Catalog administrator must have appropriate permissions to run the describeArchive and publishArchive script commands.
- •Ensure that the machine on which you run the scanner.sh script has a minimum of 1 GB Java heap size when you run the generateResourceConfig, validate, cancel, and pause options.
Scanner-specific Prerequisites
Make sure that the following prerequisites are met for the following external resources:
- SAP Business Warehouse (SAP BW), SAP BW/4HANA, and SAP S/4HANA resources
- Scanners with external dependencies
- Teradata, Sybase, Redshift, and JDBC scanners have external dependencies. Before you run the script to extract metadata from these resources, you need to extract the external dependency libraries for the scanner and place it in their respective folders in the $CLI_HOME/ScannerJars/externalDependencies/<scanner> location.
- For example, you can unzip the teradataJars.zip file to the $CLI_HOME/ScannerJars/externalDependencies/TeradataScanner location before you run the script to extract metadata from Teradata resources.
Best Practices
Consider the following best practices to achieve optimal performance when you run the script:
- •Use only one output directory for each scanner execution at a time. Errors appear if you use the same output directory for multiple scanner runs at the same time.
- •To cancel or pause a scanner run, open another terminal or console to run the commands.