Thanks for the response. The problem with doing an end and start means
there
will be down time. The purpose of a graceful restart is to prevent any
downtime.

On IBM's website for HTTP Server (non IBM i) the command to use is
apachectl -k graceful [1]. This is usable in regular Apache as well.

The only other alternative I can find is having multiple instances and
load
balancing between them so I can take one down while the other stays up.

Just to add. Not all of my HTTP Servers are using IWS some are just
regular
HTTP servers. I would like to find a solution for both though.

[1] https://publib.boulder.ibm.com/httpserv/manual70/stopping.html

Thanks,
David



From: "Nadir Amra" <amra@xxxxxxxxxx>
To: "Web Enabling the IBM i \(AS/400 and iSeries\)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 08/12/2020 01:19 PM
Subject: Re: [WEB400] Graceful Restart of IWS Apache instance
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>



Quite frankly, I am not sure if RESTART option is good if HTTP server is
associated with IWS server.

If you simply do an endtcpsvr *http httpsvr(myserer) and strtcpsvr *http
httpsvr(myserver) I think that would be best.




"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 08/12/2020 01:57:09
PM:

From: DSchmidt@xxxxxxxxxxxxx
To: web400@xxxxxxxxxxxxxxxxxx
Date: 08/12/2020 02:01 PM
Subject: [EXTERNAL] [WEB400] Graceful Restart of IWS Apache instance
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

I would like to perform a graceful restart of an IWS Apache instance.

I see the restart command STRTCPSVR SERVER(*HTTP) RESTART(*HTTP)
HTTPSVR(MYINSTANCE). As far as I can tell it is not actually a graceful
restart but nothing in the documentation actually indicates one way or
the
other.

Can anybody confirm if this is how to do a graceful restart?

Thanks,
David




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.