MT#8067 use nodename (spce|sp1|sp2) not hostname

(cherry picked from commit 1b84f7dc64dbb4a882bdb4b98730c03a8bc3174d)