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: XC Installation Guide > Chapter 3 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 the system, the configuration and management database administrator's password, the external Ethernet connection on the head node, starts the MySQL service, and initializes the configuration and management database.

  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 by invoking the cluster_prep command. An additional command line option is required if the hardware configuration contains HP server blades and enclosures or if you are adding planned (but not present) compute nodes to your configuration.

    SituationCommand
    The hardware configuration does not contain HP server blades and enclosures and you are not configuring future planned compute nodes into the hardware configuration
    # ./cluster_prep
    The hardware configuration contains HP server blades and enclosures, you are configuring future planned compute nodes into the hardware configuration, or both
    # ./cluster_prep --enclosurebased

    Command output is similar to the following. Table 3-1 describes each prompt and provides information to help you with your answers.

    IMPORTANT: Do not press Ctrl-c or Ctrl-d, enter the kill command, or use any other abnormal termination method to terminate the cluster_prep utility.

    If you terminate cluster_prep before it completes its processing, you must use the Kickstart installation procedure to reinstall the head node.

    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? (yes/no) [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]: your_prefix 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
    
    External Ethernet device on the head node [eth1] Enter
    IP address []: your_IPaddress
    Netmask []: your_netmask
    
    You have the option to provide an IPv6 address for the external 
    Ethernet connection.
    You can enter an IPv6 address, press the [ ] keys to delete the 
    value shown, or press the Enter key to accept the value shown.
    IPv6 address (optional) []: Enter
    
    Gateway IP address []: your_IPaddress
    
    You have the option to override the system default MTU value.
    You can enter 9000 to enable jumbo frames,
    press the [ ] keys to delete the value shown and use the system default,
    or press the Enter key to accept the value shown.
    MTU value (optional) []: Enter
    
    IP address for DNS name server [ ]: your_IPaddress
    
    Provide one or more DNS domains to use for search paths or press the
    Enter key to accept the default response.
    Enter one domain name on a line, and after the last domain name, enter 
    a period (.) on a line by itself and press the Enter key.
    Search path: [ ]southpole.com
    .  4
    [P]roceed, [R]etry: p  5
    
    Restarting network ... done
    1

    Node prefix conventions are described in Table 3-1. The internal node naming scheme is described in “Internal Node Naming”. The default node prefix is the letter n.

    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. If you specified the --enclosurebased option on the command line, you are not prompted to supply the maximum number of nodes.

    3

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

    However, if the head node is an HP server blade, the head node is named based on the node naming prefix and its physical location in the hardware configuration. For example, if the head node is located in enclosure 1, bay 1, the head node is node 1.
    4

    Be sure to include a period (.) after the last domain name.

    5

    Enter the letter r to change a response. Otherwise, enter the letter p to continue.

  4. Press Ctrl-Alt-Backspace to restart the X server to accommodate the head node host name change.

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

  6. Click on the Linux for High Performance Computing splash screen to close it.

  7. Complete this step only if you are using the virtual console and media on an HP server blade head node.

    You must reset the temporary cabling and settings you made to the Onboard Administrator. Do one of the following, depending upon how you accessed the Onboard Administrator:

    • If you accessed the Onboard Administrator through a connection to a public network, return all cabling to its original configuration and press the reset button on the Onboard Administrator.

    • If you assigned a temporary static IP address to access the Onboard Administrator, do the following:

      1. Clear all enclosure bay IP addressing settings.

      2. Use the Insight Display panel on the enclosure to set the Onboard Administrator for DHCP.

      3. Return all cabling to its original configuration.

      4. Press the reset button on the Onboard Administrator.

  8. Click Applications->System Tools->Terminal to open a terminal window.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003–2007 Hewlett-Packard Development Company, L.P.