in reply to Data Structure Design
Make cluster a class with 7 elements (could also be classes containing info like hostnames, so forth). Or perhaps an array of the first 6 or a marker for the 7th or something. Then instantiate this class for all of the clusters, perhaps in an array of some sort. You could just walk down this structure executing your actions in a separate script taking the parameters specific to each node.
Just Another Perl Backpacker