Pxe+kickstart Configuration Detailed

Source: Internet
Author: User
Tags get ip iptables

PXE Concept Introduction:

The difference between PXE technology and RPL technology is that RPL is a static route and PXE is a dynamic route. RPL is a frame (frame) that makes a request to the server based on the ID number on the network card plus other records. This ID data is already in the server, and the match succeeds for remote boot. PXE uses the DHCP service to specify an IP address for this MAC address based on the MAC address of the artifact station that is received by the server. Each start may have the same workstation with the last boot has a different IP, that is, dynamic allocation of addresses. The principle of PXE is described under the client boot process.

(1) After the client boot up, the PXE bootrom (since the start chip) to obtain control to perform self-test, and then broadcast the form of a request find frame.

(2) If the server receives the request sent by the client, it will send back the DHCP response, including the IP address, the preset communication channel, and the boot image file, otherwise the server will ignore this requirement.

(3) When the client receives a response from the server, it responds with a frame to request that the file be started and the MAC address is written to the server-side netnames.db file.

(4) More messages will be answered between the client and the server to determine the startup parameters. Bootrom Download the boot image document from the server by the TFTP communication protocol. After the client receives the boot file using the TFTP protocol, it forwards the control to the boot block to boot the operating system and completes the remote boot.

Kickstart Concept Introduction:

Kickstart is a way to install unattended. Kickstart works by recording the various parameters that are required for manual intervention during a typical installation process, and generates a file called Ks.cfg, and in subsequent installations (not limited to machines that generate kickstart installation files) when a request for a parameter is required, The installer will first look for the files generated by the kickstart, and when the appropriate parameters are found, use the found parameters, and the installer must manually intervene when the appropriate parameters are not found. This way, if the kickstart file covers all the parameters that appear during installation, the installer can simply tell the installer where to take the Ks.cfg file, and then go to your own business. After installation, the installer restarts the system according to the reboot option set in Ks.cfg and ends the installation.

Kickstart process:

General process: DHCP (get IP, look for TFTP) >tftp (Swap get boot file/tftpboot that folder) >http (load installation files) > Local Installation

Detailed Flowchart:

Installation process:

One, closed the SELinux iptables

Vim/etc/sysconfig/selinux

Change into selinux=disabled

Service Iptables Stop

Chkconfig iptables off

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.