Planning the Cluster Topology
The topology of all clusters begins with the four machines required to implement the SSR Starter Kit: two machines that each host both an SBR node and an SSR management node and two machines that each host one SSR data node.
![]()
Naming the Cluster and Its Machines
We recommend that you follow a machine naming convention that uses the cluster name as a building block to construct each machine's system name and hostnames, but this is not required. Table 7 shows the recommended syntax to build the machine names.
To determine the machine names:
- Begin with a letter (an alphabetic character)
- Be made up of alphanumeric characters, underbars, and dashes.
- Be a single string without any spaces
- Create the system name — Add a dash and a machine number to the cluster name. The Solaris convention for naming is to set the system name to be the same as the hostname associated with the IP address of the primary network interface. You can test the name with the
uname -ncommand.The machine number may be any one-, two-, or three-digit number.
It is not required, but you can simplify machine identification if you adopt a convention that builds on the node identification numbers (node ID) that are used by the SSR processes and incorporate them into the server name.
The general scheme for node IDs is shown in Table 8.
Management processes (ndb_mgmd) on SBR/management combination (sm) nodes and management (m) nodes
mysqld processes (mysqld) on SBR/management combination (sm) nodes and management (m) nodes
* Reserved for stand-alone and transition servers.
For example, to put this into practice, you could assign the Starter Kit SBR/management (sm) nodes names and IP addresses ending in the range 1-3 (or 6-8 because 1-3 are often associated with routers), and you could assign the Starter Kit data (d) nodes names and IP addresses ending in the range 10-29.
Starter Kit Cluster Naming Example — the Blue Cluster
Table 9 shows how machine and interface names are built from the cluster name using the node ID mentioned in Step 2 on 41. This example for a SSR Starter Kit creates the blue cluster. The cluster and node entries are used in subsequent chapters to create a working cluster example. Because multipathing is required, only one IP address is used for each machine; in this example, because the multipath addresses are assigned, each server's IP address is set to echo each server's primary node ID number.
Implementing the worksheet in Table 9 results in the cluster setup shown in Figure 10.
![]()