Stop and restart PRD system with script

Goodmorning,
i would restart my server every sunday.
For windows and all services i haven't a problem.
But for stop and after reboot restart "SAP R/3 System" what could i do? for do this in automatic mode?
At today i start this in handle mode.
Thanks.

Hi Fabrizio,
why do you want to reboot your server every sunday?????
If you reboot your SAP this often, you'll have performance problems every Monday. All
of your SAP internal Buffers must be filled again after an reboot. If your DB is on the
same Host, also your DB Buffer is empty.
If this is an productive System, i highly recommend you that you not reboot your SAP System this often....
(By side, thats the difference between an *nix and an Windows System.).
What is the reason for doing that?
confused
Regards Manuel

Similar Messages

  • How can I stop and restart a .vi with a single front panel button?

    Hey guys, a newbie here.
    I have a .vi with a stacked sequence. The first few frames are hardware initialization and settings (LIN master node) and the data the hardware should transmit (frame response table). In the next frame there's a loop in which the hardware sends and recieves data (LIN monitor). If I want to change the initialization, settings or data values, I have to stop the .vi and restart it. I was wondering if there is a simple way of doing this with a single click (a button on the front panel).
    An alternative would be to put another loop outiside the whole stacked sequence and then run it a single time with a push of a button (the inner loop should let the outer one restart), is that possible?
    I hope I made any sense. Thanks for any suggestions.
    Tomaz
    Solved!
    Go to Solution.

    Ideally, redoing the code with a state machine would be the best way to go, if only so that you can add this powerful tool to your toolbox. That being said, wrapping your existing code in a while loop, with its own stop button to stop the program, will work if executing the entire sequence is ok. Where you might run into problems with this is if there is a step in the sequence that shouldn't be executed again, then it would require wrapping that sequence frame's code in a case statement that executes only the first time through. If you have the time, learning how to use a state machine would be a real benefit, really taking your LabVIEW knowledge to the next step, if you pardon the pun.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How do I start, stop and restart a sequence with a periodic input?

    Hi,
    I have written some code that will monitor my com port (rs-232) continuously for an ASCII character (in this case a 'P'). When the P is received, I want a sequence structure to start working. The P will only appear once for a short while, but the sequence should carry on running until it finishes all the frames. On the next time a P appears on my monitor, I want to either stop the sequence structure regardless of which frame its in and restart the sequence from the beginning again or to run the sequence from the start again if it has already completed all the frames.
    What sort of structure do I need to do this, are there any examples?
    James

    James,
    Indiana is correct, my take on this is similiar.
    If you have a 3 element sequence structure for example which runs if 'P' is returned from your COMs thread, you will need to query a variable in each element of the sequence in order to suspend execution of the next/remaining elements in the sequence if this event occurs. You can do this by reading the variable that your COMs thread sets using a case structure in each element of your sequence. In order to re-run your sequence if 'P' is returned during the execution you can simply set the suspend variable and ensure the code is in a while loop to recall the code.
    See the attached example code/screen shot:
    This is however not an elegant solution and the best way would probably be using the events structure and a user event to queue the P events. This is available in 6.1 but I believe its the professional package. See also my implementation using this method, again attached below:
    Hope this helps,
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    Example.JPG ‏194 KB

  • Shell script to start, stop and restart a JAR

    Hi everyone,
    Does anyone have idea to write a shell script to start, stop and restart a JAR under linux? it can indicate a method or parameter? Thanks!
    this JAR inculdes a class with main method like this:
    public class Client(){
      public Client(String name){
      public void stopClient(){
      public static void main(String[] args){
         new Client("/tmp/text.log");
    }

    Does anyone have idea to write a shell script to
    start, stop and restart a JAR under linux? That part isn't really clear.
    Start would be java -jar myjar.jar.
    Stop could either be kill, which kills the whole process; kill -TSTP, which suspends the process, or some application-specific communication such as sending something over a port; or putting something into a file or something.
    Restart could just be the same as start (if stop is just kill); kill -CONT, if stop was kill -TSTP; or some other app-specific communication.

  • Shell script to start, stop and restart a JAR under linux

    Hi everyone,
    Does anyone have idea to write a shell script to start, stop and restart a JAR under linux? it can also indicate a method or parameter? Thanks!
    this JAR inculdes a class with main method like this:
    public class Client(){
    public Client(String name){
    public void stopClient(){
    public static void main(String[] args){
    new Client("/tmp/text.log");
    }

    Does anyone have idea to write a shell script to
    start, stop and restart a JAR under linux? That part isn't really clear.
    Start would be java -jar myjar.jar.
    Stop could either be kill, which kills the whole process; kill -TSTP, which suspends the process, or some application-specific communication such as sending something over a port; or putting something into a file or something.
    Restart could just be the same as start (if stop is just kill); kill -CONT, if stop was kill -TSTP; or some other app-specific communication.

  • Outlook 365 retrieves same mail over & over -- stops and restarts -- won't sync to iPhone -- won't work with blue tooth in car

    Outlook 365 retrieves same mail over & over  --  stops and restarts  -- won't sync to iPhone  -- won't work with blue tooth in car  'm using Win 8

    Hi,
    How did you set up your email on your Ipnone? Please refer to the article below and try the method to set up your email:
    http://office.microsoft.com/en-in/office365-suite-help/set-up-email-on-apple-iphone-ipad-and-ipod-touch-HA102818554.aspx
    Do you use Outlook desktop app? If you are talking about a question related to Office 365 web app, it's better to post your question to the Office 365 forum. You will
    get the most qualified pool of respondents there:
    http://community.office365.com/en-us/forums/default.aspx
    If you means that the problem is with your Outlook desktop app, please try to log on your OWA and check if the problem persists there.
    Please let me know the result.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • Have to stop and restart Q-Master for it to show up in Compressor 3.5.1 SL

    I am having a problem with Q-Master in Snow Leopard, running compressor 3.5.1, where every time I restart, when I go into compressor, it does not show up my Q-Master cluster. Instead I must go into the control panel (which has to restart into 32 bit mode, COME ON APPLE LETS MAKE Q-MASTER 64 BIT!) and stop and restart Q-Master and then it shows up in Compressor.
    Is this because the control panel has to be in 32 bit mode for it to work? Is anyone else having a similar problem?

    I have the exact same thing happening!!! Funny how you haven't got a response to fix the issue. I called Apple and the guys said I needed to reformat my drive and install FCS from scratch to get rid of any files from FCS 2, only because I used some FCP utility to remove the previous version.< </div>
    Sorry you got that advice from Apple. Reinstalling Apple software is rarely effective and a scorched earth approach rarely solves anything. It simply takes everything back to a default state.
    I've had this same issue with Qmaster on my system and I'm still running 10.5+ so it's not a Snow Leopard issue. I solved it, at least for now, by simply deleting Qmaster only and reinstalling just Qmaster. However, I deleted and installed Qmaster to solve a problem with FCP; it was crashing immediately upon launch.
    This is important: I have no way of knowing if there is a direct or causal relationship between any of these events.
    bogiesan

  • Redhat linux 6 VM - stop and  restart

    Hi,
    I've installed new HVM - Redhat Linux 6, standard installation. I have the problem with stop and restart initiated from the OVM console. Job is running, but the OS inside VM doesn't start the shutdown process.
    For example another VM running Oracle Linux 6 works. The same problem is with the restart and live migration - both works for Oracle Linux, but redhat no.
    Do you have an idea what are the requirements for stopping and restarting the VM from OVM console?

    DN,
    I take all your questions, don't I?
    Anyhow, this command adds your Report Server to the Oracle Process Manager and Notification Server's (opmn) and Enterprise Control:
    $OH/bin/addNewServerTarget.sh reports_server_name
    After that your Reports server will be started and stopped whenever you issue "opmnctl startall / stopall". Issue a opmnctl reload after running that script, or opmnctl restart.
    You can also start and stop it individual with: (the choice is yours)
    opmnctl startproc ias-component=reports_server_name
    opmnctl stopproc ias-component=reports_server_name
    opmnctl startproc process-type=reports_server_name
    opmnctl stopproc process-type=reports_server_name
    Check status with:
    opmnctl status

  • I can't get Droid Turbo bluetooth to work in my 2005 Prius.  Droid Razr worked fine.  It seems to pair OK, and everything works great immediatly after pairing.  After stopping and restarting car there is a message saying it found bluetooth device, I can s

    I can't get Droid Turbo bluetooth to work in my 2005 Prius.  Droid Razr worked fine.  It seems to pair OK, and everything works great immediatly after pairing.  After stopping and restarting car there is a message saying it found bluetooth device, I can still place a call with the car system, but no sound or microphone connection to the car system.  Android tech support just said, "yea, that happens."  I have version 4.4.4.  Any ideas?

    Automata,
    Oh no. Is never fun having issues with bluetooth. Did you have this issue with any of your previous devices? When this happens what steps do you take to get it working again?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Why do I need to stop and restart web server?????

    I am developing servlets on sun's standard web server as well as with Netscape's web server.
    The problem is every time I make any changes to servlet and recompile my code, changes are not visible until I stop and restart web server. I guess web server uses cached version of servlet.
    Can any body help me to solve this problem? It is matter of some setting issues in web server. But since I am novice, I don't know.........

    Some app servers have a "reloadable" attribute that can automatically detect changes in your servlet and reload your application for you. Not sure if all do though... but check through the docs on your app server and see if there's something similar. If not, you're probably stuck manually restarting.

  • Start, stop and restart while loops

    Hi, my qustion is i have 2 example a and example b. Example b lets u start counting up in seconds when u want to. as long as the toggle switchs are in correct position. it also lets u start, stop and restart if need be. i want to be able to that with example a, but for some reason the while loop always sets of running independent of what position the the toggle switch. Any help greatly appreciated.
    Thanks Stuart
    Attachments:
    examplealib.llb ‏202 KB
    exampleb.vi ‏25 KB

    An example as the attachment.
    Attachments:
    switch.vi ‏23 KB

  • Video podcast stops and restarts

    with one of my podcasts (Bush League TV), it will download completely, but after i sync it to my iPod, whenever it reaches a certain point it will stop and restart. Whenever i play it in iTunes it plays alright but is sorta slow and skippy. i have tried deleting it and then redownloading it. any ideas?

    Nobody?

  • Using cron to stop and restart password protected instance (App Server 7)

    I have been asked by a customer to create a cron job to stop and restart their web application running under Applications server 7.
    I have created the script and can stop the instance, but I am unable to start it as it is asking for a password.
    I have included this in the script but it doesn't seem to like having a password supplied this way.
    Am I doing something wrong or Are there any alternative ways of stopping and restarting an application, using Cron?

    Have you looked at using password.conf file as described in --
    http://docs.sun.com/source/816-7155-10/crcfgfil.html#1075615
    You might also want to look at --
    http://docs.sun.com/source/816-7156-10/agsvrprf.html#1019453

  • After upgrading, videos randomly stop and restart.

    Since upgrading to iTunes 10 purchased videos of TV shows randomly stop and restart. I've had these videos for years and never had a problem, but now every time I watch an episode it sill get around 5 minutes in and spontaneously start the episode over. Anyone else having these problems?

    Hi Fabrizio,
    why do you want to reboot your server every sunday?????
    If you reboot your SAP this often, you'll have performance problems every Monday. All
    of your SAP internal Buffers must be filled again after an reboot. If your DB is on the
    same Host, also your DB Buffer is empty.
    If this is an productive System, i highly recommend you that you not reboot your SAP System this often....
    (By side, thats the difference between an *nix and an Windows System.).
    What is the reason for doing that?
    confused
    Regards Manuel

  • How to start, stop and restart task

    Hello Everyone,
    Need advice on what is the correct way to start, stop and restart a Java task?
    I have tried with Executors.newCachedThreadPool() or fixedThreadPool() however I was only able to submit the task once. My program crashed when i tried to resubmit the task again after a shutdownnow command()

    Tasks are designed to be run once. If you want restart functionality, use a service:
    http://docs.oracle.com/javafx/2/api/javafx/concurrent/Service.html
    The sample service I posted in the following thread demonstrates how to do this:
    Multithreading
    Use of Executors is not necessary as a Service encapsulates the execution thread management (though you can set your own executor on the service if you really needed it). All you need to do is make use of the service start, cancel, restart and reset methods as required. If you do use the cancel method, then you need to make sure that your service is properly interrupt aware for the cancel to function as you expect.

Maybe you are looking for