Hi Srinivas,
Q: Can you elaborate a bit about the process of migration? Are you performing LPM? Or is it something else? Does it involve rebooting the lpar?
A:
Not LPM, we used two different physical LPARs. We restored the mksysb from Power8 to Power9 for system VG. For datavg, we used SAN replication and imported the replicated SAN copy(datavg) in Power9 machine.
While we started up the machine after system and datavg migration in Power9 hosts, it resend all the messages to rsyslog master server but not the delta.
Q: Also, can you share your config file?
Yes, please find the attachment.
Q: Is it configured to send the messages to a remote machine?
Yes.
# Redirect message to rsyslog_master1 and 2 port 45927 for DEV
local6.* @@rsyslog_master1:45927;withfilename
local6.* @@rsyslog_master2:45927;withfilename
Q: Have you tried stopping rsyslogd daemon before the migration and start it again after migration?
Yes, we did.
Thank you very much for your help.
------------------------------
Michael Lam
------------------------------
Original Message:
Sent: Fri March 25, 2022 07:13 AM
From: SRINIVAS GUNDURAO
Subject: rsyslog 8.19.50.1 resend all logs to rsyslog master after hardware upgrade
Hi Michael,
Can you elaborate a bit about the process of migration? Are you performing LPM? Or is it something else? Does it involve rebooting the lpar?
Also, can you share your config file? Is it configured to send the messages to a remote machine?
Have you tried stopping rsyslogd daemon before the migration and start it again after migration?
Regards,
Srinivas.
------------------------------
SRINIVAS GUNDURAO
Original Message:
Sent: Mon March 21, 2022 03:27 AM
From: Michael Lam
Subject: rsyslog 8.19.50.1 resend all logs to rsyslog master after hardware upgrade
Hi team,
We have some migration task monthly, e.g. Upgrade AIX OS box from Power8 to Power9, and also upgraded the OS level.
The datavg is assigned by SAN Storage, so the log will be consistent with the old system.
However, the rsyslog process will resend all the existing logs after the migration is completed, whether it has been forward to the rsyslog master or not before.
so if we take the migrations at the same time for several systems, will hit the performance issue for the rsyslog master.
that's why we try to relocate imfile-stat files to avoid the duplicated logs/message send again. but it does not work. Please advice.
Thank you so much for your help.
--------------------
Michael Lam
--------------------
------------------------------
Michael Lam
------------------------------
#AIXOpenSource