switch config define for single/dual node