To manage hosts file with the local management interface,
use the Hosts File management page.
About this task
Note: The system hostname is automatically added to the appliance hosts file. The
appliance will associate an available IPv4 management address with the system hostname.
Alternatively, a particular IPv4 management address can be designated as the Primary Address to
associate with the system hostname in the hosts file. See
Configuring interfaces for instructions to set a Primary Address.
This page is not available in the LMI when the appliance runs in a container
environment.
Procedure
-
From the top menu, select .
All current host records with their IP address and host names are displayed.
-
You can then work with host records and host names.
- Add a host record
- Select the root level Host Records entry or do not select any
entries.
- Click New.
- On the Create Host record page, provide IP address and host name of the host record to add.
- Click Save.
- Add a host name to a host record
- Select the host record entry to add the host name to.
- Click New.
- On the Add Hostname to Host Record page, enter the host name to add.
- Click Save.
- Remove a host record
- Select the host record entry to delete.
- Click Delete.
- On the confirmation page, click Yes to confirm the
deletion.
- Remove a host name from a host record
- Select host name entry to delete.
- Click Delete.
- On the confirmation page, click Yes to confirm the
deletion.
Note: If the removed host name is the only associated host name for the IP address, then
the entire host record (the IP address and host name) is removed.