385 pts.
0
Q:
Windows services connecting to iSeries
Hi,
We have an application which has an Authentication service running on a windows server and this service is connecting to the iSeries. In an unlikely event of iSeries not being available (eg if the backups are running longer than expected), the service tries to connect to iSeries and fails. This causes the windows service to go in a loop of something and the CPU usage on the windows server goes very high. Once the CPU usage has shot pass the ceiling, we have to re start the server itself as the services become non-responsive. Is there any way to stop this? Also is it possible to somehow find out if iSeries is available for connection or not?

Thanks
ASKED: Jul 20 2009  12:52 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
3730 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Is the iSeries in restricted state for your save? If so then TCP is down and you can't connect then ping would work, if not then you should be able to connect regardless if the subsystems are down. How is the iSeries ended for the backups?
Last Answered: Jul 23 2009  5:13 PM GMT by Whatis23   3730 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Mshen   23525 pts.  |   Jul 20 2009  9:04PM GMT

You can create a script to ping the server first then start/stop the service or application.

This link is a good reference for creating the VB script.

 

Rockleadme   385 pts.  |   Jul 21 2009  4:23AM GMT

The iSeries server is up however the subsystems are not so Ping would not resolve this problem.

 

Slack400   1165 pts.  |   Jul 24 2009  4:13PM GMT

Modify your backup job so that subsystems and TCP services aren’t ended.
Utilized the Save while active feature built into the backup commands.

I don’t miss the pain of shutting down subsystems for nightly’s.

Then you’re only down when you’re running full system saves (annually or more) Then you’ll have to schedule these outages with your windows server admin so they can kill this authentication service.

IF necessary they can give you admin rights to the windows services on that box.
You can then use RDC or admin tools from your PC to shutdown the service before you kick off a opt 21.

 

Rockleadme   385 pts.  |   Jul 24 2009  6:31PM GMT

The daily saves are not a problem its just the weekly full system saves which kills the subsystems.

Somehow I just finished writing Java program to check if any specific subsystem i down and if that is the case i would not fire up the authentication sevice on window.

Just thinking any other way to do this….suggestions???

To Slack400: Can you please elaborate “You can then use RDC or admin tools from your PC to shutdown the service before you kick off a opt 21″

thanks

 

Slack400   1165 pts.  |   Jul 27 2009  4:00PM GMT

Sure. I’ve had a couple of instances when a W2K3 server is running a service for an application that would sound similar to the issue you’re reporting. Services or applications would hang or bomb out if the link to the AS400 was down for any extended periods of time during maintenance or backups.

So what we would do is grant the AS400 admin or operator admin rights to the W2K3 server. Then whenever AS400 maintenance was to be performed the admin would log onto the W2K3 box either interactively using a Remote Desktop Connection (RDC) from a PC.
Or Using the Admin Tools on a PC point to the W2k3 box and stop the necessary service before continuing on with the AS400 work.
Sometimes you cant’ talk your Windows admins into giving you full admin rights to use the RDC, but if you can get access to the services then that should be sufficient using the admin tools.

RDC
Read section: Connect your remote computer to the host computer

Admin Tools (Services)
Read section: How to Use Computer Management on a Remote Computer

 

Rockleadme   385 pts.  |   Jul 29 2009  11:14AM GMT

Thanks Slack400!!!

Sheduled maintenance is no problem as we are aware of it and we shut down the services manually and everything is fine. However in events where the batch processing is running longer than usual, the subsystems are down and the services kick off and there you go….they become un responsive and needs a server restart to bring things back to normal.

 
0