HP XC System Software Installation Guide Version 3.0
Proceed to “Task 3: Run the cluster_prep Command to Prepare the System” (page 40) to begin the discovery
process.
Task 3: Run the cluster_prep Command to Prepare the System
The first step in the configuration process is to prepare the system by running the cluster_prep command.
This process sets up the node naming prefix, the number of nodes in your system, the database administrator's
password, and the external Ethernet connection on the head node.
1. Begin this procedure as the root user on the head node.
2. Change to the following directory:
# cd /opt/hptc/config/sbin
3. Start the system preparation process:
# ./cluster_prep
Note
Table 4-1 (page 37) describes each prompt and provides information to help you with your answers.
Command output looks similar to the following:
The cluster_prep utility prepares the head node for the
automated discovery process. This utility is run during the initial
cluster configuration or any time your cluster is reconfigured.
If you reconfigure your cluster, you must run the discover
command after running the cluster_prep utility.
Do you want to continue? [y/n] y
Enter the prefix to assign to internal node names. The prefix
can contain up to 6 alphanumeric characters, and the last
character must be alphabetic. The default node prefix
is the letter "n":
Enter node naming prefix [n]: Enter
1
Enter the Maximum Number of nodes in this cluster: 16
2
Setting system name to n16 ... done
3
Please enter the Database Admin Password : your_password
Please re-enter password: your_password
Do you want to configure the external connection on the head node? [y] Enter
Eth Device [eth1]: Enter
IP Address []: 192.0.2.6
Netmask []: 255.255.252.0
Gateway IP Address []: 192.0.2.51
Name Server []: 192.0.2.50
Enter your Name Server search paths, one per line,
and enter a dot (.) on a line by itself after the last one,
or enter just a carriage return to accept the default:
Search path: []
MyDomain.com
southpole.com
1
All nodes in the system use the same prefix and node naming conventions. The node prefix
can contain up to 6 alphanumeric characters. The last character in the prefix must be
alphabetic. By default, nh is assigned as the head node alias, regardless of the node prefix.
All other nodes that are connected directly to the root switches are named with the node prefix
and are numbered in descending order from the highest numbered node. All other nodes that
are connected to branch switches are named with the node prefix and numbered in ascending
order, starting at 1 on the first port of the first branch switch.
40 Configuring and Imaging the System