Windows services connecting to iSeries

385 pts.
Tags:
IBM iSeries
iSeries applications
iSeries networking
Microsoft Windows
Windows client administration and maintenance
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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?

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    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.
    27,385 pointsBadges:
    report
  • Rockleadme
    The iSeries server is up however the subsystems are not so Ping would not resolve this problem.
    385 pointsBadges:
    report
  • slack400
    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.
    2,705 pointsBadges:
    report
  • Rockleadme
    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
    385 pointsBadges:
    report
  • slack400
    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
    2,705 pointsBadges:
    report
  • Rockleadme
    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.
    385 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following