Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP XC System Software : Installation Guide > Chapter 4 Configuring and Imaging the System

Task 3: Run the cluster_prep Command to Prepare the System

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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 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.
    2

    In this example, the maximum number of nodes supported by the interconnect switch is 16. Enter the maximum number of nodes allowed by your interconnect switch.

    3

    The internal host name of the head node is based on the default node naming prefix and the maximum number of nodes in the system. Therefore, as shown in this example, the head node host name is set to n16.

  4. Restart the X server to accommodate the head node host name change:

    1. Press Ctrl+Alt+Backspace to restart the X server.

    2. Log back in to the system as the root user.

    3. Open a terminal window from the Gnome desktop:

      1. From the Applications menu, select the System Tools menu.

      2. Scroll down the list of options, and select Terminal to open a terminal window.

    4. Go back to the configuration directory:

      # cd /opt/hptc/config/sbin
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.