Chapter 7. Advanced Autonomic Management Engine topics 247
7.2 Structure of resource model
The resource model ZIP file is one single ZIP file with <RMType>.zip as the
name format. The <RMType>.zip file is composed of a set of other ZIP files that
have __<interp>__<RMType>.zip as the name format. These files are used by
the AME and are called interp dependent files. The resource model package
interp Indicates the platform for which the resource model is
designed. For example, w32-ix86 indicates the supported
Microsoft Windows platforms. Allowed values are
w32-ix86, hpux10, os400, solaris2, linux-ix86, os2-ix86,
aix4-r1, linux-s390, and zos.
RMType A single resource model can be designed to run on
several interp types. The resource model bundle contains
one interp-dependent file for each interp. Example 7-9
shows a resource model bundle for a resource model
designed for the solaris2 and w32-ix86 platforms.
Example 7-9 Generic structure of a resource model
For a resource model installation on a particular platform, only the associated
interp-dependent file is considered; all other entries in the ZIP file are skipped.
In the example shown in Example 7-9, on a Windows platform, only
__w32-ix86__RMType.zip is considered. If it is not found, the installation fails.
Example 7-10 on page 248 shows the structure of the __interp__<RMType>.zip
Note: Operating systems might have a limit on the length of the command or
the length of the environment variables. This creates difficulties when the
“SET CLASSPATH” (or equivalent) command in the command prompt
exceeds the limit defined by the OS. A workaround is to clear the
CLASSPATH environment variable before starting the AME.