-
Notifications
You must be signed in to change notification settings - Fork 28
Host Names
Vladislav Alekseev edited this page Dec 8, 2021
·
7 revisions
Since Emcee runs across network, it must communicate with other machines. In order to make it work properly, you'll have to setup DNS in your local network.
Additionally, you should set computer names on each machine since Emcee uses gethostname()
API to obtain local host name.
$ sudo scutil --set HostName machine.example.com
$ dscacheutil -flushcache
You may need to reboot your machine after setting up these values.
gethostname()
API call is utilized:
- to setup queue-to-worker communication - queue uses worker's hostname to talk to it
- to start Emcee plugins by worker. Worker will determine its hostname in order to point started plugins back to itself. It allows Emcee worker to communicate with plugins.