Changes between Version 43 and Version 44 of xCAT

Show
Ignore:
Timestamp:
09/07/10 18:06:43 (9 years ago)
Author:
shuang (IP: 152.54.8.247)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xCAT

    v43 v44  
    6060=== Network Configuration === 
    6161We need to provide DNS and DHCP service for compute nodes. They can be run on a different machine. In our example, both are run on the head node (master).  
    62  
    63  1. First, configure DNS service. Edit /etc/hosts file: 
     62 1. First, modify networks table. We need to make some changes from the default that xCAT set up:  
     63   a. a dynamic range for mac address discovery.   
     64   a. Name servers, DHCP servers and TFTP servers - All of them are the master node. 
     65 Mine looks like this: 
     66 {{{ 
     67 #tabdump networks 
     68 #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,comments,disable 
     69 "192_168_201_0-255_255_255_0","192.168.201.0","255.255.255.0","eth0","192.168.201.1",,"192.168.201.49","192.168.201.254,152.54.4.3",,,"192.168.201.79-192.168.201.100",,, 
     70 }}} 
     71 
     72 2. Configure DNS service. Edit /etc/hosts file: 
    6473 {{{ 
    6574 # Do not remove the following line, or various programs 
     
    9099 #service named start 
    91100 }}} 
    92  Note that only entries in /etc/hosts that are part of a network in networks table are added to dns by makedns. In most cases, your networks table should be created automatically. Nevertheless, if you need to modify it or eliminate networks you don't want xCAT to control, mine looks like this: 
    93  {{{ 
    94  #tabdump networks 
    95  #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,comments,disable 
    96  "192_168_201_0-255_255_255_0","192.168.201.0","255.255.255.0","eth0","192.168.201.1",,"192.168.201.49","192.168.201.254,152.54.4.3",,,"192.168.201.79-192.168.201.80",,, 
    97  }}} 
     101 Note that only entries in /etc/hosts that are part of a network in networks table are added to dns by makedns.  
    98102 We also need to config /etc/resolv.conf for nslookups, mine looks like this: 
    99103 {{{ 
     
    106110 }}} 
    107111 make sure it's resolved to the right IP address (192.168.201.12 in our case).  
    108  2. Next, run the following commands to create /etc/dhcpd.conf for dhcpd service 
     112 
     113 3. Next, run the following commands to create /etc/dhcpd.conf for dhcpd service 
    109114 {{{ 
    110115 #makedhcpd -n 
    111116 #service dhcpd restart 
    112117 }}} 
    113  3. To enable node discovery, we need to configure the switch so the following command works: 
     118 
     119 4. To enable node discovery, we need to configure the switch so the following command works: 
    114120 {{{ 
    115121 $snmpwalk -v 1 -c public switch_ip 
    116122 }}} 
     123 
    117124=== Node Configuration === 
     125 
    118126 1. To fill in node information, we need to edit nodelist table. Mine looks like: 
    119127 {{{