If you really want to upgrade, the proper way would be to:
1. Build up a test system and test the hardware.
2. Install CentOS 6.
3. Install the needed packages.
4. Configure it the way you need it.
5. Test it for a reasonable time period.
Then migrate the production system. Never make any untested changes to your production system, chances are high that you will fail.