split state file for application and database server