Do you know Tools for JDE servers maintenance (W2000)

antoine_mpo

Reputable Poster
Hi list,

Our JDE servers (data server, entreprise server and web server) are Windows 2000 servers.
As you may know, it's not like UNIX os !! (it's not me who decided to use Windows servers ;-) ... And in order to avoid possible OS issues, we would like to create a process to automatically stop and restart jde services (and clean the jde logs) and stop/restart our servers once a week.
Why automatically do you wonder ? Because our sytem is running 24/24 7/7 !! And users want us to do those maintenance stuffs between 4:30 am and 6:00 am. Personnaly, i don't want to come back to work at that time !!

So, i'd like to know if some of you have the same problem, but most of all if you have solutions !
Do you know some tools to schedule such tasks (stop services, restart computer, re-start services on several servers ..) ?

Thanks for your help.

Cheers,

Antoine.
OW system admin
 
First let me say that Unix and AS400 are only as stable as the software you run on them. In this case J. D. Edwards flakiness is pervasive no matter which platform you run it on.

To answer your question, you can easily script everything you are talking about. You can execute these scripts from any scheduler engine including SQL Servers and the 'AT' scheduler.

By setting Queue dependent on network in Services, you can start and stop J. D. Edwards with a single command:
net start "JDE Update 4 B733 Queue"
net start "JDE Update 4 B733 Network"

You can automate shutdown by downloading the Windows 2000 resource kit (included with Windows 2003) and using the SHUTDOWN.EXE command. This command accepts a parm for the name of the machine to shutdown and a switch to tell the machine to reboot.
 
Hi Antoine,

I recommend you to use Scheduled Tasks (Tâches programmées?) applet on the
Control Panel.
From there you can invoke a .BAT or .CMD file, that will launch NET START
and NET STOP commands to turn on and off your JDE services.
You can restart local and remote servers by using SHUTDOWN tool provided by
Microsoft Resource Kit.

Have a nice day,

Sebastian Sajaroff
Montréal (Québec) Canada

----- Original Message -----
From: "antoine_mpo" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 10, 2003 5:57 AM
Subject: Do you know Tools for JDE servers maintenance (W2000)


Windows 2000 servers.
Windows servers ;-) ... And in order to avoid possible OS issues, we would
like to create a process to automatically stop and restart jde services (and
clean the jde logs) and stop/restart our servers once a week.
!! And users want us to do those maintenance stuffs between 4:30 am and 6:00
am. Personnaly, i don't want to come back to work at that time !!
if you have solutions !
computer, re-start services on several servers ..) ?
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=OW&Number=61157
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®



ERP8 to Xe, NT/W2K/SQL
JAS, Interoperability
MCDBA,MCP+I,MCSE,Citrix Admin
[email protected]
Canada
 
Thanks for you help.

A consultant came to help us in those issue.
As you said, he wrote some scripts that uses some programms from the Windows2000 Tools (installed from Support\Tools of the W2k server CD) and from the ressource Kit of Windows.
(by the way, i recommend you to install those because there are many useful tools for windows. For example, a "kill" program who let you kill processes that task manager can't terminate)

If some are interested, i can send you those scripts wich do the following tasks :
- From our data server, it closes the JDE services (Queue and Network) launched on our Enterprise server, and then closes our oracle database.
- The other is doing the opposite (restart all services).

The problem i have is that :
- it doesn't work all the time (or should i say not very often) because the JDE services doesn't stop correctly (most of the time it's the JDE network, but this morning it was the JDE queue). There are remaining processes that windows can't terminate (even with by hand with the task manager).

So if you have some solution or some scripts, i'd be really interested.
May be you know how to test if a service is well stopped, and if not, to kill zombie processes.

Cheers,
 
You can put a few lines like this:

killl -f jde*
kill -f runube*
kill -f ipc*

at the end of your STOP script after a "sleep 20" to clean up any zombie
services.

Works for me...

Regards,
Alexander Pastuhov
Pastuhov Consulting Pty. Ltd.
E-Mail: [email protected]
Mobile: 0414 453 433
WWW: http://www.pastuhov.com.au/index.htm
CNC Consulting and Software Tools for OneWorld®
Check out our Special Offers at:
http://www.pastuhov.com.au/special_offers.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: "antoine_mpo" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 16, 2003 6:24 PM
Subject: Re: Do you know Tools for JDE servers maintenance (W2000)


Windows2000 Tools (installed from Support\Tools of the W2k server CD) and
from the ressource Kit of Windows.
useful tools for windows. For example, a "kill" program who let you kill
processes that task manager can't terminate)
tasks :
launched on our Enterprise server, and then closes our oracle database.
the JDE services doesn't stop correctly (most of the time it's the JDE
network, but this morning it was the JDE queue). There are remaining
processes that windows can't t!
kill zombie processes.
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=OW&Number=61359
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®
 
If you really want to get creative with your scripts and test for these conditions, Sysinternals give you tools to search processes and kill them.

HOWEVER, just rebooting the machine with SHUTDOWN.EXE from the resource kit is probably easier.
 
Hi Scott (and all others too :)

Sorry for answering a bit late ... I've been quite busy those days.

You will find in attachment the 2 scripts we use and that i tested.
To use them, i installed on our data server and on our enterprise server the W2000 tools (you can find them in the W2000 server CD, in directory Support\Tools), and also the Resource Kit for W2k.

The main program we use are ResourceKit tools :
1) netsvc, wich allow to view, start and stop service through your network.
2) rkill, "remote kill", wich allow to kill processes on a machine through your network (you first need to install a service on the machine where are the processes to kill remotely).

Anyway, if you install Resourcekit, you can find help about those programs.

The others programs come from the W2k tools, but are not essential.

Well, that's it.
If you have some questions about those, just ask.
Hope it will be helpfull for you.

Cheers,

Antoine.
OW system Administrator.
 

Attachments

  • 61681-StartStopJDE.cmd.zip
    1.4 KB · Views: 81
Back
Top