B Validating Command Locations
This chapter describes what property files and the command locations within them you need to validate before installing a standalone Oracle Management Agent (Management Agent). In particular, this chapter covers the following:
Overview of Property Files
Every time you install a Management Agent, the property files mentioned in the platformInfo.properties file are loaded with default locations to commands that are required for successfully running certain Application Programming Interfaces (APIs). For example, the scp executable. This section describes the property files mentioned in the platformInfo.properties file.
Table B-1 describes the property files loaded from the platformInfo.properties file.
Table B-1 Property Files Loaded from platformInfo.properties File
| Loading Order | Property File Name | Type | Description |
|---|---|---|---|
|
1 |
Generic |
Contains arguments that need to be passed every time the commands listed in this file are run. |
|
|
2 |
Generic |
Contains paths for all the commands that need to be run, regardless of the operating system. |
|
|
3 |
|
Operating System-Specific |
Contains commands that need to be run for a particular operating system. For example, On Microsoft Windows, the path to the Cygwin binaries is hardcoded in the ssPaths_msplats.properties file. If you install Cygwin in a location other than c:\cygwin (default location), it can cause the Management Agent installation to fail. To resolve this issue, you must either install Cygwin in the default directory (c:\cygwin), or update this properties file with the correct path to the Cygwin binaries. |
|
4 |
Generic |
Contains variables that are used to specify the command paths. You must uncomment the variables that you want to use and specify appropriate values. |
Keep in mind the following points:
-
The property files mentioned in the
platformInfo.propertiesfile are loaded one-by-one in ascending order. This means that command locations you specify in the last file that is loaded will override the values you specified for the same key in the previously loaded property file.For example,
spaths.propertiesis loaded beforessPaths.properties. So if the default location for thescpexecutable insPaths.propertiesfile is/usr/local/bin/scp,and if location for the same executable in thessPaths.propertiesfile is/usr/bin/scp,then the value in the latter file takes precedence over the former file. -
If you want to include other command variables, then you can do one of the following:
-
Specify the additional command variables in
sPaths.properties,ssPaths_<platform>.properties,oruserPaths.properties. -
Create a new property file with additional command variables. Then, mention the name of this new property file in
platforminfo.properties.
-