We have an issue with the Event Server (Mercator 6.7.1) in a clustered production environment.
Maps are unable to read files that are created by SAP and written to a NFS mounted drive e.g. /usr/sap/mercator.
The files look like this:
-rw-rw---- 1 prdadm sapsys 6323 Jan 31 23:01 PWS_1001_.222
-rw-rw---- 1 prdadm sapsys 511943 Jan 31 23:02 HRMDA_1001_.222
'mercator' is in the same 'group' as sapsys and is able to read/write the files when you log on as Mercator directly and look at the files from the /usr/sap/mercator directory.
If we change the owner and group of the files to mercator mercator then the map runs ok.
-rw-rw---- 1 mercator mercator 6323 Jan 31 23:01 PWS_1001_.222
-rw-rw---- 1 mercator mercator 511943 Jan 31 23:02 HRMDA_1001_.222
The production system is a clustered environment (2 servers, 1 active, 1 passive), running sun cluster 3.1 and the event server is started in a resource group and a script is run to set various environmental settings.
Although we get a map return 12, the log indicates that the file adapter has read the file successfully:-
<ExecutionSummary MapStatus="Error" mapreturn="12" ElapsedSec="0.028" BurstRestartCount="0">
<Message>Source not available</Message>
<CommandLine>/mercator/mercator/mercator6.7/mercator_data/transaction/HubMaps/SAP_INPUT_BATCH_VALIDATE.mmc -T -AEDU='%AuditLogDirectory%' -WU='%WorkFilesDirectory%' -IF1 /usr/sap/mercator/HRMDA_1001_.221 -IE2S113 %lt;data%gt; -IE3S3 %lt;data%gt; -IE4S1 %lt;data%gt; -IE5S166 %lt;data%gt; -IE6S2083 %lt;data%gt; -OE1 %lt;data%gt;</CommandLine>
<SourceReport card="1" adapter="File" bytes="23584" adapterreturn="0">
<Message>Data read successfully</Message>
<Settings>/usr/sap/mercator/HRMDA_1001_.221</Settings>
<TimeStamp>23:02:21 January 30, 2005</TimeStamp>
</SourceReport>
N.B.
· The SAP input file is NOT the map trigger
· The process works perfectly well in the non-clustered DEV/QA environments
Is anyone else out there using a Sun Unix clustered environment with event server?
Any assistance is greatly appreciated.
Jorgecox
Maps are unable to read files that are created by SAP and written to a NFS mounted drive e.g. /usr/sap/mercator.
The files look like this:
-rw-rw---- 1 prdadm sapsys 6323 Jan 31 23:01 PWS_1001_.222
-rw-rw---- 1 prdadm sapsys 511943 Jan 31 23:02 HRMDA_1001_.222
'mercator' is in the same 'group' as sapsys and is able to read/write the files when you log on as Mercator directly and look at the files from the /usr/sap/mercator directory.
If we change the owner and group of the files to mercator mercator then the map runs ok.
-rw-rw---- 1 mercator mercator 6323 Jan 31 23:01 PWS_1001_.222
-rw-rw---- 1 mercator mercator 511943 Jan 31 23:02 HRMDA_1001_.222
The production system is a clustered environment (2 servers, 1 active, 1 passive), running sun cluster 3.1 and the event server is started in a resource group and a script is run to set various environmental settings.
Although we get a map return 12, the log indicates that the file adapter has read the file successfully:-
<ExecutionSummary MapStatus="Error" mapreturn="12" ElapsedSec="0.028" BurstRestartCount="0">
<Message>Source not available</Message>
<CommandLine>/mercator/mercator/mercator6.7/mercator_data/transaction/HubMaps/SAP_INPUT_BATCH_VALIDATE.mmc -T -AEDU='%AuditLogDirectory%' -WU='%WorkFilesDirectory%' -IF1 /usr/sap/mercator/HRMDA_1001_.221 -IE2S113 %lt;data%gt; -IE3S3 %lt;data%gt; -IE4S1 %lt;data%gt; -IE5S166 %lt;data%gt; -IE6S2083 %lt;data%gt; -OE1 %lt;data%gt;</CommandLine>
<SourceReport card="1" adapter="File" bytes="23584" adapterreturn="0">
<Message>Data read successfully</Message>
<Settings>/usr/sap/mercator/HRMDA_1001_.221</Settings>
<TimeStamp>23:02:21 January 30, 2005</TimeStamp>
</SourceReport>
N.B.
· The SAP input file is NOT the map trigger
· The process works perfectly well in the non-clustered DEV/QA environments
Is anyone else out there using a Sun Unix clustered environment with event server?
Any assistance is greatly appreciated.
Jorgecox