In the previous article "IP Address Configuration of RHEL in VLANTrunk mode" (see the http://www.linuxidc.com/Linux/2013-10/91261.htm), we talked about how to set up this abnormal network configuration, it was originally intended to install KICKSTART-related components directly on this server for network installation. Two cages of blades and 16 blades, one of which were very tiring, in addition, the operating environment is not performed by the customer, and the network latency is very strict.
In the previous article "IP Address Configuration in VLAN Trunk mode in RHEL" (see http://www.linuxidc.com/Linux/2013-10/91261.htm), this article describes how to set this abnormal network configuration, it was originally intended to install KICKSTART-related components directly on this server for network installation. Two cages of blades and 16 blades, one of which were very tiring, in addition, the operating environment is not performed on the customer's side, and the network delay is very serious. It takes two hours to install a system, and an error may be reported at the end of the installation.
In the end, I communicated with the engineers at the customer's end and set the network to a "comfortable" environment. I am not very familiar with the network. Generally, I deploy product applications on the customer's side, it's easy to give me an IP address or IP address segment. I can directly configure eth * on the RHEL operating system, so this request is also made. After all, everyone is engaged in technology, people are required to fully agree. Today, we have finished this change and tested it in a simple way. ifconfig eth0 xx. x netmask xx. x, then it went smoothly.
Although the title is RHEL's network-based blade server, simply put it bluntly, it's not just RHEL's unattended installation of normal machines through kickstart. blade servers and PCs are not the same for us. Because I haven't sorted out the configuration method of kickstart on my blog before, many times I still find it on the network, which leads to a low efficiency.
To put it bluntly, the following describes the steps for unattended installation of Kickstart and records them as follows:
Related reading:
Use PXE + DHCP + Apache + Kickstart unattended installation of CentOS5.8 x86_64 http://www.linuxidc.com/Linux/2012-12/76913.htm
Kickstart fully automated installation CentOS 6.3 http://www.linuxidc.com/Linux/2012-12/75570.htm
Kickstart automated installation Linux notes http://www.linuxidc.com/Linux/2012-11/73853.htm
PXE/Kickstart remote automatic installation of RedHat Linux http://www.linuxidc.com/Linux/2012-11/73361.htm
DHCP + TFTP + HTTP + Kickstart network automated Deployment Server http://www.linuxidc.com/Linux/2012-11/73852.htm
1. Configure the yum source and install the following services:
[Root @ blog01 ~] # Mount-o loop/var/www/html/isoperating/rhel-server-6.3-x86_64-dvd.iso/media/
[Root @ blog01 ~] # Cat/etc/yum. repos. d/core. repo
[Core]
Name = rhel6u3_core
Baseurl = file: // media/
Enabled = 1
Gpgcheck = 0
[Root @ blog01 ~] # Yum install dhcp vsftpd tftp-server-y
[Root @ blog01 ~] # Chkconfig dhcpd on; chkconfig vsftpd on; chkconfig xinetd on
2. Modify related service configuration files
1) tftp-related modifications
[Root @ blog01 ~] # Cat/etc/xinetd. d/tftp
# Default: off
# Description: The tftp server serves files using the trivial file transfer \
# Protocol. The tftp protocol is often used to boot diskless \
# Workstations, download configuration files to network-aware printers ,\
# And to start the installation process for some operating systems.
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/tftpboot
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
Modify the directory of 16 rows of server_args to/tftpboot
Modify Row 17 disable to no, indicating that tftp is allowed to be hosted
1 [root @ blog01 ~] # Service xinetd restart // restart the xinetd Process
2) dhcp Modification
[Root @ blog01 ~] # Cat/etc/dhcp/dhcpd. conf
Ddns-update-style interim;
Ignore client-updates;
Subnet 10.196.28.0 netmask 255.255.255.0 {
Option routers 10.196.28.254;
Option subnet-mask limit 255.0;
Filename "pxelinux.0 ";
Next-server 10.196.28.43;
Option domain-name-servers 8.8.8.8;
Range dynamic-bootp 10.196.28.33 10.196.28.100;
Default-lease-time 21600;
Max-lease-time 43200;
}
Host blog05 {
Hardware ethernet 38: EA: A7: A1: FC: 7C;
Fixed-address 10.196.28.47;
}
Host blog06 {
Hardware ethernet 38: EA: A7: A1: FA: A8;
Fixed-address 10.196.28.48;
}
Host blog07 {
Hardware ethernet 38: EA: A7: A1: F6: DC;
Fixed-address 10.196.28.49;
}
Host blog08 {
Hardware ethernet 38: EA: A7: A1: FC: 58;
Fixed-address 10.196.28.50;
}
Host blog09 {
Hardware ethernet 38: EA: A7: A1: FE: 3E;
Fixed-address 10.196.28.78;
}
Start dhcp Service
[Root @ blog01 ~] # Service dhcpd start
Starting dhcpd: [OK]
3) vsftpd Configuration
After installation, you can directly use it without any configuration.
For more details, please continue to read the content on page 1: Http://www.linuxidc.com/Linux/2013-10/91262p2.htm