Or you could even try running arsignal -g <servername>:<port> from the AR
Server installation directory and if this command doesn't return anything
the services are up.. If it returns a message of any kind, it means the AR
Server is not yet up..

Joe
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Prashant Patil
  Sent: Tuesday, February 12, 2008 2:04 AM
  To: [email protected]
  Subject: Re: Check ARS services from Unix shell script


  ** Hi All,


  Thanks alot for on all the inputs.

  Prashant





  On Feb 4, 2008 11:55 PM, Wallace, Kelvin <[EMAIL PROTECTED]>
wrote:

    **
    Prashant,



    I have a script I call "remstat" which is shown below.  It allows you to
quickly see all of the Remedy processes you wish to monitor.  You may need
to tweak it for your needs…



    echo Tomcat - Remedy Mid-Tier - Web --------------------

    ps -ef | grep tomcat

    echo

    echo AR Server Daemon ----------------------------------

    ps -ef | grep arserverd

    echo

    echo AR Monitor ----------------------------------------

    ps -ef | grep armonitor

    echo

    echo AR Plug-in Server ---------------------------------

    ps -ef | grep arplugin

    echo

    echo AR Assignment Engine ------------------------------

    ps -ef | grep apsvcae

    echo

    echo AR Application Dispatcher -------------------------

    ps -ef | grep arsvcdsp

    echo

    echo AR Fork Daemon ------------------------------------

    ps -ef | grep arforkd

    echo

    echo CMDB Engine ---------------------------------------

    ps -ef | grep cmdbd

    echo

    echo Reconciliation Engine -----------------------------

    ps -ef | grep arrecond

    echo

    echo AR Flashboards ------------------------------------

    ps -ef | grep flashboard

    echo

    echo AR E-mail Engine ----------------------------------

    ps -ef | grep AREmail

    echo



    Hope this is helpful.



    Kelvin




----------------------------------------------------------------------------

    From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Prashant Patil
    Sent: Sunday, February 03, 2008 1:48 AM
    To: [email protected]
    Subject: Check ARS services from Unix shell script



    **

    Dear All,

    I have a query regarding ARSystem services on a unix server.

    I have a requirement wherein the remedy database needs to be shutdown
for a particular task. I have a shell script in place for this. It does the
following:

    1) The shell script shuts down ARS services, checks for the message:
"Action Request System shutdown process complete"

    2) Shuts down the DB, performs the task and restarts the DB.

    3) Once the DB is up, ARS services is started and checks the message:
"Action Request System initialization is complete."

    I am not sure if the above steps are an efficient way to detect ARS
services. Is there a better way of checking ARS services from within a shell
script?

    Thanks,

    Prashant

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.2/1272 - Release Date: 2/11/2008
5:28 PM

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to