Script to check application Server Down

Dears,
We are using HP-Unix and ECC 6.0 and Oracle 10g.
On CI we are using any script that sends a mail if any time instance goes down.
For this we have used logic of checking the message Service by logical group.
Now we also want to create one script for dialog instance but I am not getting the logic , I can check sevice dw* but not getting what command I should use or I can use some better logic.
Please suggest.
Shivam

I would setup a [Central Monitoring System (CEN)|http://help.sap.com/erp2005_ehp_04/helpdata/EN/9d/df1241c738f423e10000000a155106/frameset.htm] and install agents on each Application server. Then you can activate Availability Monitoring with Autoreactions which can also be used to send email alerts for a lot more than just "Uptime".
Nelis

Similar Messages

  • Check Application Server edition?

    Hello,
    How to check Application Server edition (Enterprise Edition or Standard Edition)?
    In $ORACLE_HOME/config/ias.properties I have not found such information...

    One is the Licence and the other is the Version.
    For check the version you need to go to Link:[https://shop.oracle.com/pls/ostore/f?p=ostore:home:0] and check what are the differences between
    Starndard Edition One
    Starndard Edition and
    Enterprise Edition
    It depends in what you install, no matter version (well for lastest could), If you have only OC4J containers, and Apache installed is smaller and with more and more products, such as infrastructure and BI products you could get to Enterprise.
    Greetings

  • Application Server Down

    Hello,
    I'm running a virtual machine from the HCM 9.1 PIA server template downloaded from edelivery. I used the "On The Peoplesoft Road" blog as guidance.
    http://gasparotto.blogspot.com/2009/11/peoplesoft-vm-about-pia-image.html
    Both the HCM and AB template vm's are running. When I look at the appserver domain status, all processes appear as idle (a total of 15 processes).
    When I run the startPIA.sh script and try to login to the application at http://<appserver_ip>:8000/ps/signon.html I get prompted with "Application Server is down at this time".
    PIA_stderr.log is empty
    PIA_stdout.log:
    <Jul 14, 2010 9:05:09 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
    <Jul 14, 2010 9:05:09 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: Unable to obtain lock on /opt/oracle/psft/pia/tools/webserv/peoplesoft/servers/PIA/tmp/PIA.lok. Server may already be running
         at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
         at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:58)
         at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:73)
         at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:459)
         at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:164)
         at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
         at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
         at weblogic.Server.main(Server.java:67)
    >
    <Jul 14, 2010 9:05:09 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jul 14, 2010 9:05:09 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jul 14, 2010 9:05:09 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> I've checked my application server settings and the JSL port matches that of psserver in PIA configuration.properties. Is there any other ip/port configuration I should worry about?
    I would appreciate any input. Thanks.
    Regards,
    Honza
    Edited by: Honza on Jul 14, 2010 6:45 AM

    Solved, I just had to configure the application server system firewall and add the JSL port as trusted. Just thought I should post back.

  • Script for Checking the Server Status

    Hi All,
         I just need the script for monitoring the server status through the WLST.My scenario:I have 2 server in Running State.If any one of the server get failed or in not RUNNING state then i use the script for starting that server automatically.I tried some of the script but it is not working properly .If any one have the sample script please share with me.
    Regards,
    Ove.

    Hi Syed,
    Replication state is very easy to see in 4.x and earlier. The last changenumber in the supplier changelog is visible (on the root DSE IIRC), and each consumer suffix has an operational attribute "copiedfrom" that tells you the name of the supplier, the database generation id, and the last change replayed from the supplier.
    So a script that compares the results of
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" lastchangenumber
    and
    ldapsearch -h <consumer> -s base -b <base_suffix> "objectclass=*" copiedFrom
    will show you if a replica has fallen out of sync. It won't tell you more than how many changes behind the replica is, though, because pre-5.x changenumbers are sequential integers, not timestamps.
    However, the change that corresponds to the changenumber is clearly visible under the "cn=changelog" suffix. So if you look at the change itself you can see the timestamp on it.
    For more info on the status of replication, you should be able to query the agreements on the supplier. Those live under the "Netscape Machine Data Suffix", which you can also find on the supplier's root DSE:
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" netscapemdsuffix
    And of course the error logs will usually tell you if replication is failing outright.
    I may be off on some of the attribute names, but if you do some investigating along these lines, you should be able to figure it out.

  • C# script to check SQL server Service Status

    Dear,
    i want any console application or asp.net web site project which give me sql server services status of my and other local machine which is using same network connect with other machine name.
    in other word, i want such asp.net website project or console application when i run it give me status of all sql server service status of other specific machine 
    plz help me
    Asif Mehmood

    Just connect to the machines
    SCM and query it.
    Use the
    ServiceController class and especially this
    ServiceController constructor (String, String) to connect to remote machines.
    You may use the static
    ServiceController.GetServices(String) method instead of manually connecting to the remote SCM.
    E.g.
    namespace Samples
    using System;
    using System.ServiceProcess;
    class Program
    static void Main(string[] args)
    ServiceController[] serviceControllers;
    serviceControllers = ServiceController.GetServices("hoffmann-04");
    foreach (ServiceController serviceController in serviceControllers)
    Console.WriteLine("{0}", serviceController.ServiceName);
    Console.WriteLine("\t{0}\n", serviceController.DisplayName);
    Console.WriteLine("Done.");
    Console.ReadLine();
    When running this code within a ASP.NET application, this means that it will run in the ASP.NET application pool. This pool uses normally a local, restricted account, which does not possess the necessary priveleges to query a remote SCM.
    E.g. for SQL Server services:
    namespace Samples
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.ServiceProcess;
    class Program
    static void Main(string[] args)
    List<ServiceController> serviceControllers;
    serviceControllers = ServiceController.GetServices(".")
    .Where(sc => sc.ServiceName.Contains("SQL")).ToList();
    foreach (ServiceController serviceController in serviceControllers)
    Console.WriteLine("{0}: {1}", serviceController.ServiceName, serviceController.Status);
    Console.WriteLine("\t{0}\n", serviceController.DisplayName);
    Console.WriteLine("Done.");
    Console.ReadLine();

  • Registry name and value to check if server has internet connection

    Hi
    I want to check that if server has internet connection though registry value. Can any one help me the path of registry to check if server has an internet connection or not

    > Martin Can I get the script to check the server has an internet
    > connection ?
    Sorry, I don't have one - we never had the need to check this... Short
    VBS snippet:
    strURL = "https://www.grumpfasdklfhsdf.comm"
    Set objExplorer = WScript.CreateObject("InternetExplorer.Application",
    "IEWindow_")
    objExplorer.Navigate strURL
    Do While objExplorer.ReadyState <> 4
        WScript.Sleep 100
    Loop
    Sub IEWindow_NavigateError( pDisp, sURL, sFrame, sStatus, sCancel )
        WScript.Echo sStatus
    End Sub
     sStatus in the Sub will contain HTTP error codes. 502 for "Host not found".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Issue with reading XLSX with multiple sheets file in application Server

    Hi,
    We're currently implementing SAP CRM 7.40.
    In one requirement we have to process an XLSX file and load its information to a set of Z tables.
    The file has 6 sheets of data to process, each sheet with distinct number of columns and types (each sheet will be upload to a different Z table).
    We're able to process the XLSX using the Desktop Office integration for local files.
    However, we must also be able to process files on the application server.
    We tried the following approaches without success
    - The DOI library doesn't seem to support remote files processing:
    - OPEN DATASET. with the dataset we're able to read a remote file, however since the file format is XLSX, the information we read in the dataset comes in an unreadable format
    - FTP. we tried to use FTP to download the remote file to a local folder so that we could then use the DOI library to process the file. However, the client only allows SFTP connections and SAPFTP doesn't provide SFTP
    There's another approache we're considering to try which is to have a perl script on the application server to split the Excel file into CSV files (one for each tab) and then use OPEN DATASET to read the contents of each file and work from there. This approach seems quite cumbersom
    The approach with DOI would be the best one but either we're missing a key configuration or it truly can't be used for files. Are there any special requirements that we should take into account for this option?
    We'd like to know if you have any other approach that proves successfull or if any of the above can work but with some aditional adjustments.
    Thanks in advance.
    Best regards.

    Hello Ricardo,
    Go through below link.
    to read Excel file from the application server in a BACKGROUND process
    You can try below approach if it is feasible for you.
    Turning ".XLSX" into XML & read XML file through application.
    XLSX Upload - a Unified Approach - SCN - SAP.com
    Thanks!
    Sameer

  • Need to upgrade Application Server 10g 10.1.2.0.2 to 10.1.3

    Dear All,
    I am having bit doubts on choosing the Application server down load file from the Oracle site. Currently we are using Application Server 10g 10.1.2.0.2 Forms and Report service. I need to up grade the Forms and Report service to 10.1.3 version of the Application Server 10g .
    If I select the Application Server 10g Release 3 from the site its directing me to the big selection list. Actually i bit confused which one i need to choose. I need to upgrade only the Forms and Report service Application Server 10g .Iam sure somebody can help me to solve this confusion. I appreciated ans thanks your attention in my query.
    regards
    Mathew

    Hi Mathew,
    If I am not mistaken, there is no Forms and Reports version 10.1.3. There is an Application Server version 10.1.3.x but this is a J2EE only release. Forms and Reports have not been bundled in this version.
    Could it be that you are mistaken with version 10.1.2.3 which is a patch set on top of Application Server 10.1.2.0.2 ? If this is the case, you can apply the patch set as per directions in the readme from the patch set. The patch set is available from [My Oracle Support|http://updates.oracle.com/download/5983622.html].
    Thanks,
    Erik Janssen

  • Referring Applications server file in concurrent program

    Hi Gurus,
    In Oracel Applications, we have a requirement, where we will place a unix script (SFTP Script) in the application server. We need to register this script as concurrent program and run from the DB Server. Can this be possible? If so please suggest.
    Awaiting for your valuable replies.
    Thanks in Advance,
    Chandra Babu Lankipalli

    Hi Muthu,
    Thanks for your reply.
    When we register the shell script as a concurrent program then by default it will search for the .prog file under DB Server Bin directory.
    But our requirement is .prog file will be under application server and it should run from application server only though we run the c/p
    from DB server.
    Thanks,
    Chandra Babu Lankipallli

  • Oracle application server 10g version checking scripts

    Hi does anyone know how the script to check the application server 10g version on R12.1.3, without checking it on the form.

    Hi Tunde,
    You can get the detailed version of all the 10.1.2 and 10.1.3 components using the below commands
    A. 10.1.3 Component Versions
    ========================
    1. Login in to Putty as application file system owner
    2. Source the applications env file under $ORA_CONFIG_HOME/10.1.3 directory.
    3. cd $ORACLE_HOME/OPatch
    4. opatch lsinventory -detail >> inv.out
    5. Review the inv.out file and check for the Oracle Application Server and other component versions.
    B. 10.1.2 Component Versions
    ========================
    1. Login in to Putty as application file system owner
    2. Source the applications env file under $APPL_TOP
    3. cd $ORACLE_HOME/OPatch - This will be pointing to 10.1.2 Home
    4. opatch lsinventory -detail >> inv.out
    5. Review the inv.out file and check for the Oracle Application Server and other component versions.
    I hope this clarifies your queries, Please let me know the same.
    Regards,
    Thiagarajan.

  • The application server is getting down

    Hi all,
    Installed demo of FSCM9.1 on windows-2008R2.The machine has also a system DB of the same FSCM9.1.All the three components are on the same machine.Configured application server(with large template),web server.Iam able to login to PIA successfully.But, after few minutes iam automatically signed off when iam accessing the application and iam getting the error"The application server is down".I want to tell you that my PT was on 8.51.08 before installing the demo database i.e.My PT was patched soon after the installation of system DB.So, my doubt is that whether i have to run some scripts from the patch document on the Demo DB installation?Pls help.Thanks in advance.

    Hi all,
    I got this fixed.The action plan was to use a different web profile other than the default(PROD) during the installation of PIA.

  • Drill down problem when execute CR Viewer from Sap Web Application Server

    Hello,
    We are using Sap  Was 7.01.
    The report viewer jar files deployed to the j2ee engine , and I am using j2ee servlet application to execute the report.
    Everything works OK, but when I am trying to drill down to the next sub report the screen become blank.
    I checked with httpwatch and it seems that there is no response from the server , after DD.
    The web.xml file look like this:
    <web-app>
         <display-name>WEB APP</display-name>
         <description>WEB APP description</description>
         <context-param>
           <param-name>crystal_image_uri</param-name>
           <param-value>./CrystalReports/crystalreportviewers</param-value>
          </context-param>
          <context-param>
           <param-name>crystal_image_use_relative</param-name>
           <param-value>server</param-value>
          </context-param>
          <context-param>
           <param-name>crystal_servlet_uri</param-name>
           <param-value>/CrystalReportViewerHandlers</param-value>
          </context-param>
         <servlet>
                <servlet-name>CrystalReportViewerServlet</servlet-name>
                <servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
        </servlet>
         <servlet>
              <servlet-name>reportviewerClient.jsp</servlet-name>
              <jsp-file>/reportviewerClient.jsp</jsp-file>
         </servlet>
         <servlet>
              <servlet-name>ReportViewerSrvlt1</servlet-name>
              <servlet-class>com.illumiti.demo.ReportViewerSrvlt1</servlet-class>
         </servlet>
        <servlet-mapping>
              <servlet-name>CrystalReportViewerServlet</servlet-name>
              <url-pattern>/CrystalReportViewerHandler</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ReportViewerSrvlt1</servlet-name>
              <url-pattern>/jRun</url-pattern>
         </servlet-mapping>
    </web-app>
    There are no javascript errors and I can see that the following JS files exist on the browser cache:
    allInOne.js
    allStrings_en.js
    crv.js
    Also the dynamic rendering of the graphic objects working,  for exampale:
    http://sapdevpor.themigroup.net:52000/ReportViewerNwds/CrystalReportViewerHandler?dynamicimage=crystal1258027361240644774257355486184.png
    sapdevpor is the Sap application server.
    Need help with this asap.
    Thanks
    Nir

    Hello,
    to which directory have you unzipped the Files? I would suggest C:\temp because there are problems with long filenames. Have you tried to reboot and then disconnect Drive M:?
    Regards
    Gregor

  • Auto Starting up and Shutting down Application Server

    i have problem to starting Application Server automatically on Oracle Linux(unbreakable Linux).
    i had made ias file that contain :
    #! /bin/sh
    ### BEGIN INIT INFO
    # Provides: ias
    # Required-Start: $network $syslog $remote_fs raw
    # Required-Stop:
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Description: Start the Oracle iAS
    ### END INIT INFO
    ORACLE_BASE=/oracleAS10g
    ORACLE_HOME=$ORACLE_BASE/product
    ORA_OWNER=oracle
    case "$1" in
    start)
    echo -n "Satring Oracle iAS"
    su - $ORA_OWNER --command="$ORACLE_HOME/dcm/bin/dcmctl start" &
    su - $ORA_OWNER --command="$ORACLE_HOME/opmn/bin/opmnctl startall" &
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl start iasconsole" &
    stop)
    echo -n "Stopping Oracle iAS"
    su - $ORA_OWNER --command="$ORACLE_HOME/dcm/bin/dcmctl shutdown" &
    su - $ORA_OWNER --command="$ORACLE_HOME/opmn/bin/opmnctl stopall" &
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl stop iasconsole" &
    status)
    echo -n "Checking for Oracle iAS"
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl status iasconsole" &
    echo "Usage: $0 {start|stop|status}"
    exit 1
    esac
    then i put ias on /etc/init.d ,
    i made symbolik link in :
    /etc/rc0.d/K10ias
    /etc/rc1.d/K10ias
    /etc/rc2.d/K10ias
    /etc/rc6.d/K10ias
    /etc/rc3.d/S99ias
    /etc/rc5.d/S99ias
    but it doesn't work ! ! !
    who can help me ?

    i and my friend correct the ias file ==>
    #!/bin/bash
    # init file for Oracle iAS
    # Author : Mohsen Aboosaeedi & Mohammad Reza Davoudi, GAM Electronics
    # 1. Add root to dba and oinstall group to function this script properly
    # 2. Create this file in /etc/init.d directory (ias) and use "chkconfig ias on"
    # You can put these and other commands in a single file (startup or shutdown)
    # and use as single command. This example is to make instruction clear.
    # $ORACLE_HOME/dcm/bin/dcmctl startup
    # $ORACLE_HOME/opmn/bin/opmnctl start
    # $ORACLE_HOME/bin/emctl start iasconsole
    ### BEGIN INIT INFO
    # chkconfig: 35 70 20
    # description: Start the Oracle iAS
    ### END INIT INFO
    ORACLE_BASE=/oracleAS10g
    ORACLE_HOME=$ORACLE_BASE/product
    ORA_OWNER=oracle
    start() {
    echo "******* Starting Oracle iAS ************"
    echo "*** Starting dcmctl"
    su - $ORA_OWNER --command="$ORACLE_HOME/dcm/bin/dcmctl start"
    echo "*** Starting opmnctl"
    su - $ORA_OWNER --command="$ORACLE_HOME/opmn/bin/opmnctl startall"
    echo "*** Starting ias console"
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl start iasconsole"
    echo "******* Starting Finshed ************"
    stop() {
    echo "******* Stopping Oracle iAS ************"
    echo "*** Stopping dcmctl"
    su - $ORA_OWNER --command="$ORACLE_HOME/dcm/bin/dcmctl shutdown"
    echo "*** Stopping opmnctl"
    su - $ORA_OWNER --command="$ORACLE_HOME/opmn/bin/opmnctl stopall"
    echo "*** Stopping ias console"
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl stop iasconsole"
    echo "******* Stopping Finshed ************"
    status() {
    echo "***** Checking for Oracle iAS Console"
    su - $ORA_OWNER --command="$ORACLE_HOME/bin/emctl status iasconsole"
    echo "***** Checking for Oracle opmnctl Status"
    su - $ORA_OWNER --command="$ORACLE_HOME/opmn/bin/opmnctl status "
    restart(){
         stop
         start
    case "$1" in
    start)
         start
    stop)
         stop
    restart)
         restart
    status)
    status
         echo $"Usage: $0 {start|stop|status|restart}"
    esac
    exit 1

  • The application server is down at this time

    I am getting the following error message when I try to access PeopleSoft via PIA:
    "The application server is down at this time.
    CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ServiceException: Invalid Session"
    1. In configuration.properties file, PTWEBSERVER password is encrypted, the userID is not locked-out, even the table PSOPRDEFN says the password is encrypted
    2. I tried using IP address and computer name in configuration.properties file, both the ways I am not able to resolve the issue
    If you have any ideas please let me know.
    Jay Tedla

    Might sound silly , but stop webserver and appserver . Boot appserver , boot webserver using startpia.cmd to see if webserver can communicate with appserver.

  • 10g application server .. report server shutting down

    Hi ,
    I having a problem in the report server that it is shutting down after having more than 20 queue in the waiting list. My application server version is 10.1.2.3. It is running on
    windows server 2003 , 64 bit . Is there any way to increase the queue size.
    Thanks ..

    Hi checkout what's written in report server logs and traces under $ORACLE_HOME/reports/logs/ <report_server> / .You need to enable report sever traces to check actual causes..

Maybe you are looking for

  • Help~open hub destination file is not open error!

    Hi all, I met a problem, i tried several times and all got error messages. It is about open hub destination, i want to use it to send some files to sever, but when i execute the DTP, i got system dump: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Run

  • Error is transfer of PO

    Hi, When I create a Shopping Cart, after approval, the PO is saved locally in SRM (Extended Classic) with Saved status, not replicated to ECC. The message I see when I click on check button for a PO is "Indicate erS method of payment conditions" I ha

  • My movie symbol not working in main timeline

    The symbol works in its own movie timeline, the keyframe length is the same length on both the movie symbol timeline and the main timeline. But movie symbol refuses to play on the main timeline. Any ideas?

  • Field in FMRP_RFFMEP1AX adds date to field

    Ever since we upgraded to ECC6, we've got an odd change occuring in report  FMRP_RFFMEP1AX The material document field(found after drilling down a bit in the report) is now prepending the Material Document field with the date.  In other words, instea

  • Where is the "accept as solution" button?

    Guess I'm a dummy. Can't find anything that says that. ;-((