This article helps you convert older snowagent.config files to the updated format that includes all Oracle scanner configurations. Starting from the following versions (and all later ones), external configuration files (sios.config, sijs.config, and snowmiddlewarescanner.config) are now merged into the main snowagent.config file:
- Snow Inventory Agent for Windows 7.4.0
- Snow Inventory Agent for Linux 7.4.0
- Snow Inventory Agent for Unix 8.3.0
- Snow Inventory Oracle Scanner 8.7.0
- Snow Inventory Oracle Middleware Scanner 3.4.0
- Snow Inventory Java Scanner 3.4.0
- Snow Inventory Oracle Hardware Scanner 2.3.0
From these versions onward, the agent uses snowagent.config to control and launch all scanners.
You can place the new configuration elements anywhere within the <Configuration> tags; however, the following placement rules are recommended for clarity and function:
- The contents of
sios.configmust be placed inside the<Oracle>tags. - The other new scanner sections should be placed within the main <Configuration> tags, typically following the Oracle section.
Update the env.java_home setting
The env.java_home setting tells the agent which Java binary to use when launching scanners.
Windows
Use the absolute path to the Java binary, excluding the bin directory.
Example:
If the Java binary you want to use is in:
C:\program files\oracle\java\bin\java.exe
then the env.java_home setting is:
C:\program files\oracle\java\
Linux and Unix
Previously, Linux and Unix agents used the full path to the binary. Now they match the Windows format for consistency by specifying the path up to, but not including, the bin directory.
Example:
If the Java binary is in:
/usr/bin/java
then the setting becomes:
/usr/
The agent will check whether the specified path resolves to a Java binary. If it does not, it will search for one in the PATH environment variable. This provides a fallback, but it may not select the Java version you intend to use, so updating this value is recommended.
Add Oracle Database Scanner configuration
The launch behavior for the Oracle Database Scanner (SIOS) remains unchanged. The first line of the <Oracle> section still controls whether the scanner runs (enabled="true" or "false").
Copy the contents of sios.config (everything between <Configuration> tags) and paste them into the bottom of the <Oracle> section in snowagent.config, just above the closing </Oracle> tag.
Example:
<Oracle enabled="true">
<DefaultInstanceCredentials>
<UserName>c##oscan</UserName>
<Password>...</Password>
</DefaultInstanceCredentials>
<Include>
<AllInstances>true</AllInstances>
</Include>
<!-- Applicable only on Linux/Unix -->
<FileSystemSecurityModule>DEFAULT</FileSystemSecurityModule>
<!-- Applicable only on Linux/Unix -->
<CommonOsGroup>dba</CommonOsGroup>
<!-- Applicable on all supported platforms -->
<UseMixedCredentials>false</UseMixedCredentials>
<EnableEbsScanning>false</EnableEbsScanning>
</Oracle>
Enable Oracle Middleware Scanner
Create a new <SnowInventoryOracleMiddlewareScanner> section directly below the <Oracle> section. Set enabled="true" or enabled="false" depending on whether you want the scanner to run.
Copy and paste the contents of snowmiddlewarescanner.config (everything between <Configuration> tags) into this section.
Example:
<SnowInventoryOracleMiddlewareScanner enabled="true">
<UseDataOptimization>false</UseDataOptimization>
<Anonymization>
<File filename="config.xml">
<Xpath>//listen-port</Xpath>
<Xpath>//listen-address</Xpath>
<Xpath>//credential-encrypted</Xpath>
<Xpath>//node-manager-password-encrypted</Xpath>
</File>
</Anonymization>
</SnowInventoryOracleMiddlewareScanner>
Enable Java Scanner
Create a new <SnowInventoryJavaScanner> section below the middleware section. Set enabled="true" or enabled="false" as needed.
Copy and paste the contents of sijs.config (everything between <Configuration> tags) into this section.
Example:
<SnowInventoryJavaScanner enabled="true">
<SecurityLevel>MEDIUM</SecurityLevel>
<ImpersonationUser>javascan</ImpersonationUser>
<JavaMsiIgnore>
<Filename>something_that_is_not_java.msi</Filename>
<Filename>someother_java.msi</Filename>
</JavaMsiIgnore>
</SnowInventoryJavaScanner>
Enable Oracle Hardware Scanner
The Oracle Hardware Scanner does not require configuration options. Simply add the following line below the Java scanner section to enable or disable it:
<SnowInventoryOracleHardwareScanner enabled="true"/>
Remove legacy config files
After transferring all scanner configurations into snowagent.config, the following files are no longer needed and can be safely deleted:
- sios.config
- sijs.config
- snowmiddlewarescanner.config
This image below shows how the separate Oracle scanner configuration files are now combined into one unified snowagent.config file.
-
Red: Oracle Database Scanner (formerly sios.config), now inside the
<Oracle>section. -
Blue: Oracle Middleware Scanner (formerly snowmiddlewarescanner.config), now in the
<SnowInventoryOracleMiddlewareScanner>section. -
Green: Java Scanner (formerly sijs.config), now in the
<SnowInventoryJavaScanner>section. -
Red (bottom): Oracle Hardware Scanner, now a single line
<SnowInventoryOracleHardwareScanner enabled="true"/>.
Related Articles
How to enable debugging mode in Snow Inventory Oracle Scanner 49Number of Views Add custom Snow Oracle Scanner cron in the Snow Agent Package Builder 27Number of Views Oracle Verified - The Snow Inventory Oracle Scanner was not successfully executed on this computer/environment 19Number of Views Release Notes Index: Snow Inventory Oracle Middleware Scanner 345Number of Views Configuring env.java_home for Snow Inventory Agents and Oracle Scanners 41Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago