Application Server Services Automated Startup

  • Thread starter michaelpmcclure
  • Start date

michaelpmcclure

Active Member
[smile] Has anyone already scripted the automatic startup and shutdown of the JDE Services on a Windows 2000 Application Server?
 
You can make the services 'depend on' so that the queue starts/stops with
the network service..we have three servers (enterprise, application, crp). I
have not been able to figure out a way to have CRP or the application server
wait on the production servers JDE services to be up before they attempt to
being up their JDE services...would love to hear if anyone has worked around
this. - I don't know of any Windows features to allow for the checking to
see if a service is running on another box or not and then make the local
services 'depend on' that other machine's services..

-John

-------------------------------------
OneWorld B733.3 (XE)
SP 19.1_B1, Update 6
Win2k Server SP3
SQL 2000, SP2
Metaframe XPa v1.0/SP3
-------------------------------------



Xe, Update6 SP19.1_B1
SQL2k SP2, WIN2k SP3
Metaframe XPa SP2
 
Yes. If you set Queue dependent on Network, the commands to start and stop are simple:

net stop "JDE Update 4 B733 Network"

net start "JDE Update 4 B733 Queue"

If your App server is separate from the database server, the trick is calling the command. We have it on a SQL Scheduler that uses PSEXEC from SysInternals to call the job.
 
Sometimes, when you build your services dependency chain, the DB Server (SQL
or Oracle - I've seen both do that) reports successfull startup a few
seconds before it allows incoming connections and then the dependent
services hang, unable to connect.

I was resolving this by installing a couple of dummy services I wrote that
take 10 seconds and 30 seconds to start in between the DB and the Net (30
sec) and the Net and the Queue (10 sec).

If anybody is experiencing the same issue and would like to use my solution,
I can e-mail these service executables along with the installation
instructions for free - please, e-mail me directly for that.

Regards,
Alexander Pastuhov
Pastuhov Consulting Pty. Ltd.
E-Mail: [email protected]
Mobile: 0414 453 433
WWW: http://www.pastuhov.com.au/index.htm


RESTRICTIONS ON USE REPRODUCTION OR DISCLOSURE
The information contained in this email and attachments (if any) is intended
to be communicated only to the person or persons named as addressees.
Copyright subsists in this email. If you are not named as an addressee you
are prohibited from using, reproducing, or disclosing the information in
this email and the existence of this email itself. The information in this
email may also be confidential and subject to professional privilege.
If so, all rights are reserved by the owner of those rights. If you are not
a named addressee please advise us immediately and destroy all copies of
this email in your possession or control. Pastuhov Consulting Pty. Ltd.


----- Original Message -----
From: "jgersic" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 03, 2003 11:35 AM
Subject: RE: Application Server Services Automated Startup


I
server
to
around
http://www.jdelist.com/ubb/showflat.php?Cat=&Board=OW&Number=60823
messages, login to http://www.jdelist.com/forums, click Control Panel, then
click Edit by "Subscribe / Unsubscribe from receiving board posts by email,
change message notifications, etc." and adjust your subscription
preferences. JDEList is not affiliated with JDEdwards®
 
Re: RE: Application Server Services Automated Startup

SystInternals makes a program called 'PSSERVICE'. You can check to see if JDE is running on another machine using this command with the following syntax:
psservice \\servername QUERY -s active |find "JDE"

Unfortunately this is interactive or script only. If somebody wanted to they could write a Service wrapper around this to retry every 15 seconds until it finds the JDE services on a remote node and the problem would be solved.

http://www.sysinternals.com/ntw2k/freeware/psservice.shtml

The option that I typically opt to use is AutoExNT from the W2k Resouce Kit. I would set the JDE services to manual and use an AutoExNT script to first check for the JDE services or SQL Services on the remote node and then start the JDE services on the local node.
 
Back
Top