Reference

del map

Delete a single entry from a Map file.

Description Jump to heading

A Map file contains a list of key-value pairs. You can reference the file on an acl line by using the -M and -f /path/to/file flags. Use del map to remove a single entry from a Map file. Note that this only removes it from the load balancer’s runtime memory and not from the file on disk.

Examples Jump to heading

In this example, we remove the entry that has the key static.example.com:

bash
echo "del map /etc/hapee-2.8/hosts.map static.example.com" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "del map /etc/hapee-2.8/hosts.map static.example.com" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

See also Jump to heading

If this page was useful, please, Leave the feedback.