is it possible to upgrade major version and remain the configuration ?
In most cases yes!
But it really depends between what versions you are upgrading.