Config Snapshot info
Posted: Mon Mar 22, 2021 11:16 am
Hi Guys
I am currently running 2 Prod and 2 test XI servers on 2 unlimited licences.
Each prod server has it's test counterpart. What I want to do is keep the test servers as close to production as possible in terms of config.
P01 has T01
P02 has T02
What I want to do is keep the test servers as close to production as possible in terms of current config. What I'd like to do if possible is once a week take the most recent config snapshot from the prod server, SFP them over to the Test box and restore, this will save me adjusting the test servers every time I make a change to prod. Eventually I'd script it with a cron job and do it automatically weekly, if i can get it working.
I should mention that when I built this new environment, I built both servers on Test, got them fully operational, and then cloned then to create the new prod servers, so under the hood they are identical, CentOS 7 Nagios XI 5.1.8... The only difference being that SMTP is disabled on Test so I don't get double the alert emails being sent out.
For example, do I just SFP 1616415395.tar.gz from Prod to Test and restore, or are other files such as the DB snapshots also required?
I am currently running 2 Prod and 2 test XI servers on 2 unlimited licences.
Each prod server has it's test counterpart. What I want to do is keep the test servers as close to production as possible in terms of config.
P01 has T01
P02 has T02
What I want to do is keep the test servers as close to production as possible in terms of current config. What I'd like to do if possible is once a week take the most recent config snapshot from the prod server, SFP them over to the Test box and restore, this will save me adjusting the test servers every time I make a change to prod. Eventually I'd script it with a cron job and do it automatically weekly, if i can get it working.
I should mention that when I built this new environment, I built both servers on Test, got them fully operational, and then cloned then to create the new prod servers, so under the hood they are identical, CentOS 7 Nagios XI 5.1.8... The only difference being that SMTP is disabled on Test so I don't get double the alert emails being sent out.
For example, do I just SFP 1616415395.tar.gz from Prod to Test and restore, or are other files such as the DB snapshots also required?
