on 04-28-2016 4:21 PM
Friends:
I recently have installed some distributed NW74 with some additional application servers on several hosts.
I remember in my previous project whenever a DI was added to that system, startsap/stopsap scripts were
able to retrieve the new DI's info from profile directory therefore were able to start/stop the new DI.
Now, I have to run startsap/stopsap on each host, i.e. running startsap/stopsap on CI cannot effect DIs.
I want to modify startsap/stopsap scripts manually however I think the code is complicated.
And especially from the startsap.trc/stopsap.trc, the new DIs and their hosts/profiles are displayed.
All logs and traces are free of error.
I have done some research on SMP and SDN, but failed to find hint
Would you please share your experience here?
Thanks!
Hi Mike,
I am assuming you are on a Non Windows OS, as on Windows all the related CI & Apps would have come in MMC ans would have been managed there. Here as Yuksel mentioned you can use sapcontrol utility for doing the same. You can create a script with below details:
1. SSH to the remote host
2. Navigate to the kernel directory
3. Run the sapcontrol utility to stop the DI first
4. Run the sapcontrol utility to stop the CI & DB
5 Run the sapcontrol utility to start the CI & DB first
6. Run the sapcontrol utility to start the DI
Thanks,
Manas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mike,
Did you try sapcontrol command with below functios?
use sidadm user and run sapcontrol from command prompt.
It will give help.
sapcontrol -nr 0 -function GetSystemInstanceList
StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <level>
[<waittimeout sec> [runlevel]]]
StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <level>
[<waittimeout sec> [<softtimeout sec>]]]
RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|TREX|ENQREP|HDB|ALLNOHDB|LEVEL <leve
Regards,
Yuksel AKCINAR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
As far as I know, startsap/stopsap scripts do not affect instances running on remote hosts.
If you have two or more instances running on the same server, then the scripts will start/stop both instances.
Regards,
Isaías
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.