Getting Application Online with correct environment variables
I'm running Veritas Storage Foundation Cluster 5.0 on HP-UX 11.23. I'm using veritas to start application using Application agent. My script is executed as normal user (not root) and the script starts another java application. Problem is that when I start it from veritas it does not get all the correct environment variables. I can see that the command in online script is su - <user> -c <script>. When I login using the user script works just fine. Also if I execute it as root using su <user> -c script works.
My question is that what is the user when veritas start to execute online script? Also I'd like to know is it possible to execute that script without su command because that seems to cause problems in environment variables.
Post moved to Cluster Server Forum by Marianne van den Berg