Stop SAP - CI and AS

Hello,
I have a system that has primary CI + AS and standby CI + AS.
What is the best order to stop/start  them ?
STOP:
on the Primary I stop first the DB or the AS that has no DB ?
I would say that I have to stop AS ( SAP ) and then on CI ( SAP + DB ).
on the Standby I stop first the stby AS (SAP) and than the STBY CI. ( SAP +DB )
START:
on the primary I start the CI ( SAP + DB ) and then start the AS ( SAP ).
on the stby I start the CI ( SAP +DB ) and then start the AS ( SAP).
Of course I will check the synchronization afer.
Thanks in advance to let me know if this is the order.

You will stop the system in following order:
1) AS
2) CI
3) DB
Starting up will be reverse order: DB, CI and last AS.
Not sure why you need Standby SAP (CI and AS) system ? Normally its just the DB that companies implement as a standby.
Hope this helps.
Naveed

Similar Messages

  • Starting and Stopping SAP Systems and Instances on Windows

    Is there a way to automatically stop/start instances on windows at boot time?
    I don't want to have to logon after a reboot and go into the mmc and start the app manually.
    Thanks,
    Dan

    Dan ,
    As Juan said it could cause problems while starting SAP at startup.
    Still if you really want to implement this...
    This is what I have found ... I never tried this but hope this should work.
    1. you must make sure that SAP[SID]_00 service is set to start automatically.
    2. you must edit your SAP START profile and add this line:
    Autostart=1
    3. make sure that the line you added IS NOT the last one in your file. if it is, your added parameter could be ignored.
    to test this out, shutdown SAP and your database, then shutdown the SAP[SID]_00 service. now start it. open SAPMMC to see if you see any starting activity. it should work fine.
    Let us know if it works.

  • Stop sap and oracle on MSCS

    Hi,
    We have an MSCS cluster with 2 nodes with NW2004s JAVA and oracle 10g.
    We want to do a windows backup of the 2 nodes with everything stopped (SAP, Oracle and Services).
    In another word how we can stop SAP, Oracle and services without a failover.
    Thank you for you help.
    Chak

    very easy:
    as documented in the installation guide.
    clustered components have to be at least stopped using the Windows Cluster Administrator (in Administrative Tools).
    in order to do a backup of the SAP and Oracle Disks too you have only to take the SAP Instance
    within the SAP Cluster Group and the Oracle Instance within the Oracle Cluster Group offline.
    At least the cluster disks needs to be online on the node where you are running the backup.
    The rest of the resources within the SAP and Oracle Cluster group may remain online.
    Oracle strongly recommends to use the Oracle Failsafe Manager to stop the Oracle database.
    you can also use commandline tools like cluster.exe and ofscmd.exe to administrate cluster resources.
    (cluster.exe resource "SAP PRD Instance 00" /offline) ...
    by the way: in Netweaver 2004s you can also stop the SAP Instance using the SAPMMC.
    it will detect that the instance is clustered and will use the cluster interface to take it offline (just the instance).
    regards
    Peter

  • Starting and stopping SAP in Unix

    Hi,
    Pls tell me the command to start and stop sap in Unix.
    I dont want to start and stop the Database
    Pls help

    Log on in UNIX as a user with SAP administrator authorization (<sid>adm).
    To start the central instance, call the shell script
    startsap_<host>_<instance no> in the home directory
    of the <sid>adm user. If there is only one instance for each application server, the
    alias startsap points to the script startsap_<host>_<instance no>.
    The script startsap first starts the saposcol process which collects statistical
    data for the operating system that it provides to the SAP system.
    The next step is a check to see if the database is running. If not, the script
    startdb is called to start the database.
    The final step starts all of the processes for the instance (message server,
    dispatcher, work processes, and so on).
    After the central instance is started, you can optionally start other instances.
    The startsap script can be called with the following options:
    DB: starts the database system
    R3: starts the instances and associated processes for the instance
    ALL: starts the database system and the instance (default setting, can be omitted)
    To start the SAP system, the startsap script calls the sapstart process with
    the start profile specified in the script in the variable START_FILES.
    The stopsap script can be called with the following options:
    DB: stops the database system with the help of the stopdb script
    R3: stops the instances of the SAP system
    ALL: stops the database system and the instance (default setting, can be
    omitted)
    The database can be stopped separately with database tools.

  • Shell script for stopping SAP

    Dear gurus,
    I'm writing the shell script to stop SAP:
    su - mhdadm;
    stopsap;
    when i execute, the script only successfully logon as user mhdadm, and not stopping the sap.
    please enlight me..
    Thanks for your help.
    Best regards,

    Hi,
    su - mhdadm;
    stopsap;
    Above method will not work. You can use below command to execute as <sid>adm user.
    Run this command or script as a ROOT...
    su - mhdadm -c "stopsap"
    ( su - <user_name> -c "command_to_execute" ) should be on same line...
    Just test it...
    Regards.
    Rajesh Narkhede

  • Regarding debugging in sap script and smart form

    hi guys,
    can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.
    thank you very much
    pavan

    Scripts:
    1. In the form, Utilities->debugger / RSTXDBUG FM for debugging script
    2. Generally SAP script contains the Layout and corresponding print program.
    First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
    Now go to SE 38 and enter ur Print Program name and execute the program.
    Now you can debug the script Page wise and window wise.
    Smartforms:
    In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap Break Point.
    Insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    Other way to debug smartform is to debug the Function Module of that smartforms.
    You can also use <b>smartform trace (transaction SFTRACE)</b>.
    Have a look at below link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • How to start & stop SAP J2EE services.

    Hello,
    Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
    Regards,
    Murali

    Hi,
    In windows,
    go to SAP management console,Right click on the SID and then <b>start all tasks</b>
    similarly to stop,Right click,
    <b>stop all tasks</b>
    If it is linux machine,
    switch to SIDadm user,by giving the command <b>su sidadm</b>
    ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
    For troubleshooting,
    1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
    look for <b>defaulttrace.trc file.</b>
    you can get to know the errors here and find teh root cause of it.
    2.you can also look for <b>devp_trace</b> in SAPmanagement console.
    3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
    4.check id <b>DB is up and running.</b>
    reward points if helpful
    Message was edited by:
            usha rani

  • Batch / script file to start /stop sap server

    Hi,
       I would like to start/stop SAP server using batch file (in windows). I need this, whenever we have to shutdown the server and restart of the server, so that SAP will automatically shutdown and restart using batch files while server restart cases? If anyone knows, please let me know. Thanks,
    Regards,
    Sundar.

    target of the 700 sapstartsrv improvement was to deliver identical functionality on all SAP platforms. As the DCOM programing model is only available on Windows platforms sapstartsrv.exe was enhanced by the WEB-Service interface and is available now on Unix too.
    The DCOM SAPControl interface of sapstartsrv.exe is still existing, but only on Windows. Here you can use VB Script or any other programming language able to handle DCOM objects to write your own programs / scripts to interact with the SAPControl.
    sapcontrol.exe is a command line program available since 700 which enables you control over nearly all functions of the sapstart service.
    Even it has the same name as the DCOM interface it' something completly different.
    regards
      Peter
    PS: sapcontrol syntax
    usage: sapcontrol [
                       -prot GSOAP_HTTP| http using gsoap build in sockets (default)
                             NI_HTTP|    http using SAP NI sockets (prefer Unix domain sockets)
                             NI_HTTPS|   https using SAP NI sockets (prefer Unix domain sockets)
                             WINHTTP|    http using Windows winhttp
                             WINHTTPS|   https using Windows winhttp
                             PIPE        Windows named pipes
                       [-user <user> <password>] OS user and password for Webservice authentication
                       [-repeat <N> <D>]         Repeat Webmethod call <N> times (-1=forever) with <D> sec delay
                        -format list|            List output format (default)
                                script           Script output format
                       [-host <hostname>]        Host to connect to (default: localhost)
                       -nr <instance nr.>        SAP Instance number to connect to
                       -function <Webmethod> [parameter list]
    Webmethods: Start
                Stop [softtimeout sec]
                Shutdown
                RestartInstance [softtimeout sec]
                StopService
                StartService <SID>
                RestartService
                ParameterValue [<parameter>]
                GetStartProfile
                GetTraceFile
                GetAlertTree
                GetAlerts
                GetEnvironment
                GetVersionInfo
                GetQueueStatistic
                GetProcessList
                GetInstanceProperties
                ListDeveloperTraces
                ReadDeveloperTrace <filename> <filesize>
                ListLogFiles
                ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
                AnalyseLogFiles [<severity 0-2>] [<maxentries>] [<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:S
    S>]
                OSExecute <command> <async> <timeout> <protocolfile>
                SendSignal <pid> <signal>
                GetSystemInstanceList
                StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [<waittimeout sec>]]
                StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
                AccessCheck <function>
                ABAPReadSyslog
                ABAPReadRawSyslog
                ABAPGetWPTable
                J2EEControlProcess <processname> <function>
                J2EEGetProcessList
                J2EEGetThreadList
                J2EEGetSessionList
                J2EEGetCacheStatistic
                J2EEGetApplicationAliasList
                J2EEGetVMGCHistory
                J2EEGetVMHeapInfo
                StartWait <timeout sec> <delay sec>
                StopWait <timeout sec> <delay sec>
                WaitforStarted <timeout sec> <delay sec>
                WaitforStopped <timeout sec> <delay sec>
    Exitcode: 0: Last Webmethod call successfull
              1: Last Webmethod call failed, invalid parameter
              2: StartWait, StopWait, WaitforStarted, WaitforStopped timed out
              3: GetProcessList succeeded, all processes running correctly
              4: GetProcessList succeeded, all processes stopped
    Security: Trusted connects without user and password check are possible through
              Unix domain socket or Windows named pipes. Protected webmethods like
              Start or Stop require a trusted connection or OS user and password
              authentication.

  • Scripts to start stop SAP HANA

    Hi Everyone,
    I need to call the script to stop and start sap hana via API. Does any one knows about any API that can be used to do this. I am aware of CLI but I need some API like REST API or XS which will help to do the os level triggering.
    Thanks,
    Amogh Jadhav

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

  • How to start/stop Event Mgr. and RFID information server?

    I take over our form RFID admin (who quit) position.
    I cannot find any document which tells me How to start/stop Event Mgr. and RFID information server.
    Even the "Sun Java System RFID Software 3.0 Administration Guide" does not have this piece of info.
    Would you please help? Points guaranteed. Thanks!

    Ashley you are still not clear to me.
    Please mention what applications are these??
    Is it SAP Event Manager??
    What is the RFID Information server??
    Is it SAP based, or some other vendor??
    How is the integration done?
    Thanks

  • Difference between SAP SLD and SAP Management console

    Hello,
    It seems that both System landscape directory and SAP management console have some overlapping features. The services can be started or stopped in both. Is it true? Does anyone know the difference between these 2 and where does Solution manager fit in?
    Thanks
    Shailik

    Hi,
    SAP SLD  is the central information provider in a system landscape.this contains both Component information and Landscape description.COMPONENT Info in sense all the sap products and components along with their versions, And also third party products also.LANDSCAPE desc in sense the description of all the systems in particular landscape.
    Example:This can shows exact idea for you.Components like CAF,Webdynpo(WD-java),BPM etc info.And the host names,Message server ports etc.Here we dont have start/stop functionality.
    SAP MC provides a common framework for centralized system management. It allows you to monitor and perform basic administration tasks on the SAP system centrally, thus simplifying system administration. Using the SAP MC you can
    1.Monitor and control (start, stop, or restart) the SAP system and its instances with a single tool
    2.Monitor system alerts
    3.Display the list of all access points to an SAP system etc.
    We can see difference by looking into http://<host name>:<port>/index.html
    Look and feel are also differ.
    For more info you can go through these links of sap help.
    For SAP SLD:http://help.sap.com/saphelp_nw04/helpdata/en/fe/39ae3d47afd652e10000000a114084/frameset.htm
    For SAP MC:http://help.sap.com/saphelp_nwce10/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm
    Thanks,
    Murthy.

  • SAP Basis and Portal Certification Materials

    Hi Experts,
    I would like to appear for the certification : C_TEP10_04s.
    Below are the topics:
    Can anyone share me the material to prepare for the below certification.
    Please send it to my personal maild id: <removed>
    1. SAP Web AS Fundamentals
    SAP Solution Offering
    Navigation
    SAP System Architecture
    Enterprise Services Architecture
    SAP NetWeaver, Overview
    2. SAP Web AS ABAP Administration
    Starting and Stopping SAP systems
    Configuring SAP Web AS ABAP
    User Management in SAP Web AS ABAP
    Configuring Remote Connections
    Patching SAP Web AS ABAP
    Scheduling Background Jobs
    Monitoring SAP Systems
    Technology Components for Browser-based User Interfaces
    3. SAP Web AS Java Administration (++)
    Java Basics (non-programming topics)
    Starting and Stopping SAP Web AS Java
    Configuring SAP Web AS Java
    User Management in SAP Web AS Java
    Patching SAP Web AS Java
    Software Logistics for SAP Web AS Java
    Monitoring SAP Web AS Java
    1. SAP NetWeaver Portal Fundamentals (+++)
    The Big Picture
    The End-User's Perspective
    Technical Infrastructure
    Portal Platform Content
    Security Aspects
    2. SAP NetWeaver Portal System Administration (+++)
    User Administration and Authentication
    Portal Authorization Concept
    Single Sign-On to Backend Systems
    Integrating SAP Applications
    Solution Management
    Secure System Management
    Design Modifications and Branding
    Advanced Portal Scenarios
    3. Configuration of Knowledge Management and Collaboration (++)
    Introduction to Knowledge Management
    CM Functions and Configuration
    KM Technical Infrastructure
    Introduction to Collaboration
    Virtual Rooms
    Real-Time Collaboration
    Groupware Integration
    TREX Administration
    4. Implementation (++)
    Installation
    Sizing
    Implementation and Methodology
    Clustering and High Availability
    Any help would be highly appreciated.
    Regards,
    Karthick Eswaran
    SAP Netweaver Administrator

    Hi,
    I am planing to attend this certification without attending any trainings as I have enough experience in SAP Basis and Portal Administration.
    But I would like to go through some documents/materials before attending this certification.
    If you guys have it kindly share it with me.
    Regards,
    Karthick

  • Start/Stop SAP Listener by Scheduler

    Hello,
    is there any way to start and stop a SAP Listener of a SAP Business Connector 4.8 by a Scheduled Task?
    Thank you.
    Best regards,
    Rainer

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

  • EHP4 Installation "Error stopping SAP system"

    Hi All,
    We are installing EHP4 on ECC6 on V6R1.During the downtime phase "MAIN_SWITCH/STOPSAP_XCNV" when the EHPI is trying to stop SAP system 'stopsap SID(UBP) INSTANCE(00) WAIT(YES) WAITTIME(600) STARTUPSRV(YES)'  it failing.I tried executing this command from the terminal.I am getting error "Executable directory could not be determined".
    Any Idea where thing are getting wrong? I have checked the path and its pointing to right dir.
    Regards!!
    Ravi

    Hi Ravi,
    do you have the following 2 parameters set in instance & start profile ?
      DIR_CT_RUN = $(DIR_EXE_ROOT)/run
      DIR_EXECUTABLE = /usr/sap/<sid>/SYS/exe/run
    if not, that is the reason ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

  • Stop SAP from mmc console invalid credentials

    Hi everybody
    I'm trying to stop the SAP System over the MMC console 5xx13
    After right clicking the instance and selecting stop SAP system I type in the user credentials <sid>adm and password.
    the message invalid credentials appears.
    Has somebody ever tried this way?
    thanks for your help
    Murat

    > After right clicking the instance and selecting stop SAP system I type in the user credentials <sid>adm and password.
    > the message invalid credentials appears.
    Is this a local system (on Windows) or is this a remote system on Unix?
    Markus

Maybe you are looking for

  • Latest app store update not installing correctly

    I have a 2008 macbook running mountain lion.  It normally updates software via the app store without any difficulty.  Today it wants to install an iphoto update and a safari (6.02) update but it gives the following error: The operation couldn't be co

  • N8 web browser start page, symbian anna

    How to set my bookmarks as browser's start page, like it was option in old browser?

  • Unable to Burst e-mail because Template not found

    Hello, I am working on getting a bursting control file set up to e-mail some invoices out and can't seem to get past a hurdle where the publisher cannot find the template file to use. Here is the Control file info: ?xml version="1.0" encoding="UTF-8"

  • Overlapping rows and data when exporting to Excel

    Hi All, I have developed a crystal report with 20 rows and 30 columns in Crystal Reports designer and when i run the crystal reports designer 10 and down load it to excel, every thing looks good, when i publish the report in Crystal Management consol

  • Convert mpeg or avi to flash video for Web

    Hello, I wanted to know how can you upload a mpeg, avi, or wmw to a website and convert it to a flash video file? What software is involved? What is the easiest method for doing this? Is there a tut out there or a book that details this method? Thank