gnt-instance info --static $instance > /dev/shm/$instance
node=`grep 'primary:' /dev/shm/$instance | cut -d: -f2 | tr -d ' '`
gnt-instance info --static $instance > /dev/shm/$instance
node=`grep 'primary:' /dev/shm/$instance | cut -d: -f2 | tr -d ' '`