on 09-15-2015 9:47 AM
Hi,
During my last maint I noticed that the startsap command only started one of my dialog instances D30, but not the other one D10. However, if I ran "startsap D10" is started without problems.
Any idea of what could be wrong? What do I need to change to make it start both my instances with the startsap command?
Thanks in advance!
Anton Alard
Hello Anton,
if you have access to SAP notes you could take a look at the one with the number: 1888359
It explains something about the background of the logic of the startsap script.
Check it whether it helps to understand the behaviour.
Regards Balázs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
Can you please explain your problem more detail,
when the central instance is stopped, then how the application server will run
Thanks ,
Anto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
But startsap does not even TRY to start both instances, it is like it does not detect one of them. And if I run "startsap D10" it starts without problems.
Both instances can be started using startsap:
"startsap D10" - works fine
"startsap D30" - works fine.
"startsap" - should start BOTH instances but it only starts D30; D10 is not even mentioned in the logs or traces. It does not even try to start it.
Anton
Indeed, it shows that "startsap D10" was executed, and it also shows a successful startup...
starting SAP Instance D10
Startup-Log is written to /home/mnpadm/startsap_D10.log
/usr/sap/MNP/D10/exe/sapcontrol -prot NI_HTTP -nr 10 -function Start
wait sleep 10 while instance is starting
Instance on host segotl0459 started
}17:11:59 ## instance_do() done
We need the startsap.trc from when the issue occurs .
Hi,
I have no possibility to take down this system since it is actively used.
Yes the trace file I attached containts a successfull D10 startup, this is since I started it using the Startsap D10 command after the Startsap command did not include it.
If the startsap command do not try to start an instance (it does not even recognize its existance) I am pretty sure it will not be logged in the trace either.
Hi Anton,
This is very interesting.
What are the directory names under /usr/sap/<SID> ?
If you are on an UNIX environment, would you be able to check if there is an alias created for startsap ?
Please also try 'locate startsap' and check the file which is being used and open the file to check if it has been customized.
Thanks,
Suneeth
Hi again,
I guess that I was a bit unclear with my problem.
I have an SAP system distributed on two hosts, it consists of a central Instance and 3 application servers. Two on each host.
On host 1 - when I run "stopsap" it stops the central instance AND the application server.
On host 2 - when I run "stopsap" it only stops one of the application servers, NOT the other one. However the other one can be stopped using "stopsap D10" without any problems.
So I run the same command on both hosts and get different results, why?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
Try "startsap all" or "startsap -t all" to start both the instances together if they were installed on same host.
If you have 2 different Instances on the same host, you have to login with "sidadm" user and then hit the command "startsap" one by one to start both the instances.
If you have logged in with "d10adm" user and "startsap" has been executed then definitely it would start only that particular instance.
Thanks And Regards,
Parth Raval
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Anton,
what was the exact syntax to start the system with startsap? Did you check the sapstart.log trace for more information, if there was a problem to start the second instance?
Regards, Alwina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
I general before executing startsap you should logon to the host using SIDadm user,
In case if you host has 2 SID(D10,D30), and you logged on as d10adm "startsap"
will only start D10 instance
Thanks,
Anto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton ,
Is your startup profile/ Instance profile contain the correct hostname / named with the correct hostname .
Is D30/D10 on the same host ? If yes then startup using the command "startsap hostname"
Thanks ,
Manu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.