cancel
Showing results for 
Search instead for 
Did you mean: 

Starting multiple application servers

Former Member
0 Kudos

We have 4.7 system has 2 application servers as "sap1" and "sap2" installed in different Unix servers.

I would like to start "sap1" first and "sap2" next. Is there any standard script for starting multiple application servers in a sequence. We have problem, when restarting servers after weekly off-line backup. Should we go for customised Unix shell scripting?.

Thanks,

Sam

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You may need to use rsh inside the script to start 2nd application server . You need to have this script in common filesystem(NFS) sharing all application servers; ex:/sapmnt/SID/

thanks

Muthyam

Former Member
0 Kudos

#!/bin/sh

SYSID=ABC

STARTSCRIPT="/sapmnt/$SYSID/exe/startsap"

#

  1. start the Central Instance (CI)

#

$

#

  1. start AppServers

remsh <app server> -n startsap <Instance name>

-


stopscript

-


#!/bin/sh

SYSID=ABC

#

  1. Stop all app servers and the database.

#

  1. stop AppServers

remsh <hostname> -n stopsap <instance name>

  1. stop central instance

/sapmnt/$SYSID/exe/stopsap

Thanks,

Tanuj