init rack and nodes structures