Problem Note 55117: The error "Could not find platform resource for " occurs when you initialize SAS® Environment Manager framework
The initialization of the enhanced monitoring bundle is the first step that is required in the process to fully enable the SAS® Environment Manager Service Architecture. The script that is used to initialize the enhanced monitoring-bundle framework is as follows:
- For UNIX operating environments:
$ ./emi_init.sh -I
- For Microsoft Windows operating environments:
emi_init.bat -I
After you submit the script, the following error might occur:
ERROR [main] [createHTTPChecks] - Could not find platform resource for <servername>. Ensure the Agent is
properly configured.
ERROR [main] [emiInit] - Error rc = [2] running createHTTPChecks [[-x, -v, -d]], check log.
May need to rerun with -f
This error occurs when the createHTTPChecks.groovy file does not retrieve the fully qualified domain name for the host name.
The createHTTPChecks.grovy file can be found in the root\Lev1\Web\SASEnvironmentManager\emi-framework\Scripts directory.
As a workaround, modify the createHTTPChecks.groovy file, as follows:
- Locate the def platform line in the createHTTPChecks.groovy file. The line should look similar to the line shown here:
def platform = hq.api.resourceApi.getPlatformResourceByFqdn(host-name, false,false).resource
- Change the value for host-name to the fully qualified domain name surrounded by double quotation marks. For example, if the value for host-name is sasbi.demo.sas.com, the code appears similar to the following:
def platform = hq.api.resourceApi.getPlatformResourceByFqdn("sasbi.demo.sas.com", false,false).resource
- Add the -f command to the emi_init script to re-initialize and overwrite setting and re-run the script.
Operating System and Release Information
SAS System | SAS Environment Manager | 64-bit Enabled AIX | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
HP-UX IPF | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
64-bit Enabled Solaris | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
Solaris for x64 | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
Linux for x64 | 2.4 | | 9.4 TS1M2 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Enabling the Enterprise Management Integration (EMI) framework in the SAS Environment Manager Service Management Architecture fails and generates the error "Could not find platform resource for
".
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2015-02-24 08:39:02 |
Date Created: | 2015-02-02 10:22:06 |