Question:
Hi there,
We have two application servers with balance loading, so every time you run an application the system decides on which application server to execute it.
The problem is that now, in the infopackages for uploading flat files, I have to specify not only the path of the file, but the appl server as well. Does anybody know how to address it?
The usual location for upload files is /usr/sap/D09/...
We've tried adding the appl server at the beginning ( //applserv/usr/sap/D09/... ) but it doesn't work.
Thanks for your help
Leandro
Answer:
lhowlin,
i dont know how to set this in SAP but,
the easy way out would be to run the load on one of the application servers directly. this way you are assured that the server is fixed.
TJ
_________________
Change is The only Constant Factor in Life
Answer:
I can't speak on the load balancing portion, but on the flat file loading, there are two ways you could do it.
The first way would be to have the files in a network accessible path that both servers could access. This may be different on UNIX, but it is an option. That way the path could remain the same. (We had to mess around w/ permissions to get it to work.)
The other way would be to use variables/parameters instead of hardocding the patchs. The parameter would be hardcoded in each of the app servers to the proper path and the InfoPackage would simply reference the parameter name. SAP would handle replacing it with the proper patch.
I have not tried this way, as when I found out about this little gem I had already finished our flat file loads (and I don't have the time to go back and change it ). I can't find the information in my notes, if I do I will post it here. But I know I found it from this group, so you may want to do some searches on flat files.
It would work like this. Variable would be FLAT01 and this would be the variable selected for the InfoPackage. Then FLAT01 would be /x/y/z/file01 on server01, and /m/n/o/file01 on server02.
Answer:
They are called logical file names..
also if u don;t want to specify your server in the file name.. force the job to run on that server. in job scheduling it is one of the option.. to run on a particular server