11-26-2016 03:06 AM
Hi Team,
Please suggest if somebody manuly deleted main.cf file. Do cluster down, or what would be the impact on the cluster?
Solved! Go to Solution.
02-01-2017 12:32 PM
Deleting main.cf has no effect on running cluster as config is held in memory. You can re-create main.cf by just running "haconf -dump". If you didn't recreate before restarting VCS, main.cf is on all nodes so you can just start cluster from VCS from node that has main.cf. They are also other copies of main.cf - main.cf.previous and main.cf.timestamp and you can also generate main.cf from main.cmd (using hacf -cmdtocf /etc/VRTSvcs/conf/config).
Mike
11-27-2016 11:12 PM
You have asked the exact same question in July:
https://vox.veritas.com/t5/Discussions/Main-cf-accidently-deleted/m-p/756800
Once may be an accident... doing it again should get someone fired....
11-29-2016 10:50 AM - edited 11-29-2016 10:50 AM
@Marianne.. This time I was asking that whether cluster will down or not. I line I added, have some confusion :)
Thanks..
02-01-2017 12:32 PM
Deleting main.cf has no effect on running cluster as config is held in memory. You can re-create main.cf by just running "haconf -dump". If you didn't recreate before restarting VCS, main.cf is on all nodes so you can just start cluster from VCS from node that has main.cf. They are also other copies of main.cf - main.cf.previous and main.cf.timestamp and you can also generate main.cf from main.cmd (using hacf -cmdtocf /etc/VRTSvcs/conf/config).
Mike