Hi Paul,
Your point on logrotate opens an interesting question, how does the OS handle MSGPATH file when it is open by Informix engine?
It makes me wonder when the Informix is ONLINE:
if the message file is renamed,
does the engine recreate a new message file as per the MSGPATH parameter?
What I have seen is that it is possible to reset the MSGPATH parameter while Informix is ONLINE, but what happens this leads to multiple filenames for the message files :(
------------------------------
Saradhi Motamarri
Researcher/ Independent Consultant
Sydney
(6143) 002-2130
------------------------------
Original Message:
Sent: Fri February 14, 2020 03:46 PM
From: Saradhi Motamarri
Subject: MSGPATH_Server Message File: How to Recycle
Hi Paul,
Thank you.
This is HP-UX.
Regards, Saradhi.
------------------------------
Saradhi Motamarri
Researcher/ Independent Consultant
Sydney
(6143) 002-2130
Original Message:
Sent: Fri February 14, 2020 10:48 AM
From: Paul Watson
Subject: MSGPATH_Server Message File: How to Recycle
Assuming linux then just add the file to logrotate
Cheers
Paul
Original Message------
Hi,
Does IDS 11.10 or 11.50 provide any command to recycle the MSGPATH Server Message File?
What I mean is this: As the Message File grows,
Is there a way, to rename the existing file with some timestamp, and newer messages continue to be written?
[I see a possibility to update MSGPATH parameter while the server is online, but need to provide a newer destination file name.]
Regards, Saradhi.
------------------------------
Saradhi Motamarri
Researcher/ Independent Consultant
Sydney
(6143) 002-2130
------------------------------
#Informix