On the linux dhcp server – H3C Technologies H3C Intelligent Management Center User Manual

Page 61

Advertising
background image

54

c.

Right-click the IMC DHCP Plug service on the Services (Local) list and select Start to start the IMC

DHCP plug service.

To uninstall a DHCP plug-in, run the file uninstall.bat in the dhcp-plug-windows directory.

CAUTION:

Do not remove the directory which the plug-in installer dhcp-plug-windows.zip is extracted to. Otherwise,
the DHCP plug-in cannot be uninstalled completely.

On the Linux DHCP server

1.

Modify the file qvdm.conf, so that IMC supports getting the terminal DNS name or terminal name

through the Linux DHCP server.

a.

Use the Notepad to open the qvdm.conf file in the \server\conf directory of the IMC
installation path on the Windows server running IMC.

b.

Add the following line to the file:

l2topoPCNameDhcpSwitch=1

c.

Save and exit the file, and restart IMC in the Intelligent Deployment Monitoring Agent.

2.

Install the IMC DHCP plug-in on the Linux DHCP server.
The DHCP plug-in installer dhcp-plug-linux.zip is saved in the tools directory of the IMC Linux
installer.

a.

Copy the plug-in installer to the Linux DHCP server.

b.

Decompress the installer.

c.

Use the VI editor to open the imf.cfg file in the /server/imf/server/conf/ directory of the
dhcp-plug-linux folder.

vi imf.cfg

d.

Modify the IMGAddress into the IMC server IP address, and modify the IMGPort (which is

8800 by default) to the IMG port number that you set when installing IMC.

e.

Save and exit the file.

3.

Check whether the path of the DHCP server IP allocation information file, dhcpd.leases, is correct.

a.

Enter the /var/lib/dhcp directory of the Linux operating system, and check whether the
dhcpd.leases file exists.

b.

When the file does not exit, enter the server/conf/ directory of the dhcp-plug-linux folder, use
the VI editor to open the qvdm.conf file, and add the following line to the file to specify the path

of the dhcpd.leases file.

DhcpPlugIpAllocPath=<Current path>/dhcpd.leases

c.

Save and exit the file.

4.

Execute the install.sh script in the dhcp-plug-linux folder.

After the installation is complete, the dhcp-plug service is added to the system services, and has been

automatically started.
You can use the server dhcp-plug stop command to stop the service or use the server dhcp-plug start
command to start the service.
To uninstall a DHCP plug-in, run the uninstall.sh script in the dhcp-plug-linux directory.

Advertising