10 setting up the dhcp server for virtual guests, 11 uninstalling atftp and installing tftp – HP Insight Control Software for Linux User Manual
Page 196
2.
Select Deploy
→Deploy Drivers, Firmware and Agents→IC-Linux→Configure SNMP on DL1xx
Servers....
3.
Specify the target server.
4.
Verify the target server.
5.
Select Run Now.
6.
Monitor the Task Results window to follow the progress of the operation and the related task
states.
23.10 Setting up the DHCP server for virtual guests
HP recommends that you map (for the
server) the MAC addresses to the IP addresses,
particularly if you want to monitor the virtual machine guests (
s). Here, within the /etc/
dhcpd.conf
file, is a map for virtual machines vm001 and vm002, which are used as an example.
group {
option subnet-mask 255.255.252.0;
option routers 192.0.2.1;
option domain-name-servers 192.0.2.51,192.0.2.52;
option ntp-servers ntp1.example.com,ntp2.example.com;
option domain-name "example.com";
host vm001 {
hardware ethernet 00:16:3E:AB:CD:01;
fixed-address 192.0.2.150;
option host-name "vm001";
}
host vm002 {
hardware ethernet 00:16:3E:AB:CD:02;
fixed-address 192.0.2.151;
option host-name "vm002";
}
}
MAC addresses for some Xen virtual machines begin with the octets 00:16:3E; the final three
octets are chosen arbitrarily.
Likewise, MAC addresses for some KVM virtual machines begin with the octets 52:54:00; the
final three octets are also chosen arbitrarily.
A convention used in this map is that the value of the last two (hexadecimal) digits of the MAC
address matches the (decimal) value of the host name. For example, a host named vm011, would
correlate to a MAC address ending with the octet 0B.
23.11 Uninstalling atftp and installing tftp
1.
1. Log in as root on the CMS.
2.
Use the rpm command to erase atftp:
# rpm -e atftp
3.
Use the rpm command to install tftp, for example:
# rpm -Uvh tftp-0.48-1.6.x86_64.rpm
4.
Edit the /etc/xinetd.d/tftp file as follows:
a.
Change the following to enable tftp:
disable = no
b.
Set the path:
server_args = -s /opt/repository/boot
c.
Save the file and exit.
5.
Restart the xinetd service:
196
Miscellaneous topics