fix bug 1083323: check if given cpuNum is a multiple of coresPerSocket when create or scale up/down cluster